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