Commit Graph

29 Commits

Author SHA1 Message Date
Huw Davies 19d1416cef gdi32: If the WMF was created by GetWinMetaFileBits() then return the original EMF.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:25:16 +09:00
Huw Davies 7be1c53d82 gdi32: Rename the struct representing an embedded EMF in a WMF.
Also, use an array rather than a pointer to represent the start of the data.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:08:00 +09:00
Frédéric Delanoy adee328a50 gdi32: Use BOOL type where appropriate. 2013-11-07 13:13:05 +01:00
Dmitry Timoshkov 8744c10a38 gdi32: Add support for disk-based metafiles to GetMetaFileBitsEx. 2013-03-25 13:56:09 +01:00
Alexandre Julliard 3964aa4a8d gdi32: Get rid of the METAFILEOBJ type, instead store a pointer to the metafile data. 2012-10-17 13:46:40 +02:00
Nicolas Le Cam 46988651d9 gdi32: Remove a set but unused variable. 2011-05-03 14:38:06 +02:00
Alexandre Julliard 13608c8b18 gdi32: Avoid use of some 16-bit types. 2009-12-07 14:18:29 +01:00
Alexandre Julliard 1ac23b9b0f gdi32: Don't include wingdi16.h by default. 2009-12-07 14:18:29 +01:00
Alexandre Julliard d9700b6a77 gdi32: Reimplement the 16-bit metafile functions on top of the 32-bit ones. 2009-11-17 19:58:02 +01:00
Huw Davies 787ead8088 gdi32: Use a modified version of MulDiv to match native behaviour. 2009-07-07 13:22:13 +02:00
Huw Davies 8edbd0639e gdi32: Write the map mode and window size records after the mfcomment. 2009-07-02 13:17:35 +02:00
Huw Davies 41bbc007a4 gdi32: Store the original emf as a sequence of MFCOMMENT records. 2009-06-30 12:58:10 +02:00
Huw Davies db6a9e6f75 gdi32: Remove obviously incorrect calls to SetMapMode. 2009-06-30 12:57:55 +02:00
Huw Davies d7af14f1b5 gdi32: Use the unicode version of CreateMetaFile. 2009-06-30 12:57:43 +02:00
Alexandre Julliard de831f334c gdi32: Release GDI handles before freeing the object.
This makes it unnecessary to hold the GDI lock during destruction.
2009-01-28 18:45:21 +01:00
Alexandre Julliard 311c53db4f gdi32: Allocate and initialize GDI objects before giving them a handle.
This makes it unnecessary to hold the GDI lock since the object
cannot be accessed before it has a handle.
2009-01-28 18:43:06 +01:00
Alexandre Julliard 5811a2ccb4 gdi32: Use the official constants instead of the old Win9x magic numbers for GDI object types. 2009-01-28 16:20:56 +01:00
Michael Stefaniuc 667a1ed5be gdi32: Remove superfluous pointer casts. 2009-01-26 14:31:13 +01:00
Kirill K. Smirnov 003392b545 gdi32: Fix copy/paste typo. 2008-10-31 12:57:17 +01:00
Michael Stefaniuc 2d94915f27 gdi32: Don't cast the void pointer returned by GDI_GetObjPtr(). 2008-10-24 14:24:59 +02:00
Dmitry Timoshkov 02a15500fb gdi32: Make generated EMFs fully match Windows ones. 2008-05-27 12:05:37 +02:00
Huw Davies 515b40c2de gdi32: Rename DIB_BitmapInfoSize to bitmap_info_size and fix to take into account bit field masks. 2008-05-02 16:07:47 +02:00
Austin English 45b944ed51 gdi32: Spelling fixes. 2008-03-25 19:58:31 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Eric Pouech 47a38c3631 gdi32: Break loop in MF_PlayMetaFile when META_EOF is found. 2008-01-07 23:02:19 +01:00
Andrew Talbot d0d4c74e85 gdi32: Remove unneeded casts. 2008-01-07 12:18:50 +01:00
Alexandre Julliard 75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Andrew Talbot 17ec5aba20 gdi32: Cast-qual warnings fix. 2006-10-31 11:46:36 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00