xref: /reactos/sdk/include/psdk/gdiplusflat.h (revision b8dd046e)
1 /*
2  * Copyright (C) 2007 Google (Evan Stade)
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #ifndef _FLATAPI_H
20 #define _FLATAPI_H
21 
22 #define WINGDIPAPI __stdcall
23 
24 #define GDIPCONST const
25 
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30 
31     /* AdjustableArrowCap */
32     GpStatus WINGDIPAPI
33     GdipCreateAdjustableArrowCap(REAL, REAL, BOOL, GpAdjustableArrowCap **);
34     GpStatus WINGDIPAPI
35     GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap *, BOOL *);
36     GpStatus WINGDIPAPI
37     GdipGetAdjustableArrowCapHeight(GpAdjustableArrowCap *, REAL *);
38     GpStatus WINGDIPAPI
39     GdipGetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap *, REAL *);
40     GpStatus WINGDIPAPI
41     GdipGetAdjustableArrowCapWidth(GpAdjustableArrowCap *, REAL *);
42     GpStatus WINGDIPAPI
43     GdipSetAdjustableArrowCapFillState(GpAdjustableArrowCap *, BOOL);
44     GpStatus WINGDIPAPI
45     GdipSetAdjustableArrowCapHeight(GpAdjustableArrowCap *, REAL);
46     GpStatus WINGDIPAPI
47     GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap *, REAL);
48     GpStatus WINGDIPAPI
49     GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap *, REAL);
50 
51     /* Bitmap */
52     GpStatus WINGDIPAPI
53     GdipBitmapApplyEffect(GpBitmap *, CGpEffect *, RECT *, BOOL, VOID **, INT *);
54     GpStatus WINGDIPAPI
55     GdipBitmapCreateApplyEffect(GpBitmap **, INT, CGpEffect *, RECT *, RECT *, GpBitmap **, BOOL, VOID **, INT *);
56     GpStatus WINGDIPAPI
57     GdipBitmapGetHistogram(GpBitmap *, HistogramFormat, UINT, UINT *, UINT *, UINT *, UINT *);
58     GpStatus WINGDIPAPI
59     GdipBitmapGetHistogramSize(HistogramFormat, UINT *);
60     GpStatus WINGDIPAPI
61     GdipBitmapGetPixel(GpBitmap *, INT, INT, ARGB *);
62     GpStatus WINGDIPAPI
63     GdipBitmapLockBits(GpBitmap *, GDIPCONST GpRect *, UINT, PixelFormat, BitmapData *);
64     GpStatus WINGDIPAPI
65     GdipBitmapSetPixel(GpBitmap *, INT, INT, ARGB);
66     GpStatus WINGDIPAPI
67     GdipBitmapSetResolution(GpBitmap *, REAL, REAL);
68     GpStatus WINGDIPAPI
69     GdipBitmapUnlockBits(GpBitmap *, BitmapData *);
70     GpStatus WINGDIPAPI
71     GdipCloneBitmapArea(REAL, REAL, REAL, REAL, PixelFormat, GpBitmap *, GpBitmap **);
72     GpStatus WINGDIPAPI
73     GdipCloneBitmapAreaI(INT, INT, INT, INT, PixelFormat, GpBitmap *, GpBitmap **);
74     GpStatus WINGDIPAPI
75     GdipCreateBitmapFromFile(GDIPCONST WCHAR *, GpBitmap **);
76     GpStatus WINGDIPAPI
77     GdipCreateBitmapFromFileICM(GDIPCONST WCHAR *, GpBitmap **);
78     GpStatus WINGDIPAPI
79     GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO *, VOID *, GpBitmap **);
80     GpStatus WINGDIPAPI
81     GdipCreateBitmapFromGraphics(INT, INT, GpGraphics *, GpBitmap **);
82     GpStatus WINGDIPAPI
83     GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap **);
84     GpStatus WINGDIPAPI
85     GdipCreateBitmapFromHICON(HICON, GpBitmap **);
86     GpStatus WINGDIPAPI
87     GdipCreateBitmapFromResource(HINSTANCE, GDIPCONST WCHAR *, GpBitmap **);
88     GpStatus WINGDIPAPI
89     GdipCreateBitmapFromScan0(INT, INT, INT, PixelFormat, BYTE *, GpBitmap **);
90     GpStatus WINGDIPAPI
91     GdipCreateBitmapFromStream(IStream *, GpBitmap **);
92     GpStatus WINGDIPAPI
93     GdipCreateBitmapFromStreamICM(IStream *, GpBitmap **);
94     GpStatus WINGDIPAPI
95     GdipCreateHBITMAPFromBitmap(GpBitmap *, HBITMAP *, ARGB);
96     GpStatus WINGDIPAPI
97     GdipCreateHICONFromBitmap(GpBitmap *, HICON *);
98     GpStatus WINGDIPAPI
99     GdipDeleteEffect(CGpEffect *);
100     GpStatus WINGDIPAPI
101     GdipSetEffectParameters(CGpEffect *, const VOID *, const UINT);
102 
103     /* Brush */
104     GpStatus WINGDIPAPI
105     GdipCloneBrush(GpBrush *, GpBrush **);
106     GpStatus WINGDIPAPI
107     GdipDeleteBrush(GpBrush *);
108     GpStatus WINGDIPAPI
109     GdipGetBrushType(GpBrush *, GpBrushType *);
110 
111     /* CachedBitmap */
112     GpStatus WINGDIPAPI
113     GdipCreateCachedBitmap(GpBitmap *, GpGraphics *, GpCachedBitmap **);
114     GpStatus WINGDIPAPI
115     GdipDeleteCachedBitmap(GpCachedBitmap *);
116     GpStatus WINGDIPAPI
117     GdipDrawCachedBitmap(GpGraphics *, GpCachedBitmap *, INT, INT);
118 
119     /* CustomLineCap */
120     GpStatus WINGDIPAPI
121     GdipCloneCustomLineCap(GpCustomLineCap *, GpCustomLineCap **);
122     GpStatus WINGDIPAPI
123     GdipCreateCustomLineCap(GpPath *, GpPath *, GpLineCap, REAL, GpCustomLineCap **);
124     GpStatus WINGDIPAPI
125     GdipDeleteCustomLineCap(GpCustomLineCap *);
126     GpStatus WINGDIPAPI
127     GdipGetCustomLineCapBaseCap(GpCustomLineCap *, GpLineCap *);
128     GpStatus WINGDIPAPI
129     GdipSetCustomLineCapBaseCap(GpCustomLineCap *, GpLineCap);
130     GpStatus WINGDIPAPI
131     GdipGetCustomLineCapBaseInset(GpCustomLineCap *, REAL *);
132     GpStatus WINGDIPAPI
133     GdipSetCustomLineCapBaseInset(GpCustomLineCap *, REAL);
134     GpStatus WINGDIPAPI
135     GdipSetCustomLineCapStrokeCaps(GpCustomLineCap *, GpLineCap, GpLineCap);
136     GpStatus WINGDIPAPI
137     GdipGetCustomLineCapStrokeJoin(GpCustomLineCap *, GpLineJoin *);
138     GpStatus WINGDIPAPI
139     GdipSetCustomLineCapStrokeJoin(GpCustomLineCap *, GpLineJoin);
140     GpStatus WINGDIPAPI
141     GdipGetCustomLineCapWidthScale(GpCustomLineCap *, REAL *);
142     GpStatus WINGDIPAPI
143     GdipSetCustomLineCapWidthScale(GpCustomLineCap *, REAL);
144     GpStatus WINGDIPAPI
145     GdipSetCustomLineCapBaseInset(GpCustomLineCap *, REAL);
146     GpStatus WINGDIPAPI
147     GdipGetCustomLineCapType(GpCustomLineCap *, CustomLineCapType *);
148 
149     /* Font */
150     GpStatus WINGDIPAPI
151     GdipCloneFont(GpFont *, GpFont **);
152     GpStatus WINGDIPAPI
153     GdipCreateFont(GDIPCONST GpFontFamily *, REAL, INT, Unit, GpFont **);
154     GpStatus WINGDIPAPI
155     GdipCreateFontFromDC(HDC, GpFont **);
156     GpStatus WINGDIPAPI
157     GdipCreateFontFromLogfontA(HDC, GDIPCONST LOGFONTA *, GpFont **);
158     GpStatus WINGDIPAPI
159     GdipCreateFontFromLogfontW(HDC, GDIPCONST LOGFONTW *, GpFont **);
160     GpStatus WINGDIPAPI
161     GdipDeleteFont(GpFont *);
162     GpStatus WINGDIPAPI
163     GdipGetLogFontA(GpFont *, GpGraphics *, LOGFONTA *);
164     GpStatus WINGDIPAPI
165     GdipGetLogFontW(GpFont *, GpGraphics *, LOGFONTW *);
166     GpStatus WINGDIPAPI
167     GdipGetFamily(GpFont *, GpFontFamily **);
168     GpStatus WINGDIPAPI
169     GdipGetFontUnit(GpFont *, Unit *);
170     GpStatus WINGDIPAPI
171     GdipGetFontSize(GpFont *, REAL *);
172     GpStatus WINGDIPAPI
173     GdipGetFontStyle(GpFont *, INT *);
174     GpStatus WINGDIPAPI
175     GdipGetFontHeight(GDIPCONST GpFont *, GDIPCONST GpGraphics *, REAL *);
176     GpStatus WINGDIPAPI
177     GdipGetFontHeightGivenDPI(GDIPCONST GpFont *, REAL, REAL *);
178 
179     /* FontCollection */
180     GpStatus WINGDIPAPI
181     GdipNewInstalledFontCollection(GpFontCollection **);
182     GpStatus WINGDIPAPI
183     GdipNewPrivateFontCollection(GpFontCollection **);
184     GpStatus WINGDIPAPI
185     GdipDeletePrivateFontCollection(GpFontCollection **);
186     GpStatus WINGDIPAPI
187     GdipPrivateAddFontFile(GpFontCollection *, GDIPCONST WCHAR *);
188     GpStatus WINGDIPAPI
189     GdipPrivateAddMemoryFont(GpFontCollection *, GDIPCONST void *, INT);
190     GpStatus WINGDIPAPI
191     GdipGetFontCollectionFamilyCount(GpFontCollection *, INT *);
192     GpStatus WINGDIPAPI
193     GdipGetFontCollectionFamilyList(GpFontCollection *, INT, GpFontFamily *[], INT *);
194 
195     /* FontFamily */
196     GpStatus WINGDIPAPI
197     GdipCloneFontFamily(GpFontFamily *, GpFontFamily **);
198     GpStatus WINGDIPAPI
199     GdipCreateFontFamilyFromName(GDIPCONST WCHAR *, GpFontCollection *, GpFontFamily **);
200     GpStatus WINGDIPAPI
201     GdipDeleteFontFamily(GpFontFamily *);
202     GpStatus WINGDIPAPI
203     GdipGetFamilyName(GDIPCONST GpFontFamily *, WCHAR *, LANGID);
204     GpStatus WINGDIPAPI
205     GdipGetCellAscent(GDIPCONST GpFontFamily *, INT, UINT16 *);
206     GpStatus WINGDIPAPI
207     GdipGetCellDescent(GDIPCONST GpFontFamily *, INT, UINT16 *);
208     GpStatus WINGDIPAPI
209     GdipGetEmHeight(GDIPCONST GpFontFamily *, INT, UINT16 *);
210     GpStatus WINGDIPAPI
211     GdipGetGenericFontFamilySansSerif(GpFontFamily **);
212     GpStatus WINGDIPAPI
213     GdipGetGenericFontFamilySerif(GpFontFamily **);
214     GpStatus WINGDIPAPI
215     GdipGetGenericFontFamilyMonospace(GpFontFamily **);
216     GpStatus WINGDIPAPI
217     GdipGetLineSpacing(GDIPCONST GpFontFamily *, INT, UINT16 *);
218     GpStatus WINGDIPAPI
219     GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL *);
220 
221     /* Graphics */
222     GpStatus WINGDIPAPI
223     GdipFlush(GpGraphics *, GpFlushIntention);
224     GpStatus WINGDIPAPI
225     GdipBeginContainer(GpGraphics *, GDIPCONST GpRectF *, GDIPCONST GpRectF *, GpUnit, GraphicsContainer *);
226     GpStatus WINGDIPAPI
227     GdipBeginContainer2(GpGraphics *, GraphicsContainer *);
228     GpStatus WINGDIPAPI
229     GdipBeginContainerI(GpGraphics *, GDIPCONST GpRect *, GDIPCONST GpRect *, GpUnit, GraphicsContainer *);
230     GpStatus WINGDIPAPI
231     GdipEndContainer(GpGraphics *, GraphicsContainer);
232     GpStatus WINGDIPAPI
233     GdipComment(GpGraphics *, UINT, GDIPCONST BYTE *);
234     GpStatus WINGDIPAPI
235     GdipCreateFromHDC(HDC, GpGraphics **);
236     GpStatus WINGDIPAPI
237     GdipCreateFromHDC2(HDC, HANDLE, GpGraphics **);
238     GpStatus WINGDIPAPI
239     GdipCreateFromHWND(HWND, GpGraphics **);
240     GpStatus WINGDIPAPI
241     GdipCreateFromHWNDICM(HWND, GpGraphics **);
242     HPALETTE WINGDIPAPI
243     GdipCreateHalftonePalette(void);
244     GpStatus WINGDIPAPI
245     GdipDeleteGraphics(GpGraphics *);
246     GpStatus WINGDIPAPI
247     GdipDrawArc(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL);
248     GpStatus WINGDIPAPI
249     GdipDrawArcI(GpGraphics *, GpPen *, INT, INT, INT, INT, REAL, REAL);
250     GpStatus WINGDIPAPI
251     GdipDrawBezier(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL, REAL, REAL);
252     GpStatus WINGDIPAPI
253     GdipDrawBezierI(GpGraphics *, GpPen *, INT, INT, INT, INT, INT, INT, INT, INT);
254     GpStatus WINGDIPAPI
255     GdipDrawBeziers(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT);
256     GpStatus WINGDIPAPI
257     GdipDrawBeziersI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT);
258     GpStatus WINGDIPAPI
259     GdipDrawClosedCurve(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT);
260     GpStatus WINGDIPAPI
261     GdipDrawClosedCurveI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT);
262     GpStatus WINGDIPAPI
263     GdipDrawClosedCurve2(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, REAL);
264     GpStatus WINGDIPAPI
265     GdipDrawClosedCurve2I(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, REAL);
266     GpStatus WINGDIPAPI
267     GdipDrawCurve(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT);
268     GpStatus WINGDIPAPI
269     GdipDrawCurveI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT);
270     GpStatus WINGDIPAPI
271     GdipDrawCurve2(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, REAL);
272     GpStatus WINGDIPAPI
273     GdipDrawCurve2I(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, REAL);
274     GpStatus WINGDIPAPI
275     GdipDrawCurve3(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT, INT, INT, REAL);
276     GpStatus WINGDIPAPI
277     GdipDrawCurve3I(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT, INT, INT, REAL);
278     GpStatus WINGDIPAPI
279     GdipDrawDriverString(
280         GpGraphics *,
281         GDIPCONST UINT16 *,
282         INT,
283         GDIPCONST GpFont *,
284         GDIPCONST GpBrush *,
285         GDIPCONST PointF *,
286         INT,
287         GDIPCONST GpMatrix *);
288     GpStatus WINGDIPAPI
289     GdipDrawEllipse(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL);
290     GpStatus WINGDIPAPI
291     GdipDrawEllipseI(GpGraphics *, GpPen *, INT, INT, INT, INT);
292     GpStatus WINGDIPAPI
293     GdipDrawImage(GpGraphics *, GpImage *, REAL, REAL);
294     GpStatus WINGDIPAPI
295     GdipDrawImageI(GpGraphics *, GpImage *, INT, INT);
296     GpStatus WINGDIPAPI
297     GdipDrawImagePointRect(GpGraphics *, GpImage *, REAL, REAL, REAL, REAL, REAL, REAL, GpUnit);
298     GpStatus WINGDIPAPI
299     GdipDrawImagePointRectI(GpGraphics *, GpImage *, INT, INT, INT, INT, INT, INT, GpUnit);
300     GpStatus WINGDIPAPI
301     GdipDrawImagePoints(GpGraphics *, GpImage *, GDIPCONST GpPointF *, INT);
302     GpStatus WINGDIPAPI
303     GdipDrawImagePointsI(GpGraphics *, GpImage *, GDIPCONST GpPoint *, INT);
304     GpStatus WINGDIPAPI
305     GdipDrawImagePointsRect(
306         GpGraphics *,
307         GpImage *,
308         GDIPCONST GpPointF *,
309         INT,
310         REAL,
311         REAL,
312         REAL,
313         REAL,
314         GpUnit,
315         GDIPCONST GpImageAttributes *,
316         DrawImageAbort,
317         VOID *);
318     GpStatus WINGDIPAPI
319     GdipDrawImagePointsRectI(
320         GpGraphics *,
321         GpImage *,
322         GDIPCONST GpPoint *,
323         INT,
324         INT,
325         INT,
326         INT,
327         INT,
328         GpUnit,
329         GDIPCONST GpImageAttributes *,
330         DrawImageAbort,
331         VOID *);
332     GpStatus WINGDIPAPI
333     GdipDrawImageRect(GpGraphics *, GpImage *, REAL, REAL, REAL, REAL);
334     GpStatus WINGDIPAPI
335     GdipDrawImageRectI(GpGraphics *, GpImage *, INT, INT, INT, INT);
336     GpStatus WINGDIPAPI
337     GdipDrawImageRectRect(
338         GpGraphics *,
339         GpImage *,
340         REAL,
341         REAL,
342         REAL,
343         REAL,
344         REAL,
345         REAL,
346         REAL,
347         REAL,
348         GpUnit,
349         GDIPCONST GpImageAttributes *,
350         DrawImageAbort,
351         VOID *);
352     GpStatus WINGDIPAPI
353     GdipDrawImageRectRectI(
354         GpGraphics *,
355         GpImage *,
356         INT,
357         INT,
358         INT,
359         INT,
360         INT,
361         INT,
362         INT,
363         INT,
364         GpUnit,
365         GDIPCONST GpImageAttributes *,
366         DrawImageAbort,
367         VOID *);
368     GpStatus WINGDIPAPI
369     GdipDrawLine(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL);
370     GpStatus WINGDIPAPI
371     GdipDrawLineI(GpGraphics *, GpPen *, INT, INT, INT, INT);
372     GpStatus WINGDIPAPI
373     GdipDrawLines(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT);
374     GpStatus WINGDIPAPI
375     GdipDrawLinesI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT);
376     GpStatus WINGDIPAPI
377     GdipDrawPath(GpGraphics *, GpPen *, GpPath *);
378     GpStatus WINGDIPAPI
379     GdipDrawPie(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL, REAL, REAL);
380     GpStatus WINGDIPAPI
381     GdipDrawPieI(GpGraphics *, GpPen *, INT, INT, INT, INT, REAL, REAL);
382     GpStatus WINGDIPAPI
383     GdipDrawPolygon(GpGraphics *, GpPen *, GDIPCONST GpPointF *, INT);
384     GpStatus WINGDIPAPI
385     GdipDrawPolygonI(GpGraphics *, GpPen *, GDIPCONST GpPoint *, INT);
386     GpStatus WINGDIPAPI
387     GdipDrawRectangle(GpGraphics *, GpPen *, REAL, REAL, REAL, REAL);
388     GpStatus WINGDIPAPI
389     GdipDrawRectangleI(GpGraphics *, GpPen *, INT, INT, INT, INT);
390     GpStatus WINGDIPAPI
391     GdipDrawRectangles(GpGraphics *, GpPen *, GDIPCONST GpRectF *, INT);
392     GpStatus WINGDIPAPI
393     GdipDrawRectanglesI(GpGraphics *, GpPen *, GDIPCONST GpRect *, INT);
394     GpStatus WINGDIPAPI
395     GdipDrawString(
396         GpGraphics *,
397         GDIPCONST WCHAR *,
398         INT,
399         GDIPCONST GpFont *,
400         GDIPCONST RectF *,
401         GDIPCONST GpStringFormat *,
402         GDIPCONST GpBrush *);
403     GpStatus WINGDIPAPI
404     GdipEnumerateMetafileDestPoint(
405         GpGraphics *,
406         GDIPCONST GpMetafile *,
407         GDIPCONST GpPointF *,
408         EnumerateMetafileProc,
409         VOID *,
410         GDIPCONST GpImageAttributes *);
411     GpStatus WINGDIPAPI
412     GdipEnumerateMetafileDestPointI(
413         GpGraphics *,
414         GDIPCONST GpMetafile *,
415         GDIPCONST GpPoint *,
416         EnumerateMetafileProc,
417         VOID *,
418         GDIPCONST GpImageAttributes *);
419     GpStatus WINGDIPAPI
420     GdipEnumerateMetafileDestRect(
421         GpGraphics *,
422         GDIPCONST GpMetafile *,
423         GDIPCONST GpRectF *,
424         EnumerateMetafileProc,
425         VOID *,
426         GDIPCONST GpImageAttributes *);
427     GpStatus WINGDIPAPI
428     GdipEnumerateMetafileDestRectI(
429         GpGraphics *,
430         GDIPCONST GpMetafile *,
431         GDIPCONST GpRect *,
432         EnumerateMetafileProc,
433         VOID *,
434         GDIPCONST GpImageAttributes *);
435     GpStatus WINGDIPAPI
436     GdipEnumerateMetafileSrcRectDestPoints(
437         GpGraphics *,
438         GDIPCONST GpMetafile *,
439         GDIPCONST GpPointF *,
440         INT,
441         GDIPCONST GpRectF *,
442         Unit,
443         EnumerateMetafileProc,
444         VOID *,
445         GDIPCONST GpImageAttributes *);
446     GpStatus WINGDIPAPI
447     GdipFillClosedCurve2(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT, REAL, GpFillMode);
448     GpStatus WINGDIPAPI
449     GdipFillClosedCurve2I(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT, REAL, GpFillMode);
450     GpStatus WINGDIPAPI
451     GdipFillClosedCurve(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT);
452     GpStatus WINGDIPAPI
453     GdipFillClosedCurveI(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT);
454     GpStatus WINGDIPAPI
455     GdipFillEllipse(GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL);
456     GpStatus WINGDIPAPI
457     GdipFillEllipseI(GpGraphics *, GpBrush *, INT, INT, INT, INT);
458     GpStatus WINGDIPAPI
459     GdipFillPath(GpGraphics *, GpBrush *, GpPath *);
460     GpStatus WINGDIPAPI
461     GdipFillPie(GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL, REAL, REAL);
462     GpStatus WINGDIPAPI
463     GdipFillPieI(GpGraphics *, GpBrush *, INT, INT, INT, INT, REAL, REAL);
464     GpStatus WINGDIPAPI
465     GdipFillPolygon(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT, GpFillMode);
466     GpStatus WINGDIPAPI
467     GdipFillPolygonI(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT, GpFillMode);
468     GpStatus WINGDIPAPI
469     GdipFillPolygon2(GpGraphics *, GpBrush *, GDIPCONST GpPointF *, INT);
470     GpStatus WINGDIPAPI
471     GdipFillPolygon2I(GpGraphics *, GpBrush *, GDIPCONST GpPoint *, INT);
472     GpStatus WINGDIPAPI
473     GdipFillRectangle(GpGraphics *, GpBrush *, REAL, REAL, REAL, REAL);
474     GpStatus WINGDIPAPI
475     GdipFillRectangleI(GpGraphics *, GpBrush *, INT, INT, INT, INT);
476     GpStatus WINGDIPAPI
477     GdipFillRectangles(GpGraphics *, GpBrush *, GDIPCONST GpRectF *, INT);
478     GpStatus WINGDIPAPI
479     GdipFillRectanglesI(GpGraphics *, GpBrush *, GDIPCONST GpRect *, INT);
480     GpStatus WINGDIPAPI
481     GdipFillRegion(GpGraphics *, GpBrush *, GpRegion *);
482     GpStatus WINGDIPAPI
483     GdipGetClip(GpGraphics *, GpRegion *);
484     GpStatus WINGDIPAPI
485     GdipGetClipBounds(GpGraphics *, GpRectF *);
486     GpStatus WINGDIPAPI
487     GdipGetClipBoundsI(GpGraphics *, GpRect *);
488     GpStatus WINGDIPAPI
489     GdipGetCompositingMode(GpGraphics *, CompositingMode *);
490     GpStatus WINGDIPAPI
491     GdipGetCompositingQuality(GpGraphics *, CompositingQuality *);
492     GpStatus WINGDIPAPI
493     GdipGetDC(GpGraphics *, HDC *);
494     GpStatus WINGDIPAPI
495     GdipGetDpiX(GpGraphics *, REAL *);
496     GpStatus WINGDIPAPI
497     GdipGetDpiY(GpGraphics *, REAL *);
498     GpStatus WINGDIPAPI
499     GdipGetEncoderParameterListSize(GpImage *, GDIPCONST CLSID *, UINT *);
500     GpStatus WINGDIPAPI
501     GdipGetImageDecoders(UINT, UINT, ImageCodecInfo *);
502     GpStatus WINGDIPAPI
503     GdipGetImageDecodersSize(UINT *, UINT *);
504     GpStatus WINGDIPAPI
505     GdipGetImageGraphicsContext(GpImage *, GpGraphics **);
506     GpStatus WINGDIPAPI
507     GdipGetInterpolationMode(GpGraphics *, InterpolationMode *);
508     GpStatus WINGDIPAPI
509     GdipGetNearestColor(GpGraphics *, ARGB *);
510     GpStatus WINGDIPAPI
511     GdipGetPageScale(GpGraphics *, REAL *);
512     GpStatus WINGDIPAPI
513     GdipGetPageUnit(GpGraphics *, GpUnit *);
514     GpStatus WINGDIPAPI
515     GdipGetPixelOffsetMode(GpGraphics *, PixelOffsetMode *);
516     GpStatus WINGDIPAPI
517     GdipGetRenderingOrigin(GpGraphics *, INT *, INT *);
518     GpStatus WINGDIPAPI
519     GdipGetSmoothingMode(GpGraphics *, SmoothingMode *);
520     GpStatus WINGDIPAPI
521     GdipGetTextContrast(GpGraphics *, UINT *);
522     GpStatus WINGDIPAPI
523     GdipGetTextRenderingHint(GpGraphics *, TextRenderingHint *);
524     GpStatus WINGDIPAPI
525     GdipGetWorldTransform(GpGraphics *, GpMatrix *);
526     GpStatus WINGDIPAPI
527     GdipGraphicsClear(GpGraphics *, ARGB);
528     GpStatus WINGDIPAPI
529     GdipGraphicsSetAbort(GpGraphics *, GdiplusAbort *);
530     GpStatus WINGDIPAPI
531     GdipGetVisibleClipBounds(GpGraphics *, GpRectF *);
532     GpStatus WINGDIPAPI
533     GdipGetVisibleClipBoundsI(GpGraphics *, GpRect *);
534     GpStatus WINGDIPAPI
535     GdipInitializePalette(ColorPalette *, PaletteType, INT, BOOL, GpBitmap *);
536     GpStatus WINGDIPAPI
537     GdipIsClipEmpty(GpGraphics *, BOOL *);
538     GpStatus WINGDIPAPI
539     GdipIsVisibleClipEmpty(GpGraphics *, BOOL *);
540     GpStatus WINGDIPAPI
541     GdipIsVisiblePoint(GpGraphics *, REAL, REAL, BOOL *);
542     GpStatus WINGDIPAPI
543     GdipIsVisiblePointI(GpGraphics *, INT, INT, BOOL *);
544     GpStatus WINGDIPAPI
545     GdipIsVisibleRect(GpGraphics *, REAL, REAL, REAL, REAL, BOOL *);
546     GpStatus WINGDIPAPI
547     GdipIsVisibleRectI(GpGraphics *, INT, INT, INT, INT, BOOL *);
548     GpStatus WINGDIPAPI
549     GdipMeasureCharacterRanges(
550         GpGraphics *,
551         GDIPCONST WCHAR *,
552         INT,
553         GDIPCONST GpFont *,
554         GDIPCONST RectF *,
555         GDIPCONST GpStringFormat *,
556         INT,
557         GpRegion **);
558     GpStatus WINGDIPAPI
559     GdipMeasureDriverString(
560         GpGraphics *,
561         GDIPCONST UINT16 *,
562         INT,
563         GDIPCONST GpFont *,
564         GDIPCONST PointF *,
565         INT,
566         GDIPCONST GpMatrix *,
567         RectF *);
568     GpStatus WINGDIPAPI
569     GdipMeasureString(
570         GpGraphics *,
571         GDIPCONST WCHAR *,
572         INT,
573         GDIPCONST GpFont *,
574         GDIPCONST RectF *,
575         GDIPCONST GpStringFormat *,
576         RectF *,
577         INT *,
578         INT *);
579     GpStatus WINGDIPAPI
580     GdipMultiplyWorldTransform(GpGraphics *, GDIPCONST GpMatrix *, GpMatrixOrder);
581     GpStatus WINGDIPAPI
582     GdipRecordMetafileFileName(
583         GDIPCONST WCHAR *,
584         HDC,
585         EmfType,
586         GDIPCONST GpRectF *,
587         MetafileFrameUnit,
588         GDIPCONST WCHAR *,
589         GpMetafile **);
590     GpStatus WINGDIPAPI
591     GdipRecordMetafileFileNameI(
592         GDIPCONST WCHAR *,
593         HDC,
594         EmfType,
595         GDIPCONST GpRect *,
596         MetafileFrameUnit,
597         GDIPCONST WCHAR *,
598         GpMetafile **);
599     GpStatus WINGDIPAPI
600     GdipRecordMetafileI(HDC, EmfType, GDIPCONST GpRect *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **);
601     GpStatus WINGDIPAPI
602     GdipReleaseDC(GpGraphics *, HDC);
603     GpStatus WINGDIPAPI
604     GdipResetClip(GpGraphics *);
605     GpStatus WINGDIPAPI
606     GdipResetWorldTransform(GpGraphics *);
607     GpStatus WINGDIPAPI
608     GdipRestoreGraphics(GpGraphics *, GraphicsState);
609     GpStatus WINGDIPAPI
610     GdipRotateWorldTransform(GpGraphics *, REAL, GpMatrixOrder);
611     GpStatus WINGDIPAPI
612     GdipSaveAdd(GpImage *, GDIPCONST EncoderParameters *);
613     GpStatus WINGDIPAPI
614     GdipSaveGraphics(GpGraphics *, GraphicsState *);
615     GpStatus WINGDIPAPI
616     GdipScaleWorldTransform(GpGraphics *, REAL, REAL, GpMatrixOrder);
617     GpStatus WINGDIPAPI
618     GdipSetClipHrgn(GpGraphics *, HRGN, CombineMode);
619     GpStatus WINGDIPAPI
620     GdipSetClipGraphics(GpGraphics *, GpGraphics *, CombineMode);
621     GpStatus WINGDIPAPI
622     GdipSetClipPath(GpGraphics *, GpPath *, CombineMode);
623     GpStatus WINGDIPAPI
624     GdipSetClipRect(GpGraphics *, REAL, REAL, REAL, REAL, CombineMode);
625     GpStatus WINGDIPAPI
626     GdipSetClipRectI(GpGraphics *, INT, INT, INT, INT, CombineMode);
627     GpStatus WINGDIPAPI
628     GdipSetClipRegion(GpGraphics *, GpRegion *, CombineMode);
629     GpStatus WINGDIPAPI
630     GdipSetCompositingMode(GpGraphics *, CompositingMode);
631     GpStatus WINGDIPAPI
632     GdipSetCompositingQuality(GpGraphics *, CompositingQuality);
633     GpStatus WINGDIPAPI
634     GdipSetInterpolationMode(GpGraphics *, InterpolationMode);
635     GpStatus WINGDIPAPI
636     GdipSetPageScale(GpGraphics *, REAL);
637     GpStatus WINGDIPAPI
638     GdipSetPageUnit(GpGraphics *, GpUnit);
639     GpStatus WINGDIPAPI
640     GdipSetPixelOffsetMode(GpGraphics *, PixelOffsetMode);
641     GpStatus WINGDIPAPI
642     GdipSetRenderingOrigin(GpGraphics *, INT, INT);
643     GpStatus WINGDIPAPI
644     GdipSetSmoothingMode(GpGraphics *, SmoothingMode);
645     GpStatus WINGDIPAPI
646     GdipSetTextContrast(GpGraphics *, UINT);
647     GpStatus WINGDIPAPI
648     GdipSetTextRenderingHint(GpGraphics *, TextRenderingHint);
649     GpStatus WINGDIPAPI
650     GdipSetWorldTransform(GpGraphics *, GpMatrix *);
651     GpStatus WINGDIPAPI
652     GdipTransformPoints(GpGraphics *, GpCoordinateSpace, GpCoordinateSpace, GpPointF *, INT);
653     GpStatus WINGDIPAPI
654     GdipTransformPointsI(GpGraphics *, GpCoordinateSpace, GpCoordinateSpace, GpPoint *, INT);
655     GpStatus WINGDIPAPI
656     GdipTranslateClip(GpGraphics *, REAL, REAL);
657     GpStatus WINGDIPAPI
658     GdipTranslateClipI(GpGraphics *, INT, INT);
659     GpStatus WINGDIPAPI
660     GdipTranslateWorldTransform(GpGraphics *, REAL, REAL, GpMatrixOrder);
661 
662     /* GraphicsPath */
663     GpStatus WINGDIPAPI
664     GdipAddPathArc(GpPath *, REAL, REAL, REAL, REAL, REAL, REAL);
665     GpStatus WINGDIPAPI
666     GdipAddPathArcI(GpPath *, INT, INT, INT, INT, REAL, REAL);
667     GpStatus WINGDIPAPI
668     GdipAddPathBezier(GpPath *, REAL, REAL, REAL, REAL, REAL, REAL, REAL, REAL);
669     GpStatus WINGDIPAPI
670     GdipAddPathBezierI(GpPath *, INT, INT, INT, INT, INT, INT, INT, INT);
671     GpStatus WINGDIPAPI
672     GdipAddPathBeziers(GpPath *, GDIPCONST GpPointF *, INT);
673     GpStatus WINGDIPAPI
674     GdipAddPathBeziersI(GpPath *, GDIPCONST GpPoint *, INT);
675     GpStatus WINGDIPAPI
676     GdipAddPathClosedCurve(GpPath *, GDIPCONST GpPointF *, INT);
677     GpStatus WINGDIPAPI
678     GdipAddPathClosedCurveI(GpPath *, GDIPCONST GpPoint *, INT);
679     GpStatus WINGDIPAPI
680     GdipAddPathClosedCurve2(GpPath *, GDIPCONST GpPointF *, INT, REAL);
681     GpStatus WINGDIPAPI
682     GdipAddPathClosedCurve2I(GpPath *, GDIPCONST GpPoint *, INT, REAL);
683     GpStatus WINGDIPAPI
684     GdipAddPathCurve(GpPath *, GDIPCONST GpPointF *, INT);
685     GpStatus WINGDIPAPI
686     GdipAddPathCurveI(GpPath *, GDIPCONST GpPoint *, INT);
687     GpStatus WINGDIPAPI
688     GdipAddPathCurve2(GpPath *, GDIPCONST GpPointF *, INT, REAL);
689     GpStatus WINGDIPAPI
690     GdipAddPathCurve2I(GpPath *, GDIPCONST GpPoint *, INT, REAL);
691     GpStatus WINGDIPAPI
692     GdipAddPathCurve3(GpPath *, GDIPCONST GpPointF *, INT, INT, INT, REAL);
693     GpStatus WINGDIPAPI
694     GdipAddPathCurve3I(GpPath *, GDIPCONST GpPoint *, INT, INT, INT, REAL);
695     GpStatus WINGDIPAPI
696     GdipAddPathEllipse(GpPath *, REAL, REAL, REAL, REAL);
697     GpStatus WINGDIPAPI
698     GdipAddPathEllipseI(GpPath *, INT, INT, INT, INT);
699     GpStatus WINGDIPAPI
700     GdipAddPathLine(GpPath *, REAL, REAL, REAL, REAL);
701     GpStatus WINGDIPAPI
702     GdipAddPathLineI(GpPath *, INT, INT, INT, INT);
703     GpStatus WINGDIPAPI
704     GdipAddPathLine2(GpPath *, GDIPCONST GpPointF *, INT);
705     GpStatus WINGDIPAPI
706     GdipAddPathLine2I(GpPath *, GDIPCONST GpPoint *, INT);
707     GpStatus WINGDIPAPI
708     GdipAddPathPath(GpPath *, GDIPCONST GpPath *, BOOL);
709     GpStatus WINGDIPAPI
710     GdipAddPathPie(GpPath *, REAL, REAL, REAL, REAL, REAL, REAL);
711     GpStatus WINGDIPAPI
712     GdipAddPathPieI(GpPath *, INT, INT, INT, INT, REAL, REAL);
713     GpStatus WINGDIPAPI
714     GdipAddPathPolygon(GpPath *, GDIPCONST GpPointF *, INT);
715     GpStatus WINGDIPAPI
716     GdipAddPathPolygonI(GpPath *, GDIPCONST GpPoint *, INT);
717     GpStatus WINGDIPAPI
718     GdipAddPathRectangle(GpPath *, REAL, REAL, REAL, REAL);
719     GpStatus WINGDIPAPI
720     GdipAddPathRectangleI(GpPath *, INT, INT, INT, INT);
721     GpStatus WINGDIPAPI
722     GdipAddPathRectangles(GpPath *, GDIPCONST GpRectF *, INT);
723     GpStatus WINGDIPAPI
724     GdipAddPathRectanglesI(GpPath *, GDIPCONST GpRect *, INT);
725     GpStatus WINGDIPAPI
726     GdipAddPathString(
727         GpPath *,
728         GDIPCONST WCHAR *,
729         INT,
730         GDIPCONST GpFontFamily *,
731         INT,
732         REAL,
733         GDIPCONST RectF *,
734         GDIPCONST GpStringFormat *);
735     GpStatus WINGDIPAPI
736     GdipAddPathStringI(
737         GpPath *,
738         GDIPCONST WCHAR *,
739         INT,
740         GDIPCONST GpFontFamily *,
741         INT,
742         REAL,
743         GDIPCONST Rect *,
744         GDIPCONST GpStringFormat *);
745     GpStatus WINGDIPAPI
746     GdipClearPathMarkers(GpPath *);
747     GpStatus WINGDIPAPI
748     GdipClonePath(GpPath *, GpPath **);
749     GpStatus WINGDIPAPI
750     GdipClosePathFigure(GpPath *);
751     GpStatus WINGDIPAPI
752     GdipClosePathFigures(GpPath *);
753     GpStatus WINGDIPAPI
754     GdipCreatePath(GpFillMode, GpPath **);
755     GpStatus WINGDIPAPI
756     GdipCreatePath2(GDIPCONST GpPointF *, GDIPCONST BYTE *, INT, GpFillMode, GpPath **);
757     GpStatus WINGDIPAPI
758     GdipCreatePath2I(GDIPCONST GpPoint *, GDIPCONST BYTE *, INT, GpFillMode, GpPath **);
759     GpStatus WINGDIPAPI
760     GdipDeletePath(GpPath *);
761     GpStatus WINGDIPAPI
762     GdipFlattenPath(GpPath *, GpMatrix *, REAL);
763     GpStatus WINGDIPAPI
764     GdipIsOutlineVisiblePathPoint(GpPath *, REAL, REAL, GpPen *, GpGraphics *, BOOL *);
765     GpStatus WINGDIPAPI
766     GdipIsOutlineVisiblePathPointI(GpPath *, INT, INT, GpPen *, GpGraphics *, BOOL *);
767     GpStatus WINGDIPAPI
768     GdipIsVisiblePathPoint(GpPath *, REAL, REAL, GpGraphics *, BOOL *);
769     GpStatus WINGDIPAPI
770     GdipIsVisiblePathPointI(GpPath *, INT, INT, GpGraphics *, BOOL *);
771     GpStatus WINGDIPAPI
772     GdipGetPathData(GpPath *, GpPathData *);
773     GpStatus WINGDIPAPI
774     GdipGetPathFillMode(GpPath *, GpFillMode *);
775     GpStatus WINGDIPAPI
776     GdipGetPathLastPoint(GpPath *, GpPointF *);
777     GpStatus WINGDIPAPI
778     GdipGetPathPoints(GpPath *, GpPointF *, INT);
779     GpStatus WINGDIPAPI
780     GdipGetPathPointsI(GpPath *, GpPoint *, INT);
781     GpStatus WINGDIPAPI
782     GdipGetPathTypes(GpPath *, BYTE *, INT);
783     GpStatus WINGDIPAPI
784     GdipGetPathWorldBounds(GpPath *, GpRectF *, GDIPCONST GpMatrix *, GDIPCONST GpPen *);
785     GpStatus WINGDIPAPI
786     GdipGetPathWorldBoundsI(GpPath *, GpRect *, GDIPCONST GpMatrix *, GDIPCONST GpPen *);
787     GpStatus WINGDIPAPI
788     GdipGetPointCount(GpPath *, INT *);
789     GpStatus WINGDIPAPI
790     GdipResetPath(GpPath *);
791     GpStatus WINGDIPAPI
792     GdipReversePath(GpPath *);
793     GpStatus WINGDIPAPI
794     GdipSetPathFillMode(GpPath *, GpFillMode);
795     GpStatus WINGDIPAPI
796     GdipSetPathMarker(GpPath *);
797     GpStatus WINGDIPAPI
798     GdipStartPathFigure(GpPath *);
799     GpStatus WINGDIPAPI
800     GdipTransformPath(GpPath *, GpMatrix *);
801     GpStatus WINGDIPAPI
802     GdipWarpPath(GpPath *, GpMatrix *, GDIPCONST GpPointF *, INT, REAL, REAL, REAL, REAL, WarpMode, REAL);
803     GpStatus WINGDIPAPI
804     GdipWidenPath(GpPath *, GpPen *, GpMatrix *, REAL);
805     GpStatus WINGDIPAPI
806     GdipWindingModeOutline(GpPath *, GpMatrix *, REAL);
807 
808     /* HatchBrush */
809     GpStatus WINGDIPAPI
810     GdipCreateHatchBrush(GpHatchStyle, ARGB, ARGB, GpHatch **);
811     GpStatus WINGDIPAPI
812     GdipGetHatchBackgroundColor(GpHatch *, ARGB *);
813     GpStatus WINGDIPAPI
814     GdipGetHatchForegroundColor(GpHatch *, ARGB *);
815     GpStatus WINGDIPAPI
816     GdipGetHatchStyle(GpHatch *, GpHatchStyle *);
817 
818     /* Image */
819     GpStatus WINGDIPAPI
820     GdipCloneImage(GpImage *, GpImage **);
821     GpStatus WINGDIPAPI
822     GdipCloneImageAttributes(GDIPCONST GpImageAttributes *, GpImageAttributes **);
823     GpStatus WINGDIPAPI
824     GdipDisposeImage(GpImage *);
825     GpStatus WINGDIPAPI GdipEmfToWmfBits(HENHMETAFILE, UINT, LPBYTE, INT, INT);
826     GpStatus WINGDIPAPI
827     GdipFindFirstImageItem(GpImage *, ImageItemData *);
828     GpStatus WINGDIPAPI
829     GdipFindNextImageItem(GpImage *, ImageItemData *);
830     GpStatus WINGDIPAPI
831     GdipGetAllPropertyItems(GpImage *, UINT, UINT, PropertyItem *);
832     GpStatus WINGDIPAPI
833     GdipGetImageBounds(GpImage *, GpRectF *, GpUnit *);
834     GpStatus WINGDIPAPI
835     GdipGetImageDimension(GpImage *, REAL *, REAL *);
836     GpStatus WINGDIPAPI
837     GdipGetImageFlags(GpImage *, UINT *);
838     GpStatus WINGDIPAPI
839     GdipGetImageHeight(GpImage *, UINT *);
840     GpStatus WINGDIPAPI
841     GdipGetImageHorizontalResolution(GpImage *, REAL *);
842     GpStatus WINGDIPAPI
843     GdipGetImageItemData(GpImage *, ImageItemData *);
844     GpStatus WINGDIPAPI
845     GdipGetImagePalette(GpImage *, ColorPalette *, INT);
846     GpStatus WINGDIPAPI
847     GdipGetImagePaletteSize(GpImage *, INT *);
848     GpStatus WINGDIPAPI
849     GdipGetImagePixelFormat(GpImage *, PixelFormat *);
850     GpStatus WINGDIPAPI
851     GdipGetImageRawFormat(GpImage *, GUID *);
852     GpStatus WINGDIPAPI
853     GdipGetImageThumbnail(GpImage *, UINT, UINT, GpImage **, GetThumbnailImageAbort, VOID *);
854     GpStatus WINGDIPAPI
855     GdipGetImageType(GpImage *, ImageType *);
856     GpStatus WINGDIPAPI
857     GdipGetImageVerticalResolution(GpImage *, REAL *);
858     GpStatus WINGDIPAPI
859     GdipGetImageWidth(GpImage *, UINT *);
860     GpStatus WINGDIPAPI
861     GdipGetPropertyCount(GpImage *, UINT *);
862     GpStatus WINGDIPAPI
863     GdipGetPropertyIdList(GpImage *, UINT, PROPID *);
864     GpStatus WINGDIPAPI
865     GdipGetPropertyItem(GpImage *, PROPID, UINT, PropertyItem *);
866     GpStatus WINGDIPAPI
867     GdipGetPropertyItemSize(GpImage *, PROPID, UINT *);
868     GpStatus WINGDIPAPI
869     GdipGetPropertySize(GpImage *, UINT *, UINT *);
870     GpStatus WINGDIPAPI
871     GdipImageForceValidation(GpImage *);
872     GpStatus WINGDIPAPI
873     GdipImageGetFrameCount(GpImage *, GDIPCONST GUID *, UINT *);
874     GpStatus WINGDIPAPI
875     GdipImageGetFrameDimensionsCount(GpImage *, UINT *);
876     GpStatus WINGDIPAPI
877     GdipImageGetFrameDimensionsList(GpImage *, GUID *, UINT);
878     GpStatus WINGDIPAPI
879     GdipImageRotateFlip(GpImage *, RotateFlipType);
880     GpStatus WINGDIPAPI
881     GdipImageSelectActiveFrame(GpImage *, GDIPCONST GUID *, UINT);
882     GpStatus WINGDIPAPI
883     GdipImageSetAbort(GpImage *, GdiplusAbort *);
884     GpStatus WINGDIPAPI
885     GdipLoadImageFromFile(GDIPCONST WCHAR *, GpImage **);
886     GpStatus WINGDIPAPI
887     GdipLoadImageFromFileICM(GDIPCONST WCHAR *, GpImage **);
888     GpStatus WINGDIPAPI
889     GdipLoadImageFromStream(IStream *, GpImage **);
890     GpStatus WINGDIPAPI
891     GdipLoadImageFromStreamICM(IStream *, GpImage **);
892     GpStatus WINGDIPAPI
893     GdipRemovePropertyItem(GpImage *, PROPID);
894     GpStatus WINGDIPAPI
895     GdipSaveImageToFile(GpImage *, GDIPCONST WCHAR *, GDIPCONST CLSID *, GDIPCONST EncoderParameters *);
896     GpStatus WINGDIPAPI
897     GdipSaveImageToStream(GpImage *, IStream *, GDIPCONST CLSID *, GDIPCONST EncoderParameters *);
898     GpStatus WINGDIPAPI
899     GdipSetImagePalette(GpImage *, GDIPCONST ColorPalette *);
900     GpStatus WINGDIPAPI
901     GdipSetPropertyItem(GpImage *, GDIPCONST PropertyItem *);
902 
903     /* ImageAttributes */
904     GpStatus WINGDIPAPI
905     GdipCreateImageAttributes(GpImageAttributes **);
906     GpStatus WINGDIPAPI
907     GdipDisposeImageAttributes(GpImageAttributes *);
908     GpStatus WINGDIPAPI
909     GdipGetImageAttributesAdjustedPalette(GpImageAttributes *, ColorPalette *, ColorAdjustType);
910     GpStatus WINGDIPAPI
911     GdipSetImageAttributesCachedBackground(GpImageAttributes *, BOOL);
912     GpStatus WINGDIPAPI
913     GdipSetImageAttributesColorKeys(GpImageAttributes *, ColorAdjustType, BOOL, ARGB, ARGB);
914     GpStatus WINGDIPAPI
915     GdipSetImageAttributesColorMatrix(
916         GpImageAttributes *,
917         ColorAdjustType,
918         BOOL,
919         GDIPCONST ColorMatrix *,
920         GDIPCONST ColorMatrix *,
921         ColorMatrixFlags);
922     GpStatus WINGDIPAPI
923     GdipSetImageAttributesGamma(GpImageAttributes *, ColorAdjustType, BOOL, REAL);
924     GpStatus WINGDIPAPI
925     GdipSetImageAttributesNoOp(GpImageAttributes *, ColorAdjustType, BOOL);
926     GpStatus WINGDIPAPI
927     GdipSetImageAttributesOutputChannel(GpImageAttributes *, ColorAdjustType, BOOL, ColorChannelFlags);
928     GpStatus WINGDIPAPI
929     GdipSetImageAttributesOutputChannelColorProfile(GpImageAttributes *, ColorAdjustType, BOOL, GDIPCONST WCHAR *);
930     GpStatus WINGDIPAPI
931     GdipSetImageAttributesRemapTable(GpImageAttributes *, ColorAdjustType, BOOL, UINT, GDIPCONST ColorMap *);
932     GpStatus WINGDIPAPI
933     GdipSetImageAttributesThreshold(GpImageAttributes *, ColorAdjustType, BOOL, REAL);
934     GpStatus WINGDIPAPI
935     GdipSetImageAttributesToIdentity(GpImageAttributes *, ColorAdjustType);
936     GpStatus WINGDIPAPI
937     GdipSetImageAttributesWrapMode(GpImageAttributes *, WrapMode, ARGB, BOOL);
938     GpStatus WINGDIPAPI
939     GdipResetImageAttributes(GpImageAttributes *, ColorAdjustType);
940 
941     /* LinearGradientBrush */
942     GpStatus WINGDIPAPI
943     GdipCreateLineBrush(GDIPCONST GpPointF *, GDIPCONST GpPointF *, ARGB, ARGB, GpWrapMode, GpLineGradient **);
944     GpStatus WINGDIPAPI
945     GdipCreateLineBrushI(GDIPCONST GpPoint *, GDIPCONST GpPoint *, ARGB, ARGB, GpWrapMode, GpLineGradient **);
946     GpStatus WINGDIPAPI
947     GdipCreateLineBrushFromRect(GDIPCONST GpRectF *, ARGB, ARGB, LinearGradientMode, GpWrapMode, GpLineGradient **);
948     GpStatus WINGDIPAPI
949     GdipCreateLineBrushFromRectI(GDIPCONST GpRect *, ARGB, ARGB, LinearGradientMode, GpWrapMode, GpLineGradient **);
950     GpStatus WINGDIPAPI
951     GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF *, ARGB, ARGB, REAL, BOOL, GpWrapMode, GpLineGradient **);
952     GpStatus WINGDIPAPI
953     GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect *, ARGB, ARGB, REAL, BOOL, GpWrapMode, GpLineGradient **);
954     GpStatus WINGDIPAPI
955     GdipGetLineColors(GpLineGradient *, ARGB *);
956     GpStatus WINGDIPAPI
957     GdipGetLineGammaCorrection(GpLineGradient *, BOOL *);
958     GpStatus WINGDIPAPI
959     GdipGetLineRect(GpLineGradient *, GpRectF *);
960     GpStatus WINGDIPAPI
961     GdipGetLineRectI(GpLineGradient *, GpRect *);
962     GpStatus WINGDIPAPI
963     GdipGetLineWrapMode(GpLineGradient *, GpWrapMode *);
964     GpStatus WINGDIPAPI
965     GdipSetLineBlend(GpLineGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT);
966     GpStatus WINGDIPAPI
967     GdipGetLineBlend(GpLineGradient *, REAL *, REAL *, INT);
968     GpStatus WINGDIPAPI
969     GdipGetLineBlendCount(GpLineGradient *, INT *);
970     GpStatus WINGDIPAPI
971     GdipSetLinePresetBlend(GpLineGradient *, GDIPCONST ARGB *, GDIPCONST REAL *, INT);
972     GpStatus WINGDIPAPI
973     GdipGetLinePresetBlend(GpLineGradient *, ARGB *, REAL *, INT);
974     GpStatus WINGDIPAPI
975     GdipGetLinePresetBlendCount(GpLineGradient *, INT *);
976     GpStatus WINGDIPAPI
977     GdipGetLineTransform(GpLineGradient *, GpMatrix *);
978     GpStatus WINGDIPAPI
979     GdipMultiplyLineTransform(GpLineGradient *, GDIPCONST GpMatrix *, GpMatrixOrder);
980     GpStatus WINGDIPAPI
981     GdipResetLineTransform(GpLineGradient *);
982     GpStatus WINGDIPAPI
983     GdipRotateLineTransform(GpLineGradient *, REAL, GpMatrixOrder);
984     GpStatus WINGDIPAPI
985     GdipScaleLineTransform(GpLineGradient *, REAL, REAL, GpMatrixOrder);
986     GpStatus WINGDIPAPI
987     GdipSetLineColors(GpLineGradient *, ARGB, ARGB);
988     GpStatus WINGDIPAPI
989     GdipSetLineGammaCorrection(GpLineGradient *, BOOL);
990     GpStatus WINGDIPAPI
991     GdipSetLineSigmaBlend(GpLineGradient *, REAL, REAL);
992     GpStatus WINGDIPAPI
993     GdipSetLineTransform(GpLineGradient *, GDIPCONST GpMatrix *);
994     GpStatus WINGDIPAPI
995     GdipSetLineLinearBlend(GpLineGradient *, REAL, REAL);
996     GpStatus WINGDIPAPI
997     GdipSetLineWrapMode(GpLineGradient *, GpWrapMode);
998     GpStatus WINGDIPAPI
999     GdipTranslateLineTransform(GpLineGradient *, REAL, REAL, GpMatrixOrder);
1000 
1001     /* Matrix */
1002     GpStatus WINGDIPAPI
1003     GdipCloneMatrix(GpMatrix *, GpMatrix **);
1004     GpStatus WINGDIPAPI
1005     GdipCreateMatrix(GpMatrix **);
1006     GpStatus WINGDIPAPI
1007     GdipCreateMatrix2(REAL, REAL, REAL, REAL, REAL, REAL, GpMatrix **);
1008     GpStatus WINGDIPAPI
1009     GdipCreateMatrix3(GDIPCONST GpRectF *, GDIPCONST GpPointF *, GpMatrix **);
1010     GpStatus WINGDIPAPI
1011     GdipCreateMatrix3I(GDIPCONST GpRect *, GDIPCONST GpPoint *, GpMatrix **);
1012     GpStatus WINGDIPAPI
1013     GdipDeleteMatrix(GpMatrix *);
1014     GpStatus WINGDIPAPI
1015     GdipGetMatrixElements(GDIPCONST GpMatrix *, REAL *);
1016     GpStatus WINGDIPAPI
1017     GdipInvertMatrix(GpMatrix *);
1018     GpStatus WINGDIPAPI
1019     GdipIsMatrixEqual(GDIPCONST GpMatrix *, GDIPCONST GpMatrix *, BOOL *);
1020     GpStatus WINGDIPAPI
1021     GdipIsMatrixIdentity(GDIPCONST GpMatrix *, BOOL *);
1022     GpStatus WINGDIPAPI
1023     GdipIsMatrixInvertible(GDIPCONST GpMatrix *, BOOL *);
1024     GpStatus WINGDIPAPI
1025     GdipMultiplyMatrix(GpMatrix *, GDIPCONST GpMatrix *, GpMatrixOrder);
1026     GpStatus WINGDIPAPI
1027     GdipRotateMatrix(GpMatrix *, REAL, GpMatrixOrder);
1028     GpStatus WINGDIPAPI
1029     GdipShearMatrix(GpMatrix *, REAL, REAL, GpMatrixOrder);
1030     GpStatus WINGDIPAPI
1031     GdipScaleMatrix(GpMatrix *, REAL, REAL, GpMatrixOrder);
1032     GpStatus WINGDIPAPI
1033     GdipSetMatrixElements(GpMatrix *, REAL, REAL, REAL, REAL, REAL, REAL);
1034     GpStatus WINGDIPAPI
1035     GdipTransformMatrixPoints(GpMatrix *, GpPointF *, INT);
1036     GpStatus WINGDIPAPI
1037     GdipTransformMatrixPointsI(GpMatrix *, GpPoint *, INT);
1038     GpStatus WINGDIPAPI
1039     GdipTranslateMatrix(GpMatrix *, REAL, REAL, GpMatrixOrder);
1040     GpStatus WINGDIPAPI
1041     GdipVectorTransformMatrixPoints(GpMatrix *, GpPointF *, INT);
1042     GpStatus WINGDIPAPI
1043     GdipVectorTransformMatrixPointsI(GpMatrix *, GpPoint *, INT);
1044 
1045     /* Metafile */
1046     GpStatus WINGDIPAPI
1047     GdipConvertToEmfPlus(const GpGraphics *, GpMetafile *, INT *, EmfType, const WCHAR *, GpMetafile **);
1048     GpStatus WINGDIPAPI
1049     GdipConvertToEmfPlusToFile(
1050         const GpGraphics *,
1051         GpMetafile *,
1052         INT *,
1053         const WCHAR *,
1054         EmfType,
1055         const WCHAR *,
1056         GpMetafile **);
1057     GpStatus WINGDIPAPI
1058     GdipConvertToEmfPlusToStream(
1059         const GpGraphics *,
1060         GpMetafile *,
1061         INT *,
1062         IStream *,
1063         EmfType,
1064         const WCHAR *,
1065         GpMetafile **);
1066     GpStatus WINGDIPAPI
1067     GdipCreateMetafileFromEmf(HENHMETAFILE, BOOL, GpMetafile **);
1068     GpStatus WINGDIPAPI
1069     GdipCreateMetafileFromWmf(HMETAFILE, BOOL, GDIPCONST WmfPlaceableFileHeader *, GpMetafile **);
1070     GpStatus WINGDIPAPI
1071     GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR *, GDIPCONST WmfPlaceableFileHeader *, GpMetafile **);
1072     GpStatus WINGDIPAPI
1073     GdipCreateMetafileFromFile(GDIPCONST WCHAR *, GpMetafile **);
1074     GpStatus WINGDIPAPI
1075     GdipCreateMetafileFromStream(IStream *, GpMetafile **);
1076     GpStatus WINGDIPAPI
1077     GdipGetHemfFromMetafile(GpMetafile *, HENHMETAFILE *);
1078     GpStatus WINGDIPAPI
1079     GdipPlayMetafileRecord(GDIPCONST GpMetafile *, EmfPlusRecordType, UINT, UINT, GDIPCONST BYTE *);
1080     GpStatus WINGDIPAPI
1081     GdipSetMetafileDownLevelRasterizationLimit(GpMetafile *, UINT);
1082     GpStatus WINGDIPAPI
1083     GdipRecordMetafile(HDC, EmfType, GDIPCONST GpRectF *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **);
1084     GpStatus WINGDIPAPI
1085     GdipRecordMetafileStream(
1086         IStream *,
1087         HDC,
1088         EmfType,
1089         GDIPCONST GpRectF *,
1090         MetafileFrameUnit,
1091         GDIPCONST WCHAR *,
1092         GpMetafile **);
1093 
1094     /* MetafileHeader */
1095     GpStatus WINGDIPAPI
1096     GdipGetMetafileHeaderFromEmf(HENHMETAFILE, MetafileHeader *);
1097     GpStatus WINGDIPAPI
1098     GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR *, MetafileHeader *);
1099     GpStatus WINGDIPAPI
1100     GdipGetMetafileHeaderFromMetafile(GpMetafile *, MetafileHeader *);
1101     GpStatus WINGDIPAPI
1102     GdipGetMetafileHeaderFromStream(IStream *, MetafileHeader *);
1103     GpStatus WINGDIPAPI
1104     GdipGetMetafileHeaderFromWmf(HMETAFILE, GDIPCONST WmfPlaceableFileHeader *, MetafileHeader *);
1105 
1106     /* Notification */
1107     GpStatus WINAPI
1108     GdiplusNotificationHook(ULONG_PTR *);
1109     void WINAPI GdiplusNotificationUnhook(ULONG_PTR);
1110 
1111     /* PathGradientBrush */
1112     GpStatus WINGDIPAPI
1113     GdipCreatePathGradient(GDIPCONST GpPointF *, INT, GpWrapMode, GpPathGradient **);
1114     GpStatus WINGDIPAPI
1115     GdipCreatePathGradientI(GDIPCONST GpPoint *, INT, GpWrapMode, GpPathGradient **);
1116     GpStatus WINGDIPAPI
1117     GdipCreatePathGradientFromPath(GDIPCONST GpPath *, GpPathGradient **);
1118     GpStatus WINGDIPAPI
1119     GdipGetPathGradientBlend(GpPathGradient *, REAL *, REAL *, INT);
1120     GpStatus WINGDIPAPI
1121     GdipGetPathGradientBlendCount(GpPathGradient *, INT *);
1122     GpStatus WINGDIPAPI
1123     GdipGetPathGradientCenterColor(GpPathGradient *, ARGB *);
1124     GpStatus WINGDIPAPI
1125     GdipGetPathGradientCenterPoint(GpPathGradient *, GpPointF *);
1126     GpStatus WINGDIPAPI
1127     GdipGetPathGradientCenterPointI(GpPathGradient *, GpPoint *);
1128     GpStatus WINGDIPAPI
1129     GdipGetPathGradientFocusScales(GpPathGradient *, REAL *, REAL *);
1130     GpStatus WINGDIPAPI
1131     GdipGetPathGradientGammaCorrection(GpPathGradient *, BOOL *);
1132     GpStatus WINGDIPAPI
1133     GdipGetPathGradientPath(GpPathGradient *, GpPath *);
1134     GpStatus WINGDIPAPI
1135     GdipGetPathGradientPresetBlend(GpPathGradient *, ARGB *, REAL *, INT);
1136     GpStatus WINGDIPAPI
1137     GdipGetPathGradientPresetBlendCount(GpPathGradient *, INT *);
1138     GpStatus WINGDIPAPI
1139     GdipGetPathGradientPointCount(GpPathGradient *, INT *);
1140     GpStatus WINGDIPAPI
1141     GdipSetPathGradientPresetBlend(GpPathGradient *, GDIPCONST ARGB *, GDIPCONST REAL *, INT);
1142     GpStatus WINGDIPAPI
1143     GdipGetPathGradientRect(GpPathGradient *, GpRectF *);
1144     GpStatus WINGDIPAPI
1145     GdipGetPathGradientRectI(GpPathGradient *, GpRect *);
1146     GpStatus WINGDIPAPI
1147     GdipGetPathGradientSurroundColorCount(GpPathGradient *, INT *);
1148     GpStatus WINGDIPAPI
1149     GdipGetPathGradientSurroundColorsWithCount(GpPathGradient *, ARGB *, INT *);
1150     GpStatus WINGDIPAPI
1151     GdipGetPathGradientTransform(GpPathGradient *, GpMatrix *);
1152     GpStatus WINGDIPAPI
1153     GdipGetPathGradientWrapMode(GpPathGradient *, GpWrapMode *);
1154     GpStatus WINGDIPAPI
1155     GdipMultiplyPathGradientTransform(GpPathGradient *, GDIPCONST GpMatrix *, GpMatrixOrder);
1156     GpStatus WINGDIPAPI
1157     GdipResetPathGradientTransform(GpPathGradient *);
1158     GpStatus WINGDIPAPI
1159     GdipRotatePathGradientTransform(GpPathGradient *, REAL, GpMatrixOrder);
1160     GpStatus WINGDIPAPI
1161     GdipScalePathGradientTransform(GpPathGradient *, REAL, REAL, GpMatrixOrder);
1162     GpStatus WINGDIPAPI
1163     GdipSetPathGradientLinearBlend(GpPathGradient *, REAL, REAL);
1164     GpStatus WINGDIPAPI
1165     GdipSetPathGradientBlend(GpPathGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT);
1166     GpStatus WINGDIPAPI
1167     GdipSetPathGradientCenterColor(GpPathGradient *, ARGB);
1168     GpStatus WINGDIPAPI
1169     GdipSetPathGradientCenterPoint(GpPathGradient *, GpPointF *);
1170     GpStatus WINGDIPAPI
1171     GdipSetPathGradientCenterPointI(GpPathGradient *, GpPoint *);
1172     GpStatus WINGDIPAPI
1173     GdipSetPathGradientFocusScales(GpPathGradient *, REAL, REAL);
1174     GpStatus WINGDIPAPI
1175     GdipSetPathGradientGammaCorrection(GpPathGradient *, BOOL);
1176     GpStatus WINGDIPAPI
1177     GdipSetPathGradientPath(GpPathGradient *, GDIPCONST GpPath *);
1178     GpStatus WINGDIPAPI
1179     GdipSetPathGradientSigmaBlend(GpPathGradient *, REAL, REAL);
1180     GpStatus WINGDIPAPI
1181     GdipSetPathGradientSurroundColorsWithCount(GpPathGradient *, GDIPCONST ARGB *, INT *);
1182     GpStatus WINGDIPAPI
1183     GdipSetPathGradientTransform(GpPathGradient *, GpMatrix *);
1184     GpStatus WINGDIPAPI
1185     GdipSetPathGradientWrapMode(GpPathGradient *, GpWrapMode);
1186     GpStatus WINGDIPAPI
1187     GdipTranslatePathGradientTransform(GpPathGradient *, REAL, REAL, GpMatrixOrder);
1188 
1189     /* PathIterator */
1190     GpStatus WINGDIPAPI
1191     GdipCreatePathIter(GpPathIterator **, GpPath *);
1192     GpStatus WINGDIPAPI
1193     GdipDeletePathIter(GpPathIterator *);
1194     GpStatus WINGDIPAPI
1195     GdipPathIterCopyData(GpPathIterator *, INT *, GpPointF *, BYTE *, INT, INT);
1196     GpStatus WINGDIPAPI
1197     GdipPathIterGetCount(GpPathIterator *, INT *);
1198     GpStatus WINGDIPAPI
1199     GdipPathIterGetSubpathCount(GpPathIterator *, INT *);
1200     GpStatus WINGDIPAPI
1201     GdipPathIterEnumerate(GpPathIterator *, INT *, GpPointF *, BYTE *, INT);
1202     GpStatus WINGDIPAPI
1203     GdipPathIterHasCurve(GpPathIterator *, BOOL *);
1204     GpStatus WINGDIPAPI
1205     GdipPathIterIsValid(GpPathIterator *, BOOL *);
1206     GpStatus WINGDIPAPI
1207     GdipPathIterNextMarker(GpPathIterator *, INT *, INT *, INT *);
1208     GpStatus WINGDIPAPI
1209     GdipPathIterNextMarkerPath(GpPathIterator *, INT *, GpPath *);
1210     GpStatus WINGDIPAPI
1211     GdipPathIterNextPathType(GpPathIterator *, INT *, BYTE *, INT *, INT *);
1212     GpStatus WINGDIPAPI
1213     GdipPathIterNextSubpath(GpPathIterator *, INT *, INT *, INT *, BOOL *);
1214     GpStatus WINGDIPAPI
1215     GdipPathIterNextSubpathPath(GpPathIterator *, INT *, GpPath *, BOOL *);
1216     GpStatus WINGDIPAPI
1217     GdipPathIterRewind(GpPathIterator *);
1218 
1219     /* Pen */
1220     GpStatus WINGDIPAPI
1221     GdipClonePen(GpPen *, GpPen **);
1222     GpStatus WINGDIPAPI
1223     GdipCreatePen1(ARGB, REAL, GpUnit, GpPen **);
1224     GpStatus WINGDIPAPI
1225     GdipCreatePen2(GpBrush *, REAL, GpUnit, GpPen **);
1226     GpStatus WINGDIPAPI
1227     GdipDeletePen(GpPen *);
1228     GpStatus WINGDIPAPI
1229     GdipGetPenBrushFill(GpPen *, GpBrush **);
1230     GpStatus WINGDIPAPI
1231     GdipGetPenColor(GpPen *, ARGB *);
1232     GpStatus WINGDIPAPI
1233     GdipGetPenCompoundCount(GpPen *, INT *);
1234     GpStatus WINGDIPAPI
1235     GdipGetPenCustomStartCap(GpPen *, GpCustomLineCap **);
1236     GpStatus WINGDIPAPI
1237     GdipGetPenCustomEndCap(GpPen *, GpCustomLineCap **);
1238     GpStatus WINGDIPAPI
1239     GdipGetPenDashArray(GpPen *, REAL *, INT);
1240     GpStatus WINGDIPAPI
1241     GdipGetPenDashCount(GpPen *, INT *);
1242     GpStatus WINGDIPAPI
1243     GdipGetPenDashOffset(GpPen *, REAL *);
1244     GpStatus WINGDIPAPI
1245     GdipGetPenDashStyle(GpPen *, GpDashStyle *);
1246     GpStatus WINGDIPAPI
1247     GdipGetPenMode(GpPen *, GpPenAlignment *);
1248     GpStatus WINGDIPAPI
1249     GdipGetPenTransform(GpPen *, GpMatrix *);
1250     GpStatus WINGDIPAPI
1251     GdipMultiplyPenTransform(GpPen *, GDIPCONST GpMatrix *, GpMatrixOrder);
1252     GpStatus WINGDIPAPI
1253     GdipResetPenTransform(GpPen *);
1254     GpStatus WINGDIPAPI
1255     GdipRotatePenTransform(GpPen *, REAL, GpMatrixOrder);
1256     GpStatus WINGDIPAPI
1257     GdipScalePenTransform(GpPen *, REAL, REAL, GpMatrixOrder);
1258     GpStatus WINGDIPAPI
1259     GdipSetPenBrushFill(GpPen *, GpBrush *);
1260     GpStatus WINGDIPAPI
1261     GdipSetPenColor(GpPen *, ARGB);
1262     GpStatus WINGDIPAPI
1263     GdipSetPenCompoundArray(GpPen *, GDIPCONST REAL *, INT);
1264     GpStatus WINGDIPAPI
1265     GdipSetPenCustomEndCap(GpPen *, GpCustomLineCap *);
1266     GpStatus WINGDIPAPI
1267     GdipSetPenCustomStartCap(GpPen *, GpCustomLineCap *);
1268     GpStatus WINGDIPAPI
1269     GdipSetPenDashArray(GpPen *, GDIPCONST REAL *, INT);
1270     GpStatus WINGDIPAPI
1271     GdipSetPenDashCap197819(GpPen *, GpDashCap);
1272     GpStatus WINGDIPAPI
1273     GdipSetPenDashOffset(GpPen *, REAL);
1274     GpStatus WINGDIPAPI
1275     GdipSetPenDashStyle(GpPen *, GpDashStyle);
1276     GpStatus WINGDIPAPI
1277     GdipSetPenEndCap(GpPen *, GpLineCap);
1278     GpStatus WINGDIPAPI
1279     GdipGetPenFillType(GpPen *, GpPenType *);
1280     GpStatus WINGDIPAPI
1281     GdipSetPenLineCap197819(GpPen *, GpLineCap, GpLineCap, GpDashCap);
1282     GpStatus WINGDIPAPI
1283     GdipSetPenLineJoin(GpPen *, GpLineJoin);
1284     GpStatus WINGDIPAPI
1285     GdipSetPenMode(GpPen *, GpPenAlignment);
1286     GpStatus WINGDIPAPI
1287     GdipSetPenMiterLimit(GpPen *, REAL);
1288     GpStatus WINGDIPAPI
1289     GdipSetPenStartCap(GpPen *, GpLineCap);
1290     GpStatus WINGDIPAPI
1291     GdipSetPenTransform(GpPen *, GpMatrix *);
1292     GpStatus WINGDIPAPI
1293     GdipSetPenWidth(GpPen *, REAL);
1294     GpStatus WINGDIPAPI
1295     GdipGetPenDashCap197819(GpPen *, GpDashCap *);
1296     GpStatus WINGDIPAPI
1297     GdipGetPenEndCap(GpPen *, GpLineCap *);
1298     GpStatus WINGDIPAPI
1299     GdipGetPenLineJoin(GpPen *, GpLineJoin *);
1300     GpStatus WINGDIPAPI
1301     GdipGetPenMiterLimit(GpPen *, REAL *);
1302     GpStatus WINGDIPAPI
1303     GdipGetPenStartCap(GpPen *, GpLineCap *);
1304     GpStatus WINGDIPAPI
1305     GdipGetPenUnit(GpPen *, GpUnit *);
1306     GpStatus WINGDIPAPI
1307     GdipGetPenWidth(GpPen *, REAL *);
1308     GpStatus WINGDIPAPI
1309     GdipTranslatePenTransform(GpPen *, REAL, REAL, GpMatrixOrder);
1310 
1311     /* Region */
1312     GpStatus WINGDIPAPI
1313     GdipCloneRegion(GpRegion *, GpRegion **);
1314     GpStatus WINGDIPAPI
1315     GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode);
1316     GpStatus WINGDIPAPI
1317     GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode);
1318     GpStatus WINGDIPAPI
1319     GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode);
1320     GpStatus WINGDIPAPI
1321     GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode);
1322     GpStatus WINGDIPAPI
1323     GdipCreateRegion(GpRegion **);
1324     GpStatus WINGDIPAPI
1325     GdipCreateRegionPath(GpPath *, GpRegion **);
1326     GpStatus WINGDIPAPI
1327     GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **);
1328     GpStatus WINGDIPAPI
1329     GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **);
1330     GpStatus WINGDIPAPI
1331     GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **);
1332     GpStatus WINGDIPAPI
1333     GdipCreateRegionHrgn(HRGN, GpRegion **);
1334     GpStatus WINGDIPAPI
1335     GdipDeleteRegion(GpRegion *);
1336     GpStatus WINGDIPAPI
1337     GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *);
1338     GpStatus WINGDIPAPI
1339     GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *);
1340     GpStatus WINGDIPAPI
1341     GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *);
1342     GpStatus WINGDIPAPI
1343     GdipGetRegionDataSize(GpRegion *, UINT *);
1344     GpStatus WINGDIPAPI
1345     GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
1346     GpStatus WINGDIPAPI
1347     GdipGetRegionScans(GpRegion *, GpRectF *, INT *, GpMatrix *);
1348     GpStatus WINGDIPAPI
1349     GdipGetRegionScansI(GpRegion *, GpRect *, INT *, GpMatrix *);
1350     GpStatus WINGDIPAPI
1351     GdipGetRegionScansCount(GpRegion *, UINT *, GpMatrix *);
1352     GpStatus WINGDIPAPI
1353     GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *);
1354     GpStatus WINGDIPAPI
1355     GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *);
1356     GpStatus WINGDIPAPI
1357     GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *);
1358     GpStatus WINGDIPAPI
1359     GdipIsVisibleRegionPoint(GpRegion *, REAL, REAL, GpGraphics *, BOOL *);
1360     GpStatus WINGDIPAPI
1361     GdipIsVisibleRegionPointI(GpRegion *, INT, INT, GpGraphics *, BOOL *);
1362     GpStatus WINGDIPAPI
1363     GdipIsVisibleRegionRect(GpRegion *, REAL, REAL, REAL, REAL, GpGraphics *, BOOL *);
1364     GpStatus WINGDIPAPI
1365     GdipIsVisibleRegionRectI(GpRegion *, INT, INT, INT, INT, GpGraphics *, BOOL *);
1366     GpStatus WINGDIPAPI
1367     GdipSetEmpty(GpRegion *);
1368     GpStatus WINGDIPAPI
1369     GdipSetInfinite(GpRegion *);
1370     GpStatus WINGDIPAPI
1371     GdipTransformRegion(GpRegion *, GpMatrix *);
1372     GpStatus WINGDIPAPI
1373     GdipTranslateRegion(GpRegion *, REAL, REAL);
1374     GpStatus WINGDIPAPI
1375     GdipTranslateRegionI(GpRegion *, INT, INT);
1376 
1377     /* SolidBrush */
1378     GpStatus WINGDIPAPI
1379     GdipCreateSolidFill(ARGB, GpSolidFill **);
1380     GpStatus WINGDIPAPI
1381     GdipGetSolidFillColor(GpSolidFill *, ARGB *);
1382     GpStatus WINGDIPAPI
1383     GdipSetSolidFillColor(GpSolidFill *, ARGB);
1384 
1385     /* StringFormat */
1386     GpStatus WINGDIPAPI
1387     GdipCloneStringFormat(GDIPCONST GpStringFormat *, GpStringFormat **);
1388     GpStatus WINGDIPAPI
1389     GdipCreateStringFormat(INT, LANGID, GpStringFormat **);
1390     GpStatus WINGDIPAPI
1391     GdipDeleteStringFormat(GpStringFormat *);
1392     GpStatus WINGDIPAPI
1393     GdipGetStringFormatAlign(GpStringFormat *, StringAlignment *);
1394     GpStatus WINGDIPAPI
1395     GdipGetStringFormatDigitSubstitution(GDIPCONST GpStringFormat *, LANGID *, StringDigitSubstitute *);
1396     GpStatus WINGDIPAPI
1397     GdipGetStringFormatFlags(GDIPCONST GpStringFormat *, INT *);
1398     GpStatus WINGDIPAPI
1399     GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat *, INT *);
1400     GpStatus WINGDIPAPI
1401     GdipGetStringFormatLineAlign(GpStringFormat *, StringAlignment *);
1402     GpStatus WINGDIPAPI
1403     GdipGetStringFormatMeasurableCharacterRangeCount(GDIPCONST GpStringFormat *, INT *);
1404     GpStatus WINGDIPAPI
1405     GdipGetStringFormatTabStopCount(GDIPCONST GpStringFormat *, INT *);
1406     GpStatus WINGDIPAPI
1407     GdipGetStringFormatTabStops(GDIPCONST GpStringFormat *, INT, REAL *, REAL *);
1408     GpStatus WINGDIPAPI
1409     GdipGetStringFormatTrimming(GpStringFormat *, StringTrimming *);
1410     GpStatus WINGDIPAPI
1411     GdipSetStringFormatAlign(GpStringFormat *, StringAlignment);
1412     GpStatus WINGDIPAPI
1413     GdipSetStringFormatDigitSubstitution(GpStringFormat *, LANGID, StringDigitSubstitute);
1414     GpStatus WINGDIPAPI
1415     GdipSetStringFormatHotkeyPrefix(GpStringFormat *, INT);
1416     GpStatus WINGDIPAPI
1417     GdipSetStringFormatLineAlign(GpStringFormat *, StringAlignment);
1418     GpStatus WINGDIPAPI
1419     GdipSetStringFormatMeasurableCharacterRanges(GpStringFormat *, INT, GDIPCONST CharacterRange *);
1420     GpStatus WINGDIPAPI
1421     GdipSetStringFormatTabStops(GpStringFormat *, REAL, INT, GDIPCONST REAL *);
1422     GpStatus WINGDIPAPI
1423     GdipSetStringFormatTrimming(GpStringFormat *, StringTrimming);
1424     GpStatus WINGDIPAPI
1425     GdipSetStringFormatFlags(GpStringFormat *, INT);
1426     GpStatus WINGDIPAPI
1427     GdipStringFormatGetGenericDefault(GpStringFormat **);
1428     GpStatus WINGDIPAPI
1429     GdipStringFormatGetGenericTypographic(GpStringFormat **);
1430 
1431     /* Texture */
1432     GpStatus WINGDIPAPI
1433     GdipCreateTexture(GpImage *, GpWrapMode, GpTexture **);
1434     GpStatus WINGDIPAPI
1435     GdipCreateTexture2(GpImage *, GpWrapMode, REAL, REAL, REAL, REAL, GpTexture **);
1436     GpStatus WINGDIPAPI
1437     GdipCreateTexture2I(GpImage *, GpWrapMode, INT, INT, INT, INT, GpTexture **);
1438     GpStatus WINGDIPAPI
1439     GdipCreateTextureIA(GpImage *, GDIPCONST GpImageAttributes *, REAL, REAL, REAL, REAL, GpTexture **);
1440     GpStatus WINGDIPAPI
1441     GdipCreateTextureIAI(GpImage *, GDIPCONST GpImageAttributes *, INT, INT, INT, INT, GpTexture **);
1442     GpStatus WINGDIPAPI
1443     GdipGetTextureImage(GpTexture *, GpImage **);
1444     GpStatus WINGDIPAPI
1445     GdipGetTextureTransform(GpTexture *, GpMatrix *);
1446     GpStatus WINGDIPAPI
1447     GdipGetTextureWrapMode(GpTexture *, GpWrapMode *);
1448     GpStatus WINGDIPAPI
1449     GdipMultiplyTextureTransform(GpTexture *, GDIPCONST GpMatrix *, GpMatrixOrder);
1450     GpStatus WINGDIPAPI
1451     GdipResetTextureTransform(GpTexture *);
1452     GpStatus WINGDIPAPI
1453     GdipRotateTextureTransform(GpTexture *, REAL, GpMatrixOrder);
1454     GpStatus WINGDIPAPI
1455     GdipScaleTextureTransform(GpTexture *, REAL, REAL, GpMatrixOrder);
1456     GpStatus WINGDIPAPI
1457     GdipSetTextureTransform(GpTexture *, GDIPCONST GpMatrix *);
1458     GpStatus WINGDIPAPI
1459     GdipSetTextureWrapMode(GpTexture *, GpWrapMode);
1460     GpStatus WINGDIPAPI
1461     GdipTranslateTextureTransform(GpTexture *, REAL, REAL, GpMatrixOrder);
1462 
1463     /* Without wrapper methods */
1464     GpStatus WINGDIPAPI
1465     GdipCreateStreamOnFile(GDIPCONST WCHAR *, UINT, IStream **);
1466     GpStatus WINGDIPAPI
1467     GdipGetImageEncodersSize(UINT *numEncoders, UINT *size);
1468     GpStatus WINGDIPAPI
1469     GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders);
1470     GpStatus WINGDIPAPI
1471     GdipTestControl(GpTestControlEnum, void *);
1472 
1473 #ifdef __cplusplus
1474 }
1475 #endif
1476 
1477 #endif
1478