1996-10-13 19:45:47 +02:00
|
|
|
/*
|
|
|
|
* Metafile driver definitions
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_METAFILEDRV_H
|
|
|
|
#define __WINE_METAFILEDRV_H
|
|
|
|
|
|
|
|
#include "windows.h"
|
|
|
|
#include "gdi.h"
|
|
|
|
|
|
|
|
/* FIXME: SDK docs says these should be 1 and 2 */
|
|
|
|
#define METAFILE_MEMORY 0
|
|
|
|
#define METAFILE_DISK 1
|
|
|
|
|
|
|
|
/* Metafile driver physical DC */
|
1996-11-17 19:59:11 +01:00
|
|
|
|
1996-10-13 19:45:47 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
METAHEADER *mh; /* Pointer to metafile header */
|
|
|
|
UINT32 nextHandle; /* Next handle number */
|
|
|
|
} METAFILEDRV_PDEVICE;
|
|
|
|
|
1996-11-17 19:59:11 +01:00
|
|
|
|
|
|
|
/* Metafile driver functions */
|
|
|
|
|
|
|
|
extern BOOL32 MFDRV_BitBlt( struct tagDC *dcDst, INT32 xDst, INT32 yDst,
|
|
|
|
INT32 width, INT32 height, struct tagDC *dcSrc,
|
|
|
|
INT32 xSrc, INT32 ySrc, DWORD rop );
|
|
|
|
extern BOOL32 MFDRV_PatBlt( struct tagDC *dc, INT32 left, INT32 top,
|
|
|
|
INT32 width, INT32 height, DWORD rop );
|
|
|
|
extern BOOL32 MFDRV_StretchBlt( struct tagDC *dcDst, INT32 xDst, INT32 yDst,
|
|
|
|
INT32 widthDst, INT32 heightDst,
|
|
|
|
struct tagDC *dcSrc, INT32 xSrc, INT32 ySrc,
|
|
|
|
INT32 widthSrc, INT32 heightSrc, DWORD rop );
|
1996-12-22 19:27:48 +01:00
|
|
|
extern INT32 MFDRV_SetMapMode( struct tagDC *dc, INT32 mode );
|
|
|
|
extern BOOL32 MFDRV_SetViewportExt( struct tagDC *dc, INT32 x, INT32 y );
|
|
|
|
extern BOOL32 MFDRV_SetViewportOrg( struct tagDC *dc, INT32 x, INT32 y );
|
|
|
|
extern BOOL32 MFDRV_SetWindowExt( struct tagDC *dc, INT32 x, INT32 y );
|
|
|
|
extern BOOL32 MFDRV_SetWindowOrg( struct tagDC *dc, INT32 x, INT32 y );
|
|
|
|
extern BOOL32 MFDRV_OffsetViewportOrg( struct tagDC *dc, INT32 x, INT32 y );
|
|
|
|
extern BOOL32 MFDRV_OffsetWindowOrg( struct tagDC *dc, INT32 x, INT32 y );
|
|
|
|
extern BOOL32 MFDRV_ScaleViewportExt( struct tagDC *dc, INT32 xNum,
|
|
|
|
INT32 xDenom, INT32 yNum, INT32 yDenom );
|
|
|
|
extern BOOL32 MFDRV_ScaleWindowExt( struct tagDC *dc, INT32 xNum, INT32 xDenom,
|
|
|
|
INT32 yNum, INT32 yDenom );
|
1996-11-17 19:59:11 +01:00
|
|
|
|
1996-10-13 19:45:47 +02:00
|
|
|
#endif /* __WINE_METAFILEDRV_H */
|