gdiplusgpstubs.h 3.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/*
 * Copyright (C) 2007 Google (Evan Stade)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

#ifndef _GDIPLUSGPSTUBS_H
#define _GDIPLUSGPSTUBS_H

#ifdef __cplusplus

class GpGraphics {};
25
class GpPen {};
26
class GpBrush {};
27
class GpHatch : public GpBrush {};
28
class GpSolidFill : public GpBrush {};
29
class GpPath {};
30
class GpMatrix {};
31
class GpPathIterator {};
32
class GpCustomLineCap {};
33
class GpAdjustableArrowCap : public GpCustomLineCap {};
34 35
class GpImage {};
class GpMetafile : public GpImage {};
36
class GpImageAttributes {};
37
class GpCachedBitmap {};
38
class GpBitmap : public GpImage {};
39
class GpPathGradient : public GpBrush {};
40
class GpLineGradient : public GpBrush {};
41
class GpTexture : public GpBrush {};
42
class GpFont {};
43 44
class GpFontCollection {};
class GpFontFamily {};
45
class GpStringFormat {};
46
class GpRegion {};
47
class CGpEffect {};
48 49 50 51 52 53

#else /* end of c++ declarations */

typedef struct GpGraphics GpGraphics;
typedef struct GpPen GpPen;
typedef struct GpBrush GpBrush;
54
typedef struct GpHatch GpHatch;
55
typedef struct GpSolidFill GpSolidFill;
56
typedef struct GpPath GpPath;
57
typedef struct GpMatrix GpMatrix;
58
typedef struct GpPathIterator GpPathIterator;
59
typedef struct GpCustomLineCap GpCustomLineCap;
60
typedef struct GpAdjustableArrowCap GpAdjustableArrowCap;
61 62
typedef struct GpImage GpImage;
typedef struct GpMetafile GpMetafile;
63
typedef struct GpImageAttributes GpImageAttributes;
64
typedef struct GpCachedBitmap GpCachedBitmap;
65
typedef struct GpBitmap GpBitmap;
66
typedef struct GpPathGradient GpPathGradient;
67
typedef struct GpLineGradient GpLineGradient;
68
typedef struct GpTexture GpTexture;
69
typedef struct GpFont GpFont;
70 71
typedef struct GpFontCollection GpFontCollection;
typedef struct GpFontFamily GpFontFamily;
72
typedef struct GpStringFormat GpStringFormat;
73
typedef struct GpRegion GpRegion;
74
typedef struct CGpEffect CGpEffect;
75 76 77 78 79 80

#endif /* end of c declarations */

typedef Status GpStatus;
typedef Unit GpUnit;
typedef BrushType GpBrushType;
81
typedef PointF GpPointF;
82 83
typedef FillMode GpFillMode;
typedef PathData GpPathData;
84
typedef LineCap GpLineCap;
85
typedef RectF GpRectF;
86
typedef Rect GpRect;
87
typedef LineJoin GpLineJoin;
88
typedef DashCap GpDashCap;
89
typedef DashStyle GpDashStyle;
90
typedef MatrixOrder GpMatrixOrder;
91
typedef Point GpPoint;
92
typedef WrapMode GpWrapMode;
93
typedef Color GpColor;
94
typedef FlushIntention GpFlushIntention;
95
typedef CoordinateSpace GpCoordinateSpace;
96
typedef PenAlignment GpPenAlignment;
97
typedef PenType GpPenType;
98 99

#endif