widl: Generate helper macros for WinRT implementation.
[wine/zf.git] / include / gdiplusflat.h
blob5c9600ed30bb572f9364ee1e782681894147148d
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 GdipBitmapApplyEffect(GpBitmap*,CGpEffect*,RECT*,BOOL,VOID**,INT*);
43 GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect(GpBitmap**,INT,CGpEffect*,RECT*,RECT*,GpBitmap**,BOOL,VOID**,INT*);
44 GpStatus WINGDIPAPI GdipBitmapGetHistogram(GpBitmap*,HistogramFormat,UINT,UINT*,UINT*,UINT*,UINT*);
45 GpStatus WINGDIPAPI GdipBitmapGetHistogramSize(HistogramFormat,UINT*);
46 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
47 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
48 PixelFormat,BitmapData*);
49 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB);
50 GpStatus WINGDIPAPI GdipBitmapSetResolution(GpBitmap*,REAL,REAL);
51 GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap*,BitmapData*);
52 GpStatus WINGDIPAPI GdipCloneBitmapArea(REAL,REAL,REAL,REAL,PixelFormat,GpBitmap*,GpBitmap**);
53 GpStatus WINGDIPAPI GdipCloneBitmapAreaI(INT,INT,INT,INT,PixelFormat,GpBitmap*,GpBitmap**);
54 GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
55 GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM(GDIPCONST WCHAR*,GpBitmap**);
56 GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO*,VOID*,GpBitmap**);
57 GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
58 GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap**);
59 GpStatus WINGDIPAPI GdipCreateBitmapFromHICON(HICON, GpBitmap**);
60 GpStatus WINGDIPAPI GdipCreateBitmapFromResource(HINSTANCE,GDIPCONST WCHAR*,GpBitmap**);
61 GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
62 GpBitmap**);
63 GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
64 GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
65 GpStatus WINGDIPAPI GdipCreateHBITMAPFromBitmap(GpBitmap*,HBITMAP*,ARGB);
66 GpStatus WINGDIPAPI GdipCreateHICONFromBitmap(GpBitmap*,HICON*);
67 GpStatus WINGDIPAPI GdipDeleteEffect(CGpEffect*);
68 GpStatus WINGDIPAPI GdipSetEffectParameters(CGpEffect*,const VOID*,const UINT);
70 /* Brush */
71 GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
72 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
73 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
75 /* CachedBitmap */
76 GpStatus WINGDIPAPI GdipCreateCachedBitmap(GpBitmap*,GpGraphics*,
77 GpCachedBitmap**);
78 GpStatus WINGDIPAPI GdipDeleteCachedBitmap(GpCachedBitmap*);
79 GpStatus WINGDIPAPI GdipDrawCachedBitmap(GpGraphics*,GpCachedBitmap*,INT,INT);
81 /* CustomLineCap */
82 GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
83 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
84 GpCustomLineCap**);
85 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
86 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap*);
87 GpStatus WINGDIPAPI GdipSetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap);
88 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseInset(GpCustomLineCap*,REAL*);
89 GpStatus WINGDIPAPI GdipSetCustomLineCapBaseInset(GpCustomLineCap*,REAL);
90 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
91 GpLineCap);
92 GpStatus WINGDIPAPI GdipGetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin*);
93 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeJoin(GpCustomLineCap*,GpLineJoin);
94 GpStatus WINGDIPAPI GdipGetCustomLineCapWidthScale(GpCustomLineCap*,REAL*);
95 GpStatus WINGDIPAPI GdipSetCustomLineCapWidthScale(GpCustomLineCap*,REAL);
96 GpStatus WINGDIPAPI GdipSetCustomLineCapBaseInset(GpCustomLineCap*,REAL);
97 GpStatus WINGDIPAPI GdipGetCustomLineCapType(GpCustomLineCap*,CustomLineCapType*);
99 /* Font */
100 GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
101 GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily*, REAL, INT, Unit,
102 GpFont**);
103 GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC,GpFont**);
104 GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
105 GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
106 GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
107 GpStatus WINGDIPAPI GdipGetLogFontA(GpFont*,GpGraphics*,LOGFONTA*);
108 GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
109 GpStatus WINGDIPAPI GdipGetFamily(GpFont*, GpFontFamily**);
110 GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*);
111 GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*);
112 GpStatus WINGDIPAPI GdipGetFontStyle(GpFont*, INT*);
113 GpStatus WINGDIPAPI GdipGetFontHeight(GDIPCONST GpFont*, GDIPCONST GpGraphics*,
114 REAL*);
115 GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);
117 /* FontCollection */
118 GpStatus WINGDIPAPI GdipNewInstalledFontCollection(GpFontCollection**);
119 GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**);
120 GpStatus WINGDIPAPI GdipDeletePrivateFontCollection(GpFontCollection**);
121 GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection*, GDIPCONST WCHAR*);
122 GpStatus WINGDIPAPI GdipPrivateAddMemoryFont(GpFontCollection*,
123 GDIPCONST void*,INT);
124 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection*, INT*);
125 GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(GpFontCollection*, INT,
126 GpFontFamily*[], INT*);
128 /* FontFamily */
129 GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily*, GpFontFamily**);
130 GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,
131 GpFontCollection*, GpFontFamily**);
132 GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily*);
133 GpStatus WINGDIPAPI GdipGetFamilyName(GDIPCONST GpFontFamily*, WCHAR*, LANGID);
134 GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily*, INT, UINT16*);
135 GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily*, INT, UINT16*);
136 GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*);
137 GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily**);
138 GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily**);
139 GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**);
140 GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*);
141 GpStatus WINGDIPAPI GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL*);
143 /* Graphics */
144 GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention);
145 GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics*,GDIPCONST GpRectF*,GDIPCONST GpRectF*,GpUnit,GraphicsContainer*);
146 GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics*,GraphicsContainer*);
147 GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics*,GDIPCONST GpRect*,GDIPCONST GpRect*,GpUnit,GraphicsContainer*);
148 GpStatus WINGDIPAPI GdipEndContainer(GpGraphics*,GraphicsContainer);
149 GpStatus WINGDIPAPI GdipComment(GpGraphics*,UINT,GDIPCONST BYTE*);
150 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
151 GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
152 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
153 GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND,GpGraphics**);
154 HPALETTE WINGDIPAPI GdipCreateHalftonePalette(void);
155 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
156 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
157 GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
158 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
159 GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics*,GpPen*,INT,INT,INT,INT,INT,INT,INT,INT);
160 GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
161 GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
162 GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
163 GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
164 GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
165 GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
166 GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
167 GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
168 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
169 GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
170 GpStatus WINGDIPAPI GdipDrawCurve3(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,INT,INT,REAL);
171 GpStatus WINGDIPAPI GdipDrawCurve3I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,INT,INT,REAL);
172 GpStatus WINGDIPAPI GdipDrawDriverString(GpGraphics*,GDIPCONST UINT16*,INT,
173 GDIPCONST GpFont*,GDIPCONST GpBrush*,GDIPCONST PointF*,INT,GDIPCONST GpMatrix*);
174 GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
175 GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics*,GpPen*,INT,INT,INT,INT);
176 GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL);
177 GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT);
178 GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL,REAL,REAL,GpUnit);
179 GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics*,GpImage*,INT,INT,INT,INT,INT,INT,GpUnit);
180 GpStatus WINGDIPAPI GdipDrawImagePoints(GpGraphics*,GpImage*,GDIPCONST GpPointF*,INT);
181 GpStatus WINGDIPAPI GdipDrawImagePointsI(GpGraphics*,GpImage*,GDIPCONST GpPoint*,INT);
182 GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
183 GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
184 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
185 GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*,
186 GDIPCONST GpPoint*,INT,INT,INT,INT,INT,GpUnit,
187 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
188 GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL);
189 GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics*,GpImage*,INT,INT,INT,INT);
190 GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics*,GpImage*,REAL,REAL,REAL,
191 REAL,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
192 VOID*);
193 GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics*,GpImage*,INT,INT,INT,
194 INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
195 VOID*);
196 GpStatus WINGDIPAPI GdipDrawLine(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
197 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
198 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
199 GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
200 GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
201 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
202 GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
203 GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics*,GpPen*,GDIPCONST GpPointF*, INT);
204 GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics*,GpPen*,GDIPCONST GpPoint*, INT);
205 GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
206 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
207 GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics*,GpPen*,GDIPCONST GpRectF*,INT);
208 GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics*,GpPen*,GDIPCONST GpRect*,INT);
209 GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT,
210 GDIPCONST GpFont*,GDIPCONST RectF*, GDIPCONST GpStringFormat*,
211 GDIPCONST GpBrush*);
212 GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoint(GpGraphics*,GDIPCONST GpMetafile*,
213 GDIPCONST GpPointF*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
214 GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointI(GpGraphics*,GDIPCONST GpMetafile*,
215 GDIPCONST GpPoint*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
216 GpStatus WINGDIPAPI GdipEnumerateMetafileDestRect(GpGraphics*,GDIPCONST GpMetafile*,
217 GDIPCONST GpRectF*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
218 GpStatus WINGDIPAPI GdipEnumerateMetafileDestRectI(GpGraphics*,GDIPCONST GpMetafile*,
219 GDIPCONST GpRect*,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
220 GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoints(GpGraphics*,
221 GDIPCONST GpMetafile*,GDIPCONST GpPointF*,INT,GDIPCONST GpRectF*,Unit,
222 EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
223 GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestRect( GpGraphics*, GDIPCONST GpMetafile*,
224 GDIPCONST GpRectF* , GDIPCONST GpRectF*, Unit, EnumerateMetafileProc, VOID*,
225 GDIPCONST GpImageAttributes*);
226 GpStatus WINGDIPAPI GdipFillClosedCurve2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT,
227 REAL,GpFillMode);
228 GpStatus WINGDIPAPI GdipFillClosedCurve2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT,
229 REAL,GpFillMode);
230 GpStatus WINGDIPAPI GdipFillClosedCurve(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT);
231 GpStatus WINGDIPAPI GdipFillClosedCurveI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT);
232 GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
233 GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
234 GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*);
235 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
236 GpStatus WINGDIPAPI GdipFillPieI(GpGraphics*,GpBrush*,INT,INT,INT,INT,REAL,REAL);
237 GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,
238 INT,GpFillMode);
239 GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,
240 INT,GpFillMode);
241 GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT);
242 GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT);
243 GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
244 GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
245 GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics*,GpBrush*,GDIPCONST GpRectF*,INT);
246 GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics*,GpBrush*,GDIPCONST GpRect*,INT);
247 GpStatus WINGDIPAPI GdipFillRegion(GpGraphics*,GpBrush*,GpRegion*);
248 GpStatus WINGDIPAPI GdipGetClip(GpGraphics*,GpRegion*);
249 GpStatus WINGDIPAPI GdipGetClipBounds(GpGraphics*,GpRectF*);
250 GpStatus WINGDIPAPI GdipGetClipBoundsI(GpGraphics*,GpRect*);
251 GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics*,CompositingMode*);
252 GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
253 GpStatus WINGDIPAPI GdipGetDC(GpGraphics*,HDC*);
254 GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*);
255 GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*);
256 GpStatus WINGDIPAPI GdipGetImageDecoders(UINT,UINT,ImageCodecInfo*);
257 GpStatus WINGDIPAPI GdipGetImageDecodersSize(UINT*,UINT*);
258 GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**);
259 GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
260 GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics*,ARGB*);
261 GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics*,REAL*);
262 GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics*,GpUnit*);
263 GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
264 GpStatus WINGDIPAPI GdipGetRenderingOrigin(GpGraphics*,INT*,INT*);
265 GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
266 GpStatus WINGDIPAPI GdipGetTextContrast(GpGraphics*,UINT*);
267 GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics*,TextRenderingHint*);
268 GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics*,GpMatrix*);
269 GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics*,ARGB);
270 GpStatus WINGDIPAPI GdipGraphicsSetAbort(GpGraphics*,GdiplusAbort*);
271 GpStatus WINGDIPAPI GdipGetVisibleClipBounds(GpGraphics*,GpRectF*);
272 GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI(GpGraphics*,GpRect*);
273 GpStatus WINGDIPAPI GdipInitializePalette(ColorPalette*,PaletteType,INT,BOOL,GpBitmap*);
274 GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics*, BOOL*);
275 GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics*,REAL,REAL,BOOL*);
276 GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics*,INT,INT,BOOL*);
277 GpStatus WINGDIPAPI GdipIsVisibleRect(GpGraphics*,REAL,REAL,REAL,REAL,BOOL*);
278 GpStatus WINGDIPAPI GdipIsVisibleRectI(GpGraphics*,INT,INT,INT,INT,BOOL*);
279 GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics*, GDIPCONST WCHAR*,
280 INT, GDIPCONST GpFont*, GDIPCONST RectF*, GDIPCONST GpStringFormat*, INT,
281 GpRegion**);
282 GpStatus WINGDIPAPI GdipMeasureDriverString(GpGraphics*,GDIPCONST UINT16*,INT,
283 GDIPCONST GpFont*,GDIPCONST PointF*,INT,GDIPCONST GpMatrix*,RectF*);
284 GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT,
285 GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*);
286 GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics*,GDIPCONST GpMatrix*,GpMatrixOrder);
287 GpStatus WINGDIPAPI GdipRecordMetafileFileName(GDIPCONST WCHAR*,HDC,EmfType,
288 GDIPCONST GpRectF*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**);
289 GpStatus WINGDIPAPI GdipRecordMetafileFileNameI(GDIPCONST WCHAR*,HDC,EmfType,
290 GDIPCONST GpRect*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**);
291 GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics*,HDC);
292 GpStatus WINGDIPAPI GdipResetClip(GpGraphics*);
293 GpStatus WINGDIPAPI GdipResetWorldTransform(GpGraphics*);
294 GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
295 GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics*,REAL,GpMatrixOrder);
296 GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
297 GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
298 GpStatus WINGDIPAPI GdipSetClipHrgn(GpGraphics*,HRGN,CombineMode);
299 GpStatus WINGDIPAPI GdipSetClipGraphics(GpGraphics*,GpGraphics*,CombineMode);
300 GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics*,GpPath*,CombineMode);
301 GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics*,REAL,REAL,REAL,REAL,CombineMode);
302 GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics*,INT,INT,INT,INT,CombineMode);
303 GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics*,GpRegion*,CombineMode);
304 GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics*,CompositingMode);
305 GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
306 GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
307 GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
308 GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
309 GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
310 GpStatus WINGDIPAPI GdipSetRenderingOrigin(GpGraphics*,INT,INT);
311 GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
312 GpStatus WINGDIPAPI GdipSetTextContrast(GpGraphics*,UINT);
313 GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
314 GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
315 GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
316 GpPointF *, INT);
317 GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
318 GpPoint *, INT);
319 GpStatus WINGDIPAPI GdipTranslateClip(GpGraphics*,REAL,REAL);
320 GpStatus WINGDIPAPI GdipTranslateClipI(GpGraphics*,INT,INT);
321 GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
323 /* GraphicsPath */
324 GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
325 GpStatus WINGDIPAPI GdipAddPathArcI(GpPath*,INT,INT,INT,INT,REAL,REAL);
326 GpStatus WINGDIPAPI GdipAddPathBezier(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
327 GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath*,INT,INT,INT,INT,INT,INT,INT,INT);
328 GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);
329 GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath*,GDIPCONST GpPoint*,INT);
330 GpStatus WINGDIPAPI GdipAddPathClosedCurve(GpPath*,GDIPCONST GpPointF*,INT);
331 GpStatus WINGDIPAPI GdipAddPathClosedCurveI(GpPath*,GDIPCONST GpPoint*,INT);
332 GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL);
333 GpStatus WINGDIPAPI GdipAddPathClosedCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL);
334 GpStatus WINGDIPAPI GdipAddPathCurve(GpPath*,GDIPCONST GpPointF*,INT);
335 GpStatus WINGDIPAPI GdipAddPathCurveI(GpPath*,GDIPCONST GpPoint*,INT);
336 GpStatus WINGDIPAPI GdipAddPathCurve2(GpPath*,GDIPCONST GpPointF*,INT,REAL);
337 GpStatus WINGDIPAPI GdipAddPathCurve2I(GpPath*,GDIPCONST GpPoint*,INT,REAL);
338 GpStatus WINGDIPAPI GdipAddPathCurve3(GpPath*,GDIPCONST GpPointF*,INT,INT,INT,REAL);
339 GpStatus WINGDIPAPI GdipAddPathCurve3I(GpPath*,GDIPCONST GpPoint*,INT,INT,INT,REAL);
340 GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL);
341 GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT);
342 GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL);
343 GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT);
344 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
345 GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath*,GDIPCONST GpPoint*,INT);
346 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
347 GpStatus WINGDIPAPI GdipAddPathPie(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
348 GpStatus WINGDIPAPI GdipAddPathPieI(GpPath*,INT,INT,INT,INT,REAL,REAL);
349 GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath*,GDIPCONST GpPointF*,INT);
350 GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath*,GDIPCONST GpPoint*,INT);
351 GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL);
352 GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT);
353 GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT);
354 GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT);
355 GpStatus WINGDIPAPI GdipAddPathString(GpPath*,GDIPCONST WCHAR*,INT,GDIPCONST GpFontFamily*,INT,REAL,GDIPCONST RectF*,GDIPCONST GpStringFormat*);
356 GpStatus WINGDIPAPI GdipAddPathStringI(GpPath*,GDIPCONST WCHAR*,INT,GDIPCONST GpFontFamily*,INT,REAL,GDIPCONST Rect*,GDIPCONST GpStringFormat*);
357 GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath*);
358 GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**);
359 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
360 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
361 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
362 GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT,
363 GpFillMode,GpPath**);
364 GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint*,GDIPCONST BYTE*,INT,GpFillMode,GpPath**);
365 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
366 GpStatus WINGDIPAPI GdipFlattenPath(GpPath*,GpMatrix*,REAL);
367 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*,
368 GpGraphics*,BOOL*);
369 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
370 GpGraphics*,BOOL*);
371 GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath*,REAL,REAL,GpGraphics*,BOOL*);
372 GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath*,INT,INT,GpGraphics*,BOOL*);
373 GpStatus WINGDIPAPI GdipGetPathData(GpPath*,GpPathData*);
374 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
375 GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath*,GpPointF*);
376 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
377 GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath*,GpPoint*,INT);
378 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
379 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
380 GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
381 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
382 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
383 GpStatus WINGDIPAPI GdipReversePath(GpPath*);
384 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
385 GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*);
386 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
387 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
388 GpStatus WINGDIPAPI GdipWarpPath(GpPath*,GpMatrix*,GDIPCONST GpPointF*,INT,REAL,
389 REAL,REAL,REAL,WarpMode,REAL);
390 GpStatus WINGDIPAPI GdipWidenPath(GpPath*,GpPen*,GpMatrix*,REAL);
392 /* HatchBrush */
393 GpStatus WINGDIPAPI GdipCreateHatchBrush(GpHatchStyle,ARGB,ARGB,GpHatch**);
394 GpStatus WINGDIPAPI GdipGetHatchBackgroundColor(GpHatch*,ARGB*);
395 GpStatus WINGDIPAPI GdipGetHatchForegroundColor(GpHatch*,ARGB*);
396 GpStatus WINGDIPAPI GdipGetHatchStyle(GpHatch*,GpHatchStyle*);
398 /* Image */
399 GpStatus WINGDIPAPI GdipCloneImage(GpImage*, GpImage**);
400 GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes*,GpImageAttributes**);
401 GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
402 GpStatus WINGDIPAPI GdipEmfToWmfBits(HENHMETAFILE,UINT,LPBYTE,INT,INT);
403 GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*);
404 GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*);
405 GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage*,UINT,UINT,PropertyItem*);
406 GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
407 GpStatus WINGDIPAPI GdipGetImageDimension(GpImage*,REAL*,REAL*);
408 GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
409 GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
410 GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
411 GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*);
412 GpStatus WINGDIPAPI GdipGetImagePalette(GpImage*,ColorPalette*,INT);
413 GpStatus WINGDIPAPI GdipGetImagePaletteSize(GpImage*,INT*);
414 GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*);
415 GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
416 GpStatus WINGDIPAPI GdipGetImageThumbnail(GpImage*,UINT,UINT,GpImage**,GetThumbnailImageAbort,VOID*);
417 GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
418 GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
419 GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
420 GpStatus WINGDIPAPI GdipGetPropertyCount(GpImage*,UINT*);
421 GpStatus WINGDIPAPI GdipGetPropertyIdList(GpImage*,UINT,PROPID*);
422 GpStatus WINGDIPAPI GdipGetPropertyItem(GpImage*,PROPID,UINT,PropertyItem*);
423 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*);
424 GpStatus WINGDIPAPI GdipGetPropertySize(GpImage*,UINT*,UINT*);
425 GpStatus WINGDIPAPI GdipImageForceValidation(GpImage*);
426 GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
427 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
428 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
429 GpStatus WINGDIPAPI GdipImageRotateFlip(GpImage*,RotateFlipType);
430 GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
431 GpStatus WINGDIPAPI GdipImageSetAbort(GpImage*,GdiplusAbort*);
432 GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
433 GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
434 GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**);
435 GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
436 GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID);
437 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
438 GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*,
439 GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
440 GpStatus WINGDIPAPI GdipSaveAdd(GpImage*,GDIPCONST EncoderParameters*);
441 GpStatus WINGDIPAPI GdipSaveAddImage(GpImage*,GpImage*,GDIPCONST EncoderParameters*);
442 GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*);
443 GpStatus WINGDIPAPI GdipSetPropertyItem(GpImage*,GDIPCONST PropertyItem*);
445 /* ImageAttributes */
446 GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
447 GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
448 GpStatus WINGDIPAPI GdipGetImageAttributesAdjustedPalette(GpImageAttributes*,
449 ColorPalette*,ColorAdjustType);
450 GpStatus WINGDIPAPI GdipSetImageAttributesCachedBackground(GpImageAttributes*,
451 BOOL);
452 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
453 ColorAdjustType,BOOL,ARGB,ARGB);
454 GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*,
455 ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*,
456 ColorMatrixFlags);
457 GpStatus WINGDIPAPI GdipSetImageAttributesGamma(GpImageAttributes*,
458 ColorAdjustType,BOOL,REAL);
459 GpStatus WINGDIPAPI GdipSetImageAttributesNoOp(GpImageAttributes*,
460 ColorAdjustType,BOOL);
461 GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannel(GpImageAttributes*,
462 ColorAdjustType,BOOL,ColorChannelFlags);
463 GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannelColorProfile(
464 GpImageAttributes*,ColorAdjustType,BOOL,GDIPCONST WCHAR*);
465 GpStatus WINGDIPAPI GdipSetImageAttributesRemapTable(GpImageAttributes*,
466 ColorAdjustType,BOOL,UINT,GDIPCONST ColorMap*);
467 GpStatus WINGDIPAPI GdipSetImageAttributesThreshold(GpImageAttributes*,
468 ColorAdjustType,BOOL,REAL);
469 GpStatus WINGDIPAPI GdipSetImageAttributesToIdentity(GpImageAttributes*,
470 ColorAdjustType);
471 GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
472 ARGB,BOOL);
473 GpStatus WINGDIPAPI GdipResetImageAttributes(GpImageAttributes*,
474 ColorAdjustType);
476 /* LinearGradientBrush */
477 GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
478 ARGB,ARGB,GpWrapMode,GpLineGradient**);
479 GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint*,GDIPCONST GpPoint*,
480 ARGB,ARGB,GpWrapMode,GpLineGradient**);
481 GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB,
482 LinearGradientMode,GpWrapMode,GpLineGradient**);
483 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect*,ARGB,ARGB,
484 LinearGradientMode,GpWrapMode,GpLineGradient**);
485 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF*,
486 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
487 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect*,
488 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
489 GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);
490 GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*);
491 GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*);
492 GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
493 GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient*,GpWrapMode*);
494 GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
495 GDIPCONST REAL*,INT);
496 GpStatus WINGDIPAPI GdipGetLineBlend(GpLineGradient*,REAL*,REAL*,INT);
497 GpStatus WINGDIPAPI GdipGetLineBlendCount(GpLineGradient*,INT*);
498 GpStatus WINGDIPAPI GdipSetLinePresetBlend(GpLineGradient*,GDIPCONST ARGB*,
499 GDIPCONST REAL*,INT);
500 GpStatus WINGDIPAPI GdipGetLinePresetBlend(GpLineGradient*,ARGB*,REAL*,INT);
501 GpStatus WINGDIPAPI GdipGetLinePresetBlendCount(GpLineGradient*,INT*);
502 GpStatus WINGDIPAPI GdipGetLineTransform(GpLineGradient*,GpMatrix*);
503 GpStatus WINGDIPAPI GdipMultiplyLineTransform(GpLineGradient*,GDIPCONST GpMatrix*,GpMatrixOrder);
504 GpStatus WINGDIPAPI GdipResetLineTransform(GpLineGradient*);
505 GpStatus WINGDIPAPI GdipRotateLineTransform(GpLineGradient*,REAL,GpMatrixOrder);
506 GpStatus WINGDIPAPI GdipScaleLineTransform(GpLineGradient*,REAL,REAL,
507 GpMatrixOrder);
508 GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient*,ARGB,ARGB);
509 GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
510 GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
511 GpStatus WINGDIPAPI GdipSetLineTransform(GpLineGradient*,GDIPCONST GpMatrix*);
512 GpStatus WINGDIPAPI GdipSetLineLinearBlend(GpLineGradient*,REAL,REAL);
513 GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
514 GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient*,REAL,REAL,
515 GpMatrixOrder);
517 /* Matrix */
518 GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
519 GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
520 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
521 GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,GpMatrix**);
522 GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**);
523 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
524 GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
525 GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix*);
526 GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*);
527 GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*);
528 GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix*, BOOL*);
529 GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GDIPCONST GpMatrix*,GpMatrixOrder);
530 GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
531 GpStatus WINGDIPAPI GdipShearMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
532 GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
533 GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
534 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
535 GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
536 GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
537 GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
538 GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
540 /* Metafile */
541 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*,
542 EmfType,const WCHAR*,GpMetafile**);
543 GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**);
544 GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**);
545 GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE,BOOL,GpMetafile**);
546 GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE,BOOL,
547 GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
548 GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR*, GDIPCONST WmfPlaceableFileHeader*,
549 GpMetafile**);
550 GpStatus WINGDIPAPI GdipCreateMetafileFromFile(GDIPCONST WCHAR*,GpMetafile**);
551 GpStatus WINGDIPAPI GdipCreateMetafileFromStream(IStream*,GpMetafile**);
552 GpStatus WINGDIPAPI GdipGetMetafileDownLevelRasterizationLimit(GDIPCONST GpMetafile*,UINT*);
553 GpStatus WINGDIPAPI GdipGetHemfFromMetafile(GpMetafile*,HENHMETAFILE*);
554 GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile*,EmfPlusRecordType,UINT,UINT,GDIPCONST BYTE*);
555 GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile*,UINT);
556 GpStatus WINGDIPAPI GdipRecordMetafile(HDC,EmfType,GDIPCONST GpRectF*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**);
557 GpStatus WINGDIPAPI GdipRecordMetafileI(HDC,EmfType,GDIPCONST GpRect*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**);
558 GpStatus WINGDIPAPI GdipRecordMetafileStream(IStream*,HDC,EmfType,GDIPCONST GpRectF*,MetafileFrameUnit,GDIPCONST WCHAR *,GpMetafile**);
559 GpStatus WINGDIPAPI GdipRecordMetafileStreamI(IStream*,HDC,EmfType,GDIPCONST GpRect*,MetafileFrameUnit,GDIPCONST WCHAR *,GpMetafile**);
561 /* MetafileHeader */
562 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*);
563 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*);
564 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*);
565 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*);
566 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*);
568 /* Notification */
569 GpStatus WINAPI GdiplusNotificationHook(ULONG_PTR*);
570 void WINAPI GdiplusNotificationUnhook(ULONG_PTR);
572 /* PathGradientBrush */
573 GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,GpPathGradient**);
574 GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint*,INT,GpWrapMode,GpPathGradient**);
575 GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
576 GpPathGradient**);
577 GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient*,REAL*,REAL*,INT);
578 GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient*,INT*);
579 GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*);
580 GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
581 GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
582 GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*);
583 GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*);
584 GpStatus WINGDIPAPI GdipGetPathGradientPath(GpPathGradient*,GpPath*);
585 GpStatus WINGDIPAPI GdipGetPathGradientPresetBlend(GpPathGradient*,ARGB*,REAL*,INT);
586 GpStatus WINGDIPAPI GdipGetPathGradientPresetBlendCount(GpPathGradient*,INT*);
587 GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
588 GpStatus WINGDIPAPI GdipSetPathGradientPresetBlend(GpPathGradient*,
589 GDIPCONST ARGB*,GDIPCONST REAL*,INT);
590 GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient*,GpRectF*);
591 GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient*,GpRect*);
592 GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
593 ARGB*,INT*);
594 GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient*,GpWrapMode*);
595 GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient*,GDIPCONST REAL*,GDIPCONST REAL*,INT);
596 GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
597 GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
598 GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
599 GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL);
600 GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL);
601 GpStatus WINGDIPAPI GdipSetPathGradientPath(GpPathGradient*,GDIPCONST GpPath*);
602 GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
603 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
604 GDIPCONST ARGB*,INT*);
605 GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
606 GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorCount(GpPathGradient*,INT*);
608 /* PathIterator */
609 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
610 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
611 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
612 INT,INT);
613 GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator*,INT*);
614 GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator*,INT*);
615 GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator*,INT*,GpPointF*,BYTE*,INT);
616 GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator*,BOOL*);
617 GpStatus WINGDIPAPI GdipPathIterIsValid(GpPathIterator*,BOOL*);
618 GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator*,INT*,INT*,INT*);
619 GpStatus WINGDIPAPI GdipPathIterNextMarkerPath(GpPathIterator*,INT*,GpPath*);
620 GpStatus WINGDIPAPI GdipPathIterNextPathType(GpPathIterator*,INT*,BYTE*,INT*,INT*);
621 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
622 GpStatus WINGDIPAPI GdipPathIterNextSubpathPath(GpPathIterator*,INT*,GpPath*,BOOL*);
623 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
625 /* Pen */
626 GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**);
627 GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
628 GpStatus WINGDIPAPI GdipCreatePen2(GpBrush*,REAL,GpUnit,GpPen**);
629 GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
630 GpStatus WINGDIPAPI GdipGetPenBrushFill(GpPen*,GpBrush**);
631 GpStatus WINGDIPAPI GdipGetPenColor(GpPen*,ARGB*);
632 GpStatus WINGDIPAPI GdipGetPenCompoundCount(GpPen*,INT*);
633 GpStatus WINGDIPAPI GdipGetPenCustomStartCap(GpPen*,GpCustomLineCap**);
634 GpStatus WINGDIPAPI GdipGetPenCustomEndCap(GpPen*,GpCustomLineCap**);
635 GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen*,REAL*,INT);
636 GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen*,INT*);
637 GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen*,REAL*);
638 GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
639 GpStatus WINGDIPAPI GdipGetPenMode(GpPen*,GpPenAlignment*);
640 GpStatus WINGDIPAPI GdipGetPenTransform(GpPen *, GpMatrix *);
641 GpStatus WINGDIPAPI GdipMultiplyPenTransform(GpPen *,GDIPCONST GpMatrix *,GpMatrixOrder);
642 GpStatus WINGDIPAPI GdipResetPenTransform(GpPen*);
643 GpStatus WINGDIPAPI GdipRotatePenTransform(GpPen*,REAL,GpMatrixOrder);
644 GpStatus WINGDIPAPI GdipScalePenTransform(GpPen*,REAL,REAL,GpMatrixOrder);
645 GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*);
646 GpStatus WINGDIPAPI GdipSetPenColor(GpPen*,ARGB);
647 GpStatus WINGDIPAPI GdipSetPenCompoundArray(GpPen*,GDIPCONST REAL*,INT);
648 GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*);
649 GpStatus WINGDIPAPI GdipSetPenCustomStartCap(GpPen*,GpCustomLineCap*);
650 GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen*,GDIPCONST REAL*,INT);
651 GpStatus WINGDIPAPI GdipSetPenDashCap197819(GpPen*,GpDashCap);
652 GpStatus WINGDIPAPI GdipSetPenDashOffset(GpPen*,REAL);
653 GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
654 GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
655 GpStatus WINGDIPAPI GdipGetPenFillType(GpPen*,GpPenType*);
656 GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
657 GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
658 GpStatus WINGDIPAPI GdipSetPenMode(GpPen*,GpPenAlignment);
659 GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
660 GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
661 GpStatus WINGDIPAPI GdipSetPenTransform(GpPen *, GpMatrix *);
662 GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
663 GpStatus WINGDIPAPI GdipGetPenDashCap197819(GpPen*,GpDashCap*);
664 GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*);
665 GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
666 GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*);
667 GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen*,GpLineCap*);
668 GpStatus WINGDIPAPI GdipGetPenUnit(GpPen*,GpUnit*);
669 GpStatus WINGDIPAPI GdipGetPenWidth(GpPen*,REAL*);
670 GpStatus WINGDIPAPI GdipTranslatePenTransform(GpPen*,REAL,REAL,GpMatrixOrder);
672 /* Region */
673 GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *, GpRegion **);
674 GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode);
675 GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode);
676 GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode);
677 GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode);
678 GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **);
679 GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **);
680 GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **);
681 GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **);
682 GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **);
683 GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN, GpRegion **);
684 GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *);
685 GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *);
686 GpStatus WINGDIPAPI GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *);
687 GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *);
688 GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *, UINT *);
689 GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
690 GpStatus WINGDIPAPI GdipGetRegionScans(GpRegion *, GpRectF *, INT *, GpMatrix *);
691 GpStatus WINGDIPAPI GdipGetRegionScansI(GpRegion *, GpRect *, INT *, GpMatrix *);
692 GpStatus WINGDIPAPI GdipGetRegionScansCount(GpRegion *, UINT *, GpMatrix *);
693 GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *);
694 GpStatus WINGDIPAPI GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *);
695 GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *);
696 GpStatus WINGDIPAPI GdipIsVisibleRegionPoint(GpRegion *, REAL, REAL, GpGraphics *, BOOL *);
697 GpStatus WINGDIPAPI GdipIsVisibleRegionPointI(GpRegion *, INT, INT, GpGraphics *, BOOL *);
698 GpStatus WINGDIPAPI GdipIsVisibleRegionRect(GpRegion *, REAL, REAL, REAL, REAL, GpGraphics *, BOOL *);
699 GpStatus WINGDIPAPI GdipIsVisibleRegionRectI(GpRegion *, INT, INT, INT, INT, GpGraphics *, BOOL *);
700 GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
701 GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
702 GpStatus WINGDIPAPI GdipTransformRegion(GpRegion *, GpMatrix *);
703 GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *, REAL, REAL);
704 GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *, INT, INT);
706 /* SolidBrush */
707 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
708 GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
709 GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
711 /* StringFormat */
712 GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**);
713 GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
714 GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
715 GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
716 GpStatus WINGDIPAPI GdipGetStringFormatDigitSubstitution(GDIPCONST GpStringFormat*,LANGID*,
717 StringDigitSubstitute*);
718 GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*);
719 GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
720 GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
721 GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount(
722 GDIPCONST GpStringFormat*, INT*);
723 GpStatus WINGDIPAPI GdipGetStringFormatTabStopCount(GDIPCONST GpStringFormat*,INT*);
724 GpStatus WINGDIPAPI GdipGetStringFormatTabStops(GDIPCONST GpStringFormat*,INT,REAL*,REAL*);
725 GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
726 GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
727 GpStatus WINGDIPAPI GdipSetStringFormatDigitSubstitution(GpStringFormat*,LANGID,StringDigitSubstitute);
728 GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
729 GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
730 GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(
731 GpStringFormat*, INT, GDIPCONST CharacterRange*);
732 GpStatus WINGDIPAPI GdipSetStringFormatTabStops(GpStringFormat*,REAL,INT,GDIPCONST REAL*);
733 GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
734 GpStatus WINGDIPAPI GdipSetStringFormatFlags(GpStringFormat*, INT);
735 GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
736 GpStatus WINGDIPAPI GdipStringFormatGetGenericTypographic(GpStringFormat **);
738 /* Texture */
739 GpStatus WINGDIPAPI GdipCreateTexture(GpImage*,GpWrapMode,GpTexture**);
740 GpStatus WINGDIPAPI GdipCreateTexture2(GpImage*,GpWrapMode,REAL,REAL,REAL,REAL,GpTexture**);
741 GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage*,GpWrapMode,INT,INT,INT,INT,GpTexture**);
742 GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage*,GDIPCONST GpImageAttributes*,
743 REAL,REAL,REAL,REAL,GpTexture**);
744 GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*,
745 INT,INT,INT,INT,GpTexture**);
746 GpStatus WINGDIPAPI GdipGetTextureTransform(GpTexture*,GpMatrix*);
747 GpStatus WINGDIPAPI GdipGetTextureWrapMode(GpTexture*, GpWrapMode*);
748 GpStatus WINGDIPAPI GdipMultiplyTextureTransform(GpTexture*,
749 GDIPCONST GpMatrix*,GpMatrixOrder);
750 GpStatus WINGDIPAPI GdipResetTextureTransform(GpTexture*);
751 GpStatus WINGDIPAPI GdipRotateTextureTransform(GpTexture*,REAL,GpMatrixOrder);
752 GpStatus WINGDIPAPI GdipScaleTextureTransform(GpTexture*,REAL,REAL,GpMatrixOrder);
753 GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*);
754 GpStatus WINGDIPAPI GdipSetTextureWrapMode(GpTexture*, GpWrapMode);
755 GpStatus WINGDIPAPI GdipTranslateTextureTransform(GpTexture*,REAL,REAL,
756 GpMatrixOrder);
758 /* Without wrapper methods */
759 GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR*,UINT,IStream**);
760 GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size);
761 GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders);
762 GpStatus WINGDIPAPI GdipTestControl(GpTestControlEnum,void*);
764 #ifdef __cplusplus
766 #endif
768 #endif