4 * Copyright David W. Metcalfe, 1994
7 #ifndef __WINE_METAFILE_H
8 #define __WINE_METAFILE_H
13 #define MFHEADERSIZE (sizeof(METAHEADER))
14 #define MFVERSION 0x300
15 #define META_EOF 0x0000
17 BOOL
MF_MetaParam0(DC
*dc
, short func
);
18 BOOL
MF_MetaParam1(DC
*dc
, short func
, short param1
);
19 BOOL
MF_MetaParam2(DC
*dc
, short func
, short param1
, short param2
);
20 BOOL
MF_MetaParam4(DC
*dc
, short func
, short param1
, short param2
,
21 short param3
, short param4
);
22 BOOL
MF_MetaParam6(DC
*dc
, short func
, short param1
, short param2
,
23 short param3
, short param4
, short param5
, short param6
);
24 BOOL
MF_MetaParam8(DC
*dc
, short func
, short param1
, short param2
,
25 short param3
, short param4
, short param5
,
26 short param6
, short param7
, short param8
);
27 BOOL
MF_CreateBrushIndirect(DC
*dc
, HBRUSH16 hBrush
, LOGBRUSH16
*logbrush
);
28 BOOL
MF_CreatePatternBrush(DC
*dc
, HBRUSH16 hBrush
, LOGBRUSH16
*logbrush
);
29 BOOL
MF_CreatePenIndirect(DC
*dc
, HPEN16 hPen
, LOGPEN16
*logpen
);
30 BOOL
MF_CreateFontIndirect(DC
*dc
, HFONT16 hFont
, LOGFONT16
*logfont
);
31 BOOL
MF_TextOut(DC
*dc
, short x
, short y
, LPCSTR str
, short count
);
32 BOOL
MF_ExtTextOut(DC
*dc
, short x
, short y
, UINT16 flags
, const RECT16
*rect
,
33 LPCSTR str
, short count
, const INT16
*lpDx
);
34 BOOL
MF_MetaPoly(DC
*dc
, short func
, LPPOINT16 pt
, short count
);
35 BOOL
MF_BitBlt(DC
*dcDest
, short xDest
, short yDest
, short width
,
36 short height
, DC
*dcSrc
, short xSrc
, short ySrc
, DWORD rop
);
37 BOOL
MF_StretchBlt(DC
*dcDest
, short xDest
, short yDest
, short widthDest
,
38 short heightDest
, DC
*dcSrc
, short xSrc
, short ySrc
,
39 short widthSrc
, short heightSrc
, DWORD rop
);
40 INT16
MF_CreateRegion(DC
*dc
, HRGN hrgn
);
41 #endif /* __WINE_METAFILE_H */