VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/gdiplusflat.h@ 33282

Last change on this file since 33282 was 28475, checked in by vboxsync, 15 years ago

crOpenGL: update to wine 1.1.43

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette