Release 980628
[wine/multimedia.git] / include / metafile.h
blobc6747189284d972760ba76d4a770c1097a9bd6a4
1 /*
2 * Metafile definitions
4 * Copyright David W. Metcalfe, 1994
5 */
7 #ifndef __WINE_METAFILE_H
8 #define __WINE_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);
39 INT16 MF_CreateRegion(DC *dc, HRGN32 hrgn);
40 #endif /* __WINE_METAFILE_H */