OSDN Git Service

0fa3e50bf2cc3e55fc61a7b72a869412229b9fc8
[mingw/mingw-org-wsl.git] / w32api / include / gdiplus / gdiplusgpstubs.h
1 /*\r
2  * gdiplusgpstubs.h\r
3  *\r
4  * GDI+ Gp* type declarations\r
5  *\r
6  * This file is part of the w32api package.\r
7  *\r
8  * Contributors:\r
9  *   Created by Markus Koenig <markus@stber-koenig.de>\r
10  *\r
11  * THIS SOFTWARE IS NOT COPYRIGHTED\r
12  *\r
13  * This source code is offered for use in the public domain. You may\r
14  * use, modify or distribute it freely.\r
15  *\r
16  * This code is distributed in the hope that it will be useful but\r
17  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY\r
18  * DISCLAIMED. This includes but is not limited to warranties of\r
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r
20  *\r
21  */\r
22 \r
23 #ifndef __GDIPLUS_GPSTUBS_H\r
24 #define __GDIPLUS_GPSTUBS_H\r
25 #if __GNUC__ >=3\r
26 #pragma GCC system_header\r
27 #endif\r
28 \r
29 typedef Point GpPoint;\r
30 typedef PointF GpPointF;\r
31 typedef Rect GpRect;\r
32 typedef RectF GpRectF;\r
33 typedef Size GpSize;\r
34 typedef SizeF GpSizeF;\r
35 \r
36 typedef enum BrushType GpBrushType;\r
37 typedef enum CombineMode GpCombineMode;\r
38 typedef enum CompositingMode GpCompositingMode;\r
39 typedef enum CompositingQuality GpCompositingQuality;\r
40 typedef enum CoordinateSpace GpCoordinateSpace;\r
41 typedef enum CustomLineCapType GpCustomLineCapType;\r
42 typedef enum DashCap GpDashCap;\r
43 typedef enum DashStyle GpDashStyle;\r
44 typedef enum DitherType GpDitherType;\r
45 typedef enum DriverStringOptions GpDriverStringOptions;\r
46 typedef enum EmfPlusRecordType GpEmfPlusRecordType;\r
47 typedef enum EmfToWmfBitsFlags GpEmfToWmfBitsFlags;\r
48 typedef enum EmfType GpEmfType;\r
49 typedef enum EncoderParameterValueType GpEncoderParameterValueType;\r
50 typedef enum EncoderValue GpEncoderValue;\r
51 typedef enum FillMode GpFillMode;\r
52 typedef enum FlushIntention GpFlushIntention;\r
53 typedef enum FontStyle GpFontStyle;\r
54 typedef enum HatchStyle GpHatchStyle;\r
55 typedef enum HotkeyPrefix GpHotkeyPrefix;\r
56 typedef enum ImageType GpImageType;\r
57 typedef enum InterpolationMode GpInterpolationMode;\r
58 typedef enum LinearGradientMode GpLinearGradientMode;\r
59 typedef enum LineCap GpLineCap;\r
60 typedef enum LineJoin GpLineJoin;\r
61 typedef enum MatrixOrder GpMatrixOrder;\r
62 typedef enum MetafileFrameUnit GpMetafileFrameUnit;\r
63 typedef enum MetafileType GpMetafileType;\r
64 typedef enum ObjectType GpObjectType;\r
65 typedef enum PathPointType GpPathPointType;\r
66 typedef enum PenAlignment GpPenAlignment;\r
67 typedef enum PenType GpPenType;\r
68 typedef enum PixelOffsetMode GpPixelOffsetMode;\r
69 typedef enum QualityMode GpQualityMode;\r
70 typedef enum SmoothingMode GpSmoothingMode;\r
71 typedef enum StringAlignment GpStringAlignment;\r
72 typedef enum StringDigitSubstitute GpStringDigitSubstitute;\r
73 typedef enum StringFormatFlags GpStringFormatFlags;\r
74 typedef enum StringTrimming GpStringTrimming;\r
75 typedef enum TextRenderingHint GpTextRenderingHint;\r
76 typedef enum Unit GpUnit;\r
77 typedef enum WarpMode GpWarpMode;\r
78 typedef enum WrapMode GpWrapMode;\r
79 \r
80 #ifdef __cplusplus\r
81 \r
82 class CGpEffect {}; \r
83 class GpCustomLineCap {};\r
84 class GpImage {};\r
85 \r
86 class GpAdjustableArrowCap: public GpCustomLineCap {};\r
87 class GpBitmap: public GpImage {};\r
88 class GpBrush {};\r
89 class GpCachedBitmap {};\r
90 class GpFont {};\r
91 class GpFontCollection {};\r
92 class GpFontFamily {};\r
93 class GpGraphics {};\r
94 class GpHatch: public GpBrush {};         /* HatchBrush */\r
95 class GpImageAttributes {};\r
96 class GpLineGradient: public GpBrush {};  /* LinearGradientBrush */\r
97 class GpMatrix {};\r
98 class GpMetafile: public GpImage {};\r
99 class GpPath {};                          /* GraphicsPath */\r
100 class GpPathData {};\r
101 class GpPathGradient: public GpBrush {};  /* PathGradientBrush */\r
102 class GpPathIterator {};                  /* GraphicsPathIterator */\r
103 class GpPen {};\r
104 class GpRegion {};\r
105 class GpSolidFill: public GpBrush {};     /* SolidBrush */\r
106 class GpStringFormat {};\r
107 class GpTexture: public GpBrush {};       /* TextureBrush */\r
108 \r
109 #else /* !__cplusplus */\r
110 \r
111 typedef void CGpEffect;\r
112 typedef void GpAdjustableArrowCap;\r
113 typedef void GpBitmap;\r
114 typedef void GpBrush;\r
115 typedef void GpCachedBitmap;\r
116 typedef void GpCustomLineCap;\r
117 typedef void GpFont;\r
118 typedef void GpFontFamily;\r
119 typedef void GpFontCollection;\r
120 typedef void GpGraphics;\r
121 typedef void GpHatch;\r
122 typedef void GpImage;\r
123 typedef void GpImageAttributes;\r
124 typedef void GpLineGradient;\r
125 typedef void GpMatrix;\r
126 typedef void GpMetafile;\r
127 typedef void GpPath;\r
128 typedef void GpPathData;\r
129 typedef void GpPathGradient;\r
130 typedef void GpPathIterator;\r
131 typedef void GpPen;\r
132 typedef void GpRegion;\r
133 typedef void GpSolidFill;\r
134 typedef void GpStringFormat;\r
135 typedef void GpTexture;\r
136 \r
137 #endif /* !__cplusplus */\r
138 \r
139 #endif /* __GDIPLUS_GPSTUBS_H */\r