comdlg32: Add Lithuanian translation.
[wine/hacks.git] / include / gdiplusflat.h
blob56540cda22d4ffcf0e1b2877f06a46957cc1b74a
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 /* AdjustableArrowCap */
31 GpStatus WINGDIPAPI GdipCreateAdjustableArrowCap(REAL,REAL,BOOL,GpAdjustableArrowCap**);
32 GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL*);
33 GpStatus WINGDIPAPI GdipGetAdjustableArrowCapHeight(GpAdjustableArrowCap*,REAL*);
34 GpStatus WINGDIPAPI GdipGetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,REAL*);
35 GpStatus WINGDIPAPI GdipGetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL*);
36 GpStatus WINGDIPAPI GdipSetAdjustableArrowCapFillState(GpAdjustableArrowCap*,BOOL);
37 GpStatus WINGDIPAPI GdipSetAdjustableArrowCapHeight(GpAdjustableArrowCap*,REAL);
38 GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,REAL);
39 GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL);
41 /* Bitmap */
42 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
43 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
44 PixelFormat,BitmapData*);
45 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB);
46 GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap*,BitmapData*);
47 GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
48 GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM(GDIPCONST WCHAR*,GpBitmap**);
49 GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO*,VOID*,GpBitmap**);
50 GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
51 GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap**);
52 GpStatus WINGDIPAPI GdipCreateBitmapFromHICON(HICON, GpBitmap**);
53 GpStatus WINGDIPAPI GdipCreateBitmapFromResource(HINSTANCE,GDIPCONST WCHAR*,GpBitmap**);
54 GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
55 GpBitmap**);
56 GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
57 GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
59 /* Brush */
60 GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
61 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
62 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
64 /* CustomLineCap */
65 GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
66 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
67 GpCustomLineCap**);
68 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
69 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap*);
70 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset(GpCustomLineCap*,REAL*);
71 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
72 GpLineCap);
73 GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin*);
74 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin);
75 GpStatus WINGDIPAPI GdipGetCustomLineCapWidthScale(GpCustomLineCap*,REAL*);
77 /* Font */
78 GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
79 GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily*, REAL, INT, Unit,
80 GpFont**);
81 GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC,GpFont**);
82 GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
83 GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
84 GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
85 GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
86 GpStatus WINGDIPAPI GdipGetFamily(GpFont*, GpFontFamily**);
87 GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*);
88 GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*);
89 GpStatus WINGDIPAPI GdipGetFontStyle(GpFont*, INT*);
90 GpStatus WINGDIPAPI GdipGetFontHeight(GDIPCONST GpFont*, GDIPCONST GpGraphics*,
91 REAL*);
92 GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);
94 /* FontCollection */
95 GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**);
96 GpStatus WINGDIPAPI GdipDeletePrivateFontCollection(GpFontCollection**);
97 GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection*, GDIPCONST WCHAR*);
98 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection*, INT*);
99 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(GpFontCollection*, INT,
100 GpFontFamily*[], INT*);
102 /* FontFamily */
103 GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily*, GpFontFamily**);
104 GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,
105 GpFontCollection*, GpFontFamily**);
106 GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily*);
107 GpStatus WINGDIPAPI GdipGetFamilyName(GDIPCONST GpFontFamily*, WCHAR*, LANGID);
108 GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily*, INT, UINT16*);
109 GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily*, INT, UINT16*);
110 GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*);
111 GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily**);
112 GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily**);
113 GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**);
114 GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*);
115 GpStatus WINGDIPAPI GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL*);
117 /* Graphics */
118 GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention);
119 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
120 GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
121 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
122 GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND,GpGraphics**);
123 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
124 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
125 GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
126 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
127 GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics*,GpPen*,INT,INT,INT,INT,INT,INT,INT,INT);
128 GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
129 GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
130 GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
131 GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
132 GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
133 GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
134 GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
135 GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
136 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
137 GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
138 GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
139 GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics*,GpPen*,INT,INT,INT,INT);
140 GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL);
141 GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT);
142 GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
143 GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
144 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
145 GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*,
146 GDIPCONST GpPoint*,INT,INT,INT,INT,INT,GpUnit,
147 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
148 GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL);
149 GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics*,GpImage*,INT,INT,INT,INT);
150 GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics*,GpImage*,REAL,REAL,REAL,
151 REAL,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
152 VOID*);
153 GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics*,GpImage*,INT,INT,INT,
154 INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
155 VOID*);
156 GpStatus WINGDIPAPI GdipDrawLine(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
157 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
158 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
159 GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
160 GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
161 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
162 GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
163 GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics*,GpPen*,GDIPCONST GpPointF*, INT);
164 GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics*,GpPen*,GDIPCONST GpPoint*, INT);
165 GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
166 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
167 GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics*,GpPen*,GDIPCONST GpRectF*,INT);
168 GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics*,GpPen*,GDIPCONST GpRect*,INT);
169 GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT,
170 GDIPCONST GpFont*,GDIPCONST RectF*, GDIPCONST GpStringFormat*,
171 GDIPCONST GpBrush*);
172 GpStatus WINGDIPAPI GdipFillClosedCurve2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT,
173 REAL,GpFillMode);
174 GpStatus WINGDIPAPI GdipFillClosedCurve2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT,
175 REAL,GpFillMode);
176 GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
177 GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
178 GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*);
179 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
180 GpStatus WINGDIPAPI GdipFillPieI(GpGraphics*,GpBrush*,INT,INT,INT,INT,REAL,REAL);
181 GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,
182 INT,GpFillMode);
183 GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,
184 INT,GpFillMode);
185 GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT);
186 GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT);
187 GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
188 GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
189 GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics*,GpBrush*,GDIPCONST GpRectF*,INT);
190 GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics*,GpBrush*,GDIPCONST GpRect*,INT);
191 GpStatus WINGDIPAPI GdipFillRegion(GpGraphics*,GpBrush*,GpRegion*);
192 GpStatus WINGDIPAPI GdipGetClip(GpGraphics*,GpRegion*);
193 GpStatus WINGDIPAPI GdipGetClipBounds(GpGraphics*,GpRectF*);
194 GpStatus WINGDIPAPI GdipGetClipBoundsI(GpGraphics*,GpRect*);
195 GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics*,CompositingMode*);
196 GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
197 GpStatus WINGDIPAPI GdipGetDC(GpGraphics*,HDC*);
198 GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*);
199 GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*);
200 GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**);
201 GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
202 GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics*,ARGB*);
203 GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics*,REAL*);
204 GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics*,GpUnit*);
205 GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
206 GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
207 GpStatus WINGDIPAPI GdipGetTextContrast(GpGraphics*,UINT*);
208 GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics*,TextRenderingHint*);
209 GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics*,GpMatrix*);
210 GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics*,ARGB);
211 GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics*, BOOL*);
212 GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics*,REAL,REAL,BOOL*);
213 GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics*,INT,INT,BOOL*);
214 GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics*, GDIPCONST WCHAR*,
215 INT, GDIPCONST GpFont*, GDIPCONST RectF*, GDIPCONST GpStringFormat*, INT,
216 GpRegion**);
217 GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT,
218 GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*);
219 GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics*,GDIPCONST GpMatrix*,GpMatrixOrder);
220 GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics*,HDC);
221 GpStatus WINGDIPAPI GdipResetClip(GpGraphics*);
222 GpStatus WINGDIPAPI GdipResetWorldTransform(GpGraphics*);
223 GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
224 GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics*,REAL,GpMatrixOrder);
225 GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
226 GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
227 GpStatus WINGDIPAPI GdipSetClipHrgn(GpGraphics*,HRGN,CombineMode);
228 GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics*,GpPath*,CombineMode);
229 GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics*,REAL,REAL,REAL,REAL,CombineMode);
230 GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics*,INT,INT,INT,INT,CombineMode);
231 GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics*,GpRegion*,CombineMode);
232 GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics*,CompositingMode);
233 GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
234 GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
235 GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
236 GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
237 GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
238 GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
239 GpStatus WINGDIPAPI GdipSetTextContrast(GpGraphics*,UINT);
240 GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
241 GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
242 GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
243 GpPointF *, INT);
244 GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
245 GpPoint *, INT);
246 GpStatus WINGDIPAPI GdipTranslateClip(GpGraphics*,REAL,REAL);
247 GpStatus WINGDIPAPI GdipTranslateClipI(GpGraphics*,INT,INT);
248 GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
250 /* GraphicsPath */
251 GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
252 GpStatus WINGDIPAPI GdipAddPathArcI(GpPath*,INT,INT,INT,INT,REAL,REAL);
253 GpStatus WINGDIPAPI GdipAddPathBezier(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
254 GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath*,INT,INT,INT,INT,INT,INT,INT,INT);
255 GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);
256 GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath*,GDIPCONST GpPoint*,INT);
257 GpStatus WINGDIPAPI GdipAddPathClosedCurve(GpPath*,GDIPCONST GpPointF*,INT);
258 GpStatus WINGDIPAPI GdipAddPathClosedCurveI(GpPath*,GDIPCONST GpPoint*,INT);
259 GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL);
260 GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL);
261 GpStatus WINGDIPAPI GdipAddPathCurve(GpPath*,GDIPCONST GpPointF*,INT);
262 GpStatus WINGDIPAPI GdipAddPathCurveI(GpPath*,GDIPCONST GpPoint*,INT);
263 GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL);
264 GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL);
265 GpStatus WINGDIPAPI GdipAddPathCurve3(GpPath*,GDIPCONST GpPointF*,INT,INT,INT,REAL);
266 GpStatus WINGDIPAPI GdipAddPathCurve3I(GpPath*,GDIPCONST GpPoint*,INT,INT,INT,REAL);
267 GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL);
268 GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT);
269 GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL);
270 GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT);
271 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
272 GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath*,GDIPCONST GpPoint*,INT);
273 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
274 GpStatus WINGDIPAPI GdipAddPathPie(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
275 GpStatus WINGDIPAPI GdipAddPathPieI(GpPath*,INT,INT,INT,INT,REAL,REAL);
276 GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath*,GDIPCONST GpPointF*,INT);
277 GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath*,GDIPCONST GpPoint*,INT);
278 GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL);
279 GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT);
280 GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT);
281 GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT);
282 GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath*);
283 GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**);
284 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
285 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
286 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
287 GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT,
288 GpFillMode,GpPath**);
289 GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint*,GDIPCONST BYTE*,INT,GpFillMode,GpPath**);
290 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
291 GpStatus WINGDIPAPI GdipFlattenPath(GpPath*,GpMatrix*,REAL);
292 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*,
293 GpGraphics*,BOOL*);
294 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
295 GpGraphics*,BOOL*);
296 GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath*,REAL,REAL,GpGraphics*,BOOL*);
297 GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath*,INT,INT,GpGraphics*,BOOL*);
298 GpStatus WINGDIPAPI GdipGetPathData(GpPath*,GpPathData*);
299 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
300 GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath*,GpPointF*);
301 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
302 GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath*,GpPoint*,INT);
303 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
304 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
305 GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
306 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
307 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
308 GpStatus WINGDIPAPI GdipReversePath(GpPath*);
309 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
310 GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*);
311 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
312 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
314 /* Image */
315 GpStatus WINGDIPAPI GdipCloneImage(GpImage*, GpImage**);
316 GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes*,GpImageAttributes**);
317 GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
318 GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*);
319 GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*);
320 GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage*,UINT,UINT,PropertyItem*);
321 GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
322 GpStatus WINGDIPAPI GdipGetImageDimension(GpImage*,REAL*,REAL*);
323 GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
324 GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
325 GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
326 GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*);
327 GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*);
328 GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
329 GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
330 GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
331 GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
332 GpStatus WINGDIPAPI GdipGetPropertyCount(GpImage*,UINT*);
333 GpStatus WINGDIPAPI GdipGetPropertyIdList(GpImage*,UINT,PROPID*);
334 GpStatus WINGDIPAPI GdipGetPropertyItem(GpImage*,PROPID,UINT,PropertyItem*);
335 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*);
336 GpStatus WINGDIPAPI GdipGetPropertySize(GpImage*,UINT*,UINT*);
337 GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
338 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
339 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
340 GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
341 GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
342 GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
343 GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**);
344 GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
345 GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID);
346 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
347 GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*,
348 GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
349 GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*);
350 GpStatus WINGDIPAPI GdipSetPropertyItem(GpImage*,GDIPCONST PropertyItem*);
352 /* ImageAttributes */
353 GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
354 GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
355 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
356 ColorAdjustType,BOOL,ARGB,ARGB);
357 GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*,
358 ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*,
359 ColorMatrixFlags);
360 GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
361 ARGB,BOOL);
363 /* LinearGradientBrush */
364 GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
365 ARGB,ARGB,GpWrapMode,GpLineGradient**);
366 GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint*,GDIPCONST GpPoint*,
367 ARGB,ARGB,GpWrapMode,GpLineGradient**);
368 GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB,
369 LinearGradientMode,GpWrapMode,GpLineGradient**);
370 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect*,ARGB,ARGB,
371 LinearGradientMode,GpWrapMode,GpLineGradient**);
372 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF*,
373 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
374 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect*,
375 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
376 GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);
377 GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*);
378 GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*);
379 GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
380 GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient*,GpWrapMode*);
381 GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
382 GDIPCONST REAL*,INT);
383 GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient*,ARGB,ARGB);
384 GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
385 GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
386 GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
388 /* Matrix */
389 GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
390 GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
391 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
392 GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,GpMatrix**);
393 GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**);
394 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
395 GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
396 GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix*);
397 GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*);
398 GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*);
399 GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix*, BOOL*);
400 GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GDIPCONST GpMatrix*,GpMatrixOrder);
401 GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
402 GpStatus WINGDIPAPI GdipShearMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
403 GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
404 GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
405 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
406 GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
407 GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
408 GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
409 GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
411 /* Metafile */
412 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*,
413 EmfType,const WCHAR*,GpMetafile**);
414 GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**);
415 GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**);
416 GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE,BOOL,GpMetafile**);
417 GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE,BOOL,
418 GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
419 GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR*, GDIPCONST WmfPlaceableFileHeader*,
420 GpMetafile**);
421 GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile*,UINT);
423 /* MetafileHeader */
424 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*);
425 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*);
426 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*);
427 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*);
428 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*);
430 /* PathGradientBrush */
431 GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,GpPathGradient**);
432 GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint*,INT,GpWrapMode,GpPathGradient**);
433 GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
434 GpPathGradient**);
435 GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient*,REAL*,REAL*,INT);
436 GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient*,INT*);
437 GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*);
438 GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
439 GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
440 GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*);
441 GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*);
442 GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
443 GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient*,GpRectF*);
444 GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient*,GpRect*);
445 GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
446 ARGB*,INT*);
447 GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient*,GpWrapMode*);
448 GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient*,GDIPCONST REAL*,GDIPCONST REAL*,INT);
449 GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
450 GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
451 GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
452 GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL);
453 GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL);
454 GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
455 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
456 ARGB*,INT*);
457 GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
459 /* PathIterator */
460 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
461 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
462 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
463 INT,INT);
464 GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator*,INT*);
465 GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator*,INT*);
466 GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator*,INT*,GpPointF*,BYTE*,INT);
467 GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator*,BOOL*);
468 GpStatus WINGDIPAPI GdipPathIterIsValid(GpPathIterator*,BOOL*);
469 GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator*,INT*,INT*,INT*);
470 GpStatus WINGDIPAPI GdipPathIterNextMarkerPath(GpPathIterator*,INT*,GpPath*);
471 GpStatus WINGDIPAPI GdipPathIterNextPathType(GpPathIterator*,INT*,BYTE*,INT*,INT*);
472 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
473 GpStatus WINGDIPAPI GdipPathIterNextSubpathPath(GpPathIterator*,INT*,GpPath*,BOOL*);
474 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
476 /* Pen */
477 GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**);
478 GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
479 GpStatus WINGDIPAPI GdipCreatePen2(GpBrush*,REAL,GpUnit,GpPen**);
480 GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
481 GpStatus WINGDIPAPI GdipGetPenBrushFill(GpPen*,GpBrush**);
482 GpStatus WINGDIPAPI GdipGetPenColor(GpPen*,ARGB*);
483 GpStatus WINGDIPAPI GdipGetPenCustomStartCap(GpPen*,GpCustomLineCap**);
484 GpStatus WINGDIPAPI GdipGetPenCustomEndCap(GpPen*,GpCustomLineCap**);
485 GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen*,REAL*,INT);
486 GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen*,INT*);
487 GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen*,REAL*);
488 GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
489 GpStatus WINGDIPAPI GdipGetPenMode(GpPen*,GpPenAlignment*);
490 GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*);
491 GpStatus WINGDIPAPI GdipSetPenColor(GpPen*,ARGB);
492 GpStatus WINGDIPAPI GdipSetPenCompoundArray(GpPen*,GDIPCONST REAL*,INT);
493 GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*);
494 GpStatus WINGDIPAPI GdipSetPenCustomStartCap(GpPen*,GpCustomLineCap*);
495 GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen*,GDIPCONST REAL*,INT);
496 GpStatus WINGDIPAPI GdipSetPenDashCap197819(GpPen*,GpDashCap);
497 GpStatus WINGDIPAPI GdipSetPenDashOffset(GpPen*,REAL);
498 GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
499 GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
500 GpStatus WINGDIPAPI GdipGetPenFillType(GpPen*,GpPenType*);
501 GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
502 GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
503 GpStatus WINGDIPAPI GdipSetPenMode(GpPen*,GpPenAlignment);
504 GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
505 GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
506 GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
507 GpStatus WINGDIPAPI GdipGetPenDashCap197819(GpPen*,GpDashCap*);
508 GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*);
509 GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
510 GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*);
511 GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen*,GpLineCap*);
512 GpStatus WINGDIPAPI GdipGetPenUnit(GpPen*,GpUnit*);
513 GpStatus WINGDIPAPI GdipGetPenWidth(GpPen*,REAL*);
515 /* Region */
516 GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *, GpRegion **);
517 GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode);
518 GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode);
519 GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode);
520 GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode);
521 GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **);
522 GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **);
523 GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **);
524 GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **);
525 GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **);
526 GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN, GpRegion **);
527 GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *);
528 GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *);
529 GpStatus WINGDIPAPI GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *);
530 GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *);
531 GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *, UINT *);
532 GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
533 GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *);
534 GpStatus WINGDIPAPI GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *);
535 GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *);
536 GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
537 GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
538 GpStatus WINGDIPAPI GdipTransformRegion(GpRegion *, GpMatrix *);
539 GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *, REAL, REAL);
540 GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *, INT, INT);
542 /* SolidBrush */
543 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
544 GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
545 GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
547 /* StringFormat */
548 GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**);
549 GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
550 GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
551 GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
552 GpStatus WINGDIPAPI GdipGetStringFormatDigitSubstitution(GDIPCONST GpStringFormat*,LANGID*,
553 StringDigitSubstitute*);
554 GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*);
555 GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
556 GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
557 GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount(
558 GDIPCONST GpStringFormat*, INT*);
559 GpStatus WINGDIPAPI GdipGetStringFormatTabStopCount(GDIPCONST GpStringFormat*,INT*);
560 GpStatus WINGDIPAPI GdipGetStringFormatTabStops(GDIPCONST GpStringFormat*,INT,REAL*,REAL*);
561 GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
562 GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
563 GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat*,LANGID,StringDigitSubstitute);
564 GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
565 GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
566 GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(
567 GpStringFormat*, INT, GDIPCONST CharacterRange*);
568 GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat*,REAL,INT,GDIPCONST REAL*);
569 GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
570 GpStatus WINGDIPAPI GdipSetStringFormatFlags(GpStringFormat*, INT);
571 GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
572 GpStatus WINGDIPAPI GdipStringFormatGetGenericTypographic(GpStringFormat **);
574 /* Texture */
575 GpStatus WINGDIPAPI GdipCreateTexture(GpImage*,GpWrapMode,GpTexture**);
576 GpStatus WINGDIPAPI GdipCreateTexture2(GpImage*,GpWrapMode,REAL,REAL,REAL,REAL,GpTexture**);
577 GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage*,GpWrapMode,INT,INT,INT,INT,GpTexture**);
578 GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage*,GDIPCONST GpImageAttributes*,
579 REAL,REAL,REAL,REAL,GpTexture**);
580 GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*,
581 INT,INT,INT,INT,GpTexture**);
582 GpStatus WINGDIPAPI GdipGetTextureTransform(GpTexture*,GpMatrix*);
583 GpStatus WINGDIPAPI GdipGetTextureWrapMode(GpTexture*, GpWrapMode*);
584 GpStatus WINGDIPAPI GdipResetTextureTransform(GpTexture*);
585 GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*);
586 GpStatus WINGDIPAPI GdipSetTextureWrapMode(GpTexture*, GpWrapMode);
588 /* Without wrapper methods */
589 GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR*,UINT,IStream**);
590 GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size);
591 GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders);
592 GpStatus WINGDIPAPI GdipTestControl(GpTestControlEnum,void*);
594 #ifdef __cplusplus
596 #endif
598 #endif