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