gdiplus: Stub GdipNewPrivateFontCollection.
[wine.git] / include / gdiplusflat.h
blob13d06f17af6ea8980d12f8fdb21580aa0b8c4122
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 GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**);
31 GpStatus WINGDIPAPI GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
32 GpStatus WINGDIPAPI GdipCreatePen2(GpBrush*,REAL,GpUnit,GpPen**);
33 GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
34 GpStatus WINGDIPAPI GdipGetPenBrushFill(GpPen*,GpBrush**);
35 GpStatus WINGDIPAPI GdipGetPenColor(GpPen*,ARGB*);
36 GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen*,REAL*,INT);
37 GpStatus WINGDIPAPI GdipGetPenDashCount(GpPen*,INT*);
38 GpStatus WINGDIPAPI GdipGetPenDashOffset(GpPen*,REAL*);
39 GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen*,GpDashStyle*);
40 GpStatus WINGDIPAPI GdipSetPenBrushFill(GpPen*,GpBrush*);
41 GpStatus WINGDIPAPI GdipSetPenColor(GpPen*,ARGB);
42 GpStatus WINGDIPAPI GdipSetPenCustomEndCap(GpPen*,GpCustomLineCap*);
43 GpStatus WINGDIPAPI GdipSetPenCustomStartCap(GpPen*,GpCustomLineCap*);
44 GpStatus WINGDIPAPI GdipSetPenDashArray(GpPen*,GDIPCONST REAL*,INT);
45 GpStatus WINGDIPAPI GdipSetPenDashCap197819(GpPen*,GpDashCap);
46 GpStatus WINGDIPAPI GdipSetPenDashOffset(GpPen*,REAL);
47 GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
48 GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
49 GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
50 GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
51 GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
52 GpStatus WINGDIPAPI GdipSetPenStartCap(GpPen*,GpLineCap);
53 GpStatus WINGDIPAPI GdipSetPenWidth(GpPen*,REAL);
54 GpStatus WINGDIPAPI GdipGetPenDashCap197819(GpPen*,GpDashCap*);
55 GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen*,GpLineCap*);
56 GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
57 GpStatus WINGDIPAPI GdipGetPenMiterLimit(GpPen*,REAL*);
58 GpStatus WINGDIPAPI GdipGetPenStartCap(GpPen*,GpLineCap*);
59 GpStatus WINGDIPAPI GdipGetPenUnit(GpPen*,GpUnit*);
60 GpStatus WINGDIPAPI GdipGetPenWidth(GpPen*,REAL*);
62 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
63 GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**);
64 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
65 GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND,GpGraphics**);
66 GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
67 ARGB,ARGB,GpWrapMode,GpLineGradient**);
68 GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint*,GDIPCONST GpPoint*,
69 ARGB,ARGB,GpWrapMode,GpLineGradient**);
70 GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB,
71 LinearGradientMode,GpWrapMode,GpLineGradient**);
72 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect*,ARGB,ARGB,
73 LinearGradientMode,GpWrapMode,GpLineGradient**);
74 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngle(GDIPCONST GpRectF*,
75 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
76 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectWithAngleI(GDIPCONST GpRect*,
77 ARGB,ARGB,REAL,BOOL,GpWrapMode,GpLineGradient**);
79 GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE,BOOL,GpMetafile**);
80 GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE,BOOL,
81 GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
82 GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR*, GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
83 GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR*,UINT,IStream**);
84 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
85 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
86 GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
87 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
88 GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics*,GpPen*,INT,INT,INT,INT,INT,INT,INT,INT);
89 GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
90 GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
91 GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
92 GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
93 GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
94 GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
95 GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
96 GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
97 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
98 GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
99 GpStatus WINGDIPAPI GdipDrawImage(GpGraphics*,GpImage*,REAL,REAL);
100 GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT);
101 GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
102 GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
103 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
104 GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*,
105 GDIPCONST GpPoint*,INT,INT,INT,INT,INT,GpUnit,
106 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
107 GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics*,GpImage*,REAL,REAL,REAL,
108 REAL,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
109 VOID*);
110 GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics*,GpImage*,INT,INT,INT,
111 INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
112 VOID*);
113 GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics*,GpImage*,REAL,REAL,REAL,REAL);
114 GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics*,GpImage*,INT,INT,INT,INT);
115 GpStatus WINGDIPAPI GdipDrawLine(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
116 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
117 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
118 GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
119 GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
120 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
121 GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
122 GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics*,GpPen*,GDIPCONST GpPointF*, INT);
123 GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics*,GpPen*,GDIPCONST GpPoint*, INT);
124 GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
125 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
126 GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics*,GpPen*,GDIPCONST GpRectF*,INT);
127 GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics*,GpPen*,GDIPCONST GpRect*,INT);
128 GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT,
129 GDIPCONST GpFont*,GDIPCONST RectF*, GDIPCONST GpStringFormat*,
130 GDIPCONST GpBrush*);
131 GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
132 GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
133 GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*);
134 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
135 GpStatus WINGDIPAPI GdipFillPieI(GpGraphics*,GpBrush*,INT,INT,INT,INT,REAL,REAL);
136 GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,
137 INT,GpFillMode);
138 GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,
139 INT,GpFillMode);
140 GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT);
141 GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT);
142 GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
143 GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
144 GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics*,GpBrush*,GDIPCONST GpRectF*,INT);
145 GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics*,GpBrush*,GDIPCONST GpRect*,INT);
146 GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics*,CompositingMode*);
147 GpStatus WINGDIPAPI GdipGetClip(GpGraphics*,GpRegion*);
148 GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
149 GpStatus WINGDIPAPI GdipGetDC(GpGraphics*,HDC*);
150 GpStatus WINGDIPAPI GdipGetImageDimension(GpImage*,REAL*,REAL*);
151 GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
152 GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics*,REAL*);
153 GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics*,GpUnit*);
154 GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
155 GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
156 GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics*,TextRenderingHint*);
157 GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics*,GpMatrix*);
158 GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT,
159 GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*);
160 GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics*, GDIPCONST WCHAR*,
161 INT, GDIPCONST GpFont*, GDIPCONST RectF*, GDIPCONST GpStringFormat*, INT,
162 GpRegion**);
164 GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics*,HDC);
165 GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
166 GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics*,REAL,GpMatrixOrder);
167 GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
168 GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
169 GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics*,CompositingMode);
170 GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
171 GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
172 GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
173 GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
174 GpStatus WINGDIPAPI GdipSetPathMarker(GpPath*);
175 GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath*);
176 GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
177 GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
178 GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
179 GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
180 GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
182 GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
183 GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,GpPathGradient**);
184 GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint*,INT,GpWrapMode,GpPathGradient**);
185 GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
186 GpPathGradient**);
187 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
188 GpStatus WINGDIPAPI GdipCreateTexture(GpImage*,GpWrapMode,GpTexture**);
189 GpStatus WINGDIPAPI GdipCreateTexture2(GpImage*,GpWrapMode,REAL,REAL,REAL,REAL,GpTexture**);
190 GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage*,GpWrapMode,INT,INT,INT,INT,GpTexture**);
191 GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage*,GDIPCONST GpImageAttributes*,
192 REAL,REAL,REAL,REAL,GpTexture**);
193 GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*,
194 INT,INT,INT,INT,GpTexture**);
195 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
196 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
197 GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*);
198 GpStatus WINGDIPAPI GdipGetLineWrapMode(GpLineGradient*,GpWrapMode*);
199 GpStatus WINGDIPAPI GdipGetLineRect(GpLineGradient*,GpRectF*);
200 GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient*,GpRect*);
201 GpStatus WINGDIPAPI GdipGetLineColors(GpLineGradient*,ARGB*);
202 GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient*,REAL*,REAL*,INT);
203 GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient*,INT*);
204 GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*);
205 GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
206 GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
207 GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*);
208 GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*);
209 GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
210 GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient*,GpRectF*);
211 GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient*,GpRect*);
212 GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
213 ARGB*,INT*);
214 GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient*,GpWrapMode*);
215 GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
216 GpStatus WINGDIPAPI GdipGetTextureTransform(GpTexture*,GpMatrix*);
217 GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
218 GDIPCONST REAL*,INT);
219 GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
220 GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
221 GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
222 GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient*,ARGB,ARGB);
223 GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
224 GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
225 GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI(GpPathGradient*,GpPoint*);
226 GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL);
227 GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL);
228 GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
229 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
230 ARGB*,INT*);
231 GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
232 GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
233 GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*);
234 GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
235 GpPointF *, INT);
236 GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics*, GpCoordinateSpace, GpCoordinateSpace,
237 GpPoint *, INT);
239 GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
240 GpStatus WINGDIPAPI GdipAddPathArcI(GpPath*,INT,INT,INT,INT,REAL,REAL);
241 GpStatus WINGDIPAPI GdipAddPathBezier(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
242 GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath*,INT,INT,INT,INT,INT,INT,INT,INT);
243 GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);
244 GpStatus WINGDIPAPI GdipAddPathBeziersI(GpPath*,GDIPCONST GpPoint*,INT);
245 GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL);
246 GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT);
247 GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL);
248 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
249 GpStatus WINGDIPAPI GdipAddPathLine2I(GpPath*,GDIPCONST GpPoint*,INT);
250 GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT);
251 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
252 GpStatus WINGDIPAPI GdipAddPathPolygon(GpPath*,GDIPCONST GpPointF*,INT);
253 GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath*,GDIPCONST GpPoint*,INT);
254 GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL);
255 GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT);
256 GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT);
257 GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT);
258 GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**);
259 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
260 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
261 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
262 GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT,
263 GpFillMode,GpPath**);
264 GpStatus WINGDIPAPI GdipCreatePath2I(GDIPCONST GpPoint*,GDIPCONST BYTE*,INT,GpFillMode,GpPath**);
265 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
266 GpStatus WINGDIPAPI GdipGetPathData(GpPath*,GpPathData*);
267 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
268 GpStatus WINGDIPAPI GdipGetPathLastPoint(GpPath*,GpPointF*);
269 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
270 GpStatus WINGDIPAPI GdipGetPathPointsI(GpPath*,GpPoint*,INT);
271 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
272 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
273 GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
274 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
275 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*,
276 GpGraphics*,BOOL*);
277 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
278 GpGraphics*,BOOL*);
279 GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath*,REAL,REAL,GpGraphics*,BOOL*);
280 GpStatus WINGDIPAPI GdipIsVisiblePathPointI(GpPath*,INT,INT,GpGraphics*,BOOL*);
281 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
282 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
283 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
284 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
286 GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
287 GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
288 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
289 GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,GpMatrix**);
290 GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**);
291 GpStatus WINGDIPAPI GdipInvertMatrix(GpMatrix*);
292 GpStatus WINGDIPAPI GdipShearMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
293 GpStatus WINGDIPAPI GdipIsMatrixEqual(GDIPCONST GpMatrix*, GDIPCONST GpMatrix*, BOOL*);
294 GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*);
295 GpStatus WINGDIPAPI GdipIsMatrixInvertible(GDIPCONST GpMatrix*, BOOL*);
297 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
298 GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
299 GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
300 GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics*,GDIPCONST GpMatrix*,GpMatrixOrder);
301 GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
302 GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
303 GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
304 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
305 GpStatus WINGDIPAPI GdipTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
306 GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
307 GpStatus WINGDIPAPI GdipVectorTransformMatrixPointsI(GpMatrix*,GpPoint*,INT);
308 GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
310 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
311 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
312 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
313 INT,INT);
314 GpStatus WINGDIPAPI GdipPathIterNextMarker(GpPathIterator*,INT*,INT*,INT*);
315 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
316 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
317 GpStatus WINGDIPAPI GdipPathIterGetCount(GpPathIterator*,INT*);
318 GpStatus WINGDIPAPI GdipPathIterGetSubpathCount(GpPathIterator*,INT*);
319 GpStatus WINGDIPAPI GdipPathIterEnumerate(GpPathIterator*,INT*,GpPointF*,BYTE*,INT);
320 GpStatus WINGDIPAPI GdipPathIterHasCurve(GpPathIterator*,BOOL*);
322 GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
323 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
324 GpCustomLineCap**);
325 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
326 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
327 GpLineCap);
328 GpStatus WINGDIPAPI GdipGetCustomLineCapBaseCap(GpCustomLineCap*,GpLineCap*);
330 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
331 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB);
332 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
333 PixelFormat,BitmapData*);
334 GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap*,BitmapData*);
335 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*,
336 EmfType,const WCHAR*,GpMetafile**);
337 GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**);
338 GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**);
339 GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
340 GpStatus WINGDIPAPI GdipCreateBitmapFromFileICM(GDIPCONST WCHAR*,GpBitmap**);
341 GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(GDIPCONST BITMAPINFO*,VOID*,GpBitmap**);
342 GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
343 GpStatus WINGDIPAPI GdipCreateBitmapFromResource(HINSTANCE,GDIPCONST WCHAR*,GpBitmap**);
344 GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
345 GpBitmap**);
346 GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
347 GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
348 GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
349 GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*);
350 GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*);
351 GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT *numEncoders, UINT *size);
352 GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo *encoders);
353 GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP, HPALETTE, GpBitmap**);
354 GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*);
355 GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
356 GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**);
357 GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
358 GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
359 GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*);
360 GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
361 GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
362 GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
363 GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
364 GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
365 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*);
366 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*);
367 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*);
368 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*);
369 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*);
370 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*);
371 GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
372 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage*,UINT*);
373 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
374 GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
375 GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
376 GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
377 GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**);
378 GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
379 GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID);
380 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
381 GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*,
382 GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
383 GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*);
385 GpStatus WINGDIPAPI GdipCloneImage(GpImage*, GpImage**);
386 GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes*,GpImageAttributes**);
387 GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
388 GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
389 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
390 ColorAdjustType,BOOL,ARGB,ARGB);
391 GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*,
392 ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*,
393 ColorMatrixFlags);
394 GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
395 ARGB,BOOL);
397 GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily*, REAL, INT, Unit,
398 GpFont**);
399 GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC,GpFont**);
400 GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
401 GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
402 GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
403 GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
404 GpStatus WINGDIPAPI GdipCloneFont(GpFont*,GpFont**);
405 GpStatus WINGDIPAPI GdipGetFontUnit(GpFont*, Unit*);
406 GpStatus WINGDIPAPI GdipGetFontSize(GpFont*, REAL*);
407 GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont*, REAL, REAL*);
409 GpStatus WINGDIPAPI GdipCreateFontFamilyFromName(GDIPCONST WCHAR*,
410 GpFontCollection*, GpFontFamily**);
411 GpStatus WINGDIPAPI GdipCloneFontFamily(GpFontFamily*, GpFontFamily**);
412 GpStatus WINGDIPAPI GdipDeleteFontFamily(GpFontFamily*);
413 GpStatus WINGDIPAPI GdipGetFamilyName(GDIPCONST GpFontFamily*, WCHAR*, LANGID);
414 GpStatus WINGDIPAPI GdipGetCellAscent(GDIPCONST GpFontFamily*, INT, UINT16*);
415 GpStatus WINGDIPAPI GdipGetCellDescent(GDIPCONST GpFontFamily*, INT, UINT16*);
416 GpStatus WINGDIPAPI GdipGetEmHeight(GDIPCONST GpFontFamily*, INT, UINT16*);
417 GpStatus WINGDIPAPI GdipGetLineSpacing(GDIPCONST GpFontFamily*, INT, UINT16*);
419 GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily**);
420 GpStatus WINGDIPAPI GdipGetGenericFontFamilySerif(GpFontFamily**);
421 GpStatus WINGDIPAPI GdipGetGenericFontFamilyMonospace(GpFontFamily**);
423 GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection**);
425 GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
426 GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
427 GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
428 GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
429 GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*);
430 GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
431 GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
432 GpStatus WINGDIPAPI GdipGetStringFormatMeasurableCharacterRangeCount(
433 GDIPCONST GpStringFormat*, INT*);
434 GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
435 GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
436 GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
437 GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
438 GpStatus WINGDIPAPI GdipSetStringFormatMeasurableCharacterRanges(
439 GpStringFormat*, INT, GDIPCONST CharacterRange*);
440 GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
441 GpStatus WINGDIPAPI GdipCloneStringFormat(GDIPCONST GpStringFormat*,GpStringFormat**);
443 GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics*,REAL*);
444 GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics*,REAL*);
446 GpStatus WINGDIPAPI GdipCloneRegion(GpRegion *, GpRegion **);
447 GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *, GpPath *, CombineMode);
448 GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *, GDIPCONST GpRectF *, CombineMode);
449 GpStatus WINGDIPAPI GdipCombineRegionRectI(GpRegion *, GDIPCONST GpRect *, CombineMode);
450 GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *, GpRegion *, CombineMode);
451 GpStatus WINGDIPAPI GdipCreateRegion(GpRegion **);
452 GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *, GpRegion **);
453 GpStatus WINGDIPAPI GdipCreateRegionRect(GDIPCONST GpRectF *, GpRegion **);
454 GpStatus WINGDIPAPI GdipCreateRegionRectI(GDIPCONST GpRect *, GpRegion **);
455 GpStatus WINGDIPAPI GdipCreateRegionRgnData(GDIPCONST BYTE *, INT, GpRegion **);
456 GpStatus WINGDIPAPI GdipCreateRegionHrgn(HRGN, GpRegion **);
457 GpStatus WINGDIPAPI GdipDeleteRegion(GpRegion *);
458 GpStatus WINGDIPAPI GdipGetRegionBounds(GpRegion *, GpGraphics *, GpRectF *);
459 GpStatus WINGDIPAPI GdipGetRegionBoundsI(GpRegion *, GpGraphics *, GpRect *);
460 GpStatus WINGDIPAPI GdipGetRegionData(GpRegion *, BYTE *, UINT, UINT *);
461 GpStatus WINGDIPAPI GdipGetRegionDataSize(GpRegion *, UINT *);
462 GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
463 GpStatus WINGDIPAPI GdipIsEmptyRegion(GpRegion *, GpGraphics *, BOOL *);
464 GpStatus WINGDIPAPI GdipIsEqualRegion(GpRegion *, GpRegion *, GpGraphics *, BOOL *);
465 GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *, GpGraphics *, BOOL *);
466 GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
467 GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
468 GpStatus WINGDIPAPI GdipTransformRegion(GpRegion *, GpMatrix *);
469 GpStatus WINGDIPAPI GdipTranslateRegion(GpRegion *, REAL, REAL);
470 GpStatus WINGDIPAPI GdipTranslateRegionI(GpRegion *, INT, INT);
472 GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention);
474 #ifdef __cplusplus
476 #endif
478 #endif