38 Commits

Author SHA1 Message Date
Dan Hipschman
f904723813 gdi32: Implement GetTextExtentPoint in terms of GetTextExtentExPoint
(not vice versa) for efficiency (required adding the Ex functionality
to drivers).
2006-07-12 13:34:36 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Steven Edwards
f824852b26 gdi: Win16/32 split of most of the metafile support. 2006-01-03 13:23:21 +01:00
Markus Amsler
79e3a1be70 Improve c2man Documented-Total count. 2005-11-05 10:45:02 +00:00
Dimitrie O. Paun
396ee7403f Cleanup the API docs. Few indentation/formatting fixes. 2005-04-11 12:50:01 +00:00
Jakob Eriksson
9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Michael Stefaniuc
5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Huw Davies
dd5b23fddb Implement AlphaBlend using the XRENDER extension. 2004-08-02 18:54:54 +00:00
Mike McCormack
4eaf41b535 Unicodify CreateMetaFile. 2004-03-29 20:27:18 +00:00
Alexandre Julliard
6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Mike McCormack
7eab865d99 Use the handle deletion mechanism in wmfs. 2003-11-26 03:38:11 +00:00
Huw Davies
9e8ce63e2e Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
2003-11-25 05:03:09 +00:00
Ulrich Czekalla
16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Dave Belanger
325f646fdc Implemented the SetArcDirection metarecord in EMF driver. 2003-10-04 03:08:25 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
038ede8474 Avoid heap reallocation each time a metarecord is written in memory
(based on a patch by Warren Baird).
2003-09-03 00:18:33 +00:00
Dave Belanger
549e247844 Implementation of SelectPalette and RealizePalette in the metafile
driver.
2003-08-30 00:15:12 +00:00
Mike McCormack
69ac76d050 Handle CreateMetaFileW(NULL) correctly. 2003-06-24 02:34:42 +00:00
Mike McCormack
10c3764058 Record SetWorldTransform and ModifyWorldTransform in enhanced
metafiles.
2003-06-23 19:46:56 +00:00
Mike McCormack
399967c10d Implemented GdiComment for enhanced metafiles. 2003-05-21 18:28:49 +00:00
Huw Davies
6ac675188a Record escapes in metafiles. 2003-05-19 18:44:58 +00:00
Alexandre Julliard
e1147baa00 Use a different magic for memory DCs and get rid of the DC_MEMORY
flag.
2003-05-13 23:56:12 +00:00
Warren Baird
41bbe7073f Implementation of GetDeviceCaps in metafile driver. 2003-02-12 01:17:25 +00:00
Alexandre Julliard
547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Michael Stefaniuc
28a632a830 Some -DSTRICT fixes. 2002-11-21 21:50:04 +00:00
Patrik Stridvall
b5bb32c09a Fixed some issues found by winapi_check. 2002-09-24 18:29:39 +00:00
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
Alexandre Julliard
267ca68253 Fixed HANDLE<->HFILE conversions, since they will be different types
when handles are void*.
2002-07-31 17:20:00 +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
da580c47ff Added ExtSelectClipRgn to the DC interface and implemented it for
standard and enhanced metafiles.
2002-05-09 04:03:46 +00:00
Huw D M Davies
671577296e Added support for ResetDC. 2002-04-06 00:00:56 +00:00
Huw D M Davies
160be64e9e Added writing META_ESCAPE records. 2002-04-03 22:47:50 +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
8911856858 Moved metafiles and win16 drivers to dlls/gdi. 2002-03-27 21:13:40 +00:00