Commit 80774de7 authored by Alexandre Julliard's avatar Alexandre Julliard

Authors: Mike McCormack <mike@codeweavers.com>, Huw Davies <huw@codeweavers.com>

- make world transforms work in EMFs - fix declaration of GDICOMMENT_* macros - refuse to load unaligned EMFs - fix SetWinMetaFileBits
parent 51e4839f
......@@ -2518,8 +2518,8 @@ typedef struct {
INT nBreakCount;
} EMRSETTEXTJUSTIFICATION, *PEMRSETTEXTJUSTIFICATION;
typedef INT (CALLBACK *ENHMFENUMPROC)(HDC, LPHANDLETABLE,
LPENHMETARECORD, INT, LPVOID);
typedef INT (CALLBACK *ENHMFENUMPROC)(HDC, HANDLETABLE *,
const ENHMETARECORD *, INT, LPARAM);
#define EMR_HEADER 1
#define EMR_POLYBEZIER 2
......@@ -2649,11 +2649,13 @@ typedef INT (CALLBACK *ENHMFENUMPROC)(HDC, LPHANDLETABLE,
#define ENHMETA_SIGNATURE 1179469088
#define ENHMETA_STOCK_OBJECT 0x80000000
#define GDICPMMENT_INDENTIFIER 0x43494447
#define GDICOMMENT_WINDOWS_METAFILE 0x80000000
#define GDICOMMENT_BEGINGROUP 0x80000001
#define GDICOMMENT_ENDGROUP 0x80000002
#define GDICOMMENT_MULTIFORMATS 0x80000003
#define GDICOMMENT_IDENTIFIER 0x43494447
#define GDICOMMENT_WINDOWS_METAFILE 0x80000001
#define GDICOMMENT_BEGINGROUP 0x00000002
#define GDICOMMENT_ENDGROUP 0x00000003
#define GDICOMMENT_MULTIFORMATS 0x40000004
#define GDICOMMENT_UNICODE_STRING 0x00000040
#define GDICOMMENT_UNICODE_END 0x00000080
#define EPS_SIGNATURE 0x46535045
#define CCHDEVICENAME 32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment