user32: Properly handle integer atoms specified as strings in class names.
[wine/multimedia.git] / include / gdiplusflat.h
blob05ed7428c29319636f2078b7c129edb3c361194f
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 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);
53 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
54 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
55 GpStatus WINGDIPAPI GdipCreateLineBrush(GDIPCONST GpPointF*,GDIPCONST GpPointF*,
56 ARGB,ARGB,GpWrapMode,GpLineGradient**);
57 GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint*,GDIPCONST GpPoint*,
58 ARGB,ARGB,GpWrapMode,GpLineGradient**);
59 GpStatus WINGDIPAPI GdipCreateLineBrushFromRect(GDIPCONST GpRectF*,ARGB,ARGB,
60 LinearGradientMode,GpWrapMode,GpLineGradient**);
61 GpStatus WINGDIPAPI GdipCreateLineBrushFromRectI(GDIPCONST GpRect*,ARGB,ARGB,
62 LinearGradientMode,GpWrapMode,GpLineGradient**);
63 GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE,BOOL,GpMetafile**);
64 GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE,BOOL,
65 GDIPCONST WmfPlaceableFileHeader*,GpMetafile**);
66 GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR*,UINT,IStream**);
67 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
68 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
69 GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
70 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL,REAL,REAL);
71 GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics*,GpPen*,INT,INT,INT,INT,INT,INT,INT,INT);
72 GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
73 GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
74 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
75 GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT,REAL);
76 GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics*,GpImage*,INT,INT);
77 GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
78 GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,
79 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
80 GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*,
81 GDIPCONST GpPointF*,INT,INT,INT,INT,INT,GpUnit,
82 GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
83 GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics*,GpImage*,REAL,REAL,REAL,
84 REAL,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
85 VOID*);
86 GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics*,GpImage*,INT,INT,INT,
87 INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,
88 VOID*);
89 GpStatus WINGDIPAPI GdipDrawLine(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
90 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
91 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
92 GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics*,GpPen*,GDIPCONST GpPoint*,INT);
93 GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
94 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
95 GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics*,GpPen*,INT,INT,INT,INT,REAL,REAL);
96 GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL);
97 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
98 GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics*,GpPen*,GDIPCONST GpRectF*,INT);
99 GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics*,GpPen*,GDIPCONST GpRect*,INT);
100 GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT,
101 GDIPCONST GpFont*,GDIPCONST RectF*, GDIPCONST GpStringFormat*,
102 GDIPCONST GpBrush*);
103 GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*);
104 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
105 GpStatus WINGDIPAPI GdipFillPieI(GpGraphics*,GpBrush*,INT,INT,INT,INT,REAL,REAL);
106 GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,
107 INT,GpFillMode);
108 GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,
109 INT,GpFillMode);
110 GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics*,GpBrush*,GDIPCONST GpPointF*,INT);
111 GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics*,GpBrush*,GDIPCONST GpPoint*,INT);
112 GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL);
113 GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics*,GpBrush*,INT,INT,INT,INT);
114 GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics*,CompositingMode*);
115 GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
116 GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
117 GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics*,REAL*);
118 GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics*,GpUnit*);
119 GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
120 GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
121 GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics*,TextRenderingHint*);
122 GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics*,GpMatrix*);
123 GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT,
124 GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*);
125 GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
126 GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics*,REAL,GpMatrixOrder);
127 GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
128 GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
129 GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics*,CompositingMode);
130 GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
131 GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
132 GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics*,REAL);
133 GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
134 GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
135 GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
136 GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics*,TextRenderingHint);
137 GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
138 GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
140 GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
141 GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,GpPathGradient**);
142 GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint*,INT,GpWrapMode,GpPathGradient**);
143 GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath*,
144 GpPathGradient**);
145 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
146 GpStatus WINGDIPAPI GdipCreateTexture(GpImage*,GpWrapMode,GpTexture**);
147 GpStatus WINGDIPAPI GdipCreateTexture2(GpImage*,GpWrapMode,REAL,REAL,REAL,REAL,GpTexture**);
148 GpStatus WINGDIPAPI GdipCreateTexture2I(GpImage*,GpWrapMode,INT,INT,INT,INT,GpTexture**);
149 GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage*,GDIPCONST GpImageAttributes*,
150 REAL,REAL,REAL,REAL,GpTexture**);
151 GpStatus WINGDIPAPI GdipCreateTextureIAI(GpImage*,GDIPCONST GpImageAttributes*,
152 INT,INT,INT,INT,GpTexture**);
153 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
154 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
155 GpStatus WINGDIPAPI GdipGetLineGammaCorrection(GpLineGradient*,BOOL*);
156 GpStatus WINGDIPAPI GdipGetPathGradientCenterColor(GpPathGradient*,ARGB*);
157 GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
158 GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient*,REAL*,REAL*);
159 GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient*,BOOL*);
160 GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient*,INT*);
161 GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount(GpPathGradient*,
162 ARGB*,INT*);
163 GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient*,GpWrapMode*);
164 GpStatus WINGDIPAPI GdipGetSolidFillColor(GpSolidFill*,ARGB*);
165 GpStatus WINGDIPAPI GdipGetTextureTransform(GpTexture*,GpMatrix*);
166 GpStatus WINGDIPAPI GdipSetLineBlend(GpLineGradient*,GDIPCONST REAL*,
167 GDIPCONST REAL*,INT);
168 GpStatus WINGDIPAPI GdipSetLineGammaCorrection(GpLineGradient*,BOOL);
169 GpStatus WINGDIPAPI GdipSetLineSigmaBlend(GpLineGradient*,REAL,REAL);
170 GpStatus WINGDIPAPI GdipSetLineWrapMode(GpLineGradient*,GpWrapMode);
171 GpStatus WINGDIPAPI GdipSetPathGradientCenterColor(GpPathGradient*,ARGB);
172 GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint(GpPathGradient*,GpPointF*);
173 GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient*,REAL,REAL);
174 GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient*,BOOL);
175 GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient*,REAL,REAL);
176 GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount(GpPathGradient*,
177 ARGB*,INT*);
178 GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient*,GpWrapMode);
179 GpStatus WINGDIPAPI GdipSetSolidFillColor(GpSolidFill*,ARGB);
180 GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *,GDIPCONST GpMatrix*);
182 GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
183 GpStatus WINGDIPAPI GdipAddPathBezierI(GpPath*,INT,INT,INT,INT,INT,INT,INT,INT);
184 GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);
185 GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath*,REAL,REAL,REAL,REAL);
186 GpStatus WINGDIPAPI GdipAddPathEllipseI(GpPath*,INT,INT,INT,INT);
187 GpStatus WINGDIPAPI GdipAddPathLine(GpPath*,REAL,REAL,REAL,REAL);
188 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
189 GpStatus WINGDIPAPI GdipAddPathLineI(GpPath*,INT,INT,INT,INT);
190 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
191 GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**);
192 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
193 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
194 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
195 GpStatus WINGDIPAPI GdipCreatePath2(GDIPCONST GpPointF*,GDIPCONST BYTE*,INT,
196 GpFillMode,GpPath**);
197 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
198 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
199 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
200 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
201 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
202 GpStatus WINGDIPAPI GdipGetPathWorldBoundsI(GpPath*,GpRect*,GDIPCONST GpMatrix*,GDIPCONST GpPen*);
203 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
204 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPoint(GpPath*,REAL,REAL,GpPen*,
205 GpGraphics*,BOOL*);
206 GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath*,INT,INT,GpPen*,
207 GpGraphics*,BOOL*);
208 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
209 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
210 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
211 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
213 GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
214 GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
215 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
216 GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,
217 GpMatrix**);
218 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
219 GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
220 GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
221 GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
222 GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
223 GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
224 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
225 GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
227 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
228 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
229 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
230 INT,INT);
231 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
232 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
234 GpStatus WINGDIPAPI GdipCloneCustomLineCap(GpCustomLineCap*,GpCustomLineCap**);
235 GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
236 GpCustomLineCap**);
237 GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
238 GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
239 GpLineCap);
241 GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
242 GpStatus WINGDIPAPI GdipBitmapSetPixel(GpBitmap*,INT,INT,ARGB);
243 GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
244 PixelFormat,BitmapData*);
245 GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,INT*,
246 EmfType,const WCHAR*,GpMetafile**);
247 GpStatus WINGDIPAPI GdipConvertToEmfPlusToFile(const GpGraphics*,GpMetafile*,INT*,const WCHAR*,EmfType,const WCHAR*,GpMetafile**);
248 GpStatus WINGDIPAPI GdipConvertToEmfPlusToStream(const GpGraphics*,GpMetafile*,INT*,IStream*,EmfType,const WCHAR*,GpMetafile**);
249 GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
250 GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
251 GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
252 GpBitmap**);
253 GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
254 GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
255 GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
256 GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage*,ImageItemData*);
257 GpStatus WINGDIPAPI GdipFindNextImageItem(GpImage*,ImageItemData*);
258 GpStatus WINGDIPAPI GdipGetImageItemData(GpImage*,ImageItemData*);
259 GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
260 GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage*,GpGraphics**);
261 GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
262 GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
263 GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage*,PixelFormat*);
264 GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
265 GpStatus WINGDIPAPI GdipGetImageType(GpImage*,ImageType*);
266 GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage*,REAL*);
267 GpStatus WINGDIPAPI GdipGetImageWidth(GpImage*,UINT*);
268 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE,MetafileHeader*);
269 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR*,MetafileHeader*);
270 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader*);
271 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream*,MetafileHeader*);
272 GpStatus WINGDIPAPI GdipGetMetafileHeaderFromWmf(HMETAFILE,GDIPCONST WmfPlaceableFileHeader*,MetafileHeader*);
273 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*);
274 GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*);
275 GpStatus WINGDIPAPI GdipImageGetFrameDimensionsList(GpImage*,GUID*,UINT);
276 GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage*,GDIPCONST GUID*,UINT);
277 GpStatus WINGDIPAPI GdipLoadImageFromFile(GDIPCONST WCHAR*,GpImage**);
278 GpStatus WINGDIPAPI GdipLoadImageFromFileICM(GDIPCONST WCHAR*,GpImage**);
279 GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream*,GpImage**);
280 GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
281 GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID);
282 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage*,GDIPCONST WCHAR*,GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
283 GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*,
284 GDIPCONST CLSID*,GDIPCONST EncoderParameters*);
285 GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*);
287 GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**);
288 GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);
289 GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(GpImageAttributes*,
290 ColorAdjustType,BOOL,ARGB,ARGB);
291 GpStatus WINGDIPAPI GdipSetImageAttributesColorMatrix(GpImageAttributes*,
292 ColorAdjustType,BOOL,GDIPCONST ColorMatrix*,GDIPCONST ColorMatrix*,
293 ColorMatrixFlags);
294 GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(GpImageAttributes*,WrapMode,
295 ARGB,BOOL);
297 GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC,GDIPCONST LOGFONTA*,GpFont**);
298 GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC,GDIPCONST LOGFONTW*,GpFont**);
299 GpStatus WINGDIPAPI GdipDeleteFont(GpFont*);
300 GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
302 GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
303 GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
304 GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
305 GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
306 GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
307 GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
308 GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
309 GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat*,INT);
310 GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(GpStringFormat*,StringAlignment);
311 GpStatus WINGDIPAPI GdipSetStringFormatTrimming(GpStringFormat*,StringTrimming);
313 #ifdef __cplusplus
315 #endif
317 #endif