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 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 class GpImage {}; 35 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 class GpFontCollection {}; 44 class GpFontFamily {}; 45 class GpStringFormat {}; 46 class GpRegion {}; 47 class CGpEffect {}; 48 49 #else /* end of c++ declarations */ 50 51 typedef struct GpGraphics GpGraphics; 52 typedef struct GpPen GpPen; 53 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 typedef struct GpImage GpImage; 62 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 typedef struct GpFontCollection GpFontCollection; 71 typedef struct GpFontFamily GpFontFamily; 72 typedef struct GpStringFormat GpStringFormat; 73 typedef struct GpRegion GpRegion; 74 typedef struct CGpEffect CGpEffect; 75 76 #endif /* end of c declarations */ 77 78 typedef Status GpStatus; 79 typedef Unit GpUnit; 80 typedef BrushType GpBrushType; 81 typedef PointF GpPointF; 82 typedef FillMode GpFillMode; 83 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 100