source: Daodan/MinGW/include/gdiplus/gdiplusgpstubs.h@ 1087

Last change on this file since 1087 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

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