Release 961117
[wine.git] / include / metafile.h
blob22e0b619deb56531479bab45c20d3312e5cc2c04
1 /*
2 * Metafile definitions
4 * Copyright David W. Metcalfe, 1994
5 */
7 #ifndef METAFILE_H
8 #define METAFILE_H
10 #include "windows.h"
12 #define MFHEADERSIZE (sizeof(METAHEADER))
13 #define MFVERSION 0x300
14 #define META_EOF 0x0000
16 BOOL32 MF_MetaParam0(DC *dc, short func);
17 BOOL32 MF_MetaParam1(DC *dc, short func, short param1);
18 BOOL32 MF_MetaParam2(DC *dc, short func, short param1, short param2);
19 BOOL32 MF_MetaParam4(DC *dc, short func, short param1, short param2,
20 short param3, short param4);
21 BOOL32 MF_MetaParam6(DC *dc, short func, short param1, short param2,
22 short param3, short param4, short param5, short param6);
23 BOOL32 MF_MetaParam8(DC *dc, short func, short param1, short param2,
24 short param3, short param4, short param5,
25 short param6, short param7, short param8);
26 BOOL32 MF_CreateBrushIndirect(DC *dc, HBRUSH16 hBrush, LOGBRUSH16 *logbrush);
27 BOOL32 MF_CreatePatternBrush(DC *dc, HBRUSH16 hBrush, LOGBRUSH16 *logbrush);
28 BOOL32 MF_CreatePenIndirect(DC *dc, HPEN16 hPen, LOGPEN16 *logpen);
29 BOOL32 MF_CreateFontIndirect(DC *dc, HFONT16 hFont, LOGFONT16 *logfont);
30 BOOL32 MF_TextOut(DC *dc, short x, short y, LPCSTR str, short count);
31 BOOL32 MF_ExtTextOut(DC *dc, short x, short y, UINT16 flags, const RECT16 *rect,
32 LPCSTR str, short count, const INT16 *lpDx);
33 BOOL32 MF_MetaPoly(DC *dc, short func, LPPOINT16 pt, short count);
34 BOOL32 MF_BitBlt(DC *dcDest, short xDest, short yDest, short width,
35 short height, DC *dcSrc, short xSrc, short ySrc, DWORD rop);
36 BOOL32 MF_StretchBlt(DC *dcDest, short xDest, short yDest, short widthDest,
37 short heightDest, DC *dcSrc, short xSrc, short ySrc,
38 short widthSrc, short heightSrc, DWORD rop);
40 #endif /* METAFILE_H */