dc938ac065652fa98d0428c5669f8ade325c5675
[reactos.git] / reactos / include / psdk / gdiplusflat.h
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 #endif
29
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*);
65
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**);
82
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**);
167
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);
185
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);
242
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 GdipAddPathClosedCurve(GpPath*,GDIPCONST GpPointF*,INT);
250 GpStatus WINGDIPAPI GdipAddPathClosedCurveI(GpPath*,GDIPCONST GpPoint*,INT);
251 GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL);
252 GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL);
253 GpStatus WINGDIPAPI GdipAddPathCurve(GpPath*,GDIPCONST GpPointF*,INT);
254 GpStatus WINGDIPAPI GdipAddPathCurveI(GpPath*,GDIPCONST GpPoint*,INT);
255 GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL);
256 GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL);
257 GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL);
258 GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT);
259 GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL);
260 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
261 GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath*,GDIPCONST GpPoint*,INT);
262 GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT);
263 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
264 GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath*,GDIPCONST GpPointF*,INT);
265 GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath*,GDIPCONST GpPoint*,INT);
266 GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL);
267 GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT);
268 GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT);
269 GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT);
270 GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**);
271 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
272 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
273 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
274 GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT,
275 GpFillMode,GpPath**);
276 GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint*,GDIPCONST BYTE*,INT,GpFillMode,GpPath**);
277 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
278 GpStatus WINGDIPAPI GdipGetPathData(GpPath*,GpPathData*);
279 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
280 GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath*,GpPointF*);
281 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
282 GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath*,GpPoint*,INT);
283 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
284 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
285 GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
286 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
287 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*,
288 GpGraphics*,BOOL*);
289 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
290 GpGraphics*,BOOL*);
291 GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath*,REAL,REAL,GpGraphics*,BOOL*);
292 GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath*,INT,INT,GpGraphics*,BOOL*);
293 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
294 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
295 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
296 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
297
298 GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
299 GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
300 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
301 GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,GpMatrix**);
302 GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**);
303 GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix*);
304 GpStatus WINGDIPAPI GdipShearMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
305 GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*);
306 GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*);
307 GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix*, BOOL*);
308
309 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
310 GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
311 GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
312 GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics*,GDIPCONST GpMatrix*,GpMatrixOrder);
313 GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
314 GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
315 GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
316 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
317 GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
318 GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
319 GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
320 GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
321
322 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
323 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
324 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
325 INT,INT);
326 GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator*,INT*,INT*,INT*);
327 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
328 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
329 GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator*,INT*);
330 GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator*,INT*);
331 GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator*,INT*,GpPointF*,BYTE*,INT);
332 GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator*,BOOL*);
333
334 GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
335 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
336 GpCustomLineCap**);
337 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
338 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
339 GpLineCap);
340 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap*);
341 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset(GpCustomLineCap*,REAL*);
342 GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin*);
343 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin);
344 GpStatus WINGDIPAPI GdipGetCustomLineCapWidthScale(GpCustomLineCap*,REAL*);
345
346 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
347 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB);
348 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
349 PixelFormat,BitmapData*);
350 GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap*,BitmapData*);
351 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*,
352 EmfType,const WCHAR*,GpMetafile**);
353 GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**);
354 GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**);
355 GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
356 GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM(GDIPCONST WCHAR*,GpBitmap**);
357 GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO*,VOID*,GpBitmap**);
358 GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
359 GpStatus WINGDIPAPI GdipCreateBitmapFromResource(HINSTANCE,GDIPCONST WCHAR*,GpBitmap**);
360 GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
361 GpBitmap**);
362 GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
363 GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
364 GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
365 GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*);
366 GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*);
367 GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size);
368 GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders);
369 GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap**);
370 GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*);
371 GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
372 GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**);
373 GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
374 GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
375 GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*);
376 GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
377 GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
378 GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
379 GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
380 GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
381 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*);
382 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*);
383 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*);
384 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*);
385 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*);
386 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*);
387 GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
388 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
389 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
390 GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
391 GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
392 GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
393 GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**);
394 GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
395 GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID);
396 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
397 GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*,
398 GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
399 GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*);
400
401 GpStatus WINGDIPAPI GdipCloneImage(GpImage*, GpImage**);
402 GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes*,GpImageAttributes**);
403 GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
404 GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
405 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
406 ColorAdjustType,BOOL,ARGB,ARGB);
407 GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*,
408 ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*,
409 ColorMatrixFlags);
410 GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
411 ARGB,BOOL);
412
413 GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily*, REAL, INT, Unit,
414 GpFont**);
415 GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC,GpFont**);
416 GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
417 GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
418 GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
419 GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
420 GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
421 GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*);
422 GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*);
423 GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);
424
425 GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,
426 GpFontCollection*, GpFontFamily**);
427 GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily*, GpFontFamily**);
428 GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily*);
429 GpStatus WINGDIPAPI GdipGetFamilyName(GDIPCONST GpFontFamily*, WCHAR*, LANGID);
430 GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily*, INT, UINT16*);
431 GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily*, INT, UINT16*);
432 GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*);
433 GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*);
434 GpStatus WINGDIPAPI GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL*);
435
436 GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily**);
437 GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily**);
438 GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**);
439
440 GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**);
441 GpStatus WINGDIPAPI GdipDeletePrivateFontCollection(GpFontCollection**);
442 GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection*, GDIPCONST WCHAR*);
443 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection*, INT*);
444 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(GpFontCollection*, INT,
445 GpFontFamily*[], INT*);
446
447 GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
448 GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
449 GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
450 GpStatus WINGDIPAPI GdipStringFormatGetGenericTypographic(GpStringFormat **);
451 GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
452 GpStatus WINGDIPAPI GdipGetStringFormatDigitSubstitution(GDIPCONST GpStringFormat*,LANGID*,
453 StringDigitSubstitute*);
454 GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*);
455 GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
456 GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
457 GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount(
458 GDIPCONST GpStringFormat*, INT*);
459 GpStatus WINGDIPAPI GdipGetStringFormatTabStopCount(GDIPCONST GpStringFormat*,INT*);
460 GpStatus WINGDIPAPI GdipGetStringFormatTabStops(GDIPCONST GpStringFormat*,INT,REAL*,REAL*);
461 GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
462 GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
463 GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat*,LANGID,StringDigitSubstitute);
464 GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
465 GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
466 GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(
467 GpStringFormat*, INT, GDIPCONST CharacterRange*);
468 GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat*,REAL,INT,GDIPCONST REAL*);
469 GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
470 GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**);
471
472 GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*);
473 GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*);
474
475 GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *, GpRegion **);
476 GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode);
477 GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode);
478 GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode);
479 GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode);
480 GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **);
481 GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **);
482 GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **);
483 GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **);
484 GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **);
485 GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN, GpRegion **);
486 GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *);
487 GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *);
488 GpStatus WINGDIPAPI GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *);
489 GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *);
490 GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *, UINT *);
491 GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
492 GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *);
493 GpStatus WINGDIPAPI GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *);
494 GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *);
495 GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
496 GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
497 GpStatus WINGDIPAPI GdipTransformRegion(GpRegion *, GpMatrix *);
498 GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *, REAL, REAL);
499 GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *, INT, INT);
500
501 GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention);
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 #endif