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 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef _GDIPLUSGPSTUBS_H
|
---|
29 | #define _GDIPLUSGPSTUBS_H
|
---|
30 |
|
---|
31 | #ifdef __cplusplus
|
---|
32 |
|
---|
33 | class GpGraphics {};
|
---|
34 | class GpBrush {};
|
---|
35 | class GpHatch : public GpBrush {};
|
---|
36 | class GpSolidFill : public GpBrush {};
|
---|
37 | class GpPath {};
|
---|
38 | class GpMatrix {};
|
---|
39 | class GpPathIterator {};
|
---|
40 | class GpCustomLineCap {};
|
---|
41 | class GpAdjustableArrowCap : public GpCustomLineCap {};
|
---|
42 | class GpImage {};
|
---|
43 | class GpMetafile : public GpImage {};
|
---|
44 | class GpImageAttributes {};
|
---|
45 | class GpCachedBitmap {};
|
---|
46 | class GpBitmap : public GpImage {};
|
---|
47 | class GpPathGradient : public GpBrush {};
|
---|
48 | class GpLineGradient : public GpBrush {};
|
---|
49 | class GpTexture : public GpBrush {};
|
---|
50 | class GpFont {};
|
---|
51 | class GpFontCollection {};
|
---|
52 | class GpFontFamily {};
|
---|
53 | class GpStringFormat {};
|
---|
54 | class GpRegion {};
|
---|
55 | class CGpEffect {};
|
---|
56 |
|
---|
57 | #else /* end of c++ declarations */
|
---|
58 |
|
---|
59 | typedef struct GpGraphics GpGraphics;
|
---|
60 | typedef struct GpPen GpPen;
|
---|
61 | typedef struct GpBrush GpBrush;
|
---|
62 | typedef struct GpHatch GpHatch;
|
---|
63 | typedef struct GpSolidFill GpSolidFill;
|
---|
64 | typedef struct GpPath GpPath;
|
---|
65 | typedef struct GpMatrix GpMatrix;
|
---|
66 | typedef struct GpPathIterator GpPathIterator;
|
---|
67 | typedef struct GpCustomLineCap GpCustomLineCap;
|
---|
68 | typedef struct GpAdjustableArrowCap GpAdjustableArrowCap;
|
---|
69 | typedef struct GpImage GpImage;
|
---|
70 | typedef struct GpMetafile GpMetafile;
|
---|
71 | typedef struct GpImageAttributes GpImageAttributes;
|
---|
72 | typedef struct GpCachedBitmap GpCachedBitmap;
|
---|
73 | typedef struct GpBitmap GpBitmap;
|
---|
74 | typedef struct GpPathGradient GpPathGradient;
|
---|
75 | typedef struct GpLineGradient GpLineGradient;
|
---|
76 | typedef struct GpTexture GpTexture;
|
---|
77 | typedef struct GpFont GpFont;
|
---|
78 | typedef struct GpFontCollection GpFontCollection;
|
---|
79 | typedef struct GpFontFamily GpFontFamily;
|
---|
80 | typedef struct GpStringFormat GpStringFormat;
|
---|
81 | typedef struct GpRegion GpRegion;
|
---|
82 | typedef struct CGpEffect CGpEffect;
|
---|
83 |
|
---|
84 | #endif /* end of c declarations */
|
---|
85 |
|
---|
86 | typedef Status GpStatus;
|
---|
87 | typedef Unit GpUnit;
|
---|
88 | typedef BrushType GpBrushType;
|
---|
89 | typedef PointF GpPointF;
|
---|
90 | typedef FillMode GpFillMode;
|
---|
91 | typedef PathData GpPathData;
|
---|
92 | typedef LineCap GpLineCap;
|
---|
93 | typedef RectF GpRectF;
|
---|
94 | typedef Rect GpRect;
|
---|
95 | typedef LineJoin GpLineJoin;
|
---|
96 | typedef DashCap GpDashCap;
|
---|
97 | typedef DashStyle GpDashStyle;
|
---|
98 | typedef MatrixOrder GpMatrixOrder;
|
---|
99 | typedef Point GpPoint;
|
---|
100 | typedef WrapMode GpWrapMode;
|
---|
101 | typedef Color GpColor;
|
---|
102 | typedef FlushIntention GpFlushIntention;
|
---|
103 | typedef CoordinateSpace GpCoordinateSpace;
|
---|
104 | typedef PenType GpPenType;
|
---|
105 |
|
---|
106 | #endif
|
---|