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