ReactOS 0.4.15-dev-8102-g108db8f
dc.c File Reference
Include dependency graph for dc.c:

Go to the source code of this file.

Functions

INT MFDRV_SaveDC (PHYSDEV dev)
 
BOOL MFDRV_RestoreDC (PHYSDEV dev, INT level)
 
UINT MFDRV_SetTextAlign (PHYSDEV dev, UINT align)
 
INT MFDRV_SetBkMode (PHYSDEV dev, INT mode)
 
COLORREF MFDRV_SetBkColor (PHYSDEV dev, COLORREF color)
 
COLORREF MFDRV_SetTextColor (PHYSDEV dev, COLORREF color)
 
INT MFDRV_SetROP2 (PHYSDEV dev, INT rop)
 
INT MFDRV_SetRelAbs (PHYSDEV dev, INT mode)
 
INT MFDRV_SetPolyFillMode (PHYSDEV dev, INT mode)
 
INT MFDRV_SetStretchBltMode (PHYSDEV dev, INT mode)
 
INT MFDRV_IntersectClipRect (PHYSDEV dev, INT left, INT top, INT right, INT bottom)
 
INT MFDRV_ExcludeClipRect (PHYSDEV dev, INT left, INT top, INT right, INT bottom)
 
INT MFDRV_OffsetClipRgn (PHYSDEV dev, INT x, INT y)
 
INT MFDRV_SetMapMode (PHYSDEV dev, INT mode)
 
BOOL MFDRV_SetViewportExtEx (PHYSDEV dev, INT x, INT y, SIZE *size)
 
BOOL MFDRV_SetViewportOrgEx (PHYSDEV dev, INT x, INT y, POINT *pt)
 
BOOL MFDRV_SetWindowExtEx (PHYSDEV dev, INT x, INT y, SIZE *size)
 
BOOL MFDRV_SetWindowOrgEx (PHYSDEV dev, INT x, INT y, POINT *pt)
 
BOOL MFDRV_OffsetViewportOrgEx (PHYSDEV dev, INT x, INT y, POINT *pt)
 
BOOL MFDRV_OffsetWindowOrgEx (PHYSDEV dev, INT x, INT y, POINT *pt)
 
BOOL MFDRV_ScaleViewportExtEx (PHYSDEV dev, INT xNum, INT xDenom, INT yNum, INT yDenom, SIZE *size)
 
BOOL MFDRV_ScaleWindowExtEx (PHYSDEV dev, INT xNum, INT xDenom, INT yNum, INT yDenom, SIZE *size)
 
BOOL MFDRV_SetTextJustification (PHYSDEV dev, INT extra, INT breaks)
 
INT MFDRV_SetTextCharacterExtra (PHYSDEV dev, INT extra)
 
DWORD MFDRV_SetMapperFlags (PHYSDEV dev, DWORD flags)
 
BOOL MFDRV_AbortPath (PHYSDEV dev)
 
BOOL MFDRV_BeginPath (PHYSDEV dev)
 
BOOL MFDRV_CloseFigure (PHYSDEV dev)
 
BOOL MFDRV_EndPath (PHYSDEV dev)
 
BOOL MFDRV_FillPath (PHYSDEV dev)
 
BOOL MFDRV_FlattenPath (PHYSDEV dev)
 
BOOL MFDRV_SelectClipPath (PHYSDEV dev, INT iMode)
 
BOOL MFDRV_StrokeAndFillPath (PHYSDEV dev)
 
BOOL MFDRV_StrokePath (PHYSDEV dev)
 
BOOL MFDRV_WidenPath (PHYSDEV dev)
 
COLORREF MFDRV_SetDCBrushColor (PHYSDEV dev, COLORREF color)
 
COLORREF MFDRV_SetDCPenColor (PHYSDEV dev, COLORREF color)
 

Function Documentation

◆ MFDRV_AbortPath()

BOOL MFDRV_AbortPath ( PHYSDEV  dev)

Definition at line 148 of file dc.c.

149{
150 return FALSE;
151}
#define FALSE
Definition: types.h:117

◆ MFDRV_BeginPath()

BOOL MFDRV_BeginPath ( PHYSDEV  dev)

Definition at line 153 of file dc.c.

154{
155 return FALSE;
156}

◆ MFDRV_CloseFigure()

BOOL MFDRV_CloseFigure ( PHYSDEV  dev)

Definition at line 158 of file dc.c.

159{
160 return FALSE;
161}

◆ MFDRV_EndPath()

BOOL MFDRV_EndPath ( PHYSDEV  dev)

Definition at line 163 of file dc.c.

164{
165 return FALSE;
166}

◆ MFDRV_ExcludeClipRect()

INT MFDRV_ExcludeClipRect ( PHYSDEV  dev,
INT  left,
INT  top,
INT  right,
INT  bottom 
)

Definition at line 78 of file dc.c.

79{
81}
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
GLdouble GLdouble right
Definition: glext.h:10859
GLint left
Definition: glext.h:7726
GLint GLint bottom
Definition: glext.h:7726
BOOL MFDRV_MetaParam4(PHYSDEV dev, short func, short param1, short param2, short param3, short param4)
Definition: init.c:566
#define META_EXCLUDECLIPRECT
Definition: wingdi.h:231

◆ MFDRV_FillPath()

BOOL MFDRV_FillPath ( PHYSDEV  dev)

Definition at line 168 of file dc.c.

169{
170 return FALSE;
171}

◆ MFDRV_FlattenPath()

BOOL MFDRV_FlattenPath ( PHYSDEV  dev)

Definition at line 173 of file dc.c.

174{
175 return FALSE;
176}

◆ MFDRV_IntersectClipRect()

INT MFDRV_IntersectClipRect ( PHYSDEV  dev,
INT  left,
INT  top,
INT  right,
INT  bottom 
)

Definition at line 73 of file dc.c.

74{
76}
#define META_INTERSECTCLIPRECT
Definition: wingdi.h:232

◆ MFDRV_OffsetClipRgn()

INT MFDRV_OffsetClipRgn ( PHYSDEV  dev,
INT  x,
INT  y 
)

Definition at line 83 of file dc.c.

84{
86}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
BOOL MFDRV_MetaParam2(PHYSDEV dev, short func, short param1, short param2)
Definition: init.c:548
#define META_OFFSETCLIPRGN
Definition: wingdi.h:242

◆ MFDRV_OffsetViewportOrgEx()

BOOL MFDRV_OffsetViewportOrgEx ( PHYSDEV  dev,
INT  x,
INT  y,
POINT pt 
)

Definition at line 113 of file dc.c.

114{
116}
#define META_OFFSETVIEWPORTORG
Definition: wingdi.h:227

◆ MFDRV_OffsetWindowOrgEx()

BOOL MFDRV_OffsetWindowOrgEx ( PHYSDEV  dev,
INT  x,
INT  y,
POINT pt 
)

Definition at line 118 of file dc.c.

119{
121}
#define META_OFFSETWINDOWORG
Definition: wingdi.h:225

◆ MFDRV_RestoreDC()

BOOL MFDRV_RestoreDC ( PHYSDEV  dev,
INT  level 
)

Definition at line 28 of file dc.c.

29{
31}
GLint level
Definition: gl.h:1546
BOOL MFDRV_MetaParam1(PHYSDEV dev, short func, short param1)
Definition: init.c:532
#define META_RESTOREDC
Definition: wingdi.h:249

◆ MFDRV_SaveDC()

INT MFDRV_SaveDC ( PHYSDEV  dev)

Definition at line 23 of file dc.c.

24{
26}
BOOL MFDRV_MetaParam0(PHYSDEV dev, short func)
Definition: init.c:518
#define META_SAVEDC
Definition: wingdi.h:240

◆ MFDRV_ScaleViewportExtEx()

BOOL MFDRV_ScaleViewportExtEx ( PHYSDEV  dev,
INT  xNum,
INT  xDenom,
INT  yNum,
INT  yDenom,
SIZE size 
)

Definition at line 123 of file dc.c.

124{
125 return MFDRV_MetaParam4( dev, META_SCALEVIEWPORTEXT, xNum, xDenom, yNum, yDenom );
126}
#define META_SCALEVIEWPORTEXT
Definition: wingdi.h:228

◆ MFDRV_ScaleWindowExtEx()

BOOL MFDRV_ScaleWindowExtEx ( PHYSDEV  dev,
INT  xNum,
INT  xDenom,
INT  yNum,
INT  yDenom,
SIZE size 
)

Definition at line 128 of file dc.c.

129{
130 return MFDRV_MetaParam4( dev, META_SCALEWINDOWEXT, xNum, xDenom, yNum, yDenom );
131}
#define META_SCALEWINDOWEXT
Definition: wingdi.h:226

◆ MFDRV_SelectClipPath()

BOOL MFDRV_SelectClipPath ( PHYSDEV  dev,
INT  iMode 
)

Definition at line 178 of file dc.c.

179{
180 return FALSE;
181}

◆ MFDRV_SetBkColor()

COLORREF MFDRV_SetBkColor ( PHYSDEV  dev,
COLORREF  color 
)

Definition at line 43 of file dc.c.

44{
46}
GLuint color
Definition: glext.h:6243
#define LOWORD(l)
Definition: pedump.c:82
#define HIWORD(l)
Definition: typedefs.h:247
#define CLR_INVALID
Definition: wingdi.h:883
#define META_SETBKCOLOR
Definition: wingdi.h:210

◆ MFDRV_SetBkMode()

INT MFDRV_SetBkMode ( PHYSDEV  dev,
INT  mode 
)

Definition at line 38 of file dc.c.

39{
41}
unsigned short WORD
Definition: ntddk_ex.h:93
GLenum mode
Definition: glext.h:6217
#define META_SETBKMODE
Definition: wingdi.h:211

◆ MFDRV_SetDCBrushColor()

COLORREF MFDRV_SetDCBrushColor ( PHYSDEV  dev,
COLORREF  color 
)

Definition at line 198 of file dc.c.

199{
200 return CLR_INVALID;
201}

◆ MFDRV_SetDCPenColor()

COLORREF MFDRV_SetDCPenColor ( PHYSDEV  dev,
COLORREF  color 
)

Definition at line 203 of file dc.c.

204{
205 return CLR_INVALID;
206}

◆ MFDRV_SetMapMode()

INT MFDRV_SetMapMode ( PHYSDEV  dev,
INT  mode 
)

Definition at line 88 of file dc.c.

89{
91}
#define META_SETMAPMODE
Definition: wingdi.h:212

◆ MFDRV_SetMapperFlags()

DWORD MFDRV_SetMapperFlags ( PHYSDEV  dev,
DWORD  flags 
)

Definition at line 143 of file dc.c.

144{
146}
GLbitfield flags
Definition: glext.h:7161
#define GDI_ERROR
Definition: wingdi.h:1309
#define META_SETMAPPERFLAGS
Definition: wingdi.h:258

◆ MFDRV_SetPolyFillMode()

INT MFDRV_SetPolyFillMode ( PHYSDEV  dev,
INT  mode 
)

Definition at line 63 of file dc.c.

64{
66}
#define META_SETPOLYFILLMODE
Definition: wingdi.h:215

◆ MFDRV_SetRelAbs()

INT MFDRV_SetRelAbs ( PHYSDEV  dev,
INT  mode 
)

Definition at line 58 of file dc.c.

59{
61}
#define META_SETRELABS
Definition: wingdi.h:214

◆ MFDRV_SetROP2()

INT MFDRV_SetROP2 ( PHYSDEV  dev,
INT  rop 
)

Definition at line 53 of file dc.c.

54{
55 return MFDRV_MetaParam1( dev, META_SETROP2, (WORD)rop) ? rop : 0;
56}
static int rop(int rop, int src, int dst)
Definition: nanoxwin.c:124
#define META_SETROP2
Definition: wingdi.h:213

◆ MFDRV_SetStretchBltMode()

INT MFDRV_SetStretchBltMode ( PHYSDEV  dev,
INT  mode 
)

Definition at line 68 of file dc.c.

69{
71}
#define META_SETSTRETCHBLTMODE
Definition: wingdi.h:216

◆ MFDRV_SetTextAlign()

UINT MFDRV_SetTextAlign ( PHYSDEV  dev,
UINT  align 
)

Definition at line 33 of file dc.c.

34{
36}
int align(int length, int align)
Definition: dsound8.c:36
#define META_SETTEXTALIGN
Definition: wingdi.h:256

◆ MFDRV_SetTextCharacterExtra()

INT MFDRV_SetTextCharacterExtra ( PHYSDEV  dev,
INT  extra 
)

Definition at line 138 of file dc.c.

139{
140 return MFDRV_MetaParam1( dev, META_SETTEXTCHAREXTRA, extra ) ? extra : 0x80000000;
141}
@ extra
Definition: id3.c:95
#define META_SETTEXTCHAREXTRA
Definition: wingdi.h:217

◆ MFDRV_SetTextColor()

COLORREF MFDRV_SetTextColor ( PHYSDEV  dev,
COLORREF  color 
)

Definition at line 48 of file dc.c.

49{
51}
#define META_SETTEXTCOLOR
Definition: wingdi.h:219

◆ MFDRV_SetTextJustification()

BOOL MFDRV_SetTextJustification ( PHYSDEV  dev,
INT  extra,
INT  breaks 
)

Definition at line 133 of file dc.c.

134{
136}
#define META_SETTEXTJUSTIFICATION
Definition: wingdi.h:220

◆ MFDRV_SetViewportExtEx()

BOOL MFDRV_SetViewportExtEx ( PHYSDEV  dev,
INT  x,
INT  y,
SIZE size 
)

Definition at line 93 of file dc.c.

94{
96}
#define META_SETVIEWPORTEXT
Definition: wingdi.h:224

◆ MFDRV_SetViewportOrgEx()

BOOL MFDRV_SetViewportOrgEx ( PHYSDEV  dev,
INT  x,
INT  y,
POINT pt 
)

Definition at line 98 of file dc.c.

99{
101}
#define META_SETVIEWPORTORG
Definition: wingdi.h:223

◆ MFDRV_SetWindowExtEx()

BOOL MFDRV_SetWindowExtEx ( PHYSDEV  dev,
INT  x,
INT  y,
SIZE size 
)

Definition at line 103 of file dc.c.

104{
106}
#define META_SETWINDOWEXT
Definition: wingdi.h:222

◆ MFDRV_SetWindowOrgEx()

BOOL MFDRV_SetWindowOrgEx ( PHYSDEV  dev,
INT  x,
INT  y,
POINT pt 
)

Definition at line 108 of file dc.c.

109{
111}
#define META_SETWINDOWORG
Definition: wingdi.h:221

◆ MFDRV_StrokeAndFillPath()

BOOL MFDRV_StrokeAndFillPath ( PHYSDEV  dev)

Definition at line 183 of file dc.c.

184{
185 return FALSE;
186}

◆ MFDRV_StrokePath()

BOOL MFDRV_StrokePath ( PHYSDEV  dev)

Definition at line 188 of file dc.c.

189{
190 return FALSE;
191}

◆ MFDRV_WidenPath()

BOOL MFDRV_WidenPath ( PHYSDEV  dev)

Definition at line 193 of file dc.c.

194{
195 return FALSE;
196}