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 { 26 }; 27 class GpPen 28 { 29 }; 30 class GpBrush 31 { 32 }; 33 class GpHatch : public GpBrush 34 { 35 }; 36 class GpSolidFill : public GpBrush 37 { 38 }; 39 class GpPath 40 { 41 }; 42 class GpMatrix 43 { 44 }; 45 class GpPathIterator 46 { 47 }; 48 class GpCustomLineCap 49 { 50 }; 51 class GpAdjustableArrowCap : public GpCustomLineCap 52 { 53 }; 54 class GpImage 55 { 56 }; 57 class GpMetafile : public GpImage 58 { 59 }; 60 class GpImageAttributes 61 { 62 }; 63 class GpCachedBitmap 64 { 65 }; 66 class GpBitmap : public GpImage 67 { 68 }; 69 class GpPathGradient : public GpBrush 70 { 71 }; 72 class GpLineGradient : public GpBrush 73 { 74 }; 75 class GpTexture : public GpBrush 76 { 77 }; 78 class GpFont 79 { 80 }; 81 class GpFontCollection 82 { 83 }; 84 class GpFontFamily 85 { 86 }; 87 class GpStringFormat 88 { 89 }; 90 class GpRegion 91 { 92 }; 93 class CGpEffect 94 { 95 }; 96 97 #else /* end of c++ declarations */ 98 99 typedef struct GpGraphics GpGraphics; 100 typedef struct GpPen GpPen; 101 typedef struct GpBrush GpBrush; 102 typedef struct GpHatch GpHatch; 103 typedef struct GpSolidFill GpSolidFill; 104 typedef struct GpPath GpPath; 105 typedef struct GpMatrix GpMatrix; 106 typedef struct GpPathIterator GpPathIterator; 107 typedef struct GpCustomLineCap GpCustomLineCap; 108 typedef struct GpAdjustableArrowCap GpAdjustableArrowCap; 109 typedef struct GpImage GpImage; 110 typedef struct GpMetafile GpMetafile; 111 typedef struct GpImageAttributes GpImageAttributes; 112 typedef struct GpCachedBitmap GpCachedBitmap; 113 typedef struct GpBitmap GpBitmap; 114 typedef struct GpPathGradient GpPathGradient; 115 typedef struct GpLineGradient GpLineGradient; 116 typedef struct GpTexture GpTexture; 117 typedef struct GpFont GpFont; 118 typedef struct GpFontCollection GpFontCollection; 119 typedef struct GpFontFamily GpFontFamily; 120 typedef struct GpStringFormat GpStringFormat; 121 typedef struct GpRegion GpRegion; 122 typedef struct CGpEffect CGpEffect; 123 124 #endif /* end of c declarations */ 125 126 typedef Status GpStatus; 127 typedef Unit GpUnit; 128 typedef BrushType GpBrushType; 129 typedef PointF GpPointF; 130 typedef FillMode GpFillMode; 131 typedef PathData GpPathData; 132 typedef LineCap GpLineCap; 133 typedef RectF GpRectF; 134 typedef Rect GpRect; 135 typedef LineJoin GpLineJoin; 136 typedef DashCap GpDashCap; 137 typedef DashStyle GpDashStyle; 138 typedef MatrixOrder GpMatrixOrder; 139 typedef Point GpPoint; 140 typedef WrapMode GpWrapMode; 141 typedef Color GpColor; 142 typedef FlushIntention GpFlushIntention; 143 typedef CoordinateSpace GpCoordinateSpace; 144 typedef PenAlignment GpPenAlignment; 145 typedef PenType GpPenType; 146 typedef HatchStyle GpHatchStyle; 147 148 #endif 149