msxml3: Remove redundant NULL checks before HeapFree and fix a memleak (Smatch).
[wine/gsoc_dplay.git] / include / gdiplusflat.h
blob4293f6429e21a6a45d8d323031ee63723a68e55c
1 /*
2 * Copyright (C) 2007 Google (Evan Stade)
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.
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.
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
19 #ifndef _FLATAPI_H
20 #define _FLATAPI_H
22 #define WINGDIPAPI __stdcall
24 #define GDIPCONST const
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
30 GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**);
31 GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
32 GpStatus WINGDIPAPI GdipCreatePen2(GpBrush*,REAL,GpUnit,GpPen**);
33 GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
34 GpStatus WINGDIPAPI GdipGetPenBrushFill(GpPen*,GpBrush**);
35 GpStatus WINGDIPAPI GdipGetPenColor(GpPen*,ARGB*);
36 GpStatus WINGDIPAPI GdipGetPenCustomStartCap(GpPen*,GpCustomLineCap**);
37 GpStatus WINGDIPAPI GdipGetPenCustomEndCap(GpPen*,GpCustomLineCap**);
38 GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen*,REAL*,INT);
39 GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen*,INT*);
40 GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen*,REAL*);
41 GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
42 GpStatus WINGDIPAPI GdipGetPenMode(GpPen*,GpPenAlignment*);
43 GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*);
44 GpStatus WINGDIPAPI GdipSetPenColor(GpPen*,ARGB);
45 GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*);
46 GpStatus WINGDIPAPI GdipSetPenCustomStartCap(GpPen*,GpCustomLineCap*);
47 GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen*,GDIPCONST REAL*,INT);
48 GpStatus WINGDIPAPI GdipSetPenDashCap197819(GpPen*,GpDashCap);
49 GpStatus WINGDIPAPI GdipSetPenDashOffset(GpPen*,REAL);
50 GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
51 GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
52 GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
53 GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
54 GpStatus WINGDIPAPI GdipSetPenMode(GpPen*,GpPenAlignment);
55 GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
56 GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
57 GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
58 GpStatus WINGDIPAPI GdipGetPenDashCap197819(GpPen*,GpDashCap*);
59 GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*);
60 GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
61 GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*);
62 GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen*,GpLineCap*);
63 GpStatus WINGDIPAPI GdipGetPenUnit(GpPen*,GpUnit*);
64 GpStatus WINGDIPAPI GdipGetPenWidth(GpPen*,REAL*);
66 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
67 GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
68 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
69 GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND,GpGraphics**);
70 GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
71 ARGB,ARGB,GpWrapMode,GpLineGradient**);
72 GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint*,GDIPCONST GpPoint*,
73 ARGB,ARGB,GpWrapMode,GpLineGradient**);
74 GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB,
75 LinearGradientMode,GpWrapMode,GpLineGradient**);
76 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect*,ARGB,ARGB,
77 LinearGradientMode,GpWrapMode,GpLineGradient**);
78 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF*,
79 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
80 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect*,
81 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
83 GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE,BOOL,GpMetafile**);
84 GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE,BOOL,
85 GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
86 GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR*, GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
87 GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR*,UINT,IStream**);
88 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
89 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
90 GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
91 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
92 GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics*,GpPen*,INT,INT,INT,INT,INT,INT,INT,INT);
93 GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
94 GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
95 GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
96 GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
97 GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
98 GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
99 GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
100 GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
101 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
102 GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
103 GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL);
104 GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT);
105 GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
106 GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
107 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
108 GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*,
109 GDIPCONST GpPoint*,INT,INT,INT,INT,INT,GpUnit,
110 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
111 GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics*,GpImage*,REAL,REAL,REAL,
112 REAL,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
113 VOID*);
114 GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics*,GpImage*,INT,INT,INT,
115 INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
116 VOID*);
117 GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL);
118 GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics*,GpImage*,INT,INT,INT,INT);
119 GpStatus WINGDIPAPI GdipDrawLine(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
120 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
121 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
122 GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
123 GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
124 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
125 GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
126 GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics*,GpPen*,GDIPCONST GpPointF*, INT);
127 GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics*,GpPen*,GDIPCONST GpPoint*, INT);
128 GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
129 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
130 GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics*,GpPen*,GDIPCONST GpRectF*,INT);
131 GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics*,GpPen*,GDIPCONST GpRect*,INT);
132 GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT,
133 GDIPCONST GpFont*,GDIPCONST RectF*, GDIPCONST GpStringFormat*,
134 GDIPCONST GpBrush*);
135 GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
136 GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
137 GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*);
138 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
139 GpStatus WINGDIPAPI GdipFillPieI(GpGraphics*,GpBrush*,INT,INT,INT,INT,REAL,REAL);
140 GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,
141 INT,GpFillMode);
142 GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,
143 INT,GpFillMode);
144 GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT);
145 GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT);
146 GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
147 GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
148 GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics*,GpBrush*,GDIPCONST GpRectF*,INT);
149 GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics*,GpBrush*,GDIPCONST GpRect*,INT);
150 GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics*,CompositingMode*);
151 GpStatus WINGDIPAPI GdipGetClip(GpGraphics*,GpRegion*);
152 GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
153 GpStatus WINGDIPAPI GdipGetDC(GpGraphics*,HDC*);
154 GpStatus WINGDIPAPI GdipGetImageDimension(GpImage*,REAL*,REAL*);
155 GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
156 GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics*,REAL*);
157 GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics*,GpUnit*);
158 GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
159 GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
160 GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics*,TextRenderingHint*);
161 GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics*,GpMatrix*);
162 GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT,
163 GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*);
164 GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics*, GDIPCONST WCHAR*,
165 INT, GDIPCONST GpFont*, GDIPCONST RectF*, GDIPCONST GpStringFormat*, INT,
166 GpRegion**);
168 GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics*,HDC);
169 GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
170 GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics*,REAL,GpMatrixOrder);
171 GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
172 GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
173 GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics*,CompositingMode);
174 GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
175 GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
176 GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
177 GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
178 GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*);
179 GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath*);
180 GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
181 GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
182 GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
183 GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
184 GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
186 GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
187 GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,GpPathGradient**);
188 GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint*,INT,GpWrapMode,GpPathGradient**);
189 GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
190 GpPathGradient**);
191 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
192 GpStatus WINGDIPAPI GdipCreateTexture(GpImage*,GpWrapMode,GpTexture**);
193 GpStatus WINGDIPAPI GdipCreateTexture2(GpImage*,GpWrapMode,REAL,REAL,REAL,REAL,GpTexture**);
194 GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage*,GpWrapMode,INT,INT,INT,INT,GpTexture**);
195 GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage*,GDIPCONST GpImageAttributes*,
196 REAL,REAL,REAL,REAL,GpTexture**);
197 GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*,
198 INT,INT,INT,INT,GpTexture**);
199 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
200 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
201 GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*);
202 GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient*,GpWrapMode*);
203 GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*);
204 GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
205 GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);
206 GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient*,REAL*,REAL*,INT);
207 GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient*,INT*);
208 GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*);
209 GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
210 GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
211 GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*);
212 GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*);
213 GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
214 GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient*,GpRectF*);
215 GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient*,GpRect*);
216 GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
217 ARGB*,INT*);
218 GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient*,GpWrapMode*);
219 GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
220 GpStatus WINGDIPAPI GdipGetTextureTransform(GpTexture*,GpMatrix*);
221 GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
222 GDIPCONST REAL*,INT);
223 GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
224 GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
225 GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
226 GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient*,ARGB,ARGB);
227 GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
228 GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
229 GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
230 GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL);
231 GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL);
232 GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
233 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
234 ARGB*,INT*);
235 GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
236 GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
237 GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*);
238 GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
239 GpPointF *, INT);
240 GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
241 GpPoint *, INT);
243 GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
244 GpStatus WINGDIPAPI GdipAddPathArcI(GpPath*,INT,INT,INT,INT,REAL,REAL);
245 GpStatus WINGDIPAPI GdipAddPathBezier(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
246 GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath*,INT,INT,INT,INT,INT,INT,INT,INT);
247 GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);
248 GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath*,GDIPCONST GpPoint*,INT);
249 GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL);
250 GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT);
251 GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL);
252 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
253 GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath*,GDIPCONST GpPoint*,INT);
254 GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT);
255 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
256 GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath*,GDIPCONST GpPointF*,INT);
257 GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath*,GDIPCONST GpPoint*,INT);
258 GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL);
259 GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT);
260 GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT);
261 GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT);
262 GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**);
263 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
264 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
265 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
266 GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT,
267 GpFillMode,GpPath**);
268 GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint*,GDIPCONST BYTE*,INT,GpFillMode,GpPath**);
269 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
270 GpStatus WINGDIPAPI GdipGetPathData(GpPath*,GpPathData*);
271 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
272 GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath*,GpPointF*);
273 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
274 GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath*,GpPoint*,INT);
275 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
276 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
277 GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
278 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
279 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*,
280 GpGraphics*,BOOL*);
281 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
282 GpGraphics*,BOOL*);
283 GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath*,REAL,REAL,GpGraphics*,BOOL*);
284 GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath*,INT,INT,GpGraphics*,BOOL*);
285 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
286 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
287 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
288 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
290 GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
291 GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
292 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
293 GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,GpMatrix**);
294 GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**);
295 GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix*);
296 GpStatus WINGDIPAPI GdipShearMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
297 GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*);
298 GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*);
299 GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix*, BOOL*);
301 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
302 GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
303 GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
304 GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics*,GDIPCONST GpMatrix*,GpMatrixOrder);
305 GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
306 GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
307 GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
308 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
309 GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
310 GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
311 GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
312 GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
314 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
315 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
316 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
317 INT,INT);
318 GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator*,INT*,INT*,INT*);
319 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
320 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
321 GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator*,INT*);
322 GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator*,INT*);
323 GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator*,INT*,GpPointF*,BYTE*,INT);
324 GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator*,BOOL*);
326 GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
327 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
328 GpCustomLineCap**);
329 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
330 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
331 GpLineCap);
332 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap*);
333 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset(GpCustomLineCap*,REAL*);
334 GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin*);
335 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin);
336 GpStatus WINGDIPAPI GdipGetCustomLineCapWidthScale(GpCustomLineCap*,REAL*);
338 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
339 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB);
340 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
341 PixelFormat,BitmapData*);
342 GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap*,BitmapData*);
343 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*,
344 EmfType,const WCHAR*,GpMetafile**);
345 GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**);
346 GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**);
347 GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
348 GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM(GDIPCONST WCHAR*,GpBitmap**);
349 GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO*,VOID*,GpBitmap**);
350 GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
351 GpStatus WINGDIPAPI GdipCreateBitmapFromResource(HINSTANCE,GDIPCONST WCHAR*,GpBitmap**);
352 GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
353 GpBitmap**);
354 GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
355 GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
356 GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
357 GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*);
358 GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*);
359 GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size);
360 GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders);
361 GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap**);
362 GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*);
363 GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
364 GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**);
365 GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
366 GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
367 GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*);
368 GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
369 GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
370 GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
371 GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
372 GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
373 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*);
374 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*);
375 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*);
376 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*);
377 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*);
378 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*);
379 GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
380 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
381 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
382 GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
383 GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
384 GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
385 GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**);
386 GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
387 GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID);
388 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
389 GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*,
390 GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
391 GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*);
393 GpStatus WINGDIPAPI GdipCloneImage(GpImage*, GpImage**);
394 GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes*,GpImageAttributes**);
395 GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
396 GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
397 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
398 ColorAdjustType,BOOL,ARGB,ARGB);
399 GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*,
400 ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*,
401 ColorMatrixFlags);
402 GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
403 ARGB,BOOL);
405 GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily*, REAL, INT, Unit,
406 GpFont**);
407 GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC,GpFont**);
408 GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
409 GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
410 GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
411 GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
412 GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
413 GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*);
414 GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*);
415 GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);
417 GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,
418 GpFontCollection*, GpFontFamily**);
419 GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily*, GpFontFamily**);
420 GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily*);
421 GpStatus WINGDIPAPI GdipGetFamilyName(GDIPCONST GpFontFamily*, WCHAR*, LANGID);
422 GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily*, INT, UINT16*);
423 GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily*, INT, UINT16*);
424 GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*);
425 GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*);
426 GpStatus WINGDIPAPI GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL*);
428 GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily**);
429 GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily**);
430 GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**);
432 GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**);
433 GpStatus WINGDIPAPI GdipDeletePrivateFontCollection(GpFontCollection**);
434 GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection*, GDIPCONST WCHAR*);
435 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection*, INT*);
436 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(GpFontCollection*, INT,
437 GpFontFamily*[], INT*);
439 GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
440 GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
441 GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
442 GpStatus WINGDIPAPI GdipStringFormatGetGenericTypographic(GpStringFormat **);
443 GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
444 GpStatus WINGDIPAPI GdipGetStringFormatDigitSubstitution(GDIPCONST GpStringFormat*,LANGID*,
445 StringDigitSubstitute*);
446 GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*);
447 GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
448 GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
449 GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount(
450 GDIPCONST GpStringFormat*, INT*);
451 GpStatus WINGDIPAPI GdipGetStringFormatTabStopCount(GDIPCONST GpStringFormat*,INT*);
452 GpStatus WINGDIPAPI GdipGetStringFormatTabStops(GDIPCONST GpStringFormat*,INT,REAL*,REAL*);
453 GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
454 GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
455 GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat*,LANGID,StringDigitSubstitute);
456 GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
457 GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
458 GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(
459 GpStringFormat*, INT, GDIPCONST CharacterRange*);
460 GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat*,REAL,INT,GDIPCONST REAL*);
461 GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
462 GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**);
464 GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*);
465 GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*);
467 GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *, GpRegion **);
468 GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode);
469 GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode);
470 GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode);
471 GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode);
472 GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **);
473 GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **);
474 GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **);
475 GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **);
476 GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **);
477 GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN, GpRegion **);
478 GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *);
479 GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *);
480 GpStatus WINGDIPAPI GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *);
481 GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *);
482 GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *, UINT *);
483 GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
484 GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *);
485 GpStatus WINGDIPAPI GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *);
486 GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *);
487 GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
488 GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
489 GpStatus WINGDIPAPI GdipTransformRegion(GpRegion *, GpMatrix *);
490 GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *, REAL, REAL);
491 GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *, INT, INT);
493 GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention);
495 #ifdef __cplusplus
497 #endif
499 #endif