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