// CodeGear C++Builder
// Copyright (c) 1995, 2010 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'GDIPAPI.pas' rev: 22.00

#ifndef GdipapiHPP
#define GdipapiHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <ActiveX.hpp>	// Pascal unit
#include <Math.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Gdipapi
{
//-- type declarations -------------------------------------------------------
typedef short INT16;

typedef System::Word UINT16;

typedef UINT16 *PUINT16;

typedef System::DynamicArray<float> TSingleDynArray;

class DELPHICLASS TGdiplusBase;
class PASCALIMPLEMENTATION TGdiplusBase : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	__classmethod virtual System::TObject* __fastcall NewInstance();
	virtual void __fastcall FreeInstance(void);
public:
	/* TObject.Create */ inline __fastcall TGdiplusBase(void) : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TGdiplusBase(void) { }
	
};


#pragma option push -b
enum FillMode { FillModeAlternate, FillModeWinding };
#pragma option pop

typedef FillMode TFillMode;

#pragma option push -b
enum CompositingMode { CompositingModeSourceOver, CompositingModeSourceCopy };
#pragma option pop

typedef int TCompositingQuality;

#pragma option push -b
enum Unit_ { UnitWorld, UnitDisplay, UnitPixel, UnitPoint, UnitInch, UnitDocument, UnitMillimeter };
#pragma option pop

typedef Unit_ TUnit;

typedef int TMetafileFrameUnit;

#pragma option push -b
enum CoordinateSpace { CoordinateSpaceWorld, CoordinateSpacePage, CoordinateSpaceDevice };
#pragma option pop

typedef CoordinateSpace TCoordinateSpace;

#pragma option push -b
enum WrapMode { WrapModeTile, WrapModeTileFlipX, WrapModeTileFlipY, WrapModeTileFlipXY, WrapModeClamp };
#pragma option pop

typedef WrapMode TWrapMode;

#pragma option push -b
enum HatchStyle { HatchStyleHorizontal, HatchStyleVertical, HatchStyleForwardDiagonal, HatchStyleBackwardDiagonal, HatchStyleCross, HatchStyleDiagonalCross, HatchStyle05Percent, HatchStyle10Percent, HatchStyle20Percent, HatchStyle25Percent, HatchStyle30Percent, HatchStyle40Percent, HatchStyle50Percent, HatchStyle60Percent, HatchStyle70Percent, HatchStyle75Percent, HatchStyle80Percent, HatchStyle90Percent, HatchStyleLightDownwardDiagonal, HatchStyleLightUpwardDiagonal, HatchStyleDarkDownwardDiagonal, HatchStyleDarkUpwardDiagonal, HatchStyleWideDownwardDiagonal, HatchStyleWideUpwardDiagonal, HatchStyleLightVertical, HatchStyleLightHorizontal, HatchStyleNarrowVertical, HatchStyleNarrowHorizontal, HatchStyleDarkVertical, HatchStyleDarkHorizontal, 
	HatchStyleDashedDownwardDiagonal, HatchStyleDashedUpwardDiagonal, HatchStyleDashedHorizontal, HatchStyleDashedVertical, HatchStyleSmallConfetti, HatchStyleLargeConfetti, HatchStyleZigZag, HatchStyleWave, HatchStyleDiagonalBrick, HatchStyleHorizontalBrick, HatchStyleWeave, HatchStylePlaid, HatchStyleDivot, HatchStyleDottedGrid, HatchStyleDottedDiamond, HatchStyleShingle, HatchStyleTrellis, HatchStyleSphere, HatchStyleSmallGrid, HatchStyleSmallCheckerBoard, HatchStyleLargeCheckerBoard, HatchStyleOutlinedDiamond, HatchStyleSolidDiamond, HatchStyleTotal };
#pragma option pop

typedef HatchStyle THatchStyle;

#pragma option push -b
enum DashStyle { DashStyleSolid, DashStyleDash, DashStyleDot, DashStyleDashDot, DashStyleDashDotDot, DashStyleCustom };
#pragma option pop

typedef DashStyle TDashStyle;

typedef int TDashCap;

typedef int TLineCap;

#pragma option push -b
enum CustomLineCapType { CustomLineCapTypeDefault, CustomLineCapTypeAdjustableArrow };
#pragma option pop

typedef CustomLineCapType TCustomLineCapType;

#pragma option push -b
enum LineJoin { LineJoinMiter, LineJoinBevel, LineJoinRound, LineJoinMiterClipped };
#pragma option pop

typedef LineJoin TLineJoin;

typedef System::Byte TPathPointType;

#pragma option push -b
enum WarpMode { WarpModePerspective, WarpModeBilinear };
#pragma option pop

typedef WarpMode TWarpMode;

#pragma option push -b
enum LinearGradientMode { LinearGradientModeHorizontal, LinearGradientModeVertical, LinearGradientModeForwardDiagonal, LinearGradientModeBackwardDiagonal };
#pragma option pop

typedef LinearGradientMode TLinearGradientMode;

#pragma option push -b
enum CombineMode { CombineModeReplace, CombineModeIntersect, CombineModeUnion, CombineModeXor, CombineModeExclude, CombineModeComplement };
#pragma option pop

typedef CombineMode TCombineMode;

#pragma option push -b
enum ImageType { ImageTypeUnknown, ImageTypeBitmap, ImageTypeMetafile };
#pragma option pop

typedef ImageType TImageType;

typedef int TInterpolationMode;

#pragma option push -b
enum PenAlignment { PenAlignmentCenter, PenAlignmentInset };
#pragma option pop

typedef PenAlignment TPenAlignment;

#pragma option push -b
enum BrushType { BrushTypeSolidColor, BrushTypeHatchFill, BrushTypeTextureFill, BrushTypePathGradient, BrushTypeLinearGradient };
#pragma option pop

typedef BrushType TBrushType;

typedef int TPenType;

#pragma option push -b
enum MatrixOrder { MatrixOrderPrepend, MatrixOrderAppend };
#pragma option pop

typedef MatrixOrder TMatrixOrder;

#pragma option push -b
enum GenericFontFamily { GenericFontFamilySerif, GenericFontFamilySansSerif, GenericFontFamilyMonospace };
#pragma option pop

typedef GenericFontFamily TGenericFontFamily;

typedef int TFontStyle;

typedef int TSmoothingMode;

typedef int TPixelOffsetMode;

#pragma option push -b
enum TextRenderingHint { TextRenderingHintSystemDefault, TextRenderingHintSingleBitPerPixelGridFit, TextRenderingHintSingleBitPerPixel, TextRenderingHintAntiAliasGridFit, TextRenderingHintAntiAlias, TextRenderingHintClearTypeGridFit };
#pragma option pop

typedef TextRenderingHint TTextRenderingHint;

#pragma option push -b
enum MetafileType { MetafileTypeInvalid, MetafileTypeWmf, MetafileTypeWmfPlaceable, MetafileTypeEmf, MetafileTypeEmfPlusOnly, MetafileTypeEmfPlusDual };
#pragma option pop

typedef MetafileType TMetafileType;

typedef int TEmfType;

#pragma option push -b
enum ObjectType { ObjectTypeInvalid, ObjectTypeBrush, ObjectTypePen, ObjectTypePath, ObjectTypeRegion, ObjectTypeImage, ObjectTypeFont, ObjectTypeStringFormat, ObjectTypeImageAttributes, ObjectTypeCustomLineCap };
#pragma option pop

typedef ObjectType TObjectType;

typedef int TEmfPlusRecordType;

typedef int TStringFormatFlags;

#pragma option push -b
enum StringTrimming { StringTrimmingNone, StringTrimmingCharacter, StringTrimmingWord, StringTrimmingEllipsisCharacter, StringTrimmingEllipsisWord, StringTrimmingEllipsisPath };
#pragma option pop

typedef StringTrimming TStringTrimming;

#pragma option push -b
enum StringDigitSubstitute { StringDigitSubstituteUser, StringDigitSubstituteNone, StringDigitSubstituteNational, StringDigitSubstituteTraditional };
#pragma option pop

typedef StringDigitSubstitute TStringDigitSubstitute;

typedef StringDigitSubstitute *PStringDigitSubstitute;

#pragma option push -b
enum HotkeyPrefix { HotkeyPrefixNone, HotkeyPrefixShow, HotkeyPrefixHide };
#pragma option pop

typedef HotkeyPrefix THotkeyPrefix;

#pragma option push -b
enum StringAlignment { StringAlignmentNear, StringAlignmentCenter, StringAlignmentFar };
#pragma option pop

typedef StringAlignment TStringAlignment;

typedef int TDriverStringOptions;

#pragma option push -b
enum FlushIntention { FlushIntentionFlush, FlushIntentionSync };
#pragma option pop

typedef FlushIntention TFlushIntention;

typedef int TEncoderParameterValueType;

#pragma option push -b
enum EncoderValue { EncoderValueColorTypeCMYK, EncoderValueColorTypeYCCK, EncoderValueCompressionLZW, EncoderValueCompressionCCITT3, EncoderValueCompressionCCITT4, EncoderValueCompressionRle, EncoderValueCompressionNone, EncoderValueScanMethodInterlaced, EncoderValueScanMethodNonInterlaced, EncoderValueVersionGif87, EncoderValueVersionGif89, EncoderValueRenderProgressive, EncoderValueRenderNonProgressive, EncoderValueTransformRotate90, EncoderValueTransformRotate180, EncoderValueTransformRotate270, EncoderValueTransformFlipHorizontal, EncoderValueTransformFlipVertical, EncoderValueMultiFrame, EncoderValueLastFrame, EncoderValueFlush, EncoderValueFrameDimensionTime, EncoderValueFrameDimensionResolution, EncoderValueFrameDimensionPage };
#pragma option pop

typedef EncoderValue TEncoderValue;

typedef int TEmfToWmfBitsFlags;

typedef BOOL __stdcall (*ImageAbort)(void);

typedef BOOL __stdcall (*EnumerateMetafileProc)(int recordType, unsigned flags, unsigned dataSize, System::PByte data, void * callbackData);

#pragma option push -b
enum Status { Ok, GenericError, InvalidParameter, OutOfMemory, ObjectBusy, InsufficientBuffer, NotImplemented, Win32Error, WrongState, Aborted, FileNotFound, ValueOverflow, AccessDenied, UnknownImageFormat, FontFamilyNotFound, FontStyleNotFound, NotTrueTypeFont, UnsupportedGdiplusVersion, GdiplusNotInitialized, PropertyNotFound, PropertyNotSupported };
#pragma option pop

typedef Status TStatus;

struct TGPSizeF;
typedef TGPSizeF *PGPSizeF;

#pragma pack(push,1)
struct DECLSPEC_DRECORD TGPSizeF
{
	
public:
	float Width;
	float Height;
};
#pragma pack(pop)


#pragma pack(push,1)
struct DECLSPEC_DRECORD TGPSize
{
	
public:
	int Width;
	int Height;
};
#pragma pack(pop)


typedef TGPSize *PGPSize;

struct TGPPointF;
typedef TGPPointF *PGPPointF;

#pragma pack(push,1)
struct DECLSPEC_DRECORD TGPPointF
{
	
public:
	float X;
	float Y;
};
#pragma pack(pop)


typedef System::DynamicArray<TGPPointF> TPointFDynArray;

#pragma pack(push,1)
struct DECLSPEC_DRECORD TGPPoint
{
	
public:
	int X;
	int Y;
};
#pragma pack(pop)


typedef TGPPoint *PGPPoint;

typedef System::DynamicArray<TGPPoint> TPointDynArray;

struct TGPRectF;
typedef TGPRectF *PGPRectF;

#pragma pack(push,1)
struct DECLSPEC_DRECORD TGPRectF
{
	
public:
	float X;
	float Y;
	float Width;
	float Height;
};
#pragma pack(pop)


typedef System::DynamicArray<TGPRectF> TRectFDynArray;

#pragma pack(push,1)
struct DECLSPEC_DRECORD TGPRect
{
	
public:
	int X;
	int Y;
	int Width;
	int Height;
};
#pragma pack(pop)


typedef TGPRect *PGPRect;

typedef System::DynamicArray<TGPRect> TRectDynArray;

class DELPHICLASS TPathData;
#pragma pack(push,1)
class PASCALIMPLEMENTATION TPathData : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	int Count;
	TGPPointF *Points;
	System::Byte *Types;
	__fastcall virtual ~TPathData(void);
public:
	/* TObject.Create */ inline __fastcall TPathData(void) : System::TObject() { }
	
};

#pragma pack(pop)

#pragma pack(push,1)
struct DECLSPEC_DRECORD TCharacterRange
{
	
public:
	int First;
	int Length;
};
#pragma pack(pop)


typedef TCharacterRange *PCharacterRange;

#pragma option push -b
enum DebugEventLevel { DebugEventLevelFatal, DebugEventLevelWarning };
#pragma option pop

typedef DebugEventLevel TDebugEventLevel;

typedef void __stdcall (*DebugEventProc)(DebugEventLevel level, System::WideChar * message);

typedef Status __stdcall (*NotificationHookProc)(/* out */ unsigned &token);

typedef void __stdcall (*NotificationUnhookProc)(unsigned token);

#pragma pack(push,1)
struct DECLSPEC_DRECORD GdiplusStartupInput
{
	
public:
	unsigned GdiplusVersion;
	DebugEventProc DebugEventCallback;
	BOOL SuppressBackgroundThread;
	BOOL SuppressExternalCodecs;
};
#pragma pack(pop)


typedef GdiplusStartupInput TGdiplusStartupInput;

typedef GdiplusStartupInput *PGdiplusStartupInput;

#pragma pack(push,1)
struct DECLSPEC_DRECORD GdiplusStartupOutput
{
	
public:
	NotificationHookProc NotificationHook;
	NotificationUnhookProc NotificationUnhook;
};
#pragma pack(pop)


typedef GdiplusStartupOutput TGdiplusStartupOutput;

typedef GdiplusStartupOutput *PGdiplusStartupOutput;

typedef unsigned *PARGB;

typedef int TPixelFormat;

typedef int TPaletteFlags;

#pragma pack(push,1)
struct DECLSPEC_DRECORD ColorPalette
{
	
public:
	unsigned Flags;
	unsigned Count;
	System::StaticArray<unsigned, 1> Entries;
};
#pragma pack(pop)


typedef ColorPalette TColorPalette;

typedef ColorPalette *PColorPalette;

#pragma option push -b
enum ColorMode { ColorModeARGB32, ColorModeARGB64 };
#pragma option pop

typedef ColorMode TColorMode;

#pragma option push -b
enum ColorChannelFlags { ColorChannelFlagsC, ColorChannelFlagsM, ColorChannelFlagsY, ColorChannelFlagsK, ColorChannelFlagsLast };
#pragma option pop

typedef ColorChannelFlags TColorChannelFlags;

typedef unsigned *PGPColor;

typedef unsigned TGPColor;

typedef System::DynamicArray<unsigned> TColorDynArray;

typedef Types::TRect RECTL;

typedef tagSIZE SIZEL;

#pragma pack(push,1)
struct DECLSPEC_DRECORD ENHMETAHEADER3
{
	
public:
	unsigned iType;
	unsigned nSize;
	#pragma pack(push,8)
	Types::TRect rclBounds;
	#pragma pack(pop)
	#pragma pack(push,8)
	Types::TRect rclFrame;
	#pragma pack(pop)
	unsigned dSignature;
	unsigned nVersion;
	unsigned nBytes;
	unsigned nRecords;
	System::Word nHandles;
	System::Word sReserved;
	unsigned nDescription;
	unsigned offDescription;
	unsigned nPalEntries;
	#pragma pack(push,8)
	tagSIZE szlDevice;
	#pragma pack(pop)
	#pragma pack(push,8)
	tagSIZE szlMillimeters;
	#pragma pack(pop)
};
#pragma pack(pop)


typedef ENHMETAHEADER3 TENHMETAHEADER3;

typedef ENHMETAHEADER3 *PENHMETAHEADER3;

#pragma pack(push,1)
struct DECLSPEC_DRECORD PWMFRect16
{
	
public:
	INT16 Left;
	INT16 Top;
	INT16 Right;
	INT16 Bottom;
};
#pragma pack(pop)


typedef PWMFRect16 TPWMFRect16;

typedef PWMFRect16 *PPWMFRect16;

#pragma pack(push,1)
struct DECLSPEC_DRECORD WmfPlaceableFileHeader
{
	
public:
	UINT32 Key;
	INT16 Hmf;
	PWMFRect16 BoundingBox;
	INT16 Inch;
	UINT32 Reserved;
	INT16 Checksum;
};
#pragma pack(pop)


typedef WmfPlaceableFileHeader TWmfPlaceableFileHeader;

typedef WmfPlaceableFileHeader *PWmfPlaceableFileHeader;

#pragma pack(push,1)
struct DECLSPEC_DRECORD ImageCodecInfo
{
	
public:
	GUID Clsid;
	GUID FormatID;
	System::WideChar *CodecName;
	System::WideChar *DllName;
	System::WideChar *FormatDescription;
	System::WideChar *FilenameExtension;
	System::WideChar *MimeType;
	unsigned Flags;
	unsigned Version;
	unsigned SigCount;
	unsigned SigSize;
	System::Byte *SigPattern;
	System::Byte *SigMask;
};
#pragma pack(pop)


typedef ImageCodecInfo TImageCodecInfo;

typedef ImageCodecInfo *PImageCodecInfo;

typedef int TImageCodecFlags;

typedef int TImageLockMode;

#pragma pack(push,1)
struct DECLSPEC_DRECORD BitmapData
{
	
public:
	unsigned Width;
	unsigned Height;
	int Stride;
	int PixelFormat;
	void *Scan0;
	unsigned Reserved;
};
#pragma pack(pop)


typedef BitmapData TBitmapData;

typedef BitmapData *PBitmapData;

typedef int TImageFlags;

#pragma option push -b
enum RotateFlipType { RotateNoneFlipNone, Rotate90FlipNone, Rotate180FlipNone, Rotate270FlipNone, RotateNoneFlipX, Rotate90FlipX, Rotate180FlipX, Rotate270FlipX };
#pragma option pop

typedef RotateFlipType TRotateFlipType;

#pragma pack(push,1)
struct DECLSPEC_DRECORD EncoderParameter
{
	
public:
	GUID Guid;
	unsigned NumberOfValues;
	unsigned Type_;
	void *Value;
};
#pragma pack(pop)


typedef EncoderParameter TEncoderParameter;

typedef EncoderParameter *PEncoderParameter;

#pragma pack(push,1)
struct DECLSPEC_DRECORD EncoderParameters
{
	
public:
	unsigned Count;
	System::StaticArray<EncoderParameter, 1> Parameter;
};
#pragma pack(pop)


typedef EncoderParameters TEncoderParameters;

typedef EncoderParameters *PEncoderParameters;

struct DECLSPEC_DRECORD PropertyItem
{
	
public:
	unsigned id;
	unsigned length;
	System::Word type_;
	void *value;
};


typedef PropertyItem TPropertyItem;

typedef PropertyItem *PPropertyItem;

typedef System::StaticArray<System::StaticArray<float, 5>, 5> ColorMatrix;

typedef ColorMatrix TColorMatrix;

typedef ColorMatrix *PColorMatrix;

#pragma option push -b
enum ColorMatrixFlags { ColorMatrixFlagsDefault, ColorMatrixFlagsSkipGrays, ColorMatrixFlagsAltGray };
#pragma option pop

typedef ColorMatrixFlags TColorMatrixFlags;

#pragma option push -b
enum ColorAdjustType { ColorAdjustTypeDefault, ColorAdjustTypeBitmap, ColorAdjustTypeBrush, ColorAdjustTypePen, ColorAdjustTypeText, ColorAdjustTypeCount, ColorAdjustTypeAny };
#pragma option pop

typedef ColorAdjustType TColorAdjustType;

#pragma pack(push,1)
struct DECLSPEC_DRECORD ColorMap
{
	
public:
	unsigned oldColor;
	unsigned newColor;
};
#pragma pack(pop)


typedef ColorMap TColorMap;

typedef ColorMap *PColorMap;

typedef void * GpGraphics;

typedef void * GpBrush;

typedef void * GpTexture;

typedef void * GpSolidFill;

typedef void * GpLineGradient;

typedef void * GpPathGradient;

typedef void * GpHatch;

typedef void * GpPen;

typedef void * GpCustomLineCap;

typedef void * GpAdjustableArrowCap;

typedef void * GpImage;

typedef void * GpBitmap;

typedef void * GpMetafile;

typedef void * GpImageAttributes;

typedef void * GpPath;

typedef void * GpRegion;

typedef void * GpPathIterator;

typedef void * GpFontFamily;

typedef void * GpFont;

typedef void * GpStringFormat;

typedef void * GpFontCollection;

typedef void * GpCachedBitmap;

typedef Status GpStatus;

typedef FillMode GpFillMode;

typedef WrapMode GpWrapMode;

typedef Unit_ GpUnit;

typedef CoordinateSpace GpCoordinateSpace;

typedef PGPPointF GpPointF;

typedef PGPPoint GpPoint;

typedef PGPRectF GpRectF;

typedef PGPRect GpRect;

typedef PGPSizeF GpSizeF;

typedef HatchStyle GpHatchStyle;

typedef DashStyle GpDashStyle;

typedef int GpLineCap;

typedef int GpDashCap;

typedef PenAlignment GpPenAlignment;

typedef LineJoin GpLineJoin;

typedef int GpPenType;

typedef void * GpMatrix;

typedef BrushType GpBrushType;

typedef MatrixOrder GpMatrixOrder;

typedef FlushIntention GpFlushIntention;

typedef TPathData GpPathData;

//-- var, const, procedure ---------------------------------------------------
#define WINGDIPDLL L"gdiplus.dll"
static const System::ShortInt QualityModeInvalid = -1;
static const System::ShortInt QualityModeDefault = 0x0;
static const System::ShortInt QualityModeLow = 0x1;
static const System::ShortInt QualityModeHigh = 0x2;
static const System::ShortInt CompositingQualityInvalid = -1;
static const System::ShortInt CompositingQualityDefault = 0x0;
static const System::ShortInt CompositingQualityHighSpeed = 0x1;
static const System::ShortInt CompositingQualityHighQuality = 0x2;
static const System::ShortInt CompositingQualityGammaCorrected = 0x3;
static const System::ShortInt CompositingQualityAssumeLinear = 0x4;
static const System::ShortInt MetafileFrameUnitPixel = 0x2;
static const System::ShortInt MetafileFrameUnitPoint = 0x3;
static const System::ShortInt MetafileFrameUnitInch = 0x4;
static const System::ShortInt MetafileFrameUnitDocument = 0x5;
static const System::ShortInt MetafileFrameUnitMillimeter = 0x6;
static const System::ShortInt MetafileFrameUnitGdi = 0x7;
static const HatchStyle HatchStyleLargeGrid = (HatchStyle)(4);
static const HatchStyle HatchStyleMin = (HatchStyle)(0);
static const HatchStyle HatchStyleMax = (HatchStyle)(52);
static const System::ShortInt DashCapFlat = 0x0;
static const System::ShortInt DashCapRound = 0x2;
static const System::ShortInt DashCapTriangle = 0x3;
static const System::ShortInt LineCapFlat = 0x0;
static const System::ShortInt LineCapSquare = 0x1;
static const System::ShortInt LineCapRound = 0x2;
static const System::ShortInt LineCapTriangle = 0x3;
static const System::ShortInt LineCapNoAnchor = 0x10;
static const System::ShortInt LineCapSquareAnchor = 0x11;
static const System::ShortInt LineCapRoundAnchor = 0x12;
static const System::ShortInt LineCapDiamondAnchor = 0x13;
static const System::ShortInt LineCapArrowAnchor = 0x14;
static const System::Byte LineCapCustom = 0xff;
static const System::Byte LineCapAnchorMask = 0xf0;
extern PACKAGE System::Byte PathPointTypeStart;
extern PACKAGE System::Byte PathPointTypeLine;
extern PACKAGE System::Byte PathPointTypeBezier;
extern PACKAGE System::Byte PathPointTypePathTypeMask;
extern PACKAGE System::Byte PathPointTypeDashMode;
extern PACKAGE System::Byte PathPointTypePathMarker;
extern PACKAGE System::Byte PathPointTypeCloseSubpath;
extern PACKAGE System::Byte PathPointTypeBezier3;
static const System::ShortInt InterpolationModeInvalid = -1;
static const System::ShortInt InterpolationModeDefault = 0x0;
static const System::ShortInt InterpolationModeLowQuality = 0x1;
static const System::ShortInt InterpolationModeHighQuality = 0x2;
static const System::ShortInt InterpolationModeBilinear = 0x3;
static const System::ShortInt InterpolationModeBicubic = 0x4;
static const System::ShortInt InterpolationModeNearestNeighbor = 0x5;
static const System::ShortInt InterpolationModeHighQualityBilinear = 0x6;
static const System::ShortInt InterpolationModeHighQualityBicubic = 0x7;
static const System::ShortInt PenTypeSolidColor = 0x0;
static const System::ShortInt PenTypeHatchFill = 0x1;
static const System::ShortInt PenTypeTextureFill = 0x2;
static const System::ShortInt PenTypePathGradient = 0x3;
static const System::ShortInt PenTypeLinearGradient = 0x4;
static const System::ShortInt PenTypeUnknown = -1;
static const int FontStyleRegular = 0;
static const int FontStyleBold = 1;
static const int FontStyleItalic = 2;
static const int FontStyleBoldItalic = 3;
static const int FontStyleUnderline = 4;
static const int FontStyleStrikeout = 8;
static const System::ShortInt SmoothingModeInvalid = -1;
static const System::ShortInt SmoothingModeDefault = 0x0;
static const System::ShortInt SmoothingModeHighSpeed = 0x1;
static const System::ShortInt SmoothingModeHighQuality = 0x2;
static const System::ShortInt SmoothingModeNone = 0x3;
static const System::ShortInt SmoothingModeAntiAlias = 0x4;
static const System::ShortInt PixelOffsetModeInvalid = -1;
static const System::ShortInt PixelOffsetModeDefault = 0x0;
static const System::ShortInt PixelOffsetModeHighSpeed = 0x1;
static const System::ShortInt PixelOffsetModeHighQuality = 0x2;
static const System::ShortInt PixelOffsetModeNone = 0x3;
static const System::ShortInt PixelOffsetModeHalf = 0x4;
static const System::ShortInt EmfTypeEmfOnly = 3;
static const System::ShortInt EmfTypeEmfPlusOnly = 4;
static const System::ShortInt EmfTypeEmfPlusDual = 5;
static const ObjectType ObjectTypeMax = (ObjectType)(9);
static const ObjectType ObjectTypeMin = (ObjectType)(1);
static const int WmfRecordTypeSetBkColor = 0x10201;
static const int WmfRecordTypeSetBkMode = 0x10102;
static const int WmfRecordTypeSetMapMode = 0x10103;
static const int WmfRecordTypeSetROP2 = 0x10104;
static const int WmfRecordTypeSetRelAbs = 0x10105;
static const int WmfRecordTypeSetPolyFillMode = 0x10106;
static const int WmfRecordTypeSetStretchBltMode = 0x10107;
static const int WmfRecordTypeSetTextCharExtra = 0x10108;
static const int WmfRecordTypeSetTextColor = 0x10209;
static const int WmfRecordTypeSetTextJustification = 0x1020a;
static const int WmfRecordTypeSetWindowOrg = 0x1020b;
static const int WmfRecordTypeSetWindowExt = 0x1020c;
static const int WmfRecordTypeSetViewportOrg = 0x1020d;
static const int WmfRecordTypeSetViewportExt = 0x1020e;
static const int WmfRecordTypeOffsetWindowOrg = 0x1020f;
static const int WmfRecordTypeScaleWindowExt = 0x10410;
static const int WmfRecordTypeOffsetViewportOrg = 0x10211;
static const int WmfRecordTypeScaleViewportExt = 0x10412;
static const int WmfRecordTypeLineTo = 0x10213;
static const int WmfRecordTypeMoveTo = 0x10214;
static const int WmfRecordTypeExcludeClipRect = 0x10415;
static const int WmfRecordTypeIntersectClipRect = 0x10416;
static const int WmfRecordTypeArc = 0x10817;
static const int WmfRecordTypeEllipse = 0x10418;
static const int WmfRecordTypeFloodFill = 0x10419;
static const int WmfRecordTypePie = 0x1081a;
static const int WmfRecordTypeRectangle = 0x1041b;
static const int WmfRecordTypeRoundRect = 0x1061c;
static const int WmfRecordTypePatBlt = 0x1061d;
static const int WmfRecordTypeSaveDC = 0x1001e;
static const int WmfRecordTypeSetPixel = 0x1041f;
static const int WmfRecordTypeOffsetClipRgn = 0x10220;
static const int WmfRecordTypeTextOut = 0x10521;
static const int WmfRecordTypeBitBlt = 0x10922;
static const int WmfRecordTypeStretchBlt = 0x10b23;
static const int WmfRecordTypePolygon = 0x10324;
static const int WmfRecordTypePolyline = 0x10325;
static const int WmfRecordTypeEscape = 0x10626;
static const int WmfRecordTypeRestoreDC = 0x10127;
static const int WmfRecordTypeFillRegion = 0x10228;
static const int WmfRecordTypeFrameRegion = 0x10429;
static const int WmfRecordTypeInvertRegion = 0x1012a;
static const int WmfRecordTypePaintRegion = 0x1012b;
static const int WmfRecordTypeSelectClipRegion = 0x1012c;
static const int WmfRecordTypeSelectObject = 0x1012d;
static const int WmfRecordTypeSetTextAlign = 0x1012e;
static const int WmfRecordTypeDrawText = 0x1062f;
static const int WmfRecordTypeChord = 0x10830;
static const int WmfRecordTypeSetMapperFlags = 0x10231;
static const int WmfRecordTypeExtTextOut = 0x10a32;
static const int WmfRecordTypeSetDIBToDev = 0x10d33;
static const int WmfRecordTypeSelectPalette = 0x10234;
static const int WmfRecordTypeRealizePalette = 0x10035;
static const int WmfRecordTypeAnimatePalette = 0x10436;
static const int WmfRecordTypeSetPalEntries = 0x10037;
static const int WmfRecordTypePolyPolygon = 0x10538;
static const int WmfRecordTypeResizePalette = 0x10139;
static const int WmfRecordTypeDIBBitBlt = 0x10940;
static const int WmfRecordTypeDIBStretchBlt = 0x10b41;
static const int WmfRecordTypeDIBCreatePatternBrush = 0x10142;
static const int WmfRecordTypeStretchDIB = 0x10f43;
static const int WmfRecordTypeExtFloodFill = 0x10548;
static const int WmfRecordTypeSetLayout = 0x10149;
static const int WmfRecordTypeResetDC = 0x1014c;
static const int WmfRecordTypeStartDoc = 0x1014d;
static const int WmfRecordTypeStartPage = 0x1004f;
static const int WmfRecordTypeEndPage = 0x10050;
static const int WmfRecordTypeAbortDoc = 0x10052;
static const int WmfRecordTypeEndDoc = 0x1005e;
static const int WmfRecordTypeDeleteObject = 0x101f0;
static const int WmfRecordTypeCreatePalette = 0x100f7;
static const int WmfRecordTypeCreateBrush = 0x100f8;
static const int WmfRecordTypeCreatePatternBrush = 0x101f9;
static const int WmfRecordTypeCreatePenIndirect = 0x102fa;
static const int WmfRecordTypeCreateFontIndirect = 0x102fb;
static const int WmfRecordTypeCreateBrushIndirect = 0x102fc;
static const int WmfRecordTypeCreateBitmapIndirect = 0x102fd;
static const int WmfRecordTypeCreateBitmap = 0x106fe;
static const int WmfRecordTypeCreateRegion = 0x106ff;
static const System::ShortInt EmfRecordTypeHeader = 0x1;
static const System::ShortInt EmfRecordTypePolyBezier = 0x2;
static const System::ShortInt EmfRecordTypePolygon = 0x3;
static const System::ShortInt EmfRecordTypePolyline = 0x4;
static const System::ShortInt EmfRecordTypePolyBezierTo = 0x5;
static const System::ShortInt EmfRecordTypePolyLineTo = 0x6;
static const System::ShortInt EmfRecordTypePolyPolyline = 0x7;
static const System::ShortInt EmfRecordTypePolyPolygon = 0x8;
static const System::ShortInt EmfRecordTypeSetWindowExtEx = 0x9;
static const System::ShortInt EmfRecordTypeSetWindowOrgEx = 0xa;
static const System::ShortInt EmfRecordTypeSetViewportExtEx = 0xb;
static const System::ShortInt EmfRecordTypeSetViewportOrgEx = 0xc;
static const System::ShortInt EmfRecordTypeSetBrushOrgEx = 0xd;
static const System::ShortInt EmfRecordTypeEOF = 0xe;
static const System::ShortInt EmfRecordTypeSetPixelV = 0xf;
static const System::ShortInt EmfRecordTypeSetMapperFlags = 0x10;
static const System::ShortInt EmfRecordTypeSetMapMode = 0x11;
static const System::ShortInt EmfRecordTypeSetBkMode = 0x12;
static const System::ShortInt EmfRecordTypeSetPolyFillMode = 0x13;
static const System::ShortInt EmfRecordTypeSetROP2 = 0x14;
static const System::ShortInt EmfRecordTypeSetStretchBltMode = 0x15;
static const System::ShortInt EmfRecordTypeSetTextAlign = 0x16;
static const System::ShortInt EmfRecordTypeSetColorAdjustment = 0x17;
static const System::ShortInt EmfRecordTypeSetTextColor = 0x18;
static const System::ShortInt EmfRecordTypeSetBkColor = 0x19;
static const System::ShortInt EmfRecordTypeOffsetClipRgn = 0x1a;
static const System::ShortInt EmfRecordTypeMoveToEx = 0x1b;
static const System::ShortInt EmfRecordTypeSetMetaRgn = 0x1c;
static const System::ShortInt EmfRecordTypeExcludeClipRect = 0x1d;
static const System::ShortInt EmfRecordTypeIntersectClipRect = 0x1e;
static const System::ShortInt EmfRecordTypeScaleViewportExtEx = 0x1f;
static const System::ShortInt EmfRecordTypeScaleWindowExtEx = 0x20;
static const System::ShortInt EmfRecordTypeSaveDC = 0x21;
static const System::ShortInt EmfRecordTypeRestoreDC = 0x22;
static const System::ShortInt EmfRecordTypeSetWorldTransform = 0x23;
static const System::ShortInt EmfRecordTypeModifyWorldTransform = 0x24;
static const System::ShortInt EmfRecordTypeSelectObject = 0x25;
static const System::ShortInt EmfRecordTypeCreatePen = 0x26;
static const System::ShortInt EmfRecordTypeCreateBrushIndirect = 0x27;
static const System::ShortInt EmfRecordTypeDeleteObject = 0x28;
static const System::ShortInt EmfRecordTypeAngleArc = 0x29;
static const System::ShortInt EmfRecordTypeEllipse = 0x2a;
static const System::ShortInt EmfRecordTypeRectangle = 0x2b;
static const System::ShortInt EmfRecordTypeRoundRect = 0x2c;
static const System::ShortInt EmfRecordTypeArc = 0x2d;
static const System::ShortInt EmfRecordTypeChord = 0x2e;
static const System::ShortInt EmfRecordTypePie = 0x2f;
static const System::ShortInt EmfRecordTypeSelectPalette = 0x30;
static const System::ShortInt EmfRecordTypeCreatePalette = 0x31;
static const System::ShortInt EmfRecordTypeSetPaletteEntries = 0x32;
static const System::ShortInt EmfRecordTypeResizePalette = 0x33;
static const System::ShortInt EmfRecordTypeRealizePalette = 0x34;
static const System::ShortInt EmfRecordTypeExtFloodFill = 0x35;
static const System::ShortInt EmfRecordTypeLineTo = 0x36;
static const System::ShortInt EmfRecordTypeArcTo = 0x37;
static const System::ShortInt EmfRecordTypePolyDraw = 0x38;
static const System::ShortInt EmfRecordTypeSetArcDirection = 0x39;
static const System::ShortInt EmfRecordTypeSetMiterLimit = 0x3a;
static const System::ShortInt EmfRecordTypeBeginPath = 0x3b;
static const System::ShortInt EmfRecordTypeEndPath = 0x3c;
static const System::ShortInt EmfRecordTypeCloseFigure = 0x3d;
static const System::ShortInt EmfRecordTypeFillPath = 0x3e;
static const System::ShortInt EmfRecordTypeStrokeAndFillPath = 0x3f;
static const System::ShortInt EmfRecordTypeStrokePath = 0x40;
static const System::ShortInt EmfRecordTypeFlattenPath = 0x41;
static const System::ShortInt EmfRecordTypeWidenPath = 0x42;
static const System::ShortInt EmfRecordTypeSelectClipPath = 0x43;
static const System::ShortInt EmfRecordTypeAbortPath = 0x44;
static const System::ShortInt EmfRecordTypeReserved_069 = 0x45;
static const System::ShortInt EmfRecordTypeGdiComment = 0x46;
static const System::ShortInt EmfRecordTypeFillRgn = 0x47;
static const System::ShortInt EmfRecordTypeFrameRgn = 0x48;
static const System::ShortInt EmfRecordTypeInvertRgn = 0x49;
static const System::ShortInt EmfRecordTypePaintRgn = 0x4a;
static const System::ShortInt EmfRecordTypeExtSelectClipRgn = 0x4b;
static const System::ShortInt EmfRecordTypeBitBlt = 0x4c;
static const System::ShortInt EmfRecordTypeStretchBlt = 0x4d;
static const System::ShortInt EmfRecordTypeMaskBlt = 0x4e;
static const System::ShortInt EmfRecordTypePlgBlt = 0x4f;
static const System::ShortInt EmfRecordTypeSetDIBitsToDevice = 0x50;
static const System::ShortInt EmfRecordTypeStretchDIBits = 0x51;
static const System::ShortInt EmfRecordTypeExtCreateFontIndirect = 0x52;
static const System::ShortInt EmfRecordTypeExtTextOutA = 0x53;
static const System::ShortInt EmfRecordTypeExtTextOutW = 0x54;
static const System::ShortInt EmfRecordTypePolyBezier16 = 0x55;
static const System::ShortInt EmfRecordTypePolygon16 = 0x56;
static const System::ShortInt EmfRecordTypePolyline16 = 0x57;
static const System::ShortInt EmfRecordTypePolyBezierTo16 = 0x58;
static const System::ShortInt EmfRecordTypePolylineTo16 = 0x59;
static const System::ShortInt EmfRecordTypePolyPolyline16 = 0x5a;
static const System::ShortInt EmfRecordTypePolyPolygon16 = 0x5b;
static const System::ShortInt EmfRecordTypePolyDraw16 = 0x5c;
static const System::ShortInt EmfRecordTypeCreateMonoBrush = 0x5d;
static const System::ShortInt EmfRecordTypeCreateDIBPatternBrushPt = 0x5e;
static const System::ShortInt EmfRecordTypeExtCreatePen = 0x5f;
static const System::ShortInt EmfRecordTypePolyTextOutA = 0x60;
static const System::ShortInt EmfRecordTypePolyTextOutW = 0x61;
static const System::ShortInt EmfRecordTypeSetICMMode = 0x62;
static const System::ShortInt EmfRecordTypeCreateColorSpace = 0x63;
static const System::ShortInt EmfRecordTypeSetColorSpace = 0x64;
static const System::ShortInt EmfRecordTypeDeleteColorSpace = 0x65;
static const System::ShortInt EmfRecordTypeGLSRecord = 0x66;
static const System::ShortInt EmfRecordTypeGLSBoundedRecord = 0x67;
static const System::ShortInt EmfRecordTypePixelFormat = 0x68;
static const System::ShortInt EmfRecordTypeDrawEscape = 0x69;
static const System::ShortInt EmfRecordTypeExtEscape = 0x6a;
static const System::ShortInt EmfRecordTypeStartDoc = 0x6b;
static const System::ShortInt EmfRecordTypeSmallTextOut = 0x6c;
static const System::ShortInt EmfRecordTypeForceUFIMapping = 0x6d;
static const System::ShortInt EmfRecordTypeNamedEscape = 0x6e;
static const System::ShortInt EmfRecordTypeColorCorrectPalette = 0x6f;
static const System::ShortInt EmfRecordTypeSetICMProfileA = 0x70;
static const System::ShortInt EmfRecordTypeSetICMProfileW = 0x71;
static const System::ShortInt EmfRecordTypeAlphaBlend = 0x72;
static const System::ShortInt EmfRecordTypeSetLayout = 0x73;
static const System::ShortInt EmfRecordTypeTransparentBlt = 0x74;
static const System::ShortInt EmfRecordTypeReserved_117 = 0x75;
static const System::ShortInt EmfRecordTypeGradientFill = 0x76;
static const System::ShortInt EmfRecordTypeSetLinkedUFIs = 0x77;
static const System::ShortInt EmfRecordTypeSetTextJustification = 0x78;
static const System::ShortInt EmfRecordTypeColorMatchToTargetW = 0x79;
static const System::ShortInt EmfRecordTypeCreateColorSpaceW = 0x7a;
static const System::ShortInt EmfRecordTypeMax = 0x7a;
static const System::ShortInt EmfRecordTypeMin = 0x1;
static const System::Word EmfPlusRecordTypeInvalid = 0x4000;
static const System::Word EmfPlusRecordTypeHeader = 0x4001;
static const System::Word EmfPlusRecordTypeEndOfFile = 0x4002;
static const System::Word EmfPlusRecordTypeComment = 0x4003;
static const System::Word EmfPlusRecordTypeGetDC = 0x4004;
static const System::Word EmfPlusRecordTypeMultiFormatStart = 0x4005;
static const System::Word EmfPlusRecordTypeMultiFormatSection = 0x4006;
static const System::Word EmfPlusRecordTypeMultiFormatEnd = 0x4007;
static const System::Word EmfPlusRecordTypeObject = 0x4008;
static const System::Word EmfPlusRecordTypeClear = 0x4009;
static const System::Word EmfPlusRecordTypeFillRects = 0x400a;
static const System::Word EmfPlusRecordTypeDrawRects = 0x400b;
static const System::Word EmfPlusRecordTypeFillPolygon = 0x400c;
static const System::Word EmfPlusRecordTypeDrawLines = 0x400d;
static const System::Word EmfPlusRecordTypeFillEllipse = 0x400e;
static const System::Word EmfPlusRecordTypeDrawEllipse = 0x400f;
static const System::Word EmfPlusRecordTypeFillPie = 0x4010;
static const System::Word EmfPlusRecordTypeDrawPie = 0x4011;
static const System::Word EmfPlusRecordTypeDrawArc = 0x4012;
static const System::Word EmfPlusRecordTypeFillRegion = 0x4013;
static const System::Word EmfPlusRecordTypeFillPath = 0x4014;
static const System::Word EmfPlusRecordTypeDrawPath = 0x4015;
static const System::Word EmfPlusRecordTypeFillClosedCurve = 0x4016;
static const System::Word EmfPlusRecordTypeDrawClosedCurve = 0x4017;
static const System::Word EmfPlusRecordTypeDrawCurve = 0x4018;
static const System::Word EmfPlusRecordTypeDrawBeziers = 0x4019;
static const System::Word EmfPlusRecordTypeDrawImage = 0x401a;
static const System::Word EmfPlusRecordTypeDrawImagePoints = 0x401b;
static const System::Word EmfPlusRecordTypeDrawString = 0x401c;
static const System::Word EmfPlusRecordTypeSetRenderingOrigin = 0x401d;
static const System::Word EmfPlusRecordTypeSetAntiAliasMode = 0x401e;
static const System::Word EmfPlusRecordTypeSetTextRenderingHint = 0x401f;
static const System::Word EmfPlusRecordTypeSetTextContrast = 0x4020;
static const System::Word EmfPlusRecordTypeSetInterpolationMode = 0x4021;
static const System::Word EmfPlusRecordTypeSetPixelOffsetMode = 0x4022;
static const System::Word EmfPlusRecordTypeSetCompositingMode = 0x4023;
static const System::Word EmfPlusRecordTypeSetCompositingQuality = 0x4024;
static const System::Word EmfPlusRecordTypeSave = 0x4025;
static const System::Word EmfPlusRecordTypeRestore = 0x4026;
static const System::Word EmfPlusRecordTypeBeginContainer = 0x4027;
static const System::Word EmfPlusRecordTypeBeginContainerNoParams = 0x4028;
static const System::Word EmfPlusRecordTypeEndContainer = 0x4029;
static const System::Word EmfPlusRecordTypeSetWorldTransform = 0x402a;
static const System::Word EmfPlusRecordTypeResetWorldTransform = 0x402b;
static const System::Word EmfPlusRecordTypeMultiplyWorldTransform = 0x402c;
static const System::Word EmfPlusRecordTypeTranslateWorldTransform = 0x402d;
static const System::Word EmfPlusRecordTypeScaleWorldTransform = 0x402e;
static const System::Word EmfPlusRecordTypeRotateWorldTransform = 0x402f;
static const System::Word EmfPlusRecordTypeSetPageTransform = 0x4030;
static const System::Word EmfPlusRecordTypeResetClip = 0x4031;
static const System::Word EmfPlusRecordTypeSetClipRect = 0x4032;
static const System::Word EmfPlusRecordTypeSetClipPath = 0x4033;
static const System::Word EmfPlusRecordTypeSetClipRegion = 0x4034;
static const System::Word EmfPlusRecordTypeOffsetClip = 0x4035;
static const System::Word EmfPlusRecordTypeDrawDriverString = 0x4036;
static const System::Word EmfPlusRecordTotal = 0x4037;
static const System::Word EmfPlusRecordTypeMax = 0x4036;
static const System::Word EmfPlusRecordTypeMin = 0x4001;
static const System::ShortInt StringFormatFlagsDirectionRightToLeft = 0x1;
static const System::ShortInt StringFormatFlagsDirectionVertical = 0x2;
static const System::ShortInt StringFormatFlagsNoFitBlackBox = 0x4;
static const System::ShortInt StringFormatFlagsDisplayFormatControl = 0x20;
static const System::Word StringFormatFlagsNoFontFallback = 0x400;
static const System::Word StringFormatFlagsMeasureTrailingSpaces = 0x800;
static const System::Word StringFormatFlagsNoWrap = 0x1000;
static const System::Word StringFormatFlagsLineLimit = 0x2000;
static const System::Word StringFormatFlagsNoClip = 0x4000;
static const System::ShortInt DriverStringOptionsCmapLookup = 0x1;
static const System::ShortInt DriverStringOptionsVertical = 0x2;
static const System::ShortInt DriverStringOptionsRealizedAdvance = 0x4;
static const System::ShortInt DriverStringOptionsLimitSubpixel = 0x8;
extern PACKAGE int EncoderParameterValueTypeByte;
extern PACKAGE int EncoderParameterValueTypeASCII;
extern PACKAGE int EncoderParameterValueTypeShort;
extern PACKAGE int EncoderParameterValueTypeLong;
extern PACKAGE int EncoderParameterValueTypeRational;
extern PACKAGE int EncoderParameterValueTypeLongRange;
extern PACKAGE int EncoderParameterValueTypeUndefined;
extern PACKAGE int EncoderParameterValueTypeRationalRange;
static const System::ShortInt EmfToWmfBitsFlagsDefault = 0x0;
static const System::ShortInt EmfToWmfBitsFlagsEmbedEmf = 0x1;
static const System::ShortInt EmfToWmfBitsFlagsIncludePlaceable = 0x2;
static const System::ShortInt EmfToWmfBitsFlagsNoXORClip = 0x4;
static const System::Extended FLT_MAX = 3.402823E+38;
static const System::Extended FLT_MIN = 1.175494E-38;
static const System::ShortInt PaletteFlagsHasAlpha = 0x1;
static const System::ShortInt PaletteFlagsGrayScale = 0x2;
static const System::ShortInt PaletteFlagsHalftone = 0x4;
static const unsigned aclAliceBlue = 0xfff0f8ff;
static const unsigned aclAntiqueWhite = 0xfffaebd7;
static const unsigned aclAqua = 0xff00ffff;
static const unsigned aclAquamarine = 0xff7fffd4;
static const unsigned aclAzure = 0xfff0ffff;
static const unsigned aclBeige = 0xfff5f5dc;
static const unsigned aclBisque = 0xffffe4c4;
static const unsigned aclBlack = 0xff000000;
static const unsigned aclBlanchedAlmond = 0xffffebcd;
static const unsigned aclBlue = 0xff0000ff;
static const unsigned aclBlueViolet = 0xff8a2be2;
static const unsigned aclBrown = 0xffa52a2a;
static const unsigned aclBurlyWood = 0xffdeb887;
static const unsigned aclCadetBlue = 0xff5f9ea0;
static const unsigned aclChartreuse = 0xff7fff00;
static const unsigned aclChocolate = 0xffd2691e;
static const unsigned aclCoral = 0xffff7f50;
static const unsigned aclCornflowerBlue = 0xff6495ed;
static const unsigned aclCornsilk = 0xfffff8dc;
static const unsigned aclCrimson = 0xffdc143c;
static const unsigned aclCyan = 0xff00ffff;
static const unsigned aclDarkBlue = 0xff00008b;
static const unsigned aclDarkCyan = 0xff008b8b;
static const unsigned aclDarkGoldenrod = 0xffb8860b;
static const unsigned aclDarkGray = 0xffa9a9a9;
static const unsigned aclDarkGreen = 0xff006400;
static const unsigned aclDarkKhaki = 0xffbdb76b;
static const unsigned aclDarkMagenta = 0xff8b008b;
static const unsigned aclDarkOliveGreen = 0xff556b2f;
static const unsigned aclDarkOrange = 0xffff8c00;
static const unsigned aclDarkOrchid = 0xff9932cc;
static const unsigned aclDarkRed = 0xff8b0000;
static const unsigned aclDarkSalmon = 0xffe9967a;
static const unsigned aclDarkSeaGreen = 0xff8fbc8b;
static const unsigned aclDarkSlateBlue = 0xff483d8b;
static const unsigned aclDarkSlateGray = 0xff2f4f4f;
static const unsigned aclDarkTurquoise = 0xff00ced1;
static const unsigned aclDarkViolet = 0xff9400d3;
static const unsigned aclDeepPink = 0xffff1493;
static const unsigned aclDeepSkyBlue = 0xff00bfff;
static const unsigned aclDimGray = 0xff696969;
static const unsigned aclDodgerBlue = 0xff1e90ff;
static const unsigned aclFirebrick = 0xffb22222;
static const unsigned aclFloralWhite = 0xfffffaf0;
static const unsigned aclForestGreen = 0xff228b22;
static const unsigned aclFuchsia = 0xffff00ff;
static const unsigned aclGainsboro = 0xffdcdcdc;
static const unsigned aclGhostWhite = 0xfff8f8ff;
static const unsigned aclGold = 0xffffd700;
static const unsigned aclGoldenrod = 0xffdaa520;
static const unsigned aclGray = 0xff808080;
static const unsigned aclGreen = 0xff008000;
static const unsigned aclGreenYellow = 0xffadff2f;
static const unsigned aclHoneydew = 0xfff0fff0;
static const unsigned aclHotPink = 0xffff69b4;
static const unsigned aclIndianRed = 0xffcd5c5c;
static const unsigned aclIndigo = 0xff4b0082;
static const unsigned aclIvory = 0xfffffff0;
static const unsigned aclKhaki = 0xfff0e68c;
static const unsigned aclLavender = 0xffe6e6fa;
static const unsigned aclLavenderBlush = 0xfffff0f5;
static const unsigned aclLawnGreen = 0xff7cfc00;
static const unsigned aclLemonChiffon = 0xfffffacd;
static const unsigned aclLightBlue = 0xffadd8e6;
static const unsigned aclLightCoral = 0xfff08080;
static const unsigned aclLightCyan = 0xffe0ffff;
static const unsigned aclLightGoldenrodYellow = 0xfffafad2;
static const unsigned aclLightGray = 0xffd3d3d3;
static const unsigned aclLightGreen = 0xff90ee90;
static const unsigned aclLightPink = 0xffffb6c1;
static const unsigned aclLightSalmon = 0xffffa07a;
static const unsigned aclLightSeaGreen = 0xff20b2aa;
static const unsigned aclLightSkyBlue = 0xff87cefa;
static const unsigned aclLightSlateGray = 0xff778899;
static const unsigned aclLightSteelBlue = 0xffb0c4de;
static const unsigned aclLightYellow = 0xffffffe0;
static const unsigned aclLime = 0xff00ff00;
static const unsigned aclLimeGreen = 0xff32cd32;
static const unsigned aclLinen = 0xfffaf0e6;
static const unsigned aclMagenta = 0xffff00ff;
static const unsigned aclMaroon = 0xff800000;
static const unsigned aclMediumAquamarine = 0xff66cdaa;
static const unsigned aclMediumBlue = 0xff0000cd;
static const unsigned aclMediumOrchid = 0xffba55d3;
static const unsigned aclMediumPurple = 0xff9370db;
static const unsigned aclMediumSeaGreen = 0xff3cb371;
static const unsigned aclMediumSlateBlue = 0xff7b68ee;
static const unsigned aclMediumSpringGreen = 0xff00fa9a;
static const unsigned aclMediumTurquoise = 0xff48d1cc;
static const unsigned aclMediumVioletRed = 0xffc71585;
static const unsigned aclMidnightBlue = 0xff191970;
static const unsigned aclMintCream = 0xfff5fffa;
static const unsigned aclMistyRose = 0xffffe4e1;
static const unsigned aclMoccasin = 0xffffe4b5;
static const unsigned aclNavajoWhite = 0xffffdead;
static const unsigned aclNavy = 0xff000080;
static const unsigned aclOldLace = 0xfffdf5e6;
static const unsigned aclOlive = 0xff808000;
static const unsigned aclOliveDrab = 0xff6b8e23;
static const unsigned aclOrange = 0xffffa500;
static const unsigned aclOrangeRed = 0xffff4500;
static const unsigned aclOrchid = 0xffda70d6;
static const unsigned aclPaleGoldenrod = 0xffeee8aa;
static const unsigned aclPaleGreen = 0xff98fb98;
static const unsigned aclPaleTurquoise = 0xffafeeee;
static const unsigned aclPaleVioletRed = 0xffdb7093;
static const unsigned aclPapayaWhip = 0xffffefd5;
static const unsigned aclPeachPuff = 0xffffdab9;
static const unsigned aclPeru = 0xffcd853f;
static const unsigned aclPink = 0xffffc0cb;
static const unsigned aclPlum = 0xffdda0dd;
static const unsigned aclPowderBlue = 0xffb0e0e6;
static const unsigned aclPurple = 0xff800080;
static const unsigned aclRed = 0xffff0000;
static const unsigned aclRosyBrown = 0xffbc8f8f;
static const unsigned aclRoyalBlue = 0xff4169e1;
static const unsigned aclSaddleBrown = 0xff8b4513;
static const unsigned aclSalmon = 0xfffa8072;
static const unsigned aclSandyBrown = 0xfff4a460;
static const unsigned aclSeaGreen = 0xff2e8b57;
static const unsigned aclSeaShell = 0xfffff5ee;
static const unsigned aclSienna = 0xffa0522d;
static const unsigned aclSilver = 0xffc0c0c0;
static const unsigned aclSkyBlue = 0xff87ceeb;
static const unsigned aclSlateBlue = 0xff6a5acd;
static const unsigned aclSlateGray = 0xff708090;
static const unsigned aclSnow = 0xfffffafa;
static const unsigned aclSpringGreen = 0xff00ff7f;
static const unsigned aclSteelBlue = 0xff4682b4;
static const unsigned aclTan = 0xffd2b48c;
static const unsigned aclTeal = 0xff008080;
static const unsigned aclThistle = 0xffd8bfd8;
static const unsigned aclTomato = 0xffff6347;
static const int aclTransparent = 0xffffff;
static const unsigned aclTurquoise = 0xff40e0d0;
static const unsigned aclViolet = 0xffee82ee;
static const unsigned aclWheat = 0xfff5deb3;
static const unsigned aclWhite = 0xffffffff;
static const unsigned aclWhiteSmoke = 0xfff5f5f5;
static const unsigned aclYellow = 0xffffff00;
static const unsigned aclYellowGreen = 0xff9acd32;
static const System::ShortInt ImageCodecFlagsEncoder = 0x1;
static const System::ShortInt ImageCodecFlagsDecoder = 0x2;
static const System::ShortInt ImageCodecFlagsSupportBitmap = 0x4;
static const System::ShortInt ImageCodecFlagsSupportVector = 0x8;
static const System::ShortInt ImageCodecFlagsSeekableEncode = 0x10;
static const System::ShortInt ImageCodecFlagsBlockingDecode = 0x20;
static const int ImageCodecFlagsBuiltin = 0x10000;
static const int ImageCodecFlagsSystem = 0x20000;
static const int ImageCodecFlagsUser = 0x40000;
static const System::ShortInt ImageLockModeRead = 0x1;
static const System::ShortInt ImageLockModeWrite = 0x2;
static const System::ShortInt ImageLockModeUserInputBuf = 0x4;
static const System::ShortInt ImageFlagsNone = 0x0;
static const System::ShortInt ImageFlagsScalable = 0x1;
static const System::ShortInt ImageFlagsHasAlpha = 0x2;
static const System::ShortInt ImageFlagsHasTranslucent = 0x4;
static const System::ShortInt ImageFlagsPartiallyScalable = 0x8;
static const System::ShortInt ImageFlagsColorSpaceRGB = 0x10;
static const System::ShortInt ImageFlagsColorSpaceCMYK = 0x20;
static const System::ShortInt ImageFlagsColorSpaceGRAY = 0x40;
static const System::Byte ImageFlagsColorSpaceYCBCR = 0x80;
static const System::Word ImageFlagsColorSpaceYCCK = 0x100;
static const System::Word ImageFlagsHasRealDPI = 0x1000;
static const System::Word ImageFlagsHasRealPixelSize = 0x2000;
static const int ImageFlagsReadOnly = 0x10000;
static const int ImageFlagsCaching = 0x20000;
static const RotateFlipType RotateNoneFlipY = (RotateFlipType)(6);
static const RotateFlipType Rotate90FlipY = (RotateFlipType)(7);
static const RotateFlipType Rotate180FlipY = (RotateFlipType)(4);
static const RotateFlipType Rotate270FlipY = (RotateFlipType)(5);
static const RotateFlipType RotateNoneFlipXY = (RotateFlipType)(2);
static const RotateFlipType Rotate90FlipXY = (RotateFlipType)(3);
static const RotateFlipType Rotate180FlipXY = (RotateFlipType)(0);
static const RotateFlipType Rotate270FlipXY = (RotateFlipType)(1);
extern PACKAGE bool __fastcall TeeGDIPlusLoadDLL(void);
extern PACKAGE BOOL __fastcall ObjectTypeIsValid(ObjectType type_);
extern PACKAGE int __fastcall GDIP_WMF_RECORD_TO_EMFPLUS(int n);
extern PACKAGE int __fastcall GDIP_EMFPLUS_RECORD_TO_WMF(int n);
extern PACKAGE BOOL __fastcall GDIP_IS_WMF_RECORDTYPE(int n);
extern PACKAGE TGPPoint __fastcall MakePoint(int X, int Y)/* overload */;
extern PACKAGE TGPPointF __fastcall MakePoint(float X, float Y)/* overload */;
extern PACKAGE TGPSizeF __fastcall MakeSize(float Width, float Height)/* overload */;
extern PACKAGE TGPSize __fastcall MakeSize(int Width, int Height)/* overload */;
extern PACKAGE TCharacterRange __fastcall MakeCharacterRange(int First, int Length);
extern PACKAGE TGPRectF __fastcall MakeRect(float x, float y, float width, float height)/* overload */;
extern PACKAGE TGPRectF __fastcall MakeRect(const TGPPointF &location, const TGPSizeF &size)/* overload */;
extern PACKAGE TGPRect __fastcall MakeRect(int x, int y, int width, int height)/* overload */;
extern PACKAGE TGPRect __fastcall MakeRect(const TGPPoint &location, const TGPSize &size)/* overload */;
extern PACKAGE TGPRect __fastcall MakeRect(const Types::TRect &Rect)/* overload */;
extern PACKAGE unsigned __fastcall MakeColor(System::Byte r, System::Byte g, System::Byte b)/* overload */;
extern PACKAGE unsigned __fastcall MakeColor(System::Byte a, System::Byte r, System::Byte g, System::Byte b)/* overload */;
extern PACKAGE System::Byte __fastcall GetAlpha(unsigned color);
extern PACKAGE System::Byte __fastcall GetRed(unsigned color);
extern PACKAGE System::Byte __fastcall GetGreen(unsigned color);
extern PACKAGE System::Byte __fastcall GetBlue(unsigned color);
extern PACKAGE unsigned __fastcall ColorRefToARGB(unsigned rgb);
extern PACKAGE unsigned __fastcall ARGBToColorRef(unsigned Color);

}	/* namespace Gdipapi */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace Gdipapi;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// GdipapiHPP
