The COM virtual tables must use the
[wine.git] / graphics / metafiledrv / dc.c
blob0d28dfbd62b247b8995158688a1ac596ece2a54e
1 /*
2 * MetaFile driver DC value functions
4 * Copyright 1999 Huw D M Davies
6 */
8 #include "metafiledrv.h"
10 INT MFDRV_SaveDC( DC *dc )
12 return MFDRV_MetaParam0( dc, META_SAVEDC );
15 BOOL MFDRV_RestoreDC( DC *dc, INT level )
17 if(level != -1) return FALSE;
18 return MFDRV_MetaParam1( dc, META_RESTOREDC, level );
21 UINT MFDRV_SetTextAlign( DC *dc, UINT align )
23 return MFDRV_MetaParam1( dc, META_SETTEXTALIGN, (WORD)align);
26 INT MFDRV_SetBkMode( DC *dc, INT mode )
28 return MFDRV_MetaParam1( dc, META_SETBKMODE, (WORD)mode);
31 INT MFDRV_SetROP2( DC *dc, INT rop )
33 return MFDRV_MetaParam1( dc, META_SETROP2, (WORD)rop);
36 INT MFDRV_SetRelAbs( DC *dc, INT mode )
38 return MFDRV_MetaParam1( dc, META_SETRELABS, (WORD)mode);
41 INT MFDRV_SetPolyFillMode( DC *dc, INT mode )
43 return MFDRV_MetaParam1( dc, META_SETPOLYFILLMODE, (WORD)mode);
46 INT MFDRV_SetStretchBltMode( DC *dc, INT mode )
48 return MFDRV_MetaParam1( dc, META_SETSTRETCHBLTMODE, (WORD)mode);
51 INT MFDRV_IntersectClipRect( DC *dc, INT left, INT top, INT right, INT bottom )
53 return MFDRV_MetaParam4( dc, META_INTERSECTCLIPRECT, left, top, right,
54 bottom );
57 INT MFDRV_ExcludeClipRect( DC *dc, INT left, INT top, INT right, INT bottom )
59 return MFDRV_MetaParam4( dc, META_EXCLUDECLIPRECT, left, top, right,
60 bottom );
63 INT MFDRV_OffsetClipRgn( DC *dc, INT x, INT y )
65 return MFDRV_MetaParam2( dc, META_OFFSETCLIPRGN, x, y );
68 INT MFDRV_SetTextJustification( DC *dc, INT extra, INT breaks )
70 return MFDRV_MetaParam2( dc, META_SETTEXTJUSTIFICATION, extra, breaks );
73 INT MFDRV_SetTextCharacterExtra( DC *dc, INT extra )
75 return MFDRV_MetaParam1( dc, META_SETTEXTCHAREXTRA, extra );
78 DWORD MFDRV_SetMapperFlags( DC *dc, DWORD flags )
80 return MFDRV_MetaParam2( dc, META_SETMAPPERFLAGS, HIWORD(flags),
81 LOWORD(flags) );
84 BOOL MFDRV_AbortPath( DC *dc )
86 return FALSE;
89 BOOL MFDRV_BeginPath( DC *dc )
91 return FALSE;
94 BOOL MFDRV_CloseFigure( DC *dc )
96 return FALSE;
99 BOOL MFDRV_EndPath( DC *dc )
101 return FALSE;
104 BOOL MFDRV_FillPath( DC *dc )
106 return FALSE;
109 BOOL MFDRV_FlattenPath( DC *dc )
111 return FALSE;
114 BOOL MFDRV_SelectClipPath( DC *dc, INT iMode )
116 return FALSE;
119 BOOL MFDRV_StrokeAndFillPath( DC *dc )
121 return FALSE;
124 BOOL MFDRV_StrokePath( DC *dc )
126 return FALSE;
129 BOOL MFDRV_WidenPath( DC *dc )
131 return FALSE;