blob: 3edc1f4b7b43544ac87893ced0edf4e90cd6edba [file] [log] [blame]
Evan Stade48f10d42007-06-08 13:44:28 -07001/*
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
24class GpGraphics {};
Evan Stade48f10d42007-06-08 13:44:28 -070025class GpBrush {};
Chris Wulffa2a94a42009-01-10 18:45:11 -050026class GpHatch : public GpBrush {};
Evan Stadef18cdef2007-08-01 17:56:02 -070027class GpSolidFill : public GpBrush {};
Evan Stade14802872007-06-21 16:15:17 -070028class GpPath {};
Evan Stadef28262b2007-07-11 18:07:48 -070029class GpMatrix {};
Evan Stade08508282007-07-16 19:45:02 -070030class GpPathIterator {};
Evan Staded07088e2007-07-19 18:22:34 -070031class GpCustomLineCap {};
Nikolay Sivov50bfa9b2008-09-03 20:34:58 +040032class GpAdjustableArrowCap : public GpCustomLineCap {};
Evan Stade5cc8c102007-07-24 17:19:05 -070033class GpImage {};
34class GpMetafile : public GpImage {};
Evan Stade5dd58252007-07-30 19:09:41 -070035class GpImageAttributes {};
Nikolay Sivov1cca99d2008-11-04 08:54:32 +030036class GpCachedBitmap {};
Evan Stade9fa4c122007-07-31 19:15:52 -070037class GpBitmap : public GpImage {};
Evan Stadef18cdef2007-08-01 17:56:02 -070038class GpPathGradient : public GpBrush {};
Evan Stade2b438a02007-08-07 18:42:29 -070039class GpLineGradient : public GpBrush {};
Evan Stadeb9411ba2007-08-09 18:25:14 -070040class GpTexture : public GpBrush {};
Evan Staded060aec2007-08-13 18:34:51 -070041class GpFont {};
Adam Petacciae8e1d0f2008-06-21 13:02:47 -040042class GpFontCollection {};
43class GpFontFamily {};
Evan Stadef7d27e02007-08-14 18:58:39 -070044class GpStringFormat {};
Lei Zhangcec6c2e2008-04-09 12:35:29 -070045class GpRegion {};
Lei Zhang20a8cf62008-04-09 13:00:16 -070046class CGpEffect {};
Evan Stade48f10d42007-06-08 13:44:28 -070047
48#else /* end of c++ declarations */
49
50typedef struct GpGraphics GpGraphics;
51typedef struct GpPen GpPen;
52typedef struct GpBrush GpBrush;
Chris Wulffa2a94a42009-01-10 18:45:11 -050053typedef struct GpHatch GpHatch;
Evan Stade48f10d42007-06-08 13:44:28 -070054typedef struct GpSolidFill GpSolidFill;
Evan Stade14802872007-06-21 16:15:17 -070055typedef struct GpPath GpPath;
Evan Stadef28262b2007-07-11 18:07:48 -070056typedef struct GpMatrix GpMatrix;
Evan Stade08508282007-07-16 19:45:02 -070057typedef struct GpPathIterator GpPathIterator;
Evan Staded07088e2007-07-19 18:22:34 -070058typedef struct GpCustomLineCap GpCustomLineCap;
Nikolay Sivov50bfa9b2008-09-03 20:34:58 +040059typedef struct GpAdjustableArrowCap GpAdjustableArrowCap;
Evan Stade5cc8c102007-07-24 17:19:05 -070060typedef struct GpImage GpImage;
61typedef struct GpMetafile GpMetafile;
Evan Stade5dd58252007-07-30 19:09:41 -070062typedef struct GpImageAttributes GpImageAttributes;
Nikolay Sivov1cca99d2008-11-04 08:54:32 +030063typedef struct GpCachedBitmap GpCachedBitmap;
Evan Stade9fa4c122007-07-31 19:15:52 -070064typedef struct GpBitmap GpBitmap;
Evan Stadef18cdef2007-08-01 17:56:02 -070065typedef struct GpPathGradient GpPathGradient;
Evan Stade2b438a02007-08-07 18:42:29 -070066typedef struct GpLineGradient GpLineGradient;
Evan Stadeb9411ba2007-08-09 18:25:14 -070067typedef struct GpTexture GpTexture;
Evan Staded060aec2007-08-13 18:34:51 -070068typedef struct GpFont GpFont;
Adam Petacciae8e1d0f2008-06-21 13:02:47 -040069typedef struct GpFontCollection GpFontCollection;
70typedef struct GpFontFamily GpFontFamily;
Evan Stadef7d27e02007-08-14 18:58:39 -070071typedef struct GpStringFormat GpStringFormat;
Lei Zhangcec6c2e2008-04-09 12:35:29 -070072typedef struct GpRegion GpRegion;
Lei Zhang20a8cf62008-04-09 13:00:16 -070073typedef struct CGpEffect CGpEffect;
Evan Stade48f10d42007-06-08 13:44:28 -070074
75#endif /* end of c declarations */
76
77typedef Status GpStatus;
78typedef Unit GpUnit;
79typedef BrushType GpBrushType;
Evan Stade5c8b83c2007-06-19 19:31:28 -070080typedef PointF GpPointF;
Evan Stade14802872007-06-21 16:15:17 -070081typedef FillMode GpFillMode;
82typedef PathData GpPathData;
Evan Stade68ba30f2007-07-05 18:37:52 -070083typedef LineCap GpLineCap;
Evan Stade78510e72007-07-11 18:08:10 -070084typedef RectF GpRectF;
Francois Gougetb6b97b12007-08-29 21:42:01 +020085typedef Rect GpRect;
Evan Stadebcd0eda2007-07-12 19:42:47 -070086typedef LineJoin GpLineJoin;
Evan Stade6893ef32007-07-16 19:44:50 -070087typedef DashCap GpDashCap;
Evan Stadedaf00ab2007-07-16 19:45:16 -070088typedef DashStyle GpDashStyle;
Evan Stade12e3ead2007-07-17 19:31:15 -070089typedef MatrixOrder GpMatrixOrder;
Evan Stade64675262007-07-23 20:24:35 -070090typedef Point GpPoint;
Evan Stadef0dbfe92007-08-01 17:56:10 -070091typedef WrapMode GpWrapMode;
Lei Zhang65445b92008-04-10 12:40:13 -070092typedef Color GpColor;
Nikolay Sivovf620b662008-06-18 11:33:10 +040093typedef FlushIntention GpFlushIntention;
Huw Davies3ab76662008-07-10 15:26:58 +010094typedef CoordinateSpace GpCoordinateSpace;
Nikolay Sivov9f25eb32008-12-03 18:22:55 +030095typedef PenType GpPenType;
Evan Stade48f10d42007-06-08 13:44:28 -070096
97#endif