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