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