Commit Graph

95 Commits

Author SHA1 Message Date
Alexandre Julliard
f8fa169da0 gdi32: Store foreground/background color even when passed CLR_INVALID. 2012-01-12 15:53:07 +01:00
Alexandre Julliard
5b17ba887b gdi32: Rename the CLIPPING_UpdateGCRegion function.
We haven't used a GC here for a long time now.
2011-12-07 17:49:54 +01:00
Alexandre Julliard
b9f09abdcc gdi32: Don't store the metaclip region, recompute it as needed. 2011-12-07 17:49:47 +01:00
Alexandre Julliard
ddfe35867d gdi32: Only create the DC visible region when necessary.
Most DCs can simply use the visible rectangle instead.
2011-12-07 16:50:57 +01:00
Alexandre Julliard
1f15ffa1e6 gdi32: Make sure DCs are fully zero-initialized. 2011-12-07 15:53:54 +01:00
Alexandre Julliard
5a1a6e935a gdi32: Maintain a region inside gdi32 to keep track of the total visible region. 2011-12-06 15:50:59 +01:00
Alexandre Julliard
a214a3c3da gdi32: Store a pointer to the path in the DC and make the path structure opaque. 2011-11-22 12:07:24 +01:00
Alexandre Julliard
8a7bf0a2ab gdi32: Push a path driver on the DC stack when a path is opened. 2011-10-26 19:53:22 +02:00
Alexandre Julliard
6bb001da6f gdi32: Add support for pushing a font driver on the DC driver stack. 2011-10-19 18:21:56 +02:00
Alexandre Julliard
5267c1316b gdi32: Get rid of the DC_FUNCTIONS typedef. 2011-10-17 20:39:54 +02:00
André Hentschel
3373e1e587 gdi32: Add traces for the gamma functions. 2011-09-26 12:20:35 +02:00
Alexandre Julliard
d12d98511c gdi32: Allocate the DIB driver on first use, and free it only upon DC destruction. 2011-09-08 10:41:19 +02:00
Alexandre Julliard
a28ddddcbc gdi32: Leave it up to the driver to push the new device on the DC stack in CreateDC. 2011-09-07 18:13:29 +02:00
Alexandre Julliard
cef1832bfb gdi32: Add a driver entry point for CreateCompatibleDC. 2011-09-07 18:13:06 +02:00
Alexandre Julliard
901c1997cb gdi32: Make the push/pop_dc_driver functions available to the drivers. 2011-09-07 14:39:46 +02:00
Alexandre Julliard
9a63a25b9d gdi32: Don't free a driver when it's popped from the stack. 2011-09-07 12:08:16 +02:00
Alexandre Julliard
4266fcb28d gdi32: Fix coordinate mapping in Get/SetBoundsRect, with tests. 2011-09-04 16:47:38 +02:00
Alexandre Julliard
c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Huw Davies
4cffb2d0a9 gdi32: Add a skeleton dib driver. 2011-04-04 13:38:19 +02:00
Alexandre Julliard
ded15757a0 gdi32: Remove the function table pointer from the DC structure. 2011-03-18 16:05:09 +01:00
Alexandre Julliard
1a34f98017 gdi32: Find the original driver by checking the CreateDC entry point in CreateCompatibleDC. 2011-03-18 15:59:05 +01:00
Alexandre Julliard
31e6f4bc0d gdi32: Add a null driver entry point for GetDeviceCaps. 2011-03-16 23:06:47 +01:00
Alexandre Julliard
45f191dc2a gdi32: Properly manage the driver stack during DC creation and deletion. 2011-03-16 23:06:25 +01:00
Alexandre Julliard
174e906aa5 gdi32: Get rid of the no longer used DC_SAVED flag. 2011-03-16 21:50:44 +01:00
Alexandre Julliard
7b970a1657 gdi32: Don't allocate a GDI handle for saved DCs. 2011-03-16 13:27:45 +01:00
Alexandre Julliard
e6d153bbf6 gdi32: Add null driver entry points for the DC state functions. 2011-03-16 11:25:59 +01:00
Alexandre Julliard
29c3c528db gdi32: Add null driver entry point for world transform functions, and move them to mapping.c. 2011-03-15 17:14:07 +01:00
Alexandre Julliard
46bfaeae9e gdi32: Avoid null pointer access when we are out of gdi handles. 2011-03-12 20:40:51 +01:00
Alexandre Julliard
0d27e3c0ed gdi32: Add null driver entry points for the palette functions. 2011-03-11 18:26:55 +01:00
Alexandre Julliard
0c33f1dd89 gdi32: Add null driver entry points for the color management functions. 2011-03-11 12:38:50 +01:00
Alexandre Julliard
30997b5634 gdi32: Add a SetLayout driver entry point and implement it for enhanced metafiles. 2011-03-10 22:10:16 +01:00
Alexandre Julliard
965d41717b gdi32: Add null driver entry points for the various DC settings functions. 2011-03-10 21:58:55 +01:00
Alexandre Julliard
75f792d729 gdi32: Add null driver entry points for SetDCBrush/PenColor. 2011-03-10 20:45:12 +01:00
Alexandre Julliard
adc63287b5 gdi32: Add null driver entry points for the object selection functions. 2011-03-10 12:39:03 +01:00
Alexandre Julliard
6419edfb6d gdi32: Add a mechanism for stacking gdi drivers. 2011-03-10 12:38:31 +01:00
Alexandre Julliard
c82cb23bc2 gdi32: Add initial support for a null graphics driver. 2011-03-08 22:35:18 +01:00
Alexandre Julliard
5f5c7020f3 gdi32: Add a common header to the physdev structure. 2011-03-08 22:34:57 +01:00
Alexandre Julliard
f914811359 gdi32: Remove unnecessary uses of wownt32.h. 2010-11-01 16:44:34 +01:00
Detlef Riekenberg
bc72f9965d gdi32: Always use a HANDLE for GDI_ReleaseObj. 2010-08-16 12:56:34 +02:00
Alexandre Julliard
1019579fd4 gdi32: Fix offset for mirrored devices that have a non-zero viewport offset. 2010-07-29 17:33:27 +02:00
Alexandre Julliard
e4b76dfd88 gdi32: Make the top right corner the DC origin for RTL layouts. 2010-07-28 20:33:13 +02:00
Alexandre Julliard
f57c1b77dd gdi32: Get rid of the GetDCOrgEx driver entry point, GDI can implement this itself now. 2010-07-26 18:38:31 +02:00
Alexandre Julliard
69c8f0b67d gdi32: Store the total visible rectangle in the DC. 2010-07-26 18:38:31 +02:00
Alexandre Julliard
f695c1d19d gdi32: Update the DC mappings when the layout is changed. 2010-07-23 11:34:07 +02:00
Paul Chitescu
f479aa5ce5 gdi32: If driver is missing claim vectorial fonts are supported so GDI fonts (freetype) are used. 2010-06-21 12:17:26 +02:00
Andrew Nguyen
9d5a848df1 gdi32: Fix parameter handling of GetBoundsRect. 2010-06-01 17:50:03 +02:00
Alexandre Julliard
e27bc88693 gdi32: Add a global function to retrieve the display driver. 2010-05-06 13:50:30 +02:00
Alexandre Julliard
0e4f742f06 gdi32: Don't bother freeing graphics drivers. 2010-05-06 13:37:32 +02:00
Dmitry Timoshkov
d6cfc3223e user32: DeleteDC() should allow to delete a DC returned by GetDC(). 2010-02-24 16:03:02 +01:00
Alexandre Julliard
cc973b0cdc gdi32: Avoid calling get_dc_ptr on a null handle. 2009-12-01 15:10:37 +01:00