Release 961222
[wine/multimedia.git] / include / metafiledrv.h
blob91027a8b7c07399187d6d13f377b9470efac29e2
1 /*
2 * Metafile driver definitions
3 */
5 #ifndef __WINE_METAFILEDRV_H
6 #define __WINE_METAFILEDRV_H
8 #include "windows.h"
9 #include "gdi.h"
11 /* FIXME: SDK docs says these should be 1 and 2 */
12 #define METAFILE_MEMORY 0
13 #define METAFILE_DISK 1
15 /* Metafile driver physical DC */
17 typedef struct
19 METAHEADER *mh; /* Pointer to metafile header */
20 UINT32 nextHandle; /* Next handle number */
21 } METAFILEDRV_PDEVICE;
24 /* Metafile driver functions */
26 extern BOOL32 MFDRV_BitBlt( struct tagDC *dcDst, INT32 xDst, INT32 yDst,
27 INT32 width, INT32 height, struct tagDC *dcSrc,
28 INT32 xSrc, INT32 ySrc, DWORD rop );
29 extern BOOL32 MFDRV_PatBlt( struct tagDC *dc, INT32 left, INT32 top,
30 INT32 width, INT32 height, DWORD rop );
31 extern BOOL32 MFDRV_StretchBlt( struct tagDC *dcDst, INT32 xDst, INT32 yDst,
32 INT32 widthDst, INT32 heightDst,
33 struct tagDC *dcSrc, INT32 xSrc, INT32 ySrc,
34 INT32 widthSrc, INT32 heightSrc, DWORD rop );
35 extern INT32 MFDRV_SetMapMode( struct tagDC *dc, INT32 mode );
36 extern BOOL32 MFDRV_SetViewportExt( struct tagDC *dc, INT32 x, INT32 y );
37 extern BOOL32 MFDRV_SetViewportOrg( struct tagDC *dc, INT32 x, INT32 y );
38 extern BOOL32 MFDRV_SetWindowExt( struct tagDC *dc, INT32 x, INT32 y );
39 extern BOOL32 MFDRV_SetWindowOrg( struct tagDC *dc, INT32 x, INT32 y );
40 extern BOOL32 MFDRV_OffsetViewportOrg( struct tagDC *dc, INT32 x, INT32 y );
41 extern BOOL32 MFDRV_OffsetWindowOrg( struct tagDC *dc, INT32 x, INT32 y );
42 extern BOOL32 MFDRV_ScaleViewportExt( struct tagDC *dc, INT32 xNum,
43 INT32 xDenom, INT32 yNum, INT32 yDenom );
44 extern BOOL32 MFDRV_ScaleWindowExt( struct tagDC *dc, INT32 xNum, INT32 xDenom,
45 INT32 yNum, INT32 yDenom );
47 #endif /* __WINE_METAFILEDRV_H */