Naveen Neel / shedskin
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers gdiplusgpstubs.h Source File

gdiplusgpstubs.h

00001 /*
00002  * gdiplusgpstubs.h
00003  *
00004  * GDI+ Gp* type declarations
00005  *
00006  * This file is part of the w32api package.
00007  *
00008  * Contributors:
00009  *   Created by Markus Koenig <markus@stber-koenig.de>
00010  *
00011  * THIS SOFTWARE IS NOT COPYRIGHTED
00012  *
00013  * This source code is offered for use in the public domain. You may
00014  * use, modify or distribute it freely.
00015  *
00016  * This code is distributed in the hope that it will be useful but
00017  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
00018  * DISCLAIMED. This includes but is not limited to warranties of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00020  *
00021  */
00022 
00023 #ifndef __GDIPLUS_GPSTUBS_H
00024 #define __GDIPLUS_GPSTUBS_H
00025 #if __GNUC__ >=3
00026 #pragma GCC system_header
00027 #endif
00028 
00029 typedef Point GpPoint;
00030 typedef PointF GpPointF;
00031 typedef Rect GpRect;
00032 typedef RectF GpRectF;
00033 typedef Size GpSize;
00034 typedef SizeF GpSizeF;
00035 
00036 typedef enum BrushType GpBrushType;
00037 typedef enum CombineMode GpCombineMode;
00038 typedef enum CompositingMode GpCompositingMode;
00039 typedef enum CompositingQuality GpCompositingQuality;
00040 typedef enum CoordinateSpace GpCoordinateSpace;
00041 typedef enum CustomLineCapType GpCustomLineCapType;
00042 typedef enum DashCap GpDashCap;
00043 typedef enum DashStyle GpDashStyle;
00044 typedef enum DitherType GpDitherType;
00045 typedef enum DriverStringOptions GpDriverStringOptions;
00046 typedef enum EmfPlusRecordType GpEmfPlusRecordType;
00047 typedef enum EmfToWmfBitsFlags GpEmfToWmfBitsFlags;
00048 typedef enum EmfType GpEmfType;
00049 typedef enum EncoderParameterValueType GpEncoderParameterValueType;
00050 typedef enum EncoderValue GpEncoderValue;
00051 typedef enum FillMode GpFillMode;
00052 typedef enum FlushIntention GpFlushIntention;
00053 typedef enum FontStyle GpFontStyle;
00054 typedef enum HatchStyle GpHatchStyle;
00055 typedef enum HotkeyPrefix GpHotkeyPrefix;
00056 typedef enum ImageType GpImageType;
00057 typedef enum InterpolationMode GpInterpolationMode;
00058 typedef enum LinearGradientMode GpLinearGradientMode;
00059 typedef enum LineCap GpLineCap;
00060 typedef enum LineJoin GpLineJoin;
00061 typedef enum MatrixOrder GpMatrixOrder;
00062 typedef enum MetafileFrameUnit GpMetafileFrameUnit;
00063 typedef enum MetafileType GpMetafileType;
00064 typedef enum ObjectType GpObjectType;
00065 typedef enum PathPointType GpPathPointType;
00066 typedef enum PenAlignment GpPenAlignment;
00067 typedef enum PenType GpPenType;
00068 typedef enum PixelOffsetMode GpPixelOffsetMode;
00069 typedef enum QualityMode GpQualityMode;
00070 typedef enum SmoothingMode GpSmoothingMode;
00071 typedef enum StringAlignment GpStringAlignment;
00072 typedef enum StringDigitSubstitute GpStringDigitSubstitute;
00073 typedef enum StringFormatFlags GpStringFormatFlags;
00074 typedef enum StringTrimming GpStringTrimming;
00075 typedef enum TextRenderingHint GpTextRenderingHint;
00076 typedef enum Unit GpUnit;
00077 typedef enum WarpMode GpWarpMode;
00078 typedef enum WrapMode GpWrapMode;
00079 
00080 #ifdef __cplusplus
00081 
00082 class CGpEffect {}; 
00083 class GpCustomLineCap {};
00084 class GpImage {};
00085 
00086 class GpAdjustableArrowCap: public GpCustomLineCap {};
00087 class GpBitmap: public GpImage {};
00088 class GpBrush {};
00089 class GpCachedBitmap {};
00090 class GpFont {};
00091 class GpFontCollection {};
00092 class GpFontFamily {};
00093 class GpGraphics {};
00094 class GpHatch: public GpBrush {};         /* HatchBrush */
00095 class GpImageAttributes {};
00096 class GpLineGradient: public GpBrush {};  /* LinearGradientBrush */
00097 class GpMatrix {};
00098 class GpMetafile: public GpImage {};
00099 class GpPath {};                          /* GraphicsPath */
00100 class GpPathData {};
00101 class GpPathGradient: public GpBrush {};  /* PathGradientBrush */
00102 class GpPathIterator {};                  /* GraphicsPathIterator */
00103 class GpPen {};
00104 class GpRegion {};
00105 class GpSolidFill: public GpBrush {};     /* SolidBrush */
00106 class GpStringFormat {};
00107 class GpTexture: public GpBrush {};       /* TextureBrush */
00108 
00109 #else /* !__cplusplus */
00110 
00111 typedef void CGpEffect;
00112 typedef void GpAdjustableArrowCap;
00113 typedef void GpBitmap;
00114 typedef void GpBrush;
00115 typedef void GpCachedBitmap;
00116 typedef void GpCustomLineCap;
00117 typedef void GpFont;
00118 typedef void GpFontFamily;
00119 typedef void GpFontCollection;
00120 typedef void GpGraphics;
00121 typedef void GpHatch;
00122 typedef void GpImage;
00123 typedef void GpImageAttributes;
00124 typedef void GpLineGradient;
00125 typedef void GpMatrix;
00126 typedef void GpMetafile;
00127 typedef void GpPath;
00128 typedef void GpPathData;
00129 typedef void GpPathGradient;
00130 typedef void GpPathIterator;
00131 typedef void GpPen;
00132 typedef void GpRegion;
00133 typedef void GpSolidFill;
00134 typedef void GpStringFormat;
00135 typedef void GpTexture;
00136 
00137 #endif /* !__cplusplus */
00138 
00139 #endif /* __GDIPLUS_GPSTUBS_H */