Commit Graph

36 Commits

Author SHA1 Message Date
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 5735c58eb1 Improved the bounding box calculation for the EMF driver ExtTextOut
metarecord. It takes the text alignment into account.
2003-10-09 19:44:35 +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 633e379eb9 Implementation of SetPixel metarecord. 2003-10-08 22:34:15 +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 d1fa4b2d73 Spit out EMR_RESTOREDC metarecords with -1 as argument as long as we
don't get to the saved state we want.
2003-10-07 03:32:28 +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
Dmitry Timoshkov 7faae4c5d5 Fixed some issues in EMFDRV_ExtTextOut. 2003-05-19 18:48:37 +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
Michael Stefaniuc 28a632a830 Some -DSTRICT fixes. 2002-11-21 21:50:04 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Huw D M Davies 3d10c1fc6e Mapping mode functions should change dc settings when dc is an enhmf. 2002-08-17 18:32:12 +00:00
Huw D M Davies 908a2abe10 Implement simple ExtTextOut for enhmfdrv. 2002-08-17 01:36:55 +00:00
Mike McCormack 368fab1432 Set cbBits in the EMRCREATEDIBPATTERNBRUSHPT structure when writing an
EMF record.
2002-08-17 00:26:57 +00:00
Huw D M Davies 7318acaaca Implemented a few device caps. 2002-08-17 00:25:05 +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
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 e8a1a232b6 A few fixes in ExtSelectClipRgn metafile functions. 2002-05-28 22:47:49 +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