gdiplus: Implemented GdipAddPathRectangles with tests.
[wine/gsoc_dplay.git] / include / gdiplusflat.h
blob5ce32b282acd8fa4597006eeca3429b7de39cc8f
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 GdipGetPenDashArray(GpPen*,REAL*,INT);
37 GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen*,REAL*);
38 GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
39 GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*);
40 GpStatus WINGDIPAPI GdipSetPenColor(GpPen*,ARGB);
41 GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*);
42 GpStatus WINGDIPAPI GdipSetPenCustomStartCap(GpPen*,GpCustomLineCap*);
43 GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen*,GDIPCONST REAL*,INT);
44 GpStatus WINGDIPAPI GdipSetPenDashOffset(GpPen*,REAL);
45 GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
46 GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
47 GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
48 GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
49 GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
50 GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
51 GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
53 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
54 GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
55 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
56 GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND,GpGraphics**);
57 GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
58 ARGB,ARGB,GpWrapMode,GpLineGradient**);
59 GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint*,GDIPCONST GpPoint*,
60 ARGB,ARGB,GpWrapMode,GpLineGradient**);
61 GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB,
62 LinearGradientMode,GpWrapMode,GpLineGradient**);
63 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect*,ARGB,ARGB,
64 LinearGradientMode,GpWrapMode,GpLineGradient**);
65 GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE,BOOL,GpMetafile**);
66 GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE,BOOL,
67 GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
68 GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR*,UINT,IStream**);
69 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
70 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
71 GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
72 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
73 GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics*,GpPen*,INT,INT,INT,INT,INT,INT,INT,INT);
74 GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
75 GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
76 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
77 GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
78 GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL);
79 GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT);
80 GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
81 GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
82 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
83 GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*,
84 GDIPCONST GpPoint*,INT,INT,INT,INT,INT,GpUnit,
85 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
86 GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics*,GpImage*,REAL,REAL,REAL,
87 REAL,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
88 VOID*);
89 GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics*,GpImage*,INT,INT,INT,
90 INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
91 VOID*);
92 GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL);
93 GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics*,GpImage*,INT,INT,INT,INT);
94 GpStatus WINGDIPAPI GdipDrawLine(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
95 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
96 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
97 GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
98 GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
99 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
100 GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
101 GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics*,GpPen*,GDIPCONST GpPointF*, INT);
102 GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics*,GpPen*,GDIPCONST GpPoint*, INT);
103 GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
104 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
105 GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics*,GpPen*,GDIPCONST GpRectF*,INT);
106 GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics*,GpPen*,GDIPCONST GpRect*,INT);
107 GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT,
108 GDIPCONST GpFont*,GDIPCONST RectF*, GDIPCONST GpStringFormat*,
109 GDIPCONST GpBrush*);
110 GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
111 GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
112 GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*);
113 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
114 GpStatus WINGDIPAPI GdipFillPieI(GpGraphics*,GpBrush*,INT,INT,INT,INT,REAL,REAL);
115 GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,
116 INT,GpFillMode);
117 GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,
118 INT,GpFillMode);
119 GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT);
120 GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT);
121 GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
122 GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
123 GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics*,GpBrush*,GDIPCONST GpRectF*,INT);
124 GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics*,GpBrush*,GDIPCONST GpRect*,INT);
125 GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics*,CompositingMode*);
126 GpStatus WINGDIPAPI GdipGetClip(GpGraphics*,GpRegion*);
127 GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
128 GpStatus WINGDIPAPI GdipGetDC(GpGraphics*,HDC*);
129 GpStatus WINGDIPAPI GdipGetImageDimension(GpImage*,REAL*,REAL*);
130 GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
131 GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics*,REAL*);
132 GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics*,GpUnit*);
133 GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
134 GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
135 GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics*,TextRenderingHint*);
136 GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics*,GpMatrix*);
137 GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT,
138 GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*);
139 GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics*,HDC);
140 GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
141 GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics*,REAL,GpMatrixOrder);
142 GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
143 GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
144 GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics*,CompositingMode);
145 GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
146 GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
147 GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
148 GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
149 GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
150 GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
151 GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
152 GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
153 GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
155 GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
156 GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,GpPathGradient**);
157 GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint*,INT,GpWrapMode,GpPathGradient**);
158 GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
159 GpPathGradient**);
160 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
161 GpStatus WINGDIPAPI GdipCreateTexture(GpImage*,GpWrapMode,GpTexture**);
162 GpStatus WINGDIPAPI GdipCreateTexture2(GpImage*,GpWrapMode,REAL,REAL,REAL,REAL,GpTexture**);
163 GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage*,GpWrapMode,INT,INT,INT,INT,GpTexture**);
164 GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage*,GDIPCONST GpImageAttributes*,
165 REAL,REAL,REAL,REAL,GpTexture**);
166 GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*,
167 INT,INT,INT,INT,GpTexture**);
168 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
169 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
170 GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*);
171 GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*);
172 GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
173 GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);
174 GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*);
175 GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
176 GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
177 GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*);
178 GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*);
179 GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
180 GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
181 ARGB*,INT*);
182 GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient*,GpWrapMode*);
183 GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
184 GpStatus WINGDIPAPI GdipGetTextureTransform(GpTexture*,GpMatrix*);
185 GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
186 GDIPCONST REAL*,INT);
187 GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
188 GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
189 GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
190 GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient*,ARGB,ARGB);
191 GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
192 GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
193 GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
194 GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL);
195 GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL);
196 GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
197 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
198 ARGB*,INT*);
199 GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
200 GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
201 GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*);
203 GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
204 GpStatus WINGDIPAPI GdipAddPathArcI(GpPath*,INT,INT,INT,INT,REAL,REAL);
205 GpStatus WINGDIPAPI GdipAddPathBezier(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
206 GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath*,INT,INT,INT,INT,INT,INT,INT,INT);
207 GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);
208 GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath*,GDIPCONST GpPoint*,INT);
209 GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL);
210 GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT);
211 GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL);
212 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
213 GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath*,GDIPCONST GpPoint*,INT);
214 GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT);
215 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
216 GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL);
217 GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT);
218 GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT);
219 GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT);
220 GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**);
221 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
222 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
223 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
224 GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT,
225 GpFillMode,GpPath**);
226 GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint*,GDIPCONST BYTE*,INT,GpFillMode,GpPath**);
227 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
228 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
229 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
230 GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath*,GpPoint*,INT);
231 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
232 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
233 GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
234 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
235 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*,
236 GpGraphics*,BOOL*);
237 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
238 GpGraphics*,BOOL*);
239 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
240 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
241 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
242 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
244 GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
245 GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
246 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
247 GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,GpMatrix**);
248 GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**);
249 GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*);
250 GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*);
252 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
253 GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
254 GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
255 GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics*,GDIPCONST GpMatrix*,GpMatrixOrder);
256 GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
257 GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
258 GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
259 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
260 GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
261 GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
262 GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
263 GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
265 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
266 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
267 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
268 INT,INT);
269 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
270 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
272 GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
273 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
274 GpCustomLineCap**);
275 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
276 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
277 GpLineCap);
278 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap*);
280 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
281 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB);
282 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
283 PixelFormat,BitmapData*);
284 GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap*,BitmapData*);
285 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*,
286 EmfType,const WCHAR*,GpMetafile**);
287 GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**);
288 GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**);
289 GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
290 GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM(GDIPCONST WCHAR*,GpBitmap**);
291 GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
292 GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
293 GpBitmap**);
294 GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
295 GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
296 GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
297 GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*);
298 GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*);
299 GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size);
300 GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders);
301 GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap**);
302 GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*);
303 GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
304 GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**);
305 GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
306 GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
307 GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*);
308 GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
309 GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
310 GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
311 GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
312 GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
313 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*);
314 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*);
315 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*);
316 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*);
317 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*);
318 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*);
319 GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
320 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
321 GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
322 GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
323 GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
324 GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**);
325 GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
326 GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID);
327 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
328 GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*,
329 GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
330 GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*);
332 GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
333 GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
334 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
335 ColorAdjustType,BOOL,ARGB,ARGB);
336 GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*,
337 ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*,
338 ColorMatrixFlags);
339 GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
340 ARGB,BOOL);
342 GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC,GpFont**);
343 GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
344 GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
345 GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
346 GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
347 GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
349 GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
350 GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
351 GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
352 GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
353 GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
354 GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
355 GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
356 GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
357 GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
358 GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
359 GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**);
361 GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*);
362 GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*);
364 GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **);
365 GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **);
366 GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *);
367 GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
368 GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
369 GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
372 #ifdef __cplusplus
374 #endif
376 #endif