Commit Graph

68 Commits

Author SHA1 Message Date
Alexandre Julliard
1c4b5c40bf Moved a large number of 16-bit functions to a separate gdi16.c file. 2002-08-16 00:42:06 +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
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
Andreas Mohr
8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Patrik Stridvall
3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Alexandre Julliard
1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Patrik Stridvall
01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall
d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
Marcus Meissner
ad62f823f4 GetPixel needs to return CLR_INVALID if not inside clipping region. 2000-11-25 01:22:54 +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
Mark Dufour
704c67505d Make the functions Pie, Chord, RoundRect, AngleArc, PolyDraw and
Ellipse work with an open path.
2000-11-01 02:12:52 +00:00
Mark Dufour
edfde7f96f Implemented PolyDraw() and AngleArc(). 2000-10-26 19:28:19 +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
5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard
646c562f9c Cleaned up some more USER dependencies. 2000-07-31 23:32:47 +00:00
Alexandre Julliard
58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Dave Hawkes
d8459f322c MoveToEx: return TRUE even if there is no driver implementation. 2000-06-20 20:15:38 +00:00
Lionel Ulmer
bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00
Dimitrie O. Paun
abdbced4fd Removed some HEAP_xalloc calls. 2000-04-29 14:20:28 +00:00
Patrik Stridvall
54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Patrik Stridvall
98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00
Jeremy White
d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +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
Jim Aston
5f930d89e4 Prevent FillRgn from using a NULL pointer. 1999-10-31 17:42:16 +00:00
Alexandre Julliard
61fece0590 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-26 19:09:08 +00:00
Huw D M Davies
7603deae21 General tidy up of the MetaFile driver - make sure that everything
goes through the DCFuncs table.
1999-04-25 09:24:23 +00:00
Patrik Stridvall
b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
David Luyer
be02d4044e Changed stdlib.h to string.h. 1999-03-25 15:58:20 +00:00
Patrik Stridvall
8085b6ccfd Reimplemented DrawFocusRect without using X11. 1999-03-13 18:01:45 +00:00
Alexandre Julliard
a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner
04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Eric Pouech
b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Patrik Stridvall
8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Andreas Mohr
94e4485bff Implemented WIN16_CallMsgFilter32, WIN16_DispatchMessage32,
DrawAnimatedRects16 (stub), FormatMessage16, WIN16_GetMessage32,
WIN16_PeekMessage32 and WIN16_TranslateMessage32.
1999-01-23 14:15:17 +00:00
Alexandre Julliard
8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Huw D M Davies
7c77354f83 Implemented PolylineTo. 1998-12-18 15:55:15 +00:00
Paul Quinn
1beaae5f9e Lots of new defines and stubs. 1998-12-15 15:38:36 +00:00
Huw D M Davies
5a50273f5b Implement AbortDoc16, move AbortDoc32 and StartDoc32W to
misc/printdrv.c and fix a few compile warnings.
1998-12-11 10:17:31 +00:00
Alexandre Julliard
0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Huw D M Davies
7d5fd8dc3a Fix for SetAbortProc16, stub for SetAbortProc32 and tidy up some other
printing functions.
1998-12-08 09:44:30 +00:00
Uwe Bonnes
2d65536bc4 Added stubs for Startpage and EndPage. 1998-11-26 15:20:55 +00:00
Huw D M Davies
9c68faadab Remove X_DC_INFO from DC and make it behave like any other PDEVICE. 1998-11-25 12:36:03 +00:00
Huw D M Davies
2bd3acf7c8 Moved DC_SetupGC functions to graphics/x11drv/graphics.c. 1998-11-22 17:45:06 +00:00
Uwe Bonnes
e2ed0c92b1 Added a stub for StartDocA and EndDoc. 1998-11-08 15:38:32 +00:00
Huw D M Davies
904e20fdd0 Optimize RoundRect32 to call Rectangle32 if either ellipse dimension
is zero.
1998-11-07 12:41:49 +00:00
François Gouget
241c730d54 Fixed some LPPOINT/LPSIZE mismatches and some missing "const" in the
headers prototypes.
1998-10-28 10:47:09 +00:00