Alexandre Julliard
7375597fe2
Fixed some handle type mismatches and added a few casts in prevision
...
of void* handles.
2002-07-31 19:26:03 +00:00
Alexandre Julliard
5ee1599d59
Replaced LPTODP/DPTOLP macros by calls to LPtoDP/DPtoLP (with the help
...
of Huw Davies).
2002-06-25 23:29:51 +00:00
Alexandre Julliard
d3cab1857a
Moved DC origin into device-specific structure.
...
Fixed handling of DC origin in X11 driver.
2002-06-10 22:52:47 +00:00
Alexandre Julliard
78b041cf52
Better encapsulation of the font and metafile objects.
2002-06-04 01:02:51 +00:00
Alexandre Julliard
376e65092a
Better separation of the palette functions.
...
Removed the palette driver.
2002-06-02 21:40:24 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
d8a9244fc4
Added function table to GDI objects for better encapsulation.
...
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Alexandre Julliard
07439cd2d0
Removed dependencies on the internals of the region object.
...
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
Alexandre Julliard
da580c47ff
Added ExtSelectClipRgn to the DC interface and implemented it for
...
standard and enhanced metafiles.
2002-05-09 04:03:46 +00:00
Alexandre Julliard
dec2cee2fb
Removed some direct accesses to the DC structure.
2002-05-02 01:39:48 +00:00
Alexandre Julliard
ab246a679b
Pass a PHYSDEV to EnumDeviceFont and release the GDI lock in
...
FONT_EnumInstance instead.
2002-04-14 19:42:43 +00:00
Huw D M Davies
671577296e
Added support for ResetDC.
2002-04-06 00:00:56 +00:00
Huw D M Davies
5b01b50631
Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX.
2002-04-03 22:08:27 +00:00
Alexandre Julliard
e21c15e39d
Changed the GDI driver interface to pass an opaque PHYSDEV pointer
...
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
18d7573c5e
Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
...
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.
2002-01-29 03:02:50 +00:00
Alexandre Julliard
80a3bb4fc0
Removed LoadOEMResource from USER driver.
2002-01-04 18:27:41 +00:00
Alexandre Julliard
7d155d6706
Changed DC hook and abort proc handling to avoid having to allocate
...
thunks dynamically.
2001-12-17 20:58:06 +00:00
François Gouget
1425941e29
Fix the #include order for config.h.
...
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Huw D M Davies
814654ef9f
Lay down the infrastructure for gdi font rendering.
...
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Alexandre Julliard
78f9fae706
Create GDI stock objects as normal objects instead of using magic
...
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard
658cdb4412
Make sure we don't hold the GDI lock when loading drivers.
2001-08-15 23:33:20 +00:00
Alexandre Julliard
9208301d16
Rewrote Escape to avoid calling down to Escape16.
...
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Alexandre Julliard
99bb9f9775
Added GetDeviceCaps to the DC driver interface. Removed devCaps
...
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard
3dd63eb2ad
Build the DC function table by using GetProcAddress on the graphics
...
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard
e6c0642e79
Removed enhmetafile.h. Simplified ENHMETAFILEOBJ structure a bit.
2001-07-24 22:15:47 +00:00
Alexandre Julliard
6bbc745dde
Moved the 16-bit pointer to the DIB bits out of the driver-specific
...
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Ian Pilcher
5a4ecdbdf4
Fixed typo in INTERNAL_YWSTODS.
2001-06-06 20:21:02 +00:00
Ove Kaaven
27398d4966
Implemented Get/SetDeviceGammaRamp.
2001-03-20 01:55:18 +00:00
Huw D M Davies
39f54283fc
Moved GetTextMetrics to unicode.
2001-03-16 16:43:14 +00:00
Huw D M Davies
2aa85eed18
Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
...
Updated parameters of DEVICEFONTENUMPROC.
2001-02-14 22:56:38 +00:00
Eric Kohl
08936ff97a
Partial implementation of world transform support.
2001-01-24 19:38:11 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Patrik Stridvall
d3534c3957
Optimized {,p}MoveTo{,Ex}{,16}.
2000-11-05 03:28:18 +00:00
Alexandre Julliard
2239abb9f9
Allocate DC objects on the process heap, and removed WIN_DC_INFO
...
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Andreas Mohr
007fb24088
Added support for non-deletable system brushes and pens created by
...
USER.
2000-09-16 20:53:51 +00:00
Alexandre Julliard
2ad1a94d28
Backed out font codepage change.
2000-08-25 21:35:11 +00:00
Hidenori Takeshima
7901c0b505
Handle the codepage of fonts if supported by the graphics driver.
2000-08-20 20:08:35 +00:00
Alexandre Julliard
2a2321bbca
Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
...
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Alexandre Julliard
b0efe28f6c
Removed a few dependencies on GDI internals from USER dll.
2000-08-04 04:18:04 +00:00
Francois Gouget
ae41e8c804
Reordered the CALLBACK and WINAPI directives so that it compiles with
...
old g++ versions.
2000-06-11 20:07:58 +00:00
Lionel Ulmer
bedf40b58b
Added support for OpenGL.
2000-05-12 20:18:14 +00:00
Ove Kaaven
8b9f33851a
Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
...
ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
it is a pitch override (specifies bytes per line), and tells to treat
the offset parameter as an already-mapped virtual memory address (if
the section parameter is zero). Fixed a DIB status init bug in
creating DIB sections from file mappings (if created from mapping, the
DIB is *not* really InSync).
2000-04-29 16:47:07 +00:00
Alexandre Julliard
07e4213642
Added GetDCOrgEx in graphics device interface and removed X11 code
...
from dc.c.
2000-03-19 21:19:21 +00:00
Matthew Cline
20512fd854
GetObjectA() now rejects GDI handles which are invalid.
2000-02-13 16:00:17 +00:00
Gerard Patel
d1795f674c
Avoid deleting of the default 1x1 bitmap for memory DCs.
2000-01-09 20:52:53 +00:00
Huw D M Davies
c553924ddd
Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode.
...
Map a few Unicode chars to the first 0xff in psdrv.
Don't expect x11drv to display Unicode chars yet.
1999-12-26 00:47:03 +00:00
Huw D M Davies
b8e94b6119
Move Bezier code out of x11drv into commmon GDI code; if any driver
...
does not implement PolyBezier[To] the curve is approximated to lines
and drawn with Polyline.
Implement many GDI-Path recording functions (at least the win9x subset).
Implement FlattenPath and FillPath.
1999-12-20 04:14:48 +00:00
Huw D M Davies
f0f8da5870
Fixes several bugs in gdi path handling.
...
Adds *Path functions to dc funcs table + add EnhMetaFile recording.
Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc
funcs table to enable proper enhmetafile recording.
The current position update in *To functions is now handled by the
main function and not in the drivers.
Move USER functions from graphics/painting.c -> windows/painting.c
1999-12-05 23:54:02 +00:00
Ulrich Czekalla
e6ab9d308a
Make sure that all calls use the extended structures which are a
...
superset of the regular structures.
1999-10-24 17:26:45 +00:00