msi: Only double the size if the remote call is from MsiGetPropertyA.
[wine/multimedia.git] / include / gdiplusflat.h
blobfb760f00a71c571978f96517e512429be206316c
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 GdipCreatePen1(ARGB,REAL,GpUnit,GpPen**);
31 GpStatus WINGDIPAPI GdipDeletePen(GpPen*);
32 GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
33 GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen*,GpLineCap);
34 GpStatus WINGDIPAPI GdipSetPenLineCap197819(GpPen*,GpLineCap,GpLineCap,GpDashCap);
35 GpStatus WINGDIPAPI GdipSetPenLineJoin(GpPen*,GpLineJoin);
36 GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
38 GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**);
39 GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
40 GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *);
41 GpStatus WINGDIPAPI GdipDrawArc(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
42 GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,
43 REAL,REAL,REAL);
44 GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT,REAL);
45 GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics*,GpPen*,INT,INT,INT,INT);
46 GpStatus WINGDIPAPI GdipDrawLines(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
47 GpStatus WINGDIPAPI GdipDrawPath(GpGraphics*,GpPen*,GpPath*);
48 GpStatus WINGDIPAPI GdipDrawPie(GpGraphics*,GpPen*,REAL,REAL,REAL,REAL,REAL,REAL);
49 GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics*,GpPen*,INT,INT,INT,INT);
50 GpStatus WINGDIPAPI GdipFillPath(GpGraphics*,GpBrush*,GpPath*);
51 GpStatus WINGDIPAPI GdipFillPie(GpGraphics*,GpBrush*,REAL,REAL,REAL,REAL,REAL,REAL);
52 GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics*,CompositingQuality*);
53 GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics*,InterpolationMode*);
54 GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics*,PixelOffsetMode*);
55 GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics*,SmoothingMode*);
56 GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics*,GraphicsState);
57 GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics*,GraphicsState*);
58 GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics*,CompositingQuality);
59 GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics*,InterpolationMode);
60 GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
61 GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
63 GpStatus WINGDIPAPI GdipCreateSolidFill(ARGB,GpSolidFill**);
64 GpStatus WINGDIPAPI GdipGetBrushType(GpBrush*,GpBrushType*);
65 GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush*);
67 GpStatus WINGDIPAPI GdipAddPathArc(GpPath*,REAL,REAL,REAL,REAL,REAL,REAL);
68 GpStatus WINGDIPAPI GdipAddPathBeziers(GpPath*,GDIPCONST GpPointF*,INT);
69 GpStatus WINGDIPAPI GdipAddPathLine2(GpPath*,GDIPCONST GpPointF*,INT);
70 GpStatus WINGDIPAPI GdipAddPathPath(GpPath*,GDIPCONST GpPath*,BOOL);
71 GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
72 GpStatus WINGDIPAPI GdipClosePathFigures(GpPath*);
73 GpStatus WINGDIPAPI GdipCreatePath(GpFillMode,GpPath**);
74 GpStatus WINGDIPAPI GdipDeletePath(GpPath*);
75 GpStatus WINGDIPAPI GdipGetPathFillMode(GpPath*,GpFillMode*);
76 GpStatus WINGDIPAPI GdipGetPathPoints(GpPath*,GpPointF*,INT);
77 GpStatus WINGDIPAPI GdipGetPathTypes(GpPath*,BYTE*,INT);
78 GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath*,GpRectF*,GDIPCONST GpMatrix*,
79 GDIPCONST GpPen*);
80 GpStatus WINGDIPAPI GdipGetPointCount(GpPath*,INT*);
81 GpStatus WINGDIPAPI GdipStartPathFigure(GpPath*);
82 GpStatus WINGDIPAPI GdipResetPath(GpPath*);
83 GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
84 GpStatus WINGDIPAPI GdipTransformPath(GpPath*,GpMatrix*);
86 GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
87 GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
88 GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
90 GpStatus WINGDIPAPI GdipCreatePathIter(GpPathIterator**,GpPath*);
91 GpStatus WINGDIPAPI GdipDeletePathIter(GpPathIterator*);
92 GpStatus WINGDIPAPI GdipPathIterCopyData(GpPathIterator*,INT*,GpPointF*,BYTE*,
93 INT,INT);
94 GpStatus WINGDIPAPI GdipPathIterNextSubpath(GpPathIterator*,INT*,INT*,INT*,BOOL*);
95 GpStatus WINGDIPAPI GdipPathIterRewind(GpPathIterator*);
97 #ifdef __cplusplus
99 #endif
101 #endif