2 * reactos/lib/gdi32/objects/path.c
6 * When you implement one of these functions,
7 * remove its stub from this file.
21 HANDLE_METADC0P(BOOL
, AbortPath
, FALSE
, hdc
);
22 return NtGdiAbortPath(hdc
);
34 HANDLE_METADC0P(BOOL
, BeginPath
, FALSE
, hdc
);
35 return NtGdiBeginPath(hdc
);
46 HANDLE_METADC0P(BOOL
, CloseFigure
, FALSE
, hdc
);
47 return NtGdiCloseFigure(hdc
);
59 HANDLE_METADC0P(BOOL
, EndPath
, FALSE
, hdc
);
60 return NtGdiEndPath( hdc
);
72 HANDLE_METADC0P(BOOL
, FillPath
, FALSE
, hdc
);
73 return NtGdiFillPath( hdc
);
85 HANDLE_METADC0P(BOOL
, FlattenPath
, FALSE
, hdc
);
86 return NtGdiFlattenPath ( hdc
);
102 if (GDI_HANDLE_GET_TYPE(hdc
) == GDI_OBJECT_TYPE_METADC
)
104 SetLastError(ERROR_INVALID_PARAMETER
);
108 retValue
= NtGdiGetPath(hdc
,pptlBuf
,pjTypes
,cptBuf
);
123 HANDLE_METADC0P(HRGN
, PathToRegion
, NULL
, hdc
);
124 return NtGdiPathToRegion(hdc
);
139 gxf_long worker
, worker1
;
142 Ret
= NtGdiSetMiterLimit ( hdc
, worker
.l
, a2
? &worker1
.l
: NULL
);
143 if (a2
&& Ret
) *a2
= worker1
.f
;
156 HANDLE_METADC0P(BOOL
, StrokeAndFillPath
, FALSE
, hdc
);
157 return NtGdiStrokeAndFillPath ( hdc
);
169 HANDLE_METADC0P(BOOL
, StrokePath
, FALSE
, hdc
);
170 return NtGdiStrokePath ( hdc
);
182 HANDLE_METADC0P(BOOL
, WidenPath
, FALSE
, hdc
);
183 return NtGdiWidenPath ( hdc
);
195 HANDLE_METADC(BOOL
, SelectClipPath
, FALSE
, hdc
, iMode
);
196 return NtGdiSelectClipPath(hdc
, iMode
);