Commit Graph

33 Commits

Author SHA1 Message Date
Huw Davies 0d23ac479b Fix handling of relative state indices in RestoreDC.
Fix return value of SaveDC when writing to an emf.
Before writing the EMR_EOF record we should ensure that we clear the
state stack.
2005-10-31 10:05:52 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Huw Davies dd5b23fddb Implement AlphaBlend using the XRENDER extension. 2004-08-02 18:54:54 +00:00
Dmitry Timoshkov ac42c45745 Do not allow creation of not aligned EMF records by GDI code. 2004-06-18 19:33:41 +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
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 46329e83f0 Fix EMF driver UpdateBBox routine. The EMF bounding box must be stored
in device coordinates in the metafile.
2003-10-22 03:02:08 +00:00
Dave Belanger 53f2e61e37 Implemented BitBlt, StretchBlt and SetDIBitsToDevice EMF driver
callbacks.
Cleaned up redundant code in EMFDRV_StretchDIBits.
2003-10-15 02:33:15 +00:00
Dave Belanger 3da1e24643 Implementation of SetTextJustication EMF driver callback. 2003-10-10 00:06:59 +00:00
Dave Belanger 36a6c740c4 Implementation of EMF driver OffsetViewportOrg and OffsetWindowOrg
callbacks using the EMR_SETVIEWPORTORGEX and EMR_SETWINDOWORGEX
metarecords respectively.
2003-10-09 04:42:45 +00:00
Dave Belanger a7bbf47f1b Avoid excessive heap memory reallocation when generating EMF
metarecords in memory.
2003-10-08 22:33:35 +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
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 cc5f3cd9b8 Implemented a few more device caps. 2003-05-19 21:51:44 +00:00
Mike McCormack 3b5708640c Implemented StretchDIBits in the EMF code. 2003-05-19 18:49:52 +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
Tony Lambregts 361e691961 Janitorial. Get rid of W->A call. 2003-03-07 23:08:59 +00:00
Alexandre Julliard 547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Huw D M Davies 908a2abe10 Implement simple ExtTextOut for enhmfdrv. 2002-08-17 01:36:55 +00:00
Huw D M Davies 7318acaaca Implemented a few device caps. 2002-08-17 00:25:05 +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
Huw D M Davies 3955d1a94f Added PatBlt support in enhanced metafiles. 2002-06-14 00:00:56 +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 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
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