Annotate with allocation size attribute.
[wine] / include / gdiplusgpstubs.h
1 /*
2  * Copyright (C) 2007 Google (Evan Stade)
3  *
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.
8  *
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.
13  *
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
17  */
18
19 #ifndef _GDIPLUSGPSTUBS_H
20 #define _GDIPLUSGPSTUBS_H
21
22 #ifdef __cplusplus
23
24 class GpGraphics {};
25 class GpBrush {};
26 class GpSolidFill : public GpBrush {};
27 class GpPath {};
28 class GpMatrix {};
29 class GpPathIterator {};
30 class GpCustomLineCap {};
31 class GpAdjustableArrowCap : public GpCustomLineCap {};
32 class GpImage {};
33 class GpMetafile : public GpImage {};
34 class GpImageAttributes {};
35 class GpBitmap : public GpImage {};
36 class GpPathGradient : public GpBrush {};
37 class GpLineGradient : public GpBrush {};
38 class GpTexture : public GpBrush {};
39 class GpFont {};
40 class GpFontCollection {};
41 class GpFontFamily {};
42 class GpStringFormat {};
43 class GpRegion {};
44 class CGpEffect {};
45
46 #else /* end of c++ declarations */
47
48 typedef struct GpGraphics GpGraphics;
49 typedef struct GpPen GpPen;
50 typedef struct GpBrush GpBrush;
51 typedef struct GpSolidFill GpSolidFill;
52 typedef struct GpPath GpPath;
53 typedef struct GpMatrix GpMatrix;
54 typedef struct GpPathIterator GpPathIterator;
55 typedef struct GpCustomLineCap GpCustomLineCap;
56 typedef struct GpAdjustableArrowCap GpAdjustableArrowCap;
57 typedef struct GpImage GpImage;
58 typedef struct GpMetafile GpMetafile;
59 typedef struct GpImageAttributes GpImageAttributes;
60 typedef struct GpBitmap GpBitmap;
61 typedef struct GpPathGradient GpPathGradient;
62 typedef struct GpLineGradient GpLineGradient;
63 typedef struct GpTexture GpTexture;
64 typedef struct GpFont GpFont;
65 typedef struct GpFontCollection GpFontCollection;
66 typedef struct GpFontFamily GpFontFamily;
67 typedef struct GpStringFormat GpStringFormat;
68 typedef struct GpRegion GpRegion;
69 typedef struct CGpEffect CGpEffect;
70
71 #endif /* end of c declarations */
72
73 typedef Status GpStatus;
74 typedef Unit GpUnit;
75 typedef BrushType GpBrushType;
76 typedef PointF GpPointF;
77 typedef FillMode GpFillMode;
78 typedef PathData GpPathData;
79 typedef LineCap GpLineCap;
80 typedef RectF GpRectF;
81 typedef Rect GpRect;
82 typedef LineJoin GpLineJoin;
83 typedef DashCap GpDashCap;
84 typedef DashStyle GpDashStyle;
85 typedef MatrixOrder GpMatrixOrder;
86 typedef Point GpPoint;
87 typedef WrapMode GpWrapMode;
88 typedef Color GpColor;
89 typedef FlushIntention GpFlushIntention;
90 typedef CoordinateSpace GpCoordinateSpace;
91
92 #endif