//.. GDI+绘图
//http://msdn.microsoft.com/en-us/library/ms534041(VS.85).aspx

import com.picture; //已经导入了win,gdi,并定义了LOGFONT，
import win.guid; 
import gdip.stringformat;
import gdip.family;
import gdip.path
import gdip.bitmap;
import gdip.image;
import gdip.graphics;

namespace  gdip;     
/*intellisense(gdip)*/  
RECTF = class{
	ctor(left=0,top=0,right=0,bottom=0){
  		this.left = left;
  		this.top = top;
  		this.right = right;
  		this.bottom = bottom;
	} 
	float left;
	float top;
	float right;
	float bottom;
}

POINTF = class{
	ctor(x=0,y=0){
  	this.x = x;
  	this.y = y;
	} 
	float x ; 
	float y ;
}

/*
SIZEF = class{ 
float cx; 
float cy; 
}
*/ 
BITMAPINFOHEADER= class{
	int biSize;
	int biWidth;
	int biHeight;
	word biPlanes;
	word biBitCount;
	int biCompression;
	int biSizeImage;
	int biXPelsPerMeter;
	int biYPelsPerMeter;
	int biClrUsed;
	int biClrImportant;
}

BITMAPINFO= class{
	struct bmiHeader;
	struct bmiColors;
}

BitmapData= class{  
	int Width;
	int Height;
	int Stride;
	int PixelFormat;
	pointer Scan0;
	int Reserved;  
}
 
//Color Structure
COLORBYTES= class{
byte BlueByte;
byte GreenByte;
byte RedByte;
byte AlphaByte;
}

COLORLONG= class{
int longval;
}

ColorMap= class{
int oldColor;
int newColor;
}

ColorMatrix= class{
struct m = {
float m1[5];
float m2[5];
float m3[5];
float m4[5];
float m5[5];
}
}

//=================================
//Path
PathData= class{
int count;
pointer Points; 
pointer types; 
} 
/*end intellisense*/

 


::Gdiplus := ..raw.loadDll("Gdiplus.dll")

/*intellisense(gdip)*/  
self.GetDC = Gdiplus.api("GdipGetDC","int(POINTER Graphics,pointer& hDC)")
self.ReleaseDC = Gdiplus.api("GdipReleaseDC","int(POINTER Graphics,POINTER hDc)") 
CreateFromHDC = Gdiplus.api("GdipCreateFromHDC","int(POINTER hDc,pointer& Graphics)")
CreateFromHWND = Gdiplus.api("GdipCreateFromHWND","int(int hwnd,pointer& Graphics)")
GetImageGraphicsContext = Gdiplus.api("GdipGetImageGraphicsContext","int(POINTER Image,pointer& Graphics)")
DeleteGraphics = Gdiplus.api("GdipDeleteGraphics","int(POINTER Graphics)")
GraphicsClear = Gdiplus.api("GdipGraphicsClear","int(POINTER Graphics,int lColor)") 
SetCompositingMode = Gdiplus.api("GdipSetCompositingMode","int(POINTER Graphics,struct CompositingMd)")
GetCompositingMode = Gdiplus.api("GdipGetCompositingMode","int(POINTER Graphics,struct& CompositingMd)")
SetRenderingOrigin = Gdiplus.api("GdipSetRenderingOrigin","int(POINTER Graphics,int x,int y)")
GetRenderingOrigin = Gdiplus.api("GdipGetRenderingOrigin","int(POINTER Graphics,int& x,int& y)")
SetCompositingQuality = Gdiplus.api("GdipSetCompositingQuality","int(POINTER Graphics,struct CompositingQlty)")
GetCompositingQuality = Gdiplus.api("GdipGetCompositingQuality","int(POINTER Graphics,struct& CompositingQlty)")
SetSmoothingMode = Gdiplus.api("GdipSetSmoothingMode","int(POINTER Graphics,int SmoothingMd)")
GetSmoothingMode = Gdiplus.api("GdipGetSmoothingMode","int(POINTER Graphics,struct& SmoothingMd)")
SetPixelOffsetMode = Gdiplus.api("GdipSetPixelOffsetMode","int(POINTER Graphics,struct PixOffsetMode)")
GetPixelOffsetMode = Gdiplus.api("GdipGetPixelOffsetMode","int(POINTER Graphics,struct& PixOffsetMode)")
SetTextRenderingHint = Gdiplus.api("GdipSetTextRenderingHint","int(POINTER Graphics,int Mode)")
GetTextRenderingHint = Gdiplus.api("GdipGetTextRenderingHint","int(POINTER Graphics,struct& Mode)")
SetTextContrast = Gdiplus.api("GdipSetTextContrast","int(POINTER Graphics,int contrast)")
GetTextContrast = Gdiplus.api("GdipGetTextContrast","int(POINTER Graphics,int& contrast)")
SetInterpolationMode = Gdiplus.api("GdipSetInterpolationMode","int(POINTER Graphics,int interpolation)")
GetInterpolationMode = Gdiplus.api("GdipGetInterpolationMode","int(POINTER Graphics,struct& interpolation)") 
SetWorldTransform = Gdiplus.api("GdipSetWorldTransform","int(POINTER Graphics,int matrix)")
ResetWorldTransform = Gdiplus.api("GdipResetWorldTransform","int(POINTER Graphics)")
MultiplyWorldTransform = Gdiplus.api("GdipMultiplyWorldTransform","int(POINTER Graphics,int matrix,int order)")
TranslateWorldTransform = Gdiplus.api("GdipTranslateWorldTransform","int(POINTER Graphics,float dx,float dy,int order)")
ScaleWorldTransform = Gdiplus.api("GdipScaleWorldTransform","int(POINTER Graphics,float sx,float sy,int order)")
RotateWorldTransform = Gdiplus.api("GdipRotateWorldTransform","int(POINTER Graphics,float angle,int order)")
GetWorldTransform = Gdiplus.api("GdipGetWorldTransform","int(POINTER Graphics,int matrix)")
ResetPageTransform = Gdiplus.api("GdipResetPageTransform","int(POINTER Graphics)")
GetPageUnit = Gdiplus.api("GdipGetPageUnit","int(POINTER Graphics,struct& unit)")
GetPageScale = Gdiplus.api("GdipGetPageScale","int(POINTER Graphics,float& sScale)")
SetPageUnit = Gdiplus.api("GdipSetPageUnit","int(POINTER Graphics,int unit)")
SetPageScale = Gdiplus.api("GdipSetPageScale","int(POINTER Graphics,float sScale)")
GetDpiX = Gdiplus.api("GdipGetDpiX","int(POINTER Graphics,float& dpi)")
GetDpiY = Gdiplus.api("GdipGetDpiY","int(POINTER Graphics,float& dpi)")
TransformPoints = Gdiplus.api("GdipTransformPoints","int(POINTER Graphics,struct destSpace,struct srcSpace,struct  Points,int count)")
TransformPointsI = Gdiplus.api("GdipTransformPointsI","int(POINTER Graphics,struct destSpace,struct srcSpace,struct  Points,int count)")
GetNearestColor = Gdiplus.api("GdipGetNearestColor","int(POINTER Graphics,int& argb)")
CreateHalftonePalette = Gdiplus.api("GdipCreateHalftonePalette","int()") 
SetClipGraphics = Gdiplus.api("GdipSetClipGraphics","int(POINTER Graphics,int srcgraphics,int CombineMd)")
SetClipRect = Gdiplus.api("GdipSetClipRect","int(POINTER Graphics,float x,float y,float Width,float Height,int CombineMd)")
SetClipRectI = Gdiplus.api("GdipSetClipRectI","int(POINTER Graphics,int x,int y,int Width,int Height,int CombineMd)")
SetClipPath = Gdiplus.api("GdipSetClipPath","int(POINTER Graphics,pointer Path,int CombineMd)")
SetClipRegion = Gdiplus.api("GdipSetClipRegion","int(POINTER Graphics,int region,int CombineMd)")
SetClipHrgn = Gdiplus.api("GdipSetClipHrgn","int(POINTER Graphics,int hRgn,int CombineMd)")
ResetClip = Gdiplus.api("GdipResetClip","int(POINTER Graphics)") 
TranslateClip = Gdiplus.api("GdipTranslateClip","int(POINTER Graphics,float dx,float dy)")
TranslateClipI = Gdiplus.api("GdipTranslateClipI","int(POINTER Graphics,int dx,int dy)")
GetClip = Gdiplus.api("GdipGetClip","int(POINTER Graphics,int region)")
GetClipBounds = Gdiplus.api("GdipGetClipBounds","int(POINTER Graphics,struct& rect)")
GetClipBoundsI = Gdiplus.api("GdipGetClipBoundsI","int(POINTER Graphics,struct& rect)") 
IsClipEmpty = Gdiplus.api("GdipIsClipEmpty","int(POINTER Graphics,int& result)")
GetVisibleClipBounds = Gdiplus.api("GdipGetVisibleClipBounds","int(POINTER Graphics,struct& rect)")
GetVisibleClipBoundsI = Gdiplus.api("GdipGetVisibleClipBoundsI","int(POINTER Graphics,struct& rect)")
IsVisibleClipEmpty = Gdiplus.api("GdipIsVisibleClipEmpty","int(POINTER Graphics,int& result)") 
IsVisiblePoint = Gdiplus.api("GdipIsVisiblePoint","int(POINTER Graphics,float x,float y,int& result)")
IsVisiblePointI = Gdiplus.api("GdipIsVisiblePointI","int(POINTER Graphics,int x,int y,int& result)")
IsVisibleRect = Gdiplus.api("GdipIsVisibleRect","int(POINTER Graphics,float x,float y,float Width,float Height,int& result)")
IsVisibleRectI = Gdiplus.api("GdipIsVisibleRectI","int(POINTER Graphics,int x,int y,int Width,int Height,int& result)") 
SaveGraphics = Gdiplus.api("GdipSaveGraphics","int(POINTER Graphics,int& state)")
RestoreGraphics = Gdiplus.api("GdipRestoreGraphics","int(POINTER Graphics,int state)")
BeginContainer = Gdiplus.api("GdipBeginContainer","int(POINTER Graphics,struct& dstRect,struct& srcRect,int unit,int& state)")
BeginContainerI = Gdiplus.api("GdipBeginContainerI","int(POINTER Graphics,struct& dstRect,struct& srcRect,int unit,int& state)")
BeginContainer2 = Gdiplus.api("GdipBeginContainer2","int(POINTER Graphics,int& state)")
EndContainer = Gdiplus.api("GdipEndContainer","int(POINTER Graphics,int state)") 
DrawLine = Gdiplus.api("GdipDrawLine","int(POINTER Graphics,pointer pen,float x1,float y1,float x2,float y2)")
DrawLineI = Gdiplus.api("GdipDrawLineI","int(POINTER Graphics,pointer pen,int x1,int y1,int x2,int y2)")
DrawLines = Gdiplus.api("GdipDrawLines","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawLinesI = Gdiplus.api("GdipDrawLinesI","int(POINTER Graphics,pointer pen,struct  Points,int count)") 
DrawArc = Gdiplus.api("GdipDrawArc","int(POINTER Graphics,pointer pen,float x,float y,float Width,float Height,float startAngle,float sweepAngle)")
DrawArcI = Gdiplus.api("GdipDrawArcI","int(POINTER Graphics,pointer pen,int x,int y,int Width,int Height,float startAngle,float sweepAngle)")
DrawBezier = Gdiplus.api("GdipDrawBezier","int(POINTER Graphics,pointer pen,float x1,float y1,float x2,float y2,float x3,float y3,float x4,float y4)")
DrawBezierI = Gdiplus.api("GdipDrawBezierI","int(POINTER Graphics,pointer pen,int x1,int y1,int x2,int y2,int x3,int y3,int x4,int y4)")
DrawBeziers = Gdiplus.api("GdipDrawBeziers","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawBeziersI = Gdiplus.api("GdipDrawBeziersI","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawRectangle = Gdiplus.api("GdipDrawRectangle","int(POINTER Graphics,pointer pen,float x,float y,float Width,float Height)")
DrawRectangleI = Gdiplus.api("GdipDrawRectangleI","int(POINTER Graphics,pointer pen,int x,int y,int Width,int Height)")
DrawRectangles = Gdiplus.api("GdipDrawRectangles","int(POINTER Graphics,pointer pen,struct& rects,int count)")
DrawRectanglesI = Gdiplus.api("GdipDrawRectanglesI","int(POINTER Graphics,pointer pen,struct& rects,int count)")
FillRectangle = Gdiplus.api("GdipFillRectangle","int(POINTER Graphics,pointer Brush,float x,float y,float Width,float Height)")
FillRectangleI = Gdiplus.api("GdipFillRectangleI","int(POINTER Graphics,pointer Brush,int x,int y,int Width,int Height)")
FillRectangles = Gdiplus.api("GdipFillRectangles","int(POINTER Graphics,pointer Brush,struct& rects,int count)")
FillRectanglesI = Gdiplus.api("GdipFillRectanglesI","int(POINTER Graphics,pointer Brush,struct& rects,int count)")
DrawEllipse = Gdiplus.api("GdipDrawEllipse","int(POINTER Graphics,pointer pen,float x,float y,float Width,float Height)")
DrawEllipseI = Gdiplus.api("GdipDrawEllipseI","int(POINTER Graphics,pointer pen,int x,int y,int Width,int Height)")
FillEllipse = Gdiplus.api("GdipFillEllipse","int(POINTER Graphics,pointer Brush,float x,float y,float Width,float Height)")
FillEllipseI = Gdiplus.api("GdipFillEllipseI","int(POINTER Graphics,pointer Brush,int x,int y,int Width,int Height)")
DrawPie = Gdiplus.api("GdipDrawPie","int(POINTER Graphics,pointer pen,float x,float y,float Width,float Height,float startAngle,float sweepAngle)")
DrawPieI = Gdiplus.api("GdipDrawPieI","int(POINTER Graphics,pointer pen,int x,int y,int Width,int Height,float startAngle,float sweepAngle)")
FillPie = Gdiplus.api("GdipFillPie","int(POINTER Graphics,pointer Brush,float x,float y,float Width,float Height,float startAngle,float sweepAngle)")
FillPieI = Gdiplus.api("GdipFillPieI","int(POINTER Graphics,pointer Brush,int x,int y,int Width,int Height,float startAngle,float sweepAngle)")
DrawPolygon = Gdiplus.api("GdipDrawPolygon","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawPolygonI = Gdiplus.api("GdipDrawPolygonI","int(POINTER Graphics,pointer pen,struct  Points,int count)")
FillPolygon = Gdiplus.api("GdipFillPolygon","int(POINTER Graphics,pointer Brush,struct  Points,int count,struct FillMd)")
FillPolygonI = Gdiplus.api("GdipFillPolygonI","int(POINTER Graphics,pointer Brush,struct  Points,int count,struct FillMd)")
FillPolygon2 = Gdiplus.api("GdipFillPolygon2","int(POINTER Graphics,pointer Brush,struct  Points,int count)")
FillPolygon2I = Gdiplus.api("GdipFillPolygon2I","int(POINTER Graphics,pointer Brush,struct  Points,int count)")
DrawPath = Gdiplus.api("GdipDrawPath","int(POINTER Graphics,pointer pen,pointer Path)")
self.FillPath = Gdiplus.api("GdipFillPath","int(POINTER Graphics,pointer Brush,pointer Path)")
DrawCurve = Gdiplus.api("GdipDrawCurve","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawCurveI = Gdiplus.api("GdipDrawCurveI","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawCurve2 = Gdiplus.api("GdipDrawCurve2","int(POINTER Graphics,pointer pen,struct  Points,int count,float tension)")
DrawCurve2I = Gdiplus.api("GdipDrawCurve2I","int(POINTER Graphics,pointer pen,struct  Points,int count,float tension)")
DrawCurve3 = Gdiplus.api("GdipDrawCurve3","int(POINTER Graphics,pointer pen,struct  Points,int count,int Offset,int numberOfSegments,float tension)")
DrawCurve3I = Gdiplus.api("GdipDrawCurve3I","int(POINTER Graphics,pointer pen,struct  Points,int count,int Offset,int numberOfSegments,float tension)")
DrawClosedCurve = Gdiplus.api("GdipDrawClosedCurve","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawClosedCurveI = Gdiplus.api("GdipDrawClosedCurveI","int(POINTER Graphics,pointer pen,struct  Points,int count)")
DrawClosedCurve2 = Gdiplus.api("GdipDrawClosedCurve2","int(POINTER Graphics,pointer pen,struct  Points,int count,float tension)")
DrawClosedCurve2I = Gdiplus.api("GdipDrawClosedCurve2I","int(POINTER Graphics,pointer pen,struct  Points,int count,float tension)")
FillClosedCurve = Gdiplus.api("GdipFillClosedCurve","int(POINTER Graphics,pointer Brush,struct  Points,int count)")
FillClosedCurveI = Gdiplus.api("GdipFillClosedCurveI","int(POINTER Graphics,pointer Brush,struct  Points,int count)")
FillClosedCurve2 = Gdiplus.api("GdipFillClosedCurve2","int(POINTER Graphics,pointer Brush,struct  Points,int count,float tension,struct FillMd)")
FillClosedCurve2I = Gdiplus.api("GdipFillClosedCurve2I","int(POINTER Graphics,pointer Brush,struct  Points,int count,float tension,struct FillMd)")
FillRegion = Gdiplus.api("GdipFillRegion","int(POINTER Graphics,pointer Brush,int region)")
DrawImage = Gdiplus.api("GdipDrawImage","int(POINTER Graphics,pointer Image,float x,float y)")
DrawImageI = Gdiplus.api("GdipDrawImageI","int(POINTER Graphics,pointer Image,int x,int y)")
DrawImageRect = Gdiplus.api("GdipDrawImageRect","int(POINTER Graphics,pointer Image,float x,float y,float Width,float Height)")
DrawImageRectI = Gdiplus.api("GdipDrawImageRectI","int(POINTER Graphics,pointer Image,int x,int y,int Width,int Height)")
DrawImagePoints = Gdiplus.api("GdipDrawImagePoints","int(POINTER Graphics,pointer Image,struct& dstpoints,int count)")
DrawImagePointsI = Gdiplus.api("GdipDrawImagePointsI","int(POINTER Graphics,pointer Image,struct& dstpoints,int count)")
DrawImagePointRect = Gdiplus.api("GdipDrawImagePointRect","int(POINTER Graphics,pointer Image,float x,float y,float srcx,float srcy,float srcwidth,float srcheight,int srcUnit)")
DrawImagePointRectI = Gdiplus.api("GdipDrawImagePointRectI","int(POINTER Graphics,pointer Image,int x,int y,int srcx,int srcy,int srcwidth,int srcheight,int srcUnit)")
DrawImageRectRect = Gdiplus.api("GdipDrawImageRectRect","int(POINTER Graphics,pointer Image,float dstX,float dstY,int dstWidth,float dstHeight,float srcx,float srcy,float srcwidth,float srcheight,int srcUnit,int imageAttributes ,pointer callback,pointer callbackData )")
DrawImageRectRectI = Gdiplus.api("GdipDrawImageRectRectI","int(POINTER Graphics,pointer Image,int dstX,int dstY,int dstWidth,int dstHeight,int srcx,int srcy,int srcwidth,int srcheight,int srcUnit,int imageAttributes ,pointer callback,pointer callbackData )")
DrawImagePointsRect = Gdiplus.api("GdipDrawImagePointsRect","int(POINTER Graphics,pointer Image,struct  Points,int count,float srcx,float srcy,float srcwidth,float srcheight,int srcUnit,int imageAttributes ,pointer callback,pointer callbackData )")
DrawImagePointsRectI = Gdiplus.api("GdipDrawImagePointsRectI","int(POINTER Graphics,pointer Image,struct  Points,int count,int srcx,int srcy,int srcwidth,int srcheight,int srcUnit,int imageAttributes ,pointer callback,pointer callbackData )")
GetImageDecoders = Gdiplus.api("GdipGetImageDecoders","int(int numDecoders,int size,pointer& decoders)")
GetImageEncodersSize = Gdiplus.api("GdipGetImageEncodersSize","int(int& numEncoders,int& size)")
GetImageEncoders = Gdiplus.api("GdipGetImageEncoders","int(int numEncoders,int size,pointer& encoders)")
Comment = Gdiplus.api("GdipComment","int(POINTER Graphics,int sizeData,pointer& data)")
LoadImageFromFile = Gdiplus.api("GdipLoadImageFromFile","int(string FileName,pointer& Image)")
LoadImageFromFileICM = Gdiplus.api("GdipLoadImageFromFileICM","int(string FileName,pointer& Image)")
LoadImageFromStream = Gdiplus.api("GdipLoadImageFromStream","int(POINTER stream,pointer& Image)")
LoadImageFromStreamICM = Gdiplus.api("GdipLoadImageFromStreamICM","int(POINTER stream,pointer& Image)")
DisposeImage = Gdiplus.api("GdipDisposeImage","int(POINTER Image)")
CloneImage = Gdiplus.api("GdipCloneImage","int(POINTER Image,int& cloneImage)")
SaveImageToFile = Gdiplus.api("GdipSaveImageToFile","int(POINTER Image,string FileName,struct clsidEncoder,struct encoderParams)")
SaveImageToStream = Gdiplus.api("GdipSaveImageToStream","int(POINTER Image,pointer stream,struct& clsidEncoder,pointer& encoderParams)")
SaveAdd = Gdiplus.api("GdipSaveAdd","int(POINTER Image,struct& encoderParams)")
SaveAddImage = Gdiplus.api("GdipSaveAddImage","int(POINTER Image,int newImage,struct& encoderParams)")
GetImageBounds = Gdiplus.api("GdipGetImageBounds","int(POINTER Image,struct& srcRect,struct& srcUnit)")
GetImageDimension = Gdiplus.api("GdipGetImageDimension","int(POINTER Image,float& Width,float& Height)")
GetImageType = Gdiplus.api("GdipGetImageType","int(POINTER Image,struct& itype)")
GetImageWidth = Gdiplus.api("GdipGetImageWidth","int(POINTER Image,int& Width)")
GetImageHeight = Gdiplus.api("GdipGetImageHeight","int(POINTER Image,int& Height)")
GetImageHorizontalResolution = Gdiplus.api("GdipGetImageHorizontalResolution","int(POINTER Image,float& resolution)")
GetImageVerticalResolution = Gdiplus.api("GdipGetImageVerticalResolution","int(POINTER Image,float& resolution)")
GetImageFlags = Gdiplus.api("GdipGetImageFlags","int(POINTER Image,int& flags)")
GetImageRawFormat = Gdiplus.api("GdipGetImageRawFormat","int(POINTER Image,struct& Format)")
GetImagePixelFormat = Gdiplus.api("GdipGetImagePixelFormat","int(POINTER Image,int& PixelFormat)")
GetImageThumbnail = Gdiplus.api("GdipGetImageThumbnail","int(POINTER Image,int thumbWidth,int thumbHeight,pointer& thumbImage,pointer callback,pointer callbackData )")
GetEncoderParameterListSize = Gdiplus.api("GdipGetEncoderParameterListSize","int(POINTER Image,struct& clsidEncoder,int& size)")
GetEncoderParameterList = Gdiplus.api("GdipGetEncoderParameterList","int(POINTER Image,struct& clsidEncoder,int size,struct& buffer)")
ImageGetFrameDimensionsCount = Gdiplus.api("GdipImageGetFrameDimensionsCount","int(POINTER Image,int& count)")
ImageGetFrameDimensionsList = Gdiplus.api("GdipImageGetFrameDimensionsList","int(POINTER Image,struct& dimensionIDs,int count)")
ImageGetFrameCount = Gdiplus.api("GdipImageGetFrameCount","int(POINTER Image,struct& dimensionID,int& count)")
ImageSelectActiveFrame = Gdiplus.api("GdipImageSelectActiveFrame","int(POINTER Image,struct& dimensionID,int frameIndex)")
ImageRotateFlip = Gdiplus.api("GdipImageRotateFlip","int(POINTER Image,int rfType)")
GetImagePalette = Gdiplus.api("GdipGetImagePalette","int(POINTER Image,struct& palette,int size)")
SetImagePalette = Gdiplus.api("GdipSetImagePalette","int(POINTER Image,struct& palette)")
GetImagePaletteSize = Gdiplus.api("GdipGetImagePaletteSize","int(POINTER Image,int& size)")
GetPropertyCount = Gdiplus.api("GdipGetPropertyCount","int(POINTER Image,int& numOfProperty)")
GetPropertyIdList = Gdiplus.api("GdipGetPropertyIdList","int(POINTER Image,int numOfProperty,int& list)")
GetPropertyItemSize = Gdiplus.api("GdipGetPropertyItemSize","int(POINTER Image,int propId,int& size)")
GetPropertyItem = Gdiplus.api("GdipGetPropertyItem","int(POINTER Image,int propId,int propSize,struct& buffer)")
GetPropertySize = Gdiplus.api("GdipGetPropertySize","int(POINTER Image,int& totalBufferSize,int& numProperties)")
GetAllPropertyItems = Gdiplus.api("GdipGetAllPropertyItems","int(POINTER Image,int totalBufferSize,int numProperties,struct& allItems)")
RemovePropertyItem = Gdiplus.api("GdipRemovePropertyItem","int(POINTER Image,int propId)")
SetPropertyItem = Gdiplus.api("GdipSetPropertyItem","int(POINTER Image,struct& Item)")
ImageForceValidation = Gdiplus.api("GdipImageForceValidation","int(POINTER Image)")
CreatePen1 = Gdiplus.api("GdipCreatePen1","int(int color,float Width,int unit,pointer& pen)")
CreatePen2 = Gdiplus.api("GdipCreatePen2","int(POINTER Brush,float Width,int unit,pointer& pen)")
ClonePen = Gdiplus.api("GdipClonePen","int(POINTER pen,int& clonepen)")
DeletePen = Gdiplus.api("GdipDeletePen","int(POINTER pen,)")
SetPenWidth = Gdiplus.api("GdipSetPenWidth","int(POINTER pen,float Width)")
GetPenWidth = Gdiplus.api("GdipGetPenWidth","int(POINTER pen,float& Width)")
SetPenUnit = Gdiplus.api("GdipSetPenUnit","int(POINTER pen,int unit)")
GetPenUnit = Gdiplus.api("GdipGetPenUnit","int(POINTER pen,struct& unit)")
SetPenLineCap = Gdiplus.api("GdipSetPenLineCap197819","int(POINTER pen,struct startCap,struct endCap,struct dcap)")
SetPenStartCap = Gdiplus.api("GdipSetPenStartCap","int(POINTER pen,struct startCap)")
SetPenEndCap = Gdiplus.api("GdipSetPenEndCap","int(POINTER pen,struct endCap)")
SetPenDashCap = Gdiplus.api("GdipSetPenDashCap197819","int(POINTER pen,struct dcap)")
GetPenStartCap = Gdiplus.api("GdipGetPenStartCap","int(POINTER pen,struct& startCap)")
GetPenEndCap = Gdiplus.api("GdipGetPenEndCap","int(POINTER pen,struct& endCap)")
GetPenDashCap = Gdiplus.api("GdipGetPenDashCap197819","int(POINTER pen,struct& dcap)")
SetPenLineJoin = Gdiplus.api("GdipSetPenLineJoin","int(POINTER pen,struct lnJoin)")
GetPenLineJoin = Gdiplus.api("GdipGetPenLineJoin","int(POINTER pen,struct& lnJoin)")
SetPenCustomStartCap = Gdiplus.api("GdipSetPenCustomStartCap","int(POINTER pen,int customCap)")
GetPenCustomStartCap = Gdiplus.api("GdipGetPenCustomStartCap","int(POINTER pen,int& customCap)")
SetPenCustomEndCap = Gdiplus.api("GdipSetPenCustomEndCap","int(POINTER pen,int customCap)")
GetPenCustomEndCap = Gdiplus.api("GdipGetPenCustomEndCap","int(POINTER pen,int& customCap)")
SetPenMiterLimit = Gdiplus.api("GdipSetPenMiterLimit","int(POINTER pen,float miterLimit)")
GetPenMiterLimit = Gdiplus.api("GdipGetPenMiterLimit","int(POINTER pen,float& miterLimit)")
SetPenMode = Gdiplus.api("GdipSetPenMode","int(POINTER pen,struct penMode)")
GetPenMode = Gdiplus.api("GdipGetPenMode","int(POINTER pen,struct& penMode)")
SetPenTransform = Gdiplus.api("GdipSetPenTransform","int(POINTER pen,int matrix)")
GetPenTransform = Gdiplus.api("GdipGetPenTransform","int(POINTER pen,int matrix)")
ResetPenTransform = Gdiplus.api("GdipResetPenTransform","int(POINTER pen,)")
MultiplyPenTransform = Gdiplus.api("GdipMultiplyPenTransform","int(POINTER pen,int matrix,int order)")
TranslatePenTransform = Gdiplus.api("GdipTranslatePenTransform","int(POINTER pen,float dx,float dy,int order)")
ScalePenTransform = Gdiplus.api("GdipScalePenTransform","int(POINTER pen,float sx,float sy,int order)")
RotatePenTransform = Gdiplus.api("GdipRotatePenTransform","int(POINTER pen,float angle,int order)")
SetPenColor = Gdiplus.api("GdipSetPenColor","int(POINTER pen,int argb)")
GetPenColor = Gdiplus.api("GdipGetPenColor","int(POINTER pen,int& argb)")
SetPenBrushFill = Gdiplus.api("GdipSetPenBrushFill","int(POINTER pen,pointer Brush)")
GetPenBrushFill = Gdiplus.api("GdipGetPenBrushFill","int(POINTER pen,pointer& Brush)")
GetPenFillType = Gdiplus.api("GdipGetPenFillType","int(POINTER pen,struct& ptype)")
GetPenDashStyle = Gdiplus.api("GdipGetPenDashStyle","int(POINTER pen,struct& dStyle)")
SetPenDashStyle = Gdiplus.api("GdipSetPenDashStyle","int(POINTER pen,struct dStyle)")
GetPenDashOffset = Gdiplus.api("GdipGetPenDashOffset","int(POINTER pen,float& Offset)")
SetPenDashOffset = Gdiplus.api("GdipSetPenDashOffset","int(POINTER pen,float Offset)")
GetPenDashCount = Gdiplus.api("GdipGetPenDashCount","int(POINTER pen,int& count)")
SetPenDashArray = Gdiplus.api("GdipSetPenDashArray","int(POINTER pen,float& dash,int count)")
GetPenDashArray = Gdiplus.api("GdipGetPenDashArray","int(POINTER pen,float& dash,int count)")
GetPenCompoundCount = Gdiplus.api("GdipGetPenCompoundCount","int(POINTER pen,int& count)")
SetPenCompoundArray = Gdiplus.api("GdipSetPenCompoundArray","int(POINTER pen,float& dash,int count)")
GetPenCompoundArray = Gdiplus.api("GdipGetPenCompoundArray","int(POINTER pen,float& dash,int count)")
CreateCustomLineCap = Gdiplus.api("GdipCreateCustomLineCap","int(int fillPath,int strokePath,struct baseCap,float baseInset,int& customCap)")
DeleteCustomLineCap = Gdiplus.api("GdipDeleteCustomLineCap","int(int customCap)")
CloneCustomLineCap = Gdiplus.api("GdipCloneCustomLineCap","int(int customCap,int& clonedCap)")
GetCustomLineCapType = Gdiplus.api("GdipGetCustomLineCapType","int(int customCap,struct& capType)")
SetCustomLineCapStrokeCaps = Gdiplus.api("GdipSetCustomLineCapStrokeCaps","int(int customCap,struct startCap,struct endCap)")
GetCustomLineCapStrokeCaps = Gdiplus.api("GdipGetCustomLineCapStrokeCaps","int(int customCap,struct& startCap,struct& endCap)")
SetCustomLineCapStrokeJoin = Gdiplus.api("GdipSetCustomLineCapStrokeJoin","int(int customCap,struct lnJoin)")
GetCustomLineCapStrokeJoin = Gdiplus.api("GdipGetCustomLineCapStrokeJoin","int(int customCap,struct& lnJoin)")
SetCustomLineCapBaseCap = Gdiplus.api("GdipSetCustomLineCapBaseCap","int(int customCap,struct baseCap)")
GetCustomLineCapBaseCap = Gdiplus.api("GdipGetCustomLineCapBaseCap","int(int customCap,struct& baseCap)")
SetCustomLineCapBaseInset = Gdiplus.api("GdipSetCustomLineCapBaseInset","int(int customCap,float inset)")
GetCustomLineCapBaseInset = Gdiplus.api("GdipGetCustomLineCapBaseInset","int(int customCap,float& inset)")
SetCustomLineCapWidthScale = Gdiplus.api("GdipSetCustomLineCapWidthScale","int(int customCap,float widthScale)")
GetCustomLineCapWidthScale = Gdiplus.api("GdipGetCustomLineCapWidthScale","int(int customCap,float& widthScale)")
CreateAdjustableArrowCap = Gdiplus.api("GdipCreateAdjustableArrowCap","int(float Height,float Width,int isFilled,int& cap)")
SetAdjustableArrowCapHeight = Gdiplus.api("GdipSetAdjustableArrowCapHeight","int(int cap,float Height)")
GetAdjustableArrowCapHeight = Gdiplus.api("GdipGetAdjustableArrowCapHeight","int(int cap,float& Height)")
SetAdjustableArrowCapWidth = Gdiplus.api("GdipSetAdjustableArrowCapWidth","int(int cap,float Width)")
GetAdjustableArrowCapWidth = Gdiplus.api("GdipGetAdjustableArrowCapWidth","int(int cap,float& Width)")
SetAdjustableArrowCapMiddleInset = Gdiplus.api("GdipSetAdjustableArrowCapMiddleInset","int(int cap,float middleInset)")
GetAdjustableArrowCapMiddleInset = Gdiplus.api("GdipGetAdjustableArrowCapMiddleInset","int(int cap,float& middleInset)")
SetAdjustableArrowCapFillState = Gdiplus.api("GdipSetAdjustableArrowCapFillState","int(int cap,int bFillState)")
GetAdjustableArrowCapFillState = Gdiplus.api("GdipGetAdjustableArrowCapFillState","int(int cap,int& bFillState)")
CreateBitmapFromFile = Gdiplus.api("GdipCreateBitmapFromFile","int(string FileName,pointer& Bitmap)")
CreateBitmapFromFileICM = Gdiplus.api("GdipCreateBitmapFromFileICM","int(string FileName,pointer& Bitmap)")
CreateBitmapFromStream = Gdiplus.api("GdipCreateBitmapFromStream","int(POINTER stream,pointer& Bitmap)")
CreateBitmapFromStreamICM = Gdiplus.api("GdipCreateBitmapFromStreamICM","int(POINTER stream,pointer& Bitmap)")
CreateBitmapFromScan0 = Gdiplus.api("GdipCreateBitmapFromScan0","int(int Width,int Height,int stride,int PixelFormat,pointer scan0,pointer& Bitmap)")
CreateBitmapFromGraphics = Gdiplus.api("GdipCreateBitmapFromGraphics","int(int Width,int Height,pointer Graphics,pointer& Bitmap)")
CreateBitmapFromGdiDib = Gdiplus.api("GdipCreateBitmapFromGdiDib","int(struct& gdiBitmapInfo,int gdiBitmapData,pointer& Bitmap)")
CreateBitmapFromHBITMAP = Gdiplus.api("GdipCreateBitmapFromHBITMAP","int(POINTER hbm,int hpal,pointer& Bitmap)")
CreateHBITMAPFromBitmap = Gdiplus.api("GdipCreateHBITMAPFromBitmap","int(POINTER Bitmap,pointer& hbmReturn,int background)")
CreateBitmapFromHICON = Gdiplus.api("GdipCreateBitmapFromHICON","int(POINTER hicon,pointer& Bitmap)")
CreateHICONFromBitmap = Gdiplus.api("GdipCreateHICONFromBitmap","int(POINTER Bitmap,int& hbmReturn)")
CreateBitmapFromResource = Gdiplus.api("GdipCreateBitmapFromResource","int(int hInstance,int lpBitmapName,pointer& Bitmap)")
CloneBitmapArea = Gdiplus.api("GdipCloneBitmapArea","int(float x,float y,float Width,float Height,int PixelFormat,int srcBitmap,int& dstBitmap)")
CloneBitmapAreaI = Gdiplus.api("GdipCloneBitmapAreaI","int(int x,int y,int Width,int Height,int PixelFormat,int srcBitmap,int& dstBitmap)")
BitmapLockBits = Gdiplus.api("GdipBitmapLockBits","int(POINTER Bitmap,struct  rect,int flags,int PixelFormat,struct& lockedBitmapData)")
BitmapUnlockBits = Gdiplus.api("GdipBitmapUnlockBits","int(POINTER Bitmap,struct  lockedBitmapData)")
BitmapGetPixel = Gdiplus.api("GdipBitmapGetPixel","int(POINTER Bitmap,int x,int y,int& color)")
BitmapSetPixel = Gdiplus.api("GdipBitmapSetPixel","int(POINTER Bitmap,int x,int y,int color)")
BitmapSetResolution = Gdiplus.api("GdipBitmapSetResolution","int(POINTER Bitmap,float xdpi,float ydpi)")
CreateCachedBitmap = Gdiplus.api("GdipCreateCachedBitmap","int(POINTER Bitmap,pointer Graphics,int& cachedBitmap)")
DeleteCachedBitmap = Gdiplus.api("GdipDeleteCachedBitmap","int(int cachedBitmap)")
DrawCachedBitmap = Gdiplus.api("GdipDrawCachedBitmap","int(POINTER Graphics,int cachedBitmap,int x,int y)")
CloneBrush = Gdiplus.api("GdipCloneBrush","int(POINTER Brush,int& cloneBrush)")
DeleteBrush = Gdiplus.api("GdipDeleteBrush","int(POINTER Brush)")
GetBrushType = Gdiplus.api("GdipGetBrushType","int(POINTER Brush,struct& brshType)")
self.CreateHatchBrush = Gdiplus.api("GdipCreateHatchBrush","int(struct style,int forecolr,int backcolr,pointer& Brush)")
GetHatchStyle = Gdiplus.api("GdipGetHatchStyle","int(POINTER Brush,struct& style)")
GetHatchForegroundColor = Gdiplus.api("GdipGetHatchForegroundColor","int(POINTER Brush,int& forecolr)")
GetHatchBackgroundColor = Gdiplus.api("GdipGetHatchBackgroundColor","int(POINTER Brush,int& backcolr)")
CreateSolidFill = Gdiplus.api("GdipCreateSolidFill","int(int argb,pointer& Brush)")
SetSolidFillColor = Gdiplus.api("GdipSetSolidFillColor","int(POINTER Brush,int argb)")
GetSolidFillColor = Gdiplus.api("GdipGetSolidFillColor","int(POINTER Brush,int& argb)")
CreateLineBrush = Gdiplus.api("GdipCreateLineBrush","int(struct  Point1,struct Point2,int color1,int color2,int WrapMd,pointer& lineGradient)")
CreateLineBrushI = Gdiplus.api("GdipCreateLineBrushI","int(struct Point1,struct Point2,int color1,int color2,int WrapMd,pointer& lineGradient)")
CreateLineBrushFromRect = Gdiplus.api("GdipCreateLineBrushFromRect","int(struct  rect,int color1,int color2,int Mode,int WrapMd,pointer& lineGradient)")
CreateLineBrushFromRectI = Gdiplus.api("GdipCreateLineBrushFromRectI","int(struct rect,int color1,int color2,int Mode,int WrapMd,pointer& lineGradient)")
CreateLineBrushFromRectWithAngle = Gdiplus.api("GdipCreateLineBrushFromRectWithAngle","int(struct  rect,int color1,int color2,float angle,int isAngleScalable,int WrapMd,pointer& lineGradient)")
CreateLineBrushFromRectWithAngleI = Gdiplus.api("GdipCreateLineBrushFromRectWithAngleI","int(struct  rect,int color1,int color2,float angle,int isAngleScalable,int WrapMd,pointer& lineGradient)")
SetLineColors = Gdiplus.api("GdipSetLineColors","int(POINTER Brush,int color1,int color2)")
GetLineColors = Gdiplus.api("GdipGetLineColors","int(POINTER Brush,int& lColors)")
GetLineRect = Gdiplus.api("GdipGetLineRect","int(POINTER Brush,struct& rect)")
GetLineRectI = Gdiplus.api("GdipGetLineRectI","int(POINTER Brush,struct& rect)")
SetLineGammaCorrection = Gdiplus.api("GdipSetLineGammaCorrection","int(POINTER Brush,int useGammaCorrection)")
GetLineGammaCorrection = Gdiplus.api("GdipGetLineGammaCorrection","int(POINTER Brush,int& useGammaCorrection)")
GetLineBlendCount = Gdiplus.api("GdipGetLineBlendCount","int(POINTER Brush,int& count)")
GetLineBlend = Gdiplus.api("GdipGetLineBlend","int(POINTER Brush,float& blend,float& positions,int count)")
SetLineBlend = Gdiplus.api("GdipSetLineBlend","int(POINTER Brush,float& blend,float& positions,int count)")
GetLinePresetBlendCount = Gdiplus.api("GdipGetLinePresetBlendCount","int(POINTER Brush,int& count)")
GetLinePresetBlend = Gdiplus.api("GdipGetLinePresetBlend","int(POINTER Brush,int& blend,float& positions,int count)")
SetLinePresetBlend = Gdiplus.api("GdipSetLinePresetBlend","int(POINTER Brush,int& blend,float& positions,int count)")
SetLineSigmaBlend = Gdiplus.api("GdipSetLineSigmaBlend","int(POINTER Brush,float focus,float theScale)")
SetLineLinearBlend = Gdiplus.api("GdipSetLineLinearBlend","int(POINTER Brush,float focus,float theScale)")
SetLineWrapMode = Gdiplus.api("GdipSetLineWrapMode","int(POINTER Brush,int WrapMd)")
GetLineWrapMode = Gdiplus.api("GdipGetLineWrapMode","int(POINTER Brush,struct& WrapMd)")
GetLineTransform = Gdiplus.api("GdipGetLineTransform","int(POINTER Brush,int& matrix)")
SetLineTransform = Gdiplus.api("GdipSetLineTransform","int(POINTER Brush,int matrix)")
ResetLineTransform = Gdiplus.api("GdipResetLineTransform","int(POINTER Brush)")
MultiplyLineTransform = Gdiplus.api("GdipMultiplyLineTransform","int(POINTER Brush,int matrix,int order)")
TranslateLineTransform = Gdiplus.api("GdipTranslateLineTransform","int(POINTER Brush,float dx,float dy,int order)")
ScaleLineTransform = Gdiplus.api("GdipScaleLineTransform","int(POINTER Brush,float sx,float sy,int order)")
RotateLineTransform = Gdiplus.api("GdipRotateLineTransform","int(POINTER Brush,float angle,int order)")
CreateTexture = Gdiplus.api("GdipCreateTexture","int(POINTER Image,int WrapMd,pointer& texture)")
CreateTexture2 = Gdiplus.api("GdipCreateTexture2","int(POINTER Image,int WrapMd,float x,float y,float Width,float Height,pointer& texture)")
CreateTextureIA = Gdiplus.api("GdipCreateTextureIA","int(POINTER Image,int imageAttributes,float x,float y,float Width,float Height,pointer& texture)")
CreateTexture2I = Gdiplus.api("GdipCreateTexture2I","int(POINTER Image,int WrapMd,int x,int y,int Width,int Height,pointer& texture)")
CreateTextureIAI = Gdiplus.api("GdipCreateTextureIAI","int(POINTER Image,int imageAttributes,int x,int y,int Width,int Height,pointer& texture)")
GetTextureTransform = Gdiplus.api("GdipGetTextureTransform","int(POINTER Brush,int matrix)")
SetTextureTransform = Gdiplus.api("GdipSetTextureTransform","int(POINTER Brush,int matrix)")
ResetTextureTransform = Gdiplus.api("GdipResetTextureTransform","int(POINTER Brush)")
TranslateTextureTransform = Gdiplus.api("GdipTranslateTextureTransform","int(POINTER Brush,float dx,float dy,int order)")
MultiplyTextureTransform = Gdiplus.api("GdipMultiplyTextureTransform","int(POINTER Brush,int matrix,int order)")
ScaleTextureTransform = Gdiplus.api("GdipScaleTextureTransform","int(POINTER Brush,float sx,float sy,int order)")
RotateTextureTransform = Gdiplus.api("GdipRotateTextureTransform","int(POINTER Brush,float angle,int order)")
SetTextureWrapMode = Gdiplus.api("GdipSetTextureWrapMode","int(POINTER Brush,int WrapMd)")
GetTextureWrapMode = Gdiplus.api("GdipGetTextureWrapMode","int(POINTER Brush,struct& WrapMd)")
GetTextureImage = Gdiplus.api("GdipGetTextureImage","int(POINTER Brush,pointer& Image)")
CreatePathGradient = Gdiplus.api("GdipCreatePathGradient","int(struct  Points,int count,int WrapMd,pointer& polyGradient)")
CreatePathGradientI = Gdiplus.api("GdipCreatePathGradientI","int(struct  Points,int count,int WrapMd,pointer& polyGradient)")
CreatePathGradientFromPath = Gdiplus.api("GdipCreatePathGradientFromPath","int(POINTER Path,pointer& polyGradient)")
GetPathGradientCenterColor = Gdiplus.api("GdipGetPathGradientCenterColor","int(POINTER Brush,int& lColors)")
SetPathGradientCenterColor = Gdiplus.api("GdipSetPathGradientCenterColor","int(POINTER Brush,int lColors)")
GetPathGradientSurroundColorsWithCount = Gdiplus.api("GdipGetPathGradientSurroundColorsWithCount","int(POINTER Brush,int& argb,int& count)")
SetPathGradientSurroundColorsWithCount = Gdiplus.api("GdipSetPathGradientSurroundColorsWithCount","int(POINTER Brush,int& argb,int& count)")
GetPathGradientPath = Gdiplus.api("GdipGetPathGradientPath","int(POINTER Brush,pointer Path)")
SetPathGradientPath = Gdiplus.api("GdipSetPathGradientPath","int(POINTER Brush,pointer Path)")
GetPathGradientCenterPoint = Gdiplus.api("GdipGetPathGradientCenterPoint","int(POINTER Brush,struct  Points)")
GetPathGradientCenterPointI = Gdiplus.api("GdipGetPathGradientCenterPointI","int(POINTER Brush,struct  Points)")
SetPathGradientCenterPoint = Gdiplus.api("GdipSetPathGradientCenterPoint","int(POINTER Brush,struct  Points)")
SetPathGradientCenterPointI = Gdiplus.api("GdipSetPathGradientCenterPointI","int(POINTER Brush,struct  Points)")
GetPathGradientRect = Gdiplus.api("GdipGetPathGradientRect","int(POINTER Brush,struct& rect)")
GetPathGradientRectI = Gdiplus.api("GdipGetPathGradientRectI","int(POINTER Brush,struct& rect)")
GetPathGradientPointCount = Gdiplus.api("GdipGetPathGradientPointCount","int(POINTER Brush,int& count)")
GetPathGradientSurroundColorCount = Gdiplus.api("GdipGetPathGradientSurroundColorCount","int(POINTER Brush,int& count)")
SetPathGradientGammaCorrection = Gdiplus.api("GdipSetPathGradientGammaCorrection","int(POINTER Brush,int useGammaCorrection)")
GetPathGradientGammaCorrection = Gdiplus.api("GdipGetPathGradientGammaCorrection","int(POINTER Brush,int& useGammaCorrection)")
GetPathGradientBlendCount = Gdiplus.api("GdipGetPathGradientBlendCount","int(POINTER Brush,int& count)")
GetPathGradientBlend = Gdiplus.api("GdipGetPathGradientBlend","int(POINTER Brush,float& blend,float& positions,int count)")
SetPathGradientBlend = Gdiplus.api("GdipSetPathGradientBlend","int(POINTER Brush,float& blend,float& positions,int count)")
GetPathGradientPresetBlendCount = Gdiplus.api("GdipGetPathGradientPresetBlendCount","int(POINTER Brush,int& count)")
GetPathGradientPresetBlend = Gdiplus.api("GdipGetPathGradientPresetBlend","int(POINTER Brush,int& blend,float& positions,int count)")
SetPathGradientPresetBlend = Gdiplus.api("GdipSetPathGradientPresetBlend","int(POINTER Brush,int& blend,float& positions,int count)")
SetPathGradientSigmaBlend = Gdiplus.api("GdipSetPathGradientSigmaBlend","int(POINTER Brush,float focus,float sScale)")
SetPathGradientLinearBlend = Gdiplus.api("GdipSetPathGradientLinearBlend","int(POINTER Brush,float focus,float sScale)")
GetPathGradientWrapMode = Gdiplus.api("GdipGetPathGradientWrapMode","int(POINTER Brush,struct& WrapMd)")
SetPathGradientWrapMode = Gdiplus.api("GdipSetPathGradientWrapMode","int(POINTER Brush,int WrapMd)")
GetPathGradientTransform = Gdiplus.api("GdipGetPathGradientTransform","int(POINTER Brush,int matrix)")
SetPathGradientTransform = Gdiplus.api("GdipSetPathGradientTransform","int(POINTER Brush,int matrix)")
ResetPathGradientTransform = Gdiplus.api("GdipResetPathGradientTransform","int(POINTER Brush)")
MultiplyPathGradientTransform = Gdiplus.api("GdipMultiplyPathGradientTransform","int(POINTER Brush,int matrix,int order)")
TranslatePathGradientTransform = Gdiplus.api("GdipTranslatePathGradientTransform","int(POINTER Brush,float dx,float dy,int order)")
ScalePathGradientTransform = Gdiplus.api("GdipScalePathGradientTransform","int(POINTER Brush,float sx,float sy,int order)")
RotatePathGradientTransform = Gdiplus.api("GdipRotatePathGradientTransform","int(POINTER Brush,float angle,int order)")
GetPathGradientFocusScales = Gdiplus.api("GdipGetPathGradientFocusScales","int(POINTER Brush,float& xScale,float& yScale)")
SetPathGradientFocusScales = Gdiplus.api("GdipSetPathGradientFocusScales","int(POINTER Brush,float xScale,float yScale)")
CreatePath = Gdiplus.api("GdipCreatePath","int(int brushmode,pointer& Path)")
CreatePath2 = Gdiplus.api("GdipCreatePath2","int(struct  Points,pointer& types,int count,struct& brushmode,pointer& Path)")
CreatePath2I = Gdiplus.api("GdipCreatePath2I","int(struct  Points,pointer& types,int count,struct& brushmode,pointer& Path)")
ClonePath = Gdiplus.api("GdipClonePath","int(POINTER Path,int& clonePath)")
DeletePath = Gdiplus.api("GdipDeletePath","int(POINTER Path)")
ResetPath = Gdiplus.api("GdipResetPath","int(POINTER Path)")
GetPointCount = Gdiplus.api("GdipGetPointCount","int(POINTER Path,int& count)")
GetPathTypes = Gdiplus.api("GdipGetPathTypes","int(POINTER Path,pointer& types,int count)")
GetPathPoints = Gdiplus.api("GdipGetPathPoints","int(POINTER Path,struct  Points,int count)")
GetPathPointsI = Gdiplus.api("GdipGetPathPointsI","int(POINTER Path,struct  Points,int count)")
GetPathFillMode = Gdiplus.api("GdipGetPathFillMode","int(POINTER Path,struct brushmode)")
SetPathFillMode = Gdiplus.api("GdipSetPathFillMode","int(POINTER Path,struct brushmode)")
GetPathData = Gdiplus.api("GdipGetPathData","int(POINTER Path,struct& pdata)")
StartPathFigure = Gdiplus.api("GdipStartPathFigure","int(POINTER Path)")
ClosePathFigure = Gdiplus.api("GdipClosePathFigure","int(POINTER Path)")
ClosePathFigures = Gdiplus.api("GdipClosePathFigures","int(POINTER Path)")
SetPathMarker = Gdiplus.api("GdipSetPathMarker","int(POINTER Path)")
ClearPathMarkers = Gdiplus.api("GdipClearPathMarkers","int(POINTER Path)")
ReversePath = Gdiplus.api("GdipReversePath","int(POINTER Path)")
GetPathLastPoint = Gdiplus.api("GdipGetPathLastPoint","int(POINTER Path,struct& lastPoint)")
AddPathLine = Gdiplus.api("GdipAddPathLine","int(POINTER Path,float x1,float y1,float x2,float y2)")
AddPathLine2 = Gdiplus.api("GdipAddPathLine2","int(POINTER Path,struct  Points,int count)")
AddPathArc = Gdiplus.api("GdipAddPathArc","int(POINTER Path,float x,float y,float Width,float Height,float startAngle,float sweepAngle)")
AddPathBezier = Gdiplus.api("GdipAddPathBezier","int(POINTER Path,float x1,float y1,float x2,float y2,float x3,float y3,float x4,float y4)")
AddPathBeziers = Gdiplus.api("GdipAddPathBeziers","int(POINTER Path,struct  Points,int count)")
AddPathCurve = Gdiplus.api("GdipAddPathCurve","int(POINTER Path,struct  Points,int count)")
AddPathCurve2 = Gdiplus.api("GdipAddPathCurve2","int(POINTER Path,struct  Points,int count,float tension)")
AddPathCurve3 = Gdiplus.api("GdipAddPathCurve3","int(POINTER Path,struct  Points,int count,int Offset,int numberOfSegments,float tension)")
AddPathClosedCurve = Gdiplus.api("GdipAddPathClosedCurve","int(POINTER Path,struct  Points,int count)")
AddPathClosedCurve2 = Gdiplus.api("GdipAddPathClosedCurve2","int(POINTER Path,struct  Points,int count,float tension)")
AddPathRectangle = Gdiplus.api("GdipAddPathRectangle","int(POINTER Path,float x,float y,float Width,float Height)")
AddPathRectangles = Gdiplus.api("GdipAddPathRectangles","int(POINTER Path,struct& rect,int count)")
AddPathEllipse = Gdiplus.api("GdipAddPathEllipse","int(POINTER Path,float x,float y,float Width,float Height)")
AddPathPie = Gdiplus.api("GdipAddPathPie","int(POINTER Path,float x,float y,float Width,float Height,float startAngle,float sweepAngle)")
AddPathPolygon = Gdiplus.api("GdipAddPathPolygon","int(POINTER Path,struct  Points,int count)")
AddPathPath = Gdiplus.api("GdipAddPathPath","int(POINTER Path,int addingPath,int bConnect)")
AddPathString = Gdiplus.api("GdipAddPathString","int(POINTER Path,string str,int Length,pointer family,int style,float emSize,struct& layoutRect,pointer StringFormat)")
AddPathStringI = Gdiplus.api("GdipAddPathStringI","int(POINTER Path,string str,int Length,pointer family,int style,float emSize,struct& layoutRect,pointer StringFormat)")
AddPathLineI = Gdiplus.api("GdipAddPathLineI","int(POINTER Path,int x1,int y1,int x2,int y2)")
AddPathLine2I = Gdiplus.api("GdipAddPathLine2I","int(POINTER Path,struct  Points,int count)")
AddPathArcI = Gdiplus.api("GdipAddPathArcI","int(POINTER Path,int x,int y,int Width,int Height,float startAngle,float sweepAngle)")
AddPathBezierI = Gdiplus.api("GdipAddPathBezierI","int(POINTER Path,int x1,int y1,int x2,int y2,int x3,int y3,int x4,int y4)")
AddPathBeziersI = Gdiplus.api("GdipAddPathBeziersI","int(POINTER Path,struct  Points,int count)")
AddPathCurveI = Gdiplus.api("GdipAddPathCurveI","int(POINTER Path,struct  Points,int count)")
AddPathCurve2I = Gdiplus.api("GdipAddPathCurve2I","int(POINTER Path,struct  Points,int count,int tension)")
AddPathCurve3I = Gdiplus.api("GdipAddPathCurve3I","int(POINTER Path,struct  Points,int count,int Offset,int numberOfSegments,float tension)")
AddPathClosedCurveI = Gdiplus.api("GdipAddPathClosedCurveI","int(POINTER Path,struct  Points,int count)")
AddPathClosedCurve2I = Gdiplus.api("GdipAddPathClosedCurve2I","int(POINTER Path,struct  Points,int count,float tension)")
AddPathRectangleI = Gdiplus.api("GdipAddPathRectangleI","int(POINTER Path,int x,int y,int Width,int Height)")
AddPathRectanglesI = Gdiplus.api("GdipAddPathRectanglesI","int(POINTER Path,struct& rects,int count)")
AddPathEllipseI = Gdiplus.api("GdipAddPathEllipseI","int(POINTER Path,int x,int y,int Width,int Height)")
AddPathPieI = Gdiplus.api("GdipAddPathPieI","int(POINTER Path,int x,int y,int Width,int Height,float startAngle,float sweepAngle)")
AddPathPolygonI = Gdiplus.api("GdipAddPathPolygonI","int(POINTER Path,struct  Points,int count)")
FlattenPath = Gdiplus.api("GdipFlattenPath","int(POINTER Path,int matrix = 0,float flatness = 0.25)")
WindingModeOutline = Gdiplus.api("GdipWindingModeOutline","int(POINTER Path,int matrix,float flatness)")
WidenPath = Gdiplus.api("GdipWidenPath","int(int NativePath,pointer pen,int matrix,float flatness)")
WarpPath = Gdiplus.api("GdipWarpPath","int(POINTER Path,int matrix,struct  Points,int count,float srcx,float srcy,float srcwidth,float srcheight,struct WarpMd,float flatness)")
TransformPath = Gdiplus.api("GdipTransformPath","int(POINTER Path,int matrix)")
GetPathWorldBounds = Gdiplus.api("GdipGetPathWorldBounds","int(POINTER Path,struct& bounds,int matrix,pointer pen,)")
GetPathWorldBoundsI = Gdiplus.api("GdipGetPathWorldBoundsI","int(POINTER Path,struct& bounds,int matrix,pointer pen,)")
IsVisiblePathPoint = Gdiplus.api("GdipIsVisiblePathPoint","int(POINTER Path,float x,float y,pointer Graphics,int& result)")
IsVisiblePathPointI = Gdiplus.api("GdipIsVisiblePathPointI","int(POINTER Path,int x,int y,pointer Graphics,int& result)")
IsOutlineVisiblePathPoint = Gdiplus.api("GdipIsOutlineVisiblePathPoint","int(POINTER Path,float x,float y,pointer pen,pointer Graphics,int& result)")
IsOutlineVisiblePathPointI = Gdiplus.api("GdipIsOutlineVisiblePathPointI","int(POINTER Path,int x,int y,pointer pen,pointer Graphics,int& result)")
CreatePathIter = Gdiplus.api("GdipCreatePathIter","int(int& iterator,pointer Path)")
DeletePathIter = Gdiplus.api("GdipDeletePathIter","int(int iterator)")
PathIterNextSubpath = Gdiplus.api("GdipPathIterNextSubpath","int(int iterator,int& resultCount,int& startIndex,int& endIndex,int& isClosed)")
PathIterNextSubpathPath = Gdiplus.api("GdipPathIterNextSubpathPath","int(int iterator,int& resultCount,pointer Path,int& isClosed)")
PathIterNextPathType = Gdiplus.api("GdipPathIterNextPathType","int(int iterator,int& resultCount,pointer& pathType,int& startIndex,int& endIndex)")
PathIterNextMarker = Gdiplus.api("GdipPathIterNextMarker","int(int iterator,int& resultCount,int& startIndex,int& endIndex)")
PathIterNextMarkerPath = Gdiplus.api("GdipPathIterNextMarkerPath","int(int iterator,int& resultCount,pointer Path)")
PathIterGetCount = Gdiplus.api("GdipPathIterGetCount","int(int iterator,int& count)")
PathIterGetSubpathCount = Gdiplus.api("GdipPathIterGetSubpathCount","int(int iterator,int& count)")
PathIterIsValid = Gdiplus.api("GdipPathIterIsValid","int(int iterator,int& valid)")
PathIterHasCurve = Gdiplus.api("GdipPathIterHasCurve","int(int iterator,int& hasCurve)")
PathIterRewind = Gdiplus.api("GdipPathIterRewind","int(int iterator)")
PathIterEnumerate = Gdiplus.api("GdipPathIterEnumerate","int(int iterator,int& resultCount,struct  Points,pointer& types,int count)")
PathIterCopyData = Gdiplus.api("GdipPathIterCopyData","int(int iterator,int& resultCount,struct  Points,pointer& types,int startIndex,int endIndex)")
CreateMatrix = Gdiplus.api("GdipCreateMatrix","int(int& matrix)")
CreateMatrix2 = Gdiplus.api("GdipCreateMatrix2","int(float m11,float m12,float m21,float m22,float dx,float dy,int& matrix)")
CreateMatrix3 = Gdiplus.api("GdipCreateMatrix3","int(struct& rect,struct& dstplg,int& matrix)")
CreateMatrix3I = Gdiplus.api("GdipCreateMatrix3I","int(struct& rect,struct& dstplg,int& matrix)")
CloneMatrix = Gdiplus.api("GdipCloneMatrix","int(int matrix,int& cloneMatrix)")
DeleteMatrix = Gdiplus.api("GdipDeleteMatrix","int(int matrix)")
SetMatrixElements = Gdiplus.api("GdipSetMatrixElements","int(int matrix,float m11,float m12,float m21,float m22,float dx,float dy)")
MultiplyMatrix = Gdiplus.api("GdipMultiplyMatrix","int(int matrix,int matrix2,int order)")
TranslateMatrix = Gdiplus.api("GdipTranslateMatrix","int(int matrix,float offsetX,float offsetY,int order)")
ScaleMatrix = Gdiplus.api("GdipScaleMatrix","int(int matrix,float scaleX,float scaleY,int order)")
RotateMatrix = Gdiplus.api("GdipRotateMatrix","int(int matrix,float angle,int order)")
ShearMatrix = Gdiplus.api("GdipShearMatrix","int(int matrix,float shearX,float shearY,int order)")
InvertMatrix = Gdiplus.api("GdipInvertMatrix","int(int matrix)")
TransformMatrixPoints = Gdiplus.api("GdipTransformMatrixPoints","int(int matrix,struct& pts,int count)")
TransformMatrixPointsI = Gdiplus.api("GdipTransformMatrixPointsI","int(int matrix,struct& pts,int count)")
VectorTransformMatrixPoints = Gdiplus.api("GdipVectorTransformMatrixPoints","int(int matrix,struct& pts,int count)")
VectorTransformMatrixPointsI = Gdiplus.api("GdipVectorTransformMatrixPointsI","int(int matrix,struct& pts,int count)")
GetMatrixElements = Gdiplus.api("GdipGetMatrixElements","int(int matrix,float& matrixOut)")
IsMatrixInvertible = Gdiplus.api("GdipIsMatrixInvertible","int(int matrix,int& result)")
IsMatrixIdentity = Gdiplus.api("GdipIsMatrixIdentity","int(int matrix,int& result)")
IsMatrixEqual = Gdiplus.api("GdipIsMatrixEqual","int(int matrix,int matrix2,int& result)")
CreateRegion = Gdiplus.api("GdipCreateRegion","int(int& region)")
CreateRegionRect = Gdiplus.api("GdipCreateRegionRect","int(struct& rect,int& region)")
CreateRegionRectI = Gdiplus.api("GdipCreateRegionRectI","int(struct& rect,int& region)")
CreateRegionPath = Gdiplus.api("GdipCreateRegionPath","int(POINTER Path,int& region)")
CreateRegionPath = Gdiplus.api("GdipCreateRegionPath","int(POINTER Path,int& region)")
CreateRegionRgnData = Gdiplus.api("GdipCreateRegionRgnData","int(pointer& regionData,int size,int& region)")
CreateRegionHrgn = Gdiplus.api("GdipCreateRegionHrgn","int(int hRgn,int& region)")
CloneRegion = Gdiplus.api("GdipCloneRegion","int(int region,int& cloneRegion)")
DeleteRegion = Gdiplus.api("GdipDeleteRegion","int(int region)")
SetInfinite = Gdiplus.api("GdipSetInfinite","int(int region)")
SetEmpty = Gdiplus.api("GdipSetEmpty","int(int region)")
CombineRegionRect = Gdiplus.api("GdipCombineRegionRect","int(int region,struct& rect,int CombineMd)")
CombineRegionRectI = Gdiplus.api("GdipCombineRegionRectI","int(int region,struct& rect,int CombineMd)")
CombineRegionPath = Gdiplus.api("GdipCombineRegionPath","int(int region,pointer Path,int CombineMd)")
CombineRegionRegion = Gdiplus.api("GdipCombineRegionRegion","int(int region,int region2,int CombineMd)")
TranslateRegion = Gdiplus.api("GdipTranslateRegion","int(int region,float dx,float dy)")
TranslateRegionI = Gdiplus.api("GdipTranslateRegionI","int(int region,int dx,int dy)")
TransformRegion = Gdiplus.api("GdipTransformRegion","int(int region,int matrix)")
GetRegionBounds = Gdiplus.api("GdipGetRegionBounds","int(int region,pointer Graphics,struct& rect)")
GetRegionBoundsI = Gdiplus.api("GdipGetRegionBoundsI","int(int region,pointer Graphics,struct& rect)")
GetRegionHRgn = Gdiplus.api("GdipGetRegionHRgn","int(int region,pointer Graphics,int& hRgn)")
IsEmptyRegion = Gdiplus.api("GdipIsEmptyRegion","int(int region,pointer Graphics,int& result)")
IsInfiniteRegion = Gdiplus.api("GdipIsInfiniteRegion","int(int region,pointer Graphics,int& result)")
IsEqualRegion = Gdiplus.api("GdipIsEqualRegion","int(int region,int region2,pointer Graphics,int& result)")
GetRegionDataSize = Gdiplus.api("GdipGetRegionDataSize","int(int region,int& bufferSize)")
GetRegionData = Gdiplus.api("GdipGetRegionData","int(int region,pointer& buffer,int bufferSize,int& sizeFilled)")
IsVisibleRegionPoint = Gdiplus.api("GdipIsVisibleRegionPoint","int(int region,float x,float y,pointer Graphics,int& result)")
IsVisibleRegionPointI = Gdiplus.api("GdipIsVisibleRegionPointI","int(int region,int x,int y,pointer Graphics,int& result)")
IsVisibleRegionRect = Gdiplus.api("GdipIsVisibleRegionRect","int(int region,float x,float y,float Width,float Height,pointer Graphics,int& result)")
IsVisibleRegionRectI = Gdiplus.api("GdipIsVisibleRegionRectI","int(int region,int x,int y,int Width,int Height,pointer Graphics,int& result)")
GetRegionScansCount = Gdiplus.api("GdipGetRegionScansCount","int(int region,int& Ucount,int matrix)")
GetRegionScans = Gdiplus.api("GdipGetRegionScans","int(int region,struct& rects,int& count,int matrix)")
GetRegionScansI = Gdiplus.api("GdipGetRegionScansI","int(int region,struct& rects,int& count,int matrix)")
CreateImageAttributes = Gdiplus.api("GdipCreateImageAttributes","int(pointer& imageattr)")
CloneImageAttributes = Gdiplus.api("GdipCloneImageAttributes","int(POINTER imageattr,pointer& cloneImageattr)")
DisposeImageAttributes = Gdiplus.api("GdipDisposeImageAttributes","int(POINTER imageattr)")
SetImageAttributesToIdentity = Gdiplus.api("GdipSetImageAttributesToIdentity","int(POINTER imageattr,int ClrAdjType)")
ResetImageAttributes = Gdiplus.api("GdipResetImageAttributes","int(POINTER imageattr,int ClrAdjType)")
SetImageAttributesColorMatrix = Gdiplus.api("GdipSetImageAttributesColorMatrix","int(POINTER imageattr,int ClrAdjType,int enableFlag,pointer& colourMatrix,pointer& grayMatrix,int flags)")
SetImageAttributesThreshold = Gdiplus.api("GdipSetImageAttributesThreshold","int(POINTER imageattr,int ClrAdjType,int enableFlag,float threshold)")
SetImageAttributesGamma = Gdiplus.api("GdipSetImageAttributesGamma","int(POINTER imageattr,int ClrAdjType,int enableFlag,float gamma)")
SetImageAttributesNoOp = Gdiplus.api("GdipSetImageAttributesNoOp","int(POINTER imageattr,int ClrAdjType,int enableFlag)")
SetImageAttributesColorKeys = Gdiplus.api("GdipSetImageAttributesColorKeys","int(POINTER imageattr,int ClrAdjType,int enableFlag,int colorLow,int colorHigh)")
SetImageAttributesOutputChannel = Gdiplus.api("GdipSetImageAttributesOutputChannel","int(POINTER imageattr,int ClrAdjstType,int enableFlag,int channelFlags)")
SetImageAttributesOutputChannelColorProfile = Gdiplus.api("GdipSetImageAttributesOutputChannelColorProfile","int(POINTER imageattr,int ClrAdjType,int enableFlag,pointer colorProfileFilename)")
SetImageAttributesRemapTable = Gdiplus.api("GdipSetImageAttributesRemapTable","int(POINTER imageattr,int ClrAdjType,int enableFlag,int mapSize,pointer& map)")
SetImageAttributesWrapMode = Gdiplus.api("GdipSetImageAttributesWrapMode","int(POINTER imageattr,int wrap,int argb,int bClamp)")
//GdipSetImageAttributesICMMode = Gdiplus.api("GdipSetImageAttributesICMMode","int(int imageattr,int bOn)")
GetImageAttributesAdjustedPalette = Gdiplus.api("GdipGetImageAttributesAdjustedPalette","int(POINTER imageattr,struct& colorPal,int ClrAdjType)")
CreateFontFamilyFromName = Gdiplus.api("GdipCreateFontFamilyFromName","int(string name,int fontCollection,pointer& fontFamily)")
DeleteFontFamily = Gdiplus.api("GdipDeleteFontFamily","int(POINTER fontFamily)")
CloneFontFamily = Gdiplus.api("GdipCloneFontFamily","int(POINTER fontFamily,int& clonedFontFamily)")
GetGenericFontFamilySansSerif = Gdiplus.api("GdipGetGenericFontFamilySansSerif","int(int& nativeFamily)")
GetGenericFontFamilySerif = Gdiplus.api("GdipGetGenericFontFamilySerif","int(int& nativeFamily)")
GetGenericFontFamilyMonospace = Gdiplus.api("GdipGetGenericFontFamilyMonospace","int(int& nativeFamily)")
GetFamilyName = Gdiplus.api("GdipGetFamilyName","int(POINTER family,int name,word language)")
IsStyleAvailable = Gdiplus.api("GdipIsStyleAvailable","int(POINTER family,int style,int& IsStyleAvailable)")
//GdipFontCollectionEnumerable = Gdiplus.api("GdipFontCollectionEnumerable","int(int fontCollection,pointer Graphics,int& numFound)")
//GdipFontCollectionEnumerate = Gdiplus.api("GdipFontCollectionEnumerate","int(int fontCollection,int numSought,int& gpFamilies,int numFound,pointer Graphics)")
GetEmHeight = Gdiplus.api("GdipGetEmHeight","int(POINTER family,int style,word& EmHeight)")
GetCellAscent = Gdiplus.api("GdipGetCellAscent","int(POINTER family,int style,word& CellAscent)")
GetCellDescent = Gdiplus.api("GdipGetCellDescent","int(POINTER family,int style,word& CellDescent)")
GetLineSpacing = Gdiplus.api("GdipGetLineSpacing","int(POINTER family,int style,word& LineSpacing)")
CreateFontFromDC = Gdiplus.api("GdipCreateFontFromDC","int(POINTER hDc,pointer& createdfont)")
CreateFontFromLogfontA = Gdiplus.api("GdipCreateFontFromLogfontA","int(POINTER hDc,struct& logfont,pointer& createdfont)")
CreateFontFromLogfontW = Gdiplus.api("GdipCreateFontFromLogfontW","int(POINTER hDc,struct& logfont,pointer& createdfont)")
self.CreateFont = Gdiplus.api("GdipCreateFont","int(POINTER fontFamily,float emSize,int style,int unit,pointer& createdfont)")
CloneFont = Gdiplus.api("GdipCloneFont","int(POINTER curFont,int& cloneFont)")
DeleteFont = Gdiplus.api("GdipDeleteFont","int(POINTER curFont)")
GetFamily = Gdiplus.api("GdipGetFamily","int(POINTER curFont,int& family)")
GetFontStyle = Gdiplus.api("GdipGetFontStyle","int(POINTER curFont,int& style)")
GetFontSize = Gdiplus.api("GdipGetFontSize","int(POINTER curFont,float& size)")
GetFontUnit = Gdiplus.api("GdipGetFontUnit","int(POINTER curFont,struct& unit)")
GetFontHeight = Gdiplus.api("GdipGetFontHeight","int(POINTER curFont,pointer Graphics,float& Height)")
GetFontHeightGivenDPI = Gdiplus.api("GdipGetFontHeightGivenDPI","int(POINTER curFont,float dpi,float& Height)")
GetLogFontA = Gdiplus.api("GdipGetLogFontA","int(POINTER curFont,pointer Graphics,struct& logfont)")
GetLogFontW = Gdiplus.api("GdipGetLogFontW","int(POINTER curFont,pointer Graphics,struct& logfont)")
NewInstalledFontCollection = Gdiplus.api("GdipNewInstalledFontCollection","int(int& fontCollection)")
NewPrivateFontCollection = Gdiplus.api("GdipNewPrivateFontCollection","int(int& fontCollection)")
DeletePrivateFontCollection = Gdiplus.api("GdipDeletePrivateFontCollection","int(int& fontCollection)")
GetFontCollectionFamilyCount = Gdiplus.api("GdipGetFontCollectionFamilyCount","int(int fontCollection,int& numFound)")
GetFontCollectionFamilyList = Gdiplus.api("GdipGetFontCollectionFamilyList","int(int fontCollection,int numSought,int& gpFamilies,int& numFound)")
PrivateAddFontFile = Gdiplus.api("GdipPrivateAddFontFile","int(int fontCollection,string FileName)")
PrivateAddMemoryFont = Gdiplus.api("GdipPrivateAddMemoryFont","int(int fontCollection,int memory,int Length)")
DrawString = Gdiplus.api("GdipDrawString","int(POINTER Graphics,string str,int Length,pointer thefont,struct& layoutRect,pointer StringFormat,pointer Brush)")
MeasureString = Gdiplus.api("GdipMeasureString","int(POINTER Graphics,string str,int Length,pointer thefont,struct& layoutRect,pointer StringFormat,struct& boundingBox,int& codepointsFitted,int& linesFilled)")
MeasureCharacterRanges = Gdiplus.api("GdipMeasureCharacterRanges","int(POINTER Graphics,string str,int Length,pointer thefont,struct& layoutRect,pointer StringFormat,int regionCount,int& regions)")
DrawDriverString = Gdiplus.api("GdipDrawDriverString","int(POINTER Graphics,string str,int Length,pointer thefont,pointer Brush,struct& positions,int flags,int matrix)")
MeasureDriverString = Gdiplus.api("GdipMeasureDriverString","int(POINTER Graphics,string str,int Length,pointer thefont,struct& positions,int flags,int matrix,struct& boundingBox)")
CreateStringFormat = Gdiplus.api("GdipCreateStringFormat","int(int formatAttributes,word language,pointer& StringFormat)")
StringFormatGetGenericDefault = Gdiplus.api("GdipStringFormatGetGenericDefault","int(pointer& StringFormat)")
StringFormatGetGenericTypographic = Gdiplus.api("GdipStringFormatGetGenericTypographic","int(pointer& StringFormat)")
DeleteStringFormat = Gdiplus.api("GdipDeleteStringFormat","int(POINTER StringFormat)")
CloneStringFormat = Gdiplus.api("GdipCloneStringFormat","int(POINTER StringFormat,int& newFormat)")
SetStringFormatFlags = Gdiplus.api("GdipSetStringFormatFlags","int(POINTER StringFormat,int flags)")
GetStringFormatFlags = Gdiplus.api("GdipGetStringFormatFlags","int(POINTER StringFormat,int& flags)")
SetStringFormatAlign = Gdiplus.api("GdipSetStringFormatAlign","int(POINTER StringFormat,int align)")
GetStringFormatAlign = Gdiplus.api("GdipGetStringFormatAlign","int(POINTER StringFormat,int& align)")
SetStringFormatLineAlign = Gdiplus.api("GdipSetStringFormatLineAlign","int(POINTER StringFormat,int align)")
GetStringFormatLineAlign = Gdiplus.api("GdipGetStringFormatLineAlign","int(POINTER StringFormat,int& align)")
SetStringFormatTrimming = Gdiplus.api("GdipSetStringFormatTrimming","int(POINTER StringFormat,struct trimming)")
GetStringFormatTrimming = Gdiplus.api("GdipGetStringFormatTrimming","int(POINTER StringFormat,int& trimming)")
SetStringFormatHotkeyPrefix = Gdiplus.api("GdipSetStringFormatHotkeyPrefix","int(POINTER StringFormat,struct hkPrefix)")
GetStringFormatHotkeyPrefix = Gdiplus.api("GdipGetStringFormatHotkeyPrefix","int(POINTER StringFormat,struct& hkPrefix)")
SetStringFormatTabStops = Gdiplus.api("GdipSetStringFormatTabStops","int(POINTER StringFormat,float firstTabOffset,int count,float& tabStops)")
GetStringFormatTabStops = Gdiplus.api("GdipGetStringFormatTabStops","int(POINTER StringFormat,int count,float& firstTabOffset,float& tabStops)")
GetStringFormatTabStopCount = Gdiplus.api("GdipGetStringFormatTabStopCount","int(POINTER StringFormat,int& count)")
SetStringFormatDigitSubstitution = Gdiplus.api("GdipSetStringFormatDigitSubstitution","int(POINTER StringFormat,word language,struct substitute)")
GetStringFormatDigitSubstitution = Gdiplus.api("GdipGetStringFormatDigitSubstitution","int(POINTER StringFormat,word& language,struct& substitute)")
GetStringFormatMeasurableCharacterRangeCount = Gdiplus.api("GdipGetStringFormatMeasurableCharacterRangeCount","int(POINTER StringFormat,int& count)")
SetStringFormatMeasurableCharacterRanges = Gdiplus.api("GdipSetStringFormatMeasurableCharacterRanges","int(POINTER StringFormat,int rangeCount,struct& ranges)")
/*end intellisense*/
   
ImageCodecInfo= class{ 
	struct ClassID = win.guid(); 
	struct FormatID = win.guid(); 
	string CodecName; 
	string DllName; 
	string FormatDescription; 
	string FilenameExtension; 
	string MimeType; 
	struct flags; 
	INT Version; 
	INT SigCount; 
	INT SigSize; 
	pointer SigPattern; 
	pointer SigMask; 
}
 
ColorPalette= class{ 
	INT flags; 
	int count; 
	int Entries[255]
}
 
PWMFRect16= class{ 
	word Left; 
	word Top; 
	word Right; 
	word Bottom; 
}
var PWMFRect16 = PWMFRect16;

WmfPlaceableFileHeader= class{ 
	int Key;
	word Hmf;
	struct boundingBox = PWMFRect16(); 
	word Inch;
	int Reserved;
	word Checksum;
}

ENHMETAHEADER3= class{ 
	int itype;
	int nSize;
	struct rclBounds = RECTL();
	struct rclFrame= RECTL();
	int dSignature;
	int nVersion;
	int nBytes;
	int nRecords;
	word nHandles;
	word sReserved;
	int nDescription;
	int offDescription;
	int nPalEntries;
	struct szlDevice=SIZEL();
	struct szlMillimeters=SIZEL(); 
}
var ENHMETAHEADER3 = ENHMETAHEADER3;

METAHEADER= class{ 
	word mtType; 
	word mtHeaderSize; 
	word mtVersion; 
	int mtSize; 
	word mtNoObjects; 
	int mtMaxRecord; 
	word mtNoParameters; 
}
var METAHEADER = METAHEADER;

MetafileHeader= class{ 
	int mType; 
	int size;
	int Version;
	int EmfPlusFlags; 
	float DpiX; 
	float DpiY; 
	int x; 
	int y; 
	int Width; 
	int Height; 
	union EmfHeader = {
		struct WmfHeader=METAHEADER();
		struct EmfHeader=ENHMETAHEADER3();
	}
 	
	int EmfPlusHeaderSize; 
	int LogicalDpiX; 
	int LogicalDpiY;
}
 
PropertyItem= class{ 
	int propId;
	int Length;
	word type;
	int value;
}

CharacterRange= class{ 
	int First; 
	int Length; 
}
 

CreateFromHDC2 = Gdiplus.api("GdipCreateFromHDC2","int(POINTER hDc,int hDevice,pointer& Graphics)")
CreateFromHWNDICM = Gdiplus.api("GdipCreateFromHWNDICM","int(int hwnd,pointer& Graphics)") 
EnumerateMetafileDestPoint = Gdiplus.api("GdipEnumerateMetafileDestPoint","int(POINTER Graphics,int metafile,struct& destPoint,int& lpEnumerateMetafileProc,int callbackData,int& imageAttributes)")
EnumerateMetafileDestPointI = Gdiplus.api("GdipEnumerateMetafileDestPointI","int(POINTER Graphics,int metafile,struct& destPoint,int lpEnumerateMetafileProc,int callbackData,int imageAttributes)")
EnumerateMetafileDestRect = Gdiplus.api("GdipEnumerateMetafileDestRect","int(POINTER Graphics,int metafile,struct& destRect,int& lpEnumerateMetafileProc,int callbackData,int& imageAttributes)")
EnumerateMetafileDestRectI = Gdiplus.api("GdipEnumerateMetafileDestRectI","int(POINTER Graphics,int metafile,struct& destRect,int& lpEnumerateMetafileProc,int callbackData,int& imageAttributes)")
EnumerateMetafileDestPoints = Gdiplus.api("GdipEnumerateMetafileDestPoints","int(POINTER Graphics,int metafile,struct& destPoint,int count,int& lpEnumerateMetafileProc,int callbackData,int& imageAttributes)")
EnumerateMetafileDestPointsI = Gdiplus.api("GdipEnumerateMetafileDestPointsI","int(POINTER Graphics,int metafile,struct& destPoint,int count,int& lpEnumerateMetafileProc,int callbackData,int& imageAttributes)")
EnumerateMetafileSrcRectDestPoint = Gdiplus.api("GdipEnumerateMetafileSrcRectDestPoint","int(POINTER Graphics,int metafile,struct& destPoint,struct& srcRect,int srcUnit,int lpEnumerateMetafileProc,int callbackData,int imageAttributes)")
EnumerateMetafileSrcRectDestPointI = Gdiplus.api("GdipEnumerateMetafileSrcRectDestPointI","int(POINTER Graphics,int metafile,struct& destPoint,struct& srcRect,int srcUnit,int lpEnumerateMetafileProc,int callbackData,int imageAttributes)")
EnumerateMetafileSrcRectDestRect = Gdiplus.api("GdipEnumerateMetafileSrcRectDestRect","int(POINTER Graphics,int metafile,struct& destRect,struct& srcRect,int srcUnit,int lpEnumerateMetafileProc,int callbackData,int imageAttributes)")
EnumerateMetafileSrcRectDestRectI = Gdiplus.api("GdipEnumerateMetafileSrcRectDestRectI","int(POINTER Graphics,int metafile,struct& destRect,struct& srcRect,int srcUnit,int lpEnumerateMetafileProc,int callbackData,int imageAttributes)")
EnumerateMetafileSrcRectDestPoints = Gdiplus.api("GdipEnumerateMetafileSrcRectDestPoints","int(POINTER Graphics,int metafile,struct& destPoints,int count,struct& srcRect,int srcUnit,int lpEnumerateMetafileProc,int callbackData,int imageAttributes)")
EnumerateMetafileSrcRectDestPointsI = Gdiplus.api("GdipEnumerateMetafileSrcRectDestPointsI","int(POINTER Graphics,int metafile,struct& destPoints,int count,struct& srcRect,int srcUnit,int lpEnumerateMetafileProc,int callbackData,int imageAttributes)")
PlayMetafileRecord = Gdiplus.api("GdipPlayMetafileRecord","int(int metafile,struct recordType,int flags,int dataSize,pointer& byteData)")
GetMetafileHeaderFromWmf = Gdiplus.api("GdipGetMetafileHeaderFromWmf","int(int hWmf,struct& WmfPlaceableFileHdr,struct& header)")
GetMetafileHeaderFromEmf = Gdiplus.api("GdipGetMetafileHeaderFromEmf","int(int hEmf,struct& header)")
GetMetafileHeaderFromFile = Gdiplus.api("GdipGetMetafileHeaderFromFile","int(string FileName,struct& header)")
GetMetafileHeaderFromStream = Gdiplus.api("GdipGetMetafileHeaderFromStream","int(POINTER stream,struct& header)")
GetMetafileHeaderFromMetafile = Gdiplus.api("GdipGetMetafileHeaderFromMetafile","int(int metafile,struct& header)")
GetHemfFromMetafile = Gdiplus.api("GdipGetHemfFromMetafile","int(int metafile,int& hEmf)")
CreateStreamOnFile = Gdiplus.api("GdipCreateStreamOnFile","int(string FileName,int access,pointer& stream)")
CreateMetafileFromWmf = Gdiplus.api("GdipCreateMetafileFromWmf","int(int hWmf,int bDeleteWmf,struct& WmfPlaceableFileHdr,int metafile)")
CreateMetafileFromEmf = Gdiplus.api("GdipCreateMetafileFromEmf","int(int hEmf,int bDeleteEmf,int& metafile)")
CreateMetafileFromFile = Gdiplus.api("GdipCreateMetafileFromFile","int(int file,int& metafile)")
CreateMetafileFromWmfFile = Gdiplus.api("GdipCreateMetafileFromWmfFile","int(int file,struct& WmfPlaceableFileHdr,int& metafile)")
CreateMetafileFromStream = Gdiplus.api("GdipCreateMetafileFromStream","int(POINTER stream,int& metafile)")
RecordMetafile = Gdiplus.api("GdipRecordMetafile","int(int referenceHdc,struct& etype,struct& frameRect,struct frameUnit,int description,int& metafile)")
RecordMetafileI = Gdiplus.api("GdipRecordMetafileI","int(int referenceHdc,struct& etype,struct& frameRect,struct frameUnit,int description,int& metafile)")
RecordMetafileFileName = Gdiplus.api("GdipRecordMetafileFileName","int(string FileName,int referenceHdc,struct& etype,struct& frameRect,struct frameUnit,int description,int& metafile)")
RecordMetafileFileNameI = Gdiplus.api("GdipRecordMetafileFileNameI","int(string FileName,int referenceHdc,struct& etype,struct& frameRect,struct frameUnit,int description,int& metafile)")
RecordMetafileStream = Gdiplus.api("GdipRecordMetafileStream","int(POINTER stream,int referenceHdc,struct& etype,struct& frameRect,struct frameUnit,int description,int& metafile)")
RecordMetafileStreamI = Gdiplus.api("GdipRecordMetafileStreamI","int(POINTER stream,int referenceHdc,struct& etype,struct& frameRect,struct frameUnit,int description,int& metafile)")
SetMetafileDownLevelRasterizationLimit = Gdiplus.api("GdipSetMetafileDownLevelRasterizationLimit","int(int metafile,int metafileRasterizationLimitDpi)")
GetMetafileDownLevelRasterizationLimit = Gdiplus.api("GdipGetMetafileDownLevelRasterizationLimit","int(int metafile,int& metafileRasterizationLimitDpi)")
GetImageDecodersSize = Gdiplus.api("GdipGetImageDecodersSize","int(int& numDecoders,int& size)")
Flush = Gdiplus.api("GdipFlush","int(POINTER Graphics,struct intention)")
Alloc = Gdiplus.api("GdipAlloc","int(int size)")
Free = Gdiplus.api("GdipFree","void(int ptr)")
 
errMsg ={
"GenericError! an error on the method call.";
"InvalidParameter!";
"OutOfMemory!";
"ObjectBusy!";
"InsufficientBuffer!";
"NotImplemented!";
"Win32Error!";
"WrongState!";
"Aborted!";
"FileNotFound!";
"ValueOverflow!"; 
"AccessDenied!";
"UnknownImageFormat!";
"FontFamilyNotFound!";
"FontStyleNotFound!";
"NotTrueTypeFont!";
"UnsupportedGdiplusVersion!";
"GdiplusNotInitialized!";
"PropertyNotFound!";
"PropertyNotSupported!";
"ProfileNotFound!";
}
checkError = function(re,ci = 1){
	if( re)
		error(errMsg[re],ci + 1)
}
self.assert :=  function(re,...){
	checkError(re,2);  
	return ...
}

GdiplusStartup = Gdiplus.api("GdiplusStartup","int(int& token,struct& inputbuf,pointer outputbuf)")
GdiplusShutdown = Gdiplus.api("GdiplusShutdown","int(int token)")
GdiplusStartupInput = class{ 
	int GdiplusVersion; 
	int DebugEventCallback; 
	int SuppressBackgroundThread; 
	int SuppressExternalCodecs;
}

function open(){
	if(defaultToken)
		return;
		
	var uInput = GdiplusStartupInput();
	uInput.GdiplusVersion = 1 
	var re,token = GdiplusStartup(0,uInput); 
	if(re)
		error("GDI+ 初始化错误。" ,2)  
	defaultToken = token;
}
function close(){  
	if(defaultToken){
		GdiplusShutdown(defaultToken);
	}
} 
open();
 ..table.add_gc(self,"close");	

/**intellisense(gdip)
open() = 初始化GDI+\n导入gdip时会默认执行此函数
close() =  关闭GDI+\n在程序退出时会自动调用此函数\n一般不需要显示调用此函数
errMsg[] = 根据返回值取错误信息
checkError(__/*请输入GDI+函数返回值*/) = 如果有错误调用error函数抛出异常
checkError(__/*请输入GDI+函数返回值*/,2) = 如果有错误调用error函数抛出异常\n参数2指定抛出异常的调用级别\n2表示调用当前函数的函数
assert(__/*请输入GDI+函数返回值*/) = 校验GDI+函数返回值\n如果返回值非零，则抛出错误信息\n否则返回该函数的所有输出参数
end intellisense**/


EncoderParameter= class{ 
	struct Guid = ..win.guid();
	INT NumberOfValues; 
	INT type; 
	pointer value; 
};
var EncoderParameter = EncoderParameter;
EncoderParameters = class{ 
	int count = 1; 
	struct Parameter = EncoderParameter(); 
};
ImageType = { 
	BMP=0;
	EMF=1;
	WMF=2;
	JPG=3;
	PNG=4;
	GIF=5;
	TIF=6;
	ICO=7;
};
encoder = { 
	//EncoderParameter.GUID 参数常用的GUID标识有压缩、色深、质量等等,该参数的常用定义如下：
	/*intellisense(gdip.encoder)*/
	Compression      = "{E09D739D-CCD4-44EE-8EBA-3FBF8BE4FC58}";
	ColorDepth       = "{66087055-AD66-4C7C-9A18-38A2310B8337}";
	ScanMethod       = "{3A4E2661-3109-4E56-8536-42C156E7DCFA}";
	Version          = "{24D18C76-814A-41A4-BF53-1C219CCCF797}";
	RenderMethod     = "{6D42C53A-229A-4825-8BB7-5C99E2B9A8B8}";
	Quality          = "{1D5BE4B5-FA4A-452D-9CDD-5DB35105E7EB}";
	Transformation   = "{8D0EB2D1-A58E-4EA8-AA14-108074B7B6F9}";
	LuminanceTable   = "{EDB33BCE-0266-4A77-B904-27216099E717}";
	ChrominanceTable = "{F2E455DC-09B3-4316-8260-676ADA32481C}";
	SaveFlag         = "{292266FC-AC40-47BF-8CFC-A85B89A655DE}";
	/*end intellisense*/
	
	image = {
		/*intellisense(gdip.encoder.image)*/
		BMP         = "{557CF400-1A04-11D3-9A73-0000F81EF32E}";  
		JPG         = "{557CF401-1A04-11D3-9A73-0000F81EF32E}"; 
		GIF         = "{557CF402-1A04-11D3-9A73-0000F81EF32E}";  
		EMF         = "{557CF403-1A04-11D3-9A73-0000F81EF32E}";  
		WMF         = "{557CF404-1A04-11D3-9A73-0000F81EF32E}";  
		TIF         = "{557CF405-1A04-11D3-9A73-0000F81EF32E}";  
		PNG         = "{557CF406-1A04-11D3-9A73-0000F81EF32E}"; 
		ICO         = "{557CF407-1A04-11D3-9A73-0000F81EF32E}"; 
		/*end intellisense*/
	};

};
SaveImage = function(img, path,quality,params)  {
	if(!path)return 10;//error FileNotFound
	params := EncoderParameters();
	if(quality){
		params.Parameter.Guid = ..win.guid.fromString(encoder.Quality)
		params.Parameter.NumberOfValues = 1 
		params.Parameter.type = 4 
		params.Parameter.value = ..raw.malloc({int q = quality})  
	}
	var pe = ..string.lastIndexAny(path,".");
	var ext = pe ?  ..string.sub( path,pe + 1 ) 
	if(!ext)
		error( '存储路径未包含有效后缀名\n' +  path ,2); 
	
	var guid = encoder.image[ ..string.upper(ext) ] : encoder.image.BMP
	guid = ..win.guid.fromString( guid );
	 
    return SaveImageToFile( img
    	,..string.toUnicode( ..io.fullpath(path) )
    	,guid
    	,params ) 
};
loadImageFromString = function(strBmp){
	var hImageMemory= ::GlobalAlloc( 0x2 /*_GMEM_MOVEABLE*/, #strBmp); //给图片分配全局内存
	var pImageMemory=::GlobalLock(hImageMemory); //锁定内存 
	::CopyMemory(pImageMemory,strBmp,#strBmp);//复制图片
	::GlobalUnlock(hImageMemory); //解锁内存
	
	var re,pIStream = ::CreateStreamOnHGlobal(pImageMemory, 1) //用全局内存初使化IStream接口指针
	
	var re, img = LoadImageFromStream(pIStream) ; 
	..com.Release(pIStream);
	return re,img;
};
loadBitmapFromString = function(strBmp){
	var hImageMemory= ::GlobalAlloc( 0x2 /*_GMEM_MOVEABLE*/, #strBmp); //给图片分配全局内存
	var pImageMemory=::GlobalLock(hImageMemory); //锁定内存 
	::CopyMemory(pImageMemory,strBmp,#strBmp);//复制图片
	::GlobalUnlock(hImageMemory); //解锁内存
	
	var re,pIStream = ::CreateStreamOnHGlobal(pImageMemory, 1) //用全局内存初使化IStream接口指针
	 
	var re, img = CreateBitmapFromStream (pIStream) ; 
	..com.Release(pIStream);
	return re,img;
};
createBitmapFromHandle = function(h,t=0){ 
	if( t === 0x1/*_IMAGE_ICON*/ ){
		return CreateBitmapFromHICON (h,0 )  
	}
	else if( t === 0x0/*_IMAGE_BITMAP*/ ){
		return CreateBitmapFromHBITMAP (h ,0)   
	}  
};

/**intellisense(gdip) 
createBitmapFromHandle( ,_IMAGE__/*类型*/) = 从句柄创建位图对象
loadImageFromString(__/*请输入图片数据*/) = 从内存字符串直接创建图像
loadBitmapFromString(__/*请输入图片数据*/) = 从内存字符串直接创建位图
SaveImage(__/*图像*/,"") = 保存图像(图像,保存路径,质量)\n根据后缀名自动设定图片格式\n可选使用第三个参数指定图片质量(jpg支持)\n可选使用gdip.EncoderParameters结构作为第四个参数
end intellisense**/

/**intellisense() 
!gdiBitmapData.Width
!gdiBitmapData.Height
!gdiBitmapData.Stride
!gdiBitmapData.PixelFormat
!gdiBitmapData.Scan0.array
?.BitmapData() = !gdiBitmapData.
end intellisense**/

 /**intellisense()
_GdipPixelFormat1bppIndexed=@0x30101/*_GdipPixelFormat1bppIndexed*/
_GdipPixelFormat4bppIndexed=@0x30402/*_GdipPixelFormat4bppIndexed*/
_GdipPixelFormat8bppIndexed=@0x30803/*_GdipPixelFormat8bppIndexed*/
_GdipPixelFormat16bppGreyScale=@0x101004/*_GdipPixelFormat16bppGreyScale*/
_GdipPixelFormat16bppRGB555=@0x21005/*_GdipPixelFormat16bppRGB555*/
_GdipPixelFormat16bppRGB565=@0x21006/*_GdipPixelFormat16bppRGB565*/
_GdipPixelFormat16bppARGB1555=@0x61007/*_GdipPixelFormat16bppARGB1555*/
_GdipPixelFormat24bppRGB=@0x21808/*_GdipPixelFormat24bppRGB*/
_GdipPixelFormat32bppRGB=@0x22009/*_GdipPixelFormat32bppRGB*/
_GdipPixelFormat32bppARGB=@0x26200A/*_GdipPixelFormat32bppARGB*/
_GdipPixelFormat32bppPARGB=@0xE200B/*_GdipPixelFormat32bppPARGB*/
_GdipPixelFormat48bppRGB=@0x10300C/*_GdipPixelFormat48bppRGB*/
_GdipPixelFormat64bppARGB=@0x34400D/*_GdipPixelFormat64bppARGB*/
_GdipPixelFormat64bppPARGB=@0x1C400E/*_GdipPixelFormat64bppPARGB*/
_GdipUnitWorld=@0/*_GdipUnitWorld*/
_GdipUnitDisplay=@1/*_GdipUnitDisplay*/
_GdipUnitPixel=@2/*_GdipUnitPixel*/
_GdipUnitPoint=@3/*_GdipUnitPoint*/
_GdipUnitInch=@4/*_GdipUnitInch*/
_GdipUnitDocument=@5/*_GdipUnitDocument*/
_GdipUnitMillimeter=@6/*_GdipUnitMillimeter*/
_GdipPathPointTypeStart=@0/*_GdipPathPointTypeStart*/
_GdipPathPointTypeLine=@1/*_GdipPathPointTypeLine*/
_GdipPathPointTypeBezier=@3/*_GdipPathPointTypeBezier*/
_GdipPathPointTypePathTypeMask=@7/*_GdipPathPointTypePathTypeMask*/
_GdipPathPointTypePathDashMode=@0x10/*_GdipPathPointTypePathDashMode*/
_GdipPathPointTypePathMarker=@0x20/*_GdipPathPointTypePathMarker*/
_GdipPathPointTypeCloseSubpath=@0x80/*_GdipPathPointTypeCloseSubpath*/
_GdipPathPointTypeBezier3=@3/*_GdipPathPointTypeBezier3*/
_GdipGenericFontFamilySerif=@0/*_GdipGenericFontFamilySerif*/
_GdipGenericFontFamilySansSerif=@1/*_GdipGenericFontFamilySansSerif*/
_GdipGenericFontFamilyMonospace=@2/*_GdipGenericFontFamilyMonospace*/
_GdipFontStyleRegular=@0/*_GdipFontStyleRegular*/
_GdipFontStyleBold=@1/*_GdipFontStyleBold*/
_GdipFontStyleItalic=@2/*_GdipFontStyleItalic*/
_GdipFontStyleBoldItalic=@3/*_GdipFontStyleBoldItalic*/
_GdipFontStyleUnderline=@4/*_GdipFontStyleUnderline*/
_GdipFontStyleStrikeout=@8/*_GdipFontStyleStrikeout*/
_GdipStringAlignmentNear=@0/*_GdipStringAlignmentNear*/
_GdipStringAlignmentCenter=@1/*_GdipStringAlignmentCenter*/
_GdipStringAlignmentFar=@2/*_GdipStringAlignmentFar*/
_GdipFillModeAlternate=@0/*_GdipFillModeAlternate*/
_GdipFillModeWinding=@1/*_GdipFillModeWinding*/
_GdipWrapModeTile=@0/*_GdipWrapModeTile*/
_GdipWrapModeTileFlipX=@1/*_GdipWrapModeTileFlipX*/
_GdipWrapModeTileFlipY=@2/*_GdipWrapModeTileFlipY*/
_GdipWrapModeTileFlipXY=@3/*_GdipWrapModeTileFlipXY*/
_GdipWrapModeClamp=@4/*_GdipWrapModeClamp*/
_GdipLinearGradientModeHorizontal=@0/*_GdipLinearGradientModeHorizontal*/
_GdipLinearGradientModeVertical=@1/*_GdipLinearGradientModeVertical*/
_GdipLinearGradientModeForwardDiagonal=@2/*_GdipLinearGradientModeForwardDiagonal*/
_GdipLinearGradientModeBackwardDiagonal=@3/*_GdipLinearGradientModeBackwardDiagonal*/
_GdipQualityModeInvalid=@-1/*_GdipQualityModeInvalid*/
_GdipQualityModeDefault=@0/*_GdipQualityModeDefault*/
_GdipQualityModeLow=@1/*_GdipQualityModeLow*/
_GdipQualityModeHigh=@2/*_GdipQualityModeHigh*/
_GdipCompositingModeSourceOver=@0/*_GdipCompositingModeSourceOver*/
_GdipCompositingModeSourceCopy=@1/*_GdipCompositingModeSourceCopy*/
_GdipCompositingQualityGammaCorrected=@3/*_GdipCompositingQualityGammaCorrected*/
_GdipCompositingQualityAssumeLinear=@4/*_GdipCompositingQualityAssumeLinear*/
_GdipSmoothingModeNone=@3/*_GdipSmoothingModeNone*/
_GdipSmoothingModeAntiAlias=@4/*_GdipSmoothingModeAntiAlias*/
_GdipInterpolationModeBilinear=@3/*_GdipInterpolationModeBilinear*/
_GdipInterpolationModeBicubic=@4/*_GdipInterpolationModeBicubic*/
_GdipInterpolationModeNearestNeighbor=@5/*_GdipInterpolationModeNearestNeighbor*/
_GdipInterpolationModeHighQualityBilinear=@6/*_GdipInterpolationModeHighQualityBilinear*/
_GdipInterpolationModeHighQualityBicubic=@7/*_GdipInterpolationModeHighQualityBicubic*/
_GdipPixelOffsetModeNone=@3/*_GdipPixelOffsetModeNone*/
_GdipPixelOffsetModeHalf=@4/*_GdipPixelOffsetModeHalf*/
_GdipTextRenderingHintSystemDefault=@0/*_GdipTextRenderingHintSystemDefault*/
_GdipTextRenderingHintSingleBitPerPixelGridFit=@1/*_GdipTextRenderingHintSingleBitPerPixelGridFit*/
_GdipTextRenderingHintSingleBitPerPixel=@2/*_GdipTextRenderingHintSingleBitPerPixel*/
_GdipTextRenderingHintAntiAliasGridFit=@3/*_GdipTextRenderingHintAntiAliasGridFit*/
_GdipTextRenderingHintAntiAlias=@4/*_GdipTextRenderingHintAntiAlias*/
_GdipTextRenderingHintClearTypeGridFit=@5/*_GdipTextRenderingHintClearTypeGridFit*/
_GdipMatrixOrderPrepend=@0/*_GdipMatrixOrderPrepend*/
_GdipMatrixOrderAppend=@1/*_GdipMatrixOrderAppend*/
_GdipColorAdjustTypeDefault=@0/*_GdipColorAdjustTypeDefault*/
_GdipColorAdjustTypeBitmap=@1/*_GdipColorAdjustTypeBitmap*/
_GdipColorAdjustTypeBrush=@2/*_GdipColorAdjustTypeBrush*/
_GdipColorAdjustTypePen=@3/*_GdipColorAdjustTypePen*/
_GdipColorAdjustTypeText=@4/*_GdipColorAdjustTypeText*/
_GdipColorAdjustTypeCount=@5/*_GdipColorAdjustTypeCount*/
_GdipColorAdjustTypeAny=@6/*_GdipColorAdjustTypeAny*/
_GdipColorMatrixFlagsDefault=@0/*_GdipColorMatrixFlagsDefault*/
_GdipColorMatrixFlagsSkipGrays=@1/*_GdipColorMatrixFlagsSkipGrays*/
_GdipColorMatrixFlagsAltGray=@2/*_GdipColorMatrixFlagsAltGray*/
_GdipWarpModePerspective=@0/*_GdipWarpModePerspective*/
_GdipWarpModeBilinear=@1/*_GdipWarpModeBilinear*/
_GdipCombineModeReplace=@0/*_GdipCombineModeReplace*/
_GdipCombineModeIntersect=@1/*_GdipCombineModeIntersect*/
_GdipCombineModeUnion=@2/*_GdipCombineModeUnion*/
_GdipCombineModeXor=@3/*_GdipCombineModeXor*/
_GdipCombineModeExclude=@4/*_GdipCombineModeExclude*/
_GdipCombineModeComplement=@5/*_GdipCombineModeComplement*/
_GdipImageLockModeRead=@1/*_GdipImageLockModeRead*/
_GdipImageLockModeWrite=@2/*_GdipImageLockModeWrite*/
_GdipImageLockModeUserInputBuf=@4/*_GdipImageLockModeUserInputBuf*/
_GdipGpSaveBMP=@0/*_GdipGpSaveBMP*/
_GdipGpSaveJPEG=@1/*_GdipGpSaveJPEG*/
_GdipGpSaveGIF=@2/*_GdipGpSaveGIF*/
_GdipGpSavePNG=@3/*_GdipGpSavePNG*/
_GdipGpSaveTIFF=@4/*_GdipGpSaveTIFF*/
_GdipGpImageFormatUndefined=@0/*_GdipGpImageFormatUndefined*/
_GdipGpImageFormatMemoryBMP=@1/*_GdipGpImageFormatMemoryBMP*/
_GdipGpImageFormatBMP=@2/*_GdipGpImageFormatBMP*/
_GdipGpImageFormatEMF=@3/*_GdipGpImageFormatEMF*/
_GdipGpImageFormatWMF=@4/*_GdipGpImageFormatWMF*/
_GdipGpImageFormatJPEG=@5/*_GdipGpImageFormatJPEG*/
_GdipGpImageFormatPNG=@6/*_GdipGpImageFormatPNG*/
_GdipGpImageFormatGIF=@7/*_GdipGpImageFormatGIF*/
_GdipGpImageFormatTIFF=@8/*_GdipGpImageFormatTIFF*/
_GdipGpImageFormatEXIF=@9/*_GdipGpImageFormatEXIF*/
_GdipGpImageFormatIcon=@0xA/*_GdipGpImageFormatIcon*/
_GdipImageTypeUnknown=@0/*_GdipImageTypeUnknown*/
_GdipImageTypeBitmap=@1/*_GdipImageTypeBitmap*/
_GdipImageTypeMetafile=@2/*_GdipImageTypeMetafile*/
_GdipPropertyTagTypeByte=@1/*_GdipPropertyTagTypeByte*/
_GdipPropertyTagTypeASCII=@2/*_GdipPropertyTagTypeASCII*/
_GdipPropertyTagTypeShort=@3/*_GdipPropertyTagTypeShort*/
_GdipPropertyTagTypeLong=@4/*_GdipPropertyTagTypeLong*/
_GdipPropertyTagTypeRational=@5/*_GdipPropertyTagTypeRational*/
_GdipPropertyTagTypeUndefined=@7/*_GdipPropertyTagTypeUndefined*/
_GdipPropertyTagTypeSLONG=@9/*_GdipPropertyTagTypeSLONG*/
_GdipPropertyTagTypeSRational=@0xA/*_GdipPropertyTagTypeSRational*/
_GdipImageCodecFlagsEncoder=@1/*_GdipImageCodecFlagsEncoder*/
_GdipImageCodecFlagsDecoder=@2/*_GdipImageCodecFlagsDecoder*/
_GdipImageCodecFlagsSupportBitmap=@4/*_GdipImageCodecFlagsSupportBitmap*/
_GdipImageCodecFlagsSupportVector=@8/*_GdipImageCodecFlagsSupportVector*/
_GdipImageCodecFlagsSeekableEncode=@0x10/*_GdipImageCodecFlagsSeekableEncode*/
_GdipImageCodecFlagsBlockingDecode=@0x20/*_GdipImageCodecFlagsBlockingDecode*/
_GdipImageCodecFlagsBuiltin=@0x10000/*_GdipImageCodecFlagsBuiltin*/
_GdipImageCodecFlagsSystem=@0x20000/*_GdipImageCodecFlagsSystem*/
_GdipImageCodecFlagsUser=@0x40000/*_GdipImageCodecFlagsUser*/
_GdipPropertyTagExifIFD=@0x8769/*_GdipPropertyTagExifIFD*/
_GdipPropertyTagGpsIFD=@0x8825/*_GdipPropertyTagGpsIFD*/
_GdipPropertyTagNewSubfileType=@0xFE/*_GdipPropertyTagNewSubfileType*/
_GdipPropertyTagSubfileType=@0xFF/*_GdipPropertyTagSubfileType*/
_GdipPropertyTagImageWidth=@0x100/*_GdipPropertyTagImageWidth*/
_GdipPropertyTagImageHeight=@0x101/*_GdipPropertyTagImageHeight*/
_GdipPropertyTagBitsPerSample=@0x102/*_GdipPropertyTagBitsPerSample*/
_GdipPropertyTagCompression=@0x103/*_GdipPropertyTagCompression*/
_GdipPropertyTagPhotometricInterp=@0x106/*_GdipPropertyTagPhotometricInterp*/
_GdipPropertyTagThreshHolding=@0x107/*_GdipPropertyTagThreshHolding*/
_GdipPropertyTagCellWidth=@0x108/*_GdipPropertyTagCellWidth*/
_GdipPropertyTagCellHeight=@0x109/*_GdipPropertyTagCellHeight*/
_GdipPropertyTagFillOrder=@0x10A/*_GdipPropertyTagFillOrder*/
_GdipPropertyTagDocumentName=@0x10D/*_GdipPropertyTagDocumentName*/
_GdipPropertyTagImageDescription=@0x10E/*_GdipPropertyTagImageDescription*/
_GdipPropertyTagEquipMake=@0x10F/*_GdipPropertyTagEquipMake*/
_GdipPropertyTagEquipModel=@0x110/*_GdipPropertyTagEquipModel*/
_GdipPropertyTagStripOffsets=@0x111/*_GdipPropertyTagStripOffsets*/
_GdipPropertyTagOrientation=@0x112/*_GdipPropertyTagOrientation*/
_GdipPropertyTagSamplesPerPixel=@0x115/*_GdipPropertyTagSamplesPerPixel*/
_GdipPropertyTagRowsPerStrip=@0x116/*_GdipPropertyTagRowsPerStrip*/
_GdipPropertyTagStripBytesCount=@0x117/*_GdipPropertyTagStripBytesCount*/
_GdipPropertyTagMinSampleValue=@0x118/*_GdipPropertyTagMinSampleValue*/
_GdipPropertyTagMaxSampleValue=@0x119/*_GdipPropertyTagMaxSampleValue*/
_GdipPropertyTagXResolution=@0x11A/*_GdipPropertyTagXResolution*/
_GdipPropertyTagYResolution=@0x11B/*_GdipPropertyTagYResolution*/
_GdipPropertyTagPlanarConfig=@0x11C/*_GdipPropertyTagPlanarConfig*/
_GdipPropertyTagPageName=@0x11D/*_GdipPropertyTagPageName*/
_GdipPropertyTagXPosition=@0x11E/*_GdipPropertyTagXPosition*/
_GdipPropertyTagYPosition=@0x11F/*_GdipPropertyTagYPosition*/
_GdipPropertyTagFreeOffset=@0x120/*_GdipPropertyTagFreeOffset*/
_GdipPropertyTagFreeByteCounts=@0x121/*_GdipPropertyTagFreeByteCounts*/
_GdipPropertyTagGrayResponseUnit=@0x122/*_GdipPropertyTagGrayResponseUnit*/
_GdipPropertyTagGrayResponseCurve=@0x123/*_GdipPropertyTagGrayResponseCurve*/
_GdipPropertyTagT4Option=@0x124/*_GdipPropertyTagT4Option*/
_GdipPropertyTagT6Option=@0x125/*_GdipPropertyTagT6Option*/
_GdipPropertyTagResolutionUnit=@0x128/*_GdipPropertyTagResolutionUnit*/
_GdipPropertyTagPageNumber=@0x129/*_GdipPropertyTagPageNumber*/
_GdipPropertyTagTransferFuncition=@0x12D/*_GdipPropertyTagTransferFuncition*/
_GdipPropertyTagSoftwareUsed=@0x131/*_GdipPropertyTagSoftwareUsed*/
_GdipPropertyTagDateTime=@0x132/*_GdipPropertyTagDateTime*/
_GdipPropertyTagArtist=@0x13B/*_GdipPropertyTagArtist*/
_GdipPropertyTagHostComputer=@0x13C/*_GdipPropertyTagHostComputer*/
_GdipPropertyTagPredictor=@0x13D/*_GdipPropertyTagPredictor*/
_GdipPropertyTagWhitePoint=@0x13E/*_GdipPropertyTagWhitePoint*/
_GdipPropertyTagPrimaryChromaticities=@0x13F/*_GdipPropertyTagPrimaryChromaticities*/
_GdipPropertyTagColorMap=@0x140/*_GdipPropertyTagColorMap*/
_GdipPropertyTagHalftoneHints=@0x141/*_GdipPropertyTagHalftoneHints*/
_GdipPropertyTagTileWidth=@0x142/*_GdipPropertyTagTileWidth*/
_GdipPropertyTagTileLength=@0x143/*_GdipPropertyTagTileLength*/
_GdipPropertyTagTileOffset=@0x144/*_GdipPropertyTagTileOffset*/
_GdipPropertyTagTileByteCounts=@0x145/*_GdipPropertyTagTileByteCounts*/
_GdipPropertyTagInkSet=@0x14C/*_GdipPropertyTagInkSet*/
_GdipPropertyTagInkNames=@0x14D/*_GdipPropertyTagInkNames*/
_GdipPropertyTagNumberOfInks=@0x14E/*_GdipPropertyTagNumberOfInks*/
_GdipPropertyTagDotRange=@0x150/*_GdipPropertyTagDotRange*/
_GdipPropertyTagTargetPrinter=@0x151/*_GdipPropertyTagTargetPrinter*/
_GdipPropertyTagExtraSamples=@0x152/*_GdipPropertyTagExtraSamples*/
_GdipPropertyTagSampleFormat=@0x153/*_GdipPropertyTagSampleFormat*/
_GdipPropertyTagSMinSampleValue=@0x154/*_GdipPropertyTagSMinSampleValue*/
_GdipPropertyTagSMaxSampleValue=@0x155/*_GdipPropertyTagSMaxSampleValue*/
_GdipPropertyTagTransferRange=@0x156/*_GdipPropertyTagTransferRange*/
_GdipPropertyTagJPEGProc=@0x200/*_GdipPropertyTagJPEGProc*/
_GdipPropertyTagJPEGInterFormat=@0x201/*_GdipPropertyTagJPEGInterFormat*/
_GdipPropertyTagJPEGInterLength=@0x202/*_GdipPropertyTagJPEGInterLength*/
_GdipPropertyTagJPEGRestartInterval=@0x203/*_GdipPropertyTagJPEGRestartInterval*/
_GdipPropertyTagJPEGLosslessPredictors=@0x205/*_GdipPropertyTagJPEGLosslessPredictors*/
_GdipPropertyTagJPEGPointTransforms=@0x206/*_GdipPropertyTagJPEGPointTransforms*/
_GdipPropertyTagJPEGQTables=@0x207/*_GdipPropertyTagJPEGQTables*/
_GdipPropertyTagJPEGDCTables=@0x208/*_GdipPropertyTagJPEGDCTables*/
_GdipPropertyTagJPEGACTables=@0x209/*_GdipPropertyTagJPEGACTables*/
_GdipPropertyTagYCbCrCoefficients=@0x211/*_GdipPropertyTagYCbCrCoefficients*/
_GdipPropertyTagYCbCrSubsampling=@0x212/*_GdipPropertyTagYCbCrSubsampling*/
_GdipPropertyTagYCbCrPositioning=@0x213/*_GdipPropertyTagYCbCrPositioning*/
_GdipPropertyTagREFBlackWhite=@0x214/*_GdipPropertyTagREFBlackWhite*/
_GdipPropertyTagICCProfile=@0x8773/*_GdipPropertyTagICCProfile*/
_GdipPropertyTagGamma=@0x301/*_GdipPropertyTagGamma*/
_GdipPropertyTagICCProfileDescriptor=@0x302/*_GdipPropertyTagICCProfileDescriptor*/
_GdipPropertyTagSRGBRenderingIntent=@0x303/*_GdipPropertyTagSRGBRenderingIntent*/
_GdipPropertyTagImageTitle=@0x320/*_GdipPropertyTagImageTitle*/
_GdipPropertyTagCopyright=@0x8298/*_GdipPropertyTagCopyright*/
_GdipPropertyTagResolutionXUnit=@0x5001/*_GdipPropertyTagResolutionXUnit*/
_GdipPropertyTagResolutionYUnit=@0x5002/*_GdipPropertyTagResolutionYUnit*/
_GdipPropertyTagResolutionXLengthUnit=@0x5003/*_GdipPropertyTagResolutionXLengthUnit*/
_GdipPropertyTagResolutionYLengthUnit=@0x5004/*_GdipPropertyTagResolutionYLengthUnit*/
_GdipPropertyTagPrintFlags=@0x5005/*_GdipPropertyTagPrintFlags*/
_GdipPropertyTagPrintFlagsVersion=@0x5006/*_GdipPropertyTagPrintFlagsVersion*/
_GdipPropertyTagPrintFlagsCrop=@0x5007/*_GdipPropertyTagPrintFlagsCrop*/
_GdipPropertyTagPrintFlagsBleedWidth=@0x5008/*_GdipPropertyTagPrintFlagsBleedWidth*/
_GdipPropertyTagPrintFlagsBleedWidthScale=@0x5009/*_GdipPropertyTagPrintFlagsBleedWidthScale*/
_GdipPropertyTagHalftoneLPI=@0x500A/*_GdipPropertyTagHalftoneLPI*/
_GdipPropertyTagHalftoneLPIUnit=@0x500B/*_GdipPropertyTagHalftoneLPIUnit*/
_GdipPropertyTagHalftoneDegree=@0x500C/*_GdipPropertyTagHalftoneDegree*/
_GdipPropertyTagHalftoneShape=@0x500D/*_GdipPropertyTagHalftoneShape*/
_GdipPropertyTagHalftoneMisc=@0x500E/*_GdipPropertyTagHalftoneMisc*/
_GdipPropertyTagHalftoneScreen=@0x500F/*_GdipPropertyTagHalftoneScreen*/
_GdipPropertyTagJPEGQuality=@0x5010/*_GdipPropertyTagJPEGQuality*/
_GdipPropertyTagGridSize=@0x5011/*_GdipPropertyTagGridSize*/
_GdipPropertyTagThumbnailFormat=@0x5012/*_GdipPropertyTagThumbnailFormat*/
_GdipPropertyTagThumbnailWidth=@0x5013/*_GdipPropertyTagThumbnailWidth*/
_GdipPropertyTagThumbnailHeight=@0x5014/*_GdipPropertyTagThumbnailHeight*/
_GdipPropertyTagThumbnailColorDepth=@0x5015/*_GdipPropertyTagThumbnailColorDepth*/
_GdipPropertyTagThumbnailPlanes=@0x5016/*_GdipPropertyTagThumbnailPlanes*/
_GdipPropertyTagThumbnailRawBytes=@0x5017/*_GdipPropertyTagThumbnailRawBytes*/
_GdipPropertyTagThumbnailSize=@0x5018/*_GdipPropertyTagThumbnailSize*/
_GdipPropertyTagThumbnailCompressedSize=@0x5019/*_GdipPropertyTagThumbnailCompressedSize*/
_GdipPropertyTagColorTransferFunction=@0x501A/*_GdipPropertyTagColorTransferFunction*/
_GdipPropertyTagThumbnailData=@0x501B/*_GdipPropertyTagThumbnailData*/
_GdipPropertyTagThumbnailImageWidth=@0x5020/*_GdipPropertyTagThumbnailImageWidth*/
_GdipPropertyTagThumbnailImageHeight=@0x5021/*_GdipPropertyTagThumbnailImageHeight*/
_GdipPropertyTagThumbnailBitsPerSample=@0x5022/*_GdipPropertyTagThumbnailBitsPerSample*/
_GdipPropertyTagThumbnailCompression=@0x5023/*_GdipPropertyTagThumbnailCompression*/
_GdipPropertyTagThumbnailPhotometricInterp=@0x5024/*_GdipPropertyTagThumbnailPhotometricInterp*/
_GdipPropertyTagThumbnailImageDescription=@0x5025/*_GdipPropertyTagThumbnailImageDescription*/
_GdipPropertyTagThumbnailEquipMake=@0x5026/*_GdipPropertyTagThumbnailEquipMake*/
_GdipPropertyTagThumbnailEquipModel=@0x5027/*_GdipPropertyTagThumbnailEquipModel*/
_GdipPropertyTagThumbnailStripOffsets=@0x5028/*_GdipPropertyTagThumbnailStripOffsets*/
_GdipPropertyTagThumbnailOrientation=@0x5029/*_GdipPropertyTagThumbnailOrientation*/
_GdipPropertyTagThumbnailSamplesPerPixel=@0x502A/*_GdipPropertyTagThumbnailSamplesPerPixel*/
_GdipPropertyTagThumbnailRowsPerStrip=@0x502B/*_GdipPropertyTagThumbnailRowsPerStrip*/
_GdipPropertyTagThumbnailStripBytesCount=@0x502C/*_GdipPropertyTagThumbnailStripBytesCount*/
_GdipPropertyTagThumbnailResolutionX=@0x502D/*_GdipPropertyTagThumbnailResolutionX*/
_GdipPropertyTagThumbnailResolutionY=@0x502E/*_GdipPropertyTagThumbnailResolutionY*/
_GdipPropertyTagThumbnailPlanarConfig=@0x502F/*_GdipPropertyTagThumbnailPlanarConfig*/
_GdipPropertyTagThumbnailResolutionUnit=@0x5030/*_GdipPropertyTagThumbnailResolutionUnit*/
_GdipPropertyTagThumbnailTransferFunction=@0x5031/*_GdipPropertyTagThumbnailTransferFunction*/
_GdipPropertyTagThumbnailSoftwareUsed=@0x5032/*_GdipPropertyTagThumbnailSoftwareUsed*/
_GdipPropertyTagThumbnailDateTime=@0x5033/*_GdipPropertyTagThumbnailDateTime*/
_GdipPropertyTagThumbnailArtist=@0x5034/*_GdipPropertyTagThumbnailArtist*/
_GdipPropertyTagThumbnailWhitePoint=@0x5035/*_GdipPropertyTagThumbnailWhitePoint*/
_GdipPropertyTagThumbnailPrimaryChromaticities=@0x5036/*_GdipPropertyTagThumbnailPrimaryChromaticities*/
_GdipPropertyTagThumbnailYCbCrCoefficients=@0x5037/*_GdipPropertyTagThumbnailYCbCrCoefficients*/
_GdipPropertyTagThumbnailYCbCrSubsampling=@0x5038/*_GdipPropertyTagThumbnailYCbCrSubsampling*/
_GdipPropertyTagThumbnailYCbCrPositioning=@0x5039/*_GdipPropertyTagThumbnailYCbCrPositioning*/
_GdipPropertyTagThumbnailRefBlackWhite=@0x503A/*_GdipPropertyTagThumbnailRefBlackWhite*/
_GdipPropertyTagThumbnailCopyRight=@0x503B/*_GdipPropertyTagThumbnailCopyRight*/
_GdipPropertyTagLuminanceTable=@0x5090/*_GdipPropertyTagLuminanceTable*/
_GdipPropertyTagChrominanceTable=@0x5091/*_GdipPropertyTagChrominanceTable*/
_GdipPropertyTagFrameDelay=@0x5100/*_GdipPropertyTagFrameDelay*/
_GdipPropertyTagLoopCount=@0x5101/*_GdipPropertyTagLoopCount*/
_GdipPropertyTagPixelUnit=@0x5110/*_GdipPropertyTagPixelUnit*/
_GdipPropertyTagPixelPerUnitX=@0x5111/*_GdipPropertyTagPixelPerUnitX*/
_GdipPropertyTagPixelPerUnitY=@0x5112/*_GdipPropertyTagPixelPerUnitY*/
_GdipPropertyTagPaletteHistogram=@0x5113/*_GdipPropertyTagPaletteHistogram*/
_GdipPropertyTagExifExposureTime=@0x829A/*_GdipPropertyTagExifExposureTime*/
_GdipPropertyTagExifFNumber=@0x829D/*_GdipPropertyTagExifFNumber*/
_GdipPropertyTagExifExposureProg=@0x8822/*_GdipPropertyTagExifExposureProg*/
_GdipPropertyTagExifSpectralSense=@0x8824/*_GdipPropertyTagExifSpectralSense*/
_GdipPropertyTagExifISOSpeed=@0x8827/*_GdipPropertyTagExifISOSpeed*/
_GdipPropertyTagExifOECF=@0x8828/*_GdipPropertyTagExifOECF*/
_GdipPropertyTagExifVer=@0x9000/*_GdipPropertyTagExifVer*/
_GdipPropertyTagExifDTOrig=@0x9003/*_GdipPropertyTagExifDTOrig*/
_GdipPropertyTagExifDTDigitized=@0x9004/*_GdipPropertyTagExifDTDigitized*/
_GdipPropertyTagExifCompConfig=@0x9101/*_GdipPropertyTagExifCompConfig*/
_GdipPropertyTagExifCompBPP=@0x9102/*_GdipPropertyTagExifCompBPP*/
_GdipPropertyTagExifShutterSpeed=@0x9201/*_GdipPropertyTagExifShutterSpeed*/
_GdipPropertyTagExifAperture=@0x9202/*_GdipPropertyTagExifAperture*/
_GdipPropertyTagExifBrightness=@0x9203/*_GdipPropertyTagExifBrightness*/
_GdipPropertyTagExifExposureBias=@0x9204/*_GdipPropertyTagExifExposureBias*/
_GdipPropertyTagExifMaxAperture=@0x9205/*_GdipPropertyTagExifMaxAperture*/
_GdipPropertyTagExifSubjectDist=@0x9206/*_GdipPropertyTagExifSubjectDist*/
_GdipPropertyTagExifMeteringMode=@0x9207/*_GdipPropertyTagExifMeteringMode*/
_GdipPropertyTagExifLightSource=@0x9208/*_GdipPropertyTagExifLightSource*/
_GdipPropertyTagExifFlash=@0x9209/*_GdipPropertyTagExifFlash*/
_GdipPropertyTagExifFocalLength=@0x920A/*_GdipPropertyTagExifFocalLength*/
_GdipPropertyTagExifMakerNote=@0x927C/*_GdipPropertyTagExifMakerNote*/
_GdipPropertyTagExifUserComment=@0x9286/*_GdipPropertyTagExifUserComment*/
_GdipPropertyTagExifDTSubsec=@0x9290/*_GdipPropertyTagExifDTSubsec*/
_GdipPropertyTagExifDTOrigSS=@0x9291/*_GdipPropertyTagExifDTOrigSS*/
_GdipPropertyTagExifDTDigSS=@0x9292/*_GdipPropertyTagExifDTDigSS*/
_GdipPropertyTagExifFPXVer=@0xA000/*_GdipPropertyTagExifFPXVer*/
_GdipPropertyTagExifColorSpace=@0xA001/*_GdipPropertyTagExifColorSpace*/
_GdipPropertyTagExifPixXDim=@0xA002/*_GdipPropertyTagExifPixXDim*/
_GdipPropertyTagExifPixYDim=@0xA003/*_GdipPropertyTagExifPixYDim*/
_GdipPropertyTagExifRelatedWav=@0xA004/*_GdipPropertyTagExifRelatedWav*/
_GdipPropertyTagExifInterop=@0xA005/*_GdipPropertyTagExifInterop*/
_GdipPropertyTagExifFlashEnergy=@0xA20B/*_GdipPropertyTagExifFlashEnergy*/
_GdipPropertyTagExifSpatialFR=@0xA20C/*_GdipPropertyTagExifSpatialFR*/
_GdipPropertyTagExifFocalXRes=@0xA20E/*_GdipPropertyTagExifFocalXRes*/
_GdipPropertyTagExifFocalYRes=@0xA20F/*_GdipPropertyTagExifFocalYRes*/
_GdipPropertyTagExifFocalResUnit=@0xA210/*_GdipPropertyTagExifFocalResUnit*/
_GdipPropertyTagExifSubjectLoc=@0xA214/*_GdipPropertyTagExifSubjectLoc*/
_GdipPropertyTagExifExposureIndex=@0xA215/*_GdipPropertyTagExifExposureIndex*/
_GdipPropertyTagExifSensingMethod=@0xA217/*_GdipPropertyTagExifSensingMethod*/
_GdipPropertyTagExifFileSource=@0xA300/*_GdipPropertyTagExifFileSource*/
_GdipPropertyTagExifSceneType=@0xA301/*_GdipPropertyTagExifSceneType*/
_GdipPropertyTagExifCfaPattern=@0xA302/*_GdipPropertyTagExifCfaPattern*/
_GdipPropertyTagGpsVer=@0/*_GdipPropertyTagGpsVer*/
_GdipPropertyTagGpsLatitudeRef=@1/*_GdipPropertyTagGpsLatitudeRef*/
_GdipPropertyTagGpsLatitude=@2/*_GdipPropertyTagGpsLatitude*/
_GdipPropertyTagGpsLongitudeRef=@3/*_GdipPropertyTagGpsLongitudeRef*/
_GdipPropertyTagGpsLongitude=@4/*_GdipPropertyTagGpsLongitude*/
_GdipPropertyTagGpsAltitudeRef=@5/*_GdipPropertyTagGpsAltitudeRef*/
_GdipPropertyTagGpsAltitude=@6/*_GdipPropertyTagGpsAltitude*/
_GdipPropertyTagGpsGpsTime=@7/*_GdipPropertyTagGpsGpsTime*/
_GdipPropertyTagGpsGpsSatellites=@8/*_GdipPropertyTagGpsGpsSatellites*/
_GdipPropertyTagGpsGpsStatus=@9/*_GdipPropertyTagGpsGpsStatus*/
_GdipPropertyTagGpsGpsMeasureMode=@0xA/*_GdipPropertyTagGpsGpsMeasureMode*/
_GdipPropertyTagGpsGpsDop=@0xB/*_GdipPropertyTagGpsGpsDop*/
_GdipPropertyTagGpsSpeedRef=@0xC/*_GdipPropertyTagGpsSpeedRef*/
_GdipPropertyTagGpsSpeed=@0xD/*_GdipPropertyTagGpsSpeed*/
_GdipPropertyTagGpsTrackRef=@0xE/*_GdipPropertyTagGpsTrackRef*/
_GdipPropertyTagGpsTrack=@0xF/*_GdipPropertyTagGpsTrack*/
_GdipPropertyTagGpsImgDirRef=@0x10/*_GdipPropertyTagGpsImgDirRef*/
_GdipPropertyTagGpsImgDir=@0x11/*_GdipPropertyTagGpsImgDir*/
_GdipPropertyTagGpsMapDatum=@0x12/*_GdipPropertyTagGpsMapDatum*/
_GdipPropertyTagGpsDestLatRef=@0x13/*_GdipPropertyTagGpsDestLatRef*/
_GdipPropertyTagGpsDestLat=@0x14/*_GdipPropertyTagGpsDestLat*/
_GdipPropertyTagGpsDestLongRef=@0x15/*_GdipPropertyTagGpsDestLongRef*/
_GdipPropertyTagGpsDestLong=@0x16/*_GdipPropertyTagGpsDestLong*/
_GdipPropertyTagGpsDestBearRef=@0x17/*_GdipPropertyTagGpsDestBearRef*/
_GdipPropertyTagGpsDestBear=@0x18/*_GdipPropertyTagGpsDestBear*/
_GdipPropertyTagGpsDestDistRef=@0x19/*_GdipPropertyTagGpsDestDistRef*/
_GdipPropertyTagGpsDestDist=@0x1A/*_GdipPropertyTagGpsDestDist*/
_GdipPaletteFlagsHasAlpha=@1/*_GdipPaletteFlagsHasAlpha*/
_GdipPaletteFlagsGrayScale=@2/*_GdipPaletteFlagsGrayScale*/
_GdipPaletteFlagsHalftone=@4/*_GdipPaletteFlagsHalftone*/
_GdipRotateNoneFlipNone=@0/*_GdipRotateNoneFlipNone*/
_GdipRotate90FlipNone=@1/*_GdipRotate90FlipNone*/
_GdipRotate180FlipNone=@2/*_GdipRotate180FlipNone*/
_GdipRotate270FlipNone=@3/*_GdipRotate270FlipNone*/
_GdipRotateNoneFlipX=@4/*_GdipRotateNoneFlipX*/
_GdipRotate90FlipX=@5/*_GdipRotate90FlipX*/
_GdipRotate180FlipX=@6/*_GdipRotate180FlipX*/
_GdipRotate270FlipX=@7/*_GdipRotate270FlipX*/
_GdipRotateNoneFlipY=@6/*_GdipRotateNoneFlipY*/
_GdipRotate90FlipY=@7/*_GdipRotate90FlipY*/
_GdipRotate180FlipY=@4/*_GdipRotate180FlipY*/
_GdipRotate270FlipY=@5/*_GdipRotate270FlipY*/
_GdipRotate90FlipXY=@3/*_GdipRotate90FlipXY*/
_GdipRotate180FlipXY=@0/*_GdipRotate180FlipXY*/
_GdipRotate270FlipXY=@1/*_GdipRotate270FlipXY*/
_GdipColorModeARGB32=@0/*_GdipColorModeARGB32*/
_GdipColorModeARGB64=@1/*_GdipColorModeARGB64*/
_GdipColorChannelFlagsC=@0/*_GdipColorChannelFlagsC*/
_GdipColorChannelFlagsM=@1/*_GdipColorChannelFlagsM*/
_GdipColorChannelFlagsY=@2/*_GdipColorChannelFlagsY*/
_GdipColorChannelFlagsK=@3/*_GdipColorChannelFlagsK*/
_GdipColorChannelFlagsLast=@4/*_GdipColorChannelFlagsLast*/
_GdipStringFormatFlagsDirectionRightToLeft=@1/*_GdipStringFormatFlagsDirectionRightToLeft*/
_GdipStringFormatFlagsDirectionVertical=@2/*_GdipStringFormatFlagsDirectionVertical*/
_GdipStringFormatFlagsNoFitBlackBox=@4/*_GdipStringFormatFlagsNoFitBlackBox*/
_GdipStringFormatFlagsDisplayFormatControl=@0x20/*_GdipStringFormatFlagsDisplayFormatControl*/
_GdipStringFormatFlagsNoFontFallback=@0x400/*_GdipStringFormatFlagsNoFontFallback*/
_GdipStringFormatFlagsMeasureTrailingSpaces=@0x800/*_GdipStringFormatFlagsMeasureTrailingSpaces*/
_GdipStringFormatFlagsNoWrap=@0x1000/*_GdipStringFormatFlagsNoWrap*/
_GdipStringFormatFlagsLineLimit=@0x2000/*_GdipStringFormatFlagsLineLimit*/
_GdipStringFormatFlagsNoClip=@0x4000/*_GdipStringFormatFlagsNoClip*/
_GdipStringTrimmingNone=@0/*_GdipStringTrimmingNone*/
_GdipStringTrimmingCharacter=@1/*_GdipStringTrimmingCharacter*/
_GdipStringTrimmingWord=@2/*_GdipStringTrimmingWord*/
_GdipStringTrimmingEllipsisCharacter=@3/*_GdipStringTrimmingEllipsisCharacter*/
_GdipStringTrimmingEllipsisWord=@4/*_GdipStringTrimmingEllipsisWord*/
_GdipStringTrimmingEllipsisPath=@5/*_GdipStringTrimmingEllipsisPath*/
_GdipStringDigitSubstituteUser=@0/*_GdipStringDigitSubstituteUser*/
_GdipStringDigitSubstituteNone=@1/*_GdipStringDigitSubstituteNone*/
_GdipStringDigitSubstituteNational=@2/*_GdipStringDigitSubstituteNational*/
_GdipStringDigitSubstituteTraditional=@3/*_GdipStringDigitSubstituteTraditional*/
_GdipHatchStyleHorizontal=@0/*_GdipHatchStyleHorizontal*/
_GdipHatchStyleVertical=@1/*_GdipHatchStyleVertical*/
_GdipHatchStyleForwardDiagonal=@2/*_GdipHatchStyleForwardDiagonal*/
_GdipHatchStyleBackwardDiagonal=@3/*_GdipHatchStyleBackwardDiagonal*/
_GdipHatchStyleCross=@4/*_GdipHatchStyleCross*/
_GdipHatchStyleDiagonalCross=@5/*_GdipHatchStyleDiagonalCross*/
_GdipHatchStyle05Percent=@6/*_GdipHatchStyle05Percent*/
_GdipHatchStyle10Percent=@7/*_GdipHatchStyle10Percent*/
_GdipHatchStyle20Percent=@8/*_GdipHatchStyle20Percent*/
_GdipHatchStyle25Percent=@9/*_GdipHatchStyle25Percent*/
_GdipHatchStyle30Percent=@0xA/*_GdipHatchStyle30Percent*/
_GdipHatchStyle40Percent=@0xB/*_GdipHatchStyle40Percent*/
_GdipHatchStyle50Percent=@0xC/*_GdipHatchStyle50Percent*/
_GdipHatchStyle60Percent=@0xD/*_GdipHatchStyle60Percent*/
_GdipHatchStyle70Percent=@0xE/*_GdipHatchStyle70Percent*/
_GdipHatchStyle75Percent=@0xF/*_GdipHatchStyle75Percent*/
_GdipHatchStyle80Percent=@0x10/*_GdipHatchStyle80Percent*/
_GdipHatchStyle90Percent=@0x11/*_GdipHatchStyle90Percent*/
_GdipHatchStyleLightDownwardDiagonal=@0x12/*_GdipHatchStyleLightDownwardDiagonal*/
_GdipHatchStyleLightUpwardDiagonal=@0x13/*_GdipHatchStyleLightUpwardDiagonal*/
_GdipHatchStyleDarkDownwardDiagonal=@0x14/*_GdipHatchStyleDarkDownwardDiagonal*/
_GdipHatchStyleDarkUpwardDiagonal=@0x15/*_GdipHatchStyleDarkUpwardDiagonal*/
_GdipHatchStyleWideDownwardDiagonal=@0x16/*_GdipHatchStyleWideDownwardDiagonal*/
_GdipHatchStyleWideUpwardDiagonal=@0x17/*_GdipHatchStyleWideUpwardDiagonal*/
_GdipHatchStyleLightVertical=@0x18/*_GdipHatchStyleLightVertical*/
_GdipHatchStyleLightHorizontal=@0x19/*_GdipHatchStyleLightHorizontal*/
_GdipHatchStyleNarrowVertical=@0x1A/*_GdipHatchStyleNarrowVertical*/
_GdipHatchStyleNarrowHorizontal=@0x1B/*_GdipHatchStyleNarrowHorizontal*/
_GdipHatchStyleDarkVertical=@0x1C/*_GdipHatchStyleDarkVertical*/
_GdipHatchStyleDarkHorizontal=@0x1D/*_GdipHatchStyleDarkHorizontal*/
_GdipHatchStyleDashedDownwardDiagonal=@0x1E/*_GdipHatchStyleDashedDownwardDiagonal*/
_GdipHatchStyleDashedUpwardDiagonal=@0x1F/*_GdipHatchStyleDashedUpwardDiagonal*/
_GdipHatchStyleDashedHorizontal=@0x20/*_GdipHatchStyleDashedHorizontal*/
_GdipHatchStyleDashedVertical=@0x21/*_GdipHatchStyleDashedVertical*/
_GdipHatchStyleSmallConfetti=@0x22/*_GdipHatchStyleSmallConfetti*/
_GdipHatchStyleLargeConfetti=@0x23/*_GdipHatchStyleLargeConfetti*/
_GdipHatchStyleZigZag=@0x24/*_GdipHatchStyleZigZag*/
_GdipHatchStyleWave=@0x25/*_GdipHatchStyleWave*/
_GdipHatchStyleDiagonalBrick=@0x26/*_GdipHatchStyleDiagonalBrick*/
_GdipHatchStyleHorizontalBrick=@0x27/*_GdipHatchStyleHorizontalBrick*/
_GdipHatchStyleWeave=@0x28/*_GdipHatchStyleWeave*/
_GdipHatchStylePlaid=@0x29/*_GdipHatchStylePlaid*/
_GdipHatchStyleDivot=@0x2A/*_GdipHatchStyleDivot*/
_GdipHatchStyleDottedGrid=@0x2B/*_GdipHatchStyleDottedGrid*/
_GdipHatchStyleDottedDiamond=@0x2C/*_GdipHatchStyleDottedDiamond*/
_GdipHatchStyleShingle=@0x2D/*_GdipHatchStyleShingle*/
_GdipHatchStyleTrellis=@0x2E/*_GdipHatchStyleTrellis*/
_GdipHatchStyleSphere=@0x2F/*_GdipHatchStyleSphere*/
_GdipHatchStyleSmallGrid=@0x30/*_GdipHatchStyleSmallGrid*/
_GdipHatchStyleSmallCheckerBoard=@0x31/*_GdipHatchStyleSmallCheckerBoard*/
_GdipHatchStyleLargeCheckerBoard=@0x32/*_GdipHatchStyleLargeCheckerBoard*/
_GdipHatchStyleOutlinedDiamond=@0x33/*_GdipHatchStyleOutlinedDiamond*/
_GdipHatchStyleSolidDiamond=@0x34/*_GdipHatchStyleSolidDiamond*/
_GdipHatchStyleTotal=@0x35/*_GdipHatchStyleTotal*/
_GdipHatchStyleLargeGrid=@4/*_GdipHatchStyleLargeGrid*/
_GdipHatchStyleMin=@0/*_GdipHatchStyleMin*/
_GdipHatchStyleMax=@0x34/*_GdipHatchStyleMax*/
_GdipPenAlignmentCenter=@0/*_GdipPenAlignmentCenter*/
_GdipPenAlignmentInset=@1/*_GdipPenAlignmentInset*/
_GdipBrushTypeSolidColor=@0/*_GdipBrushTypeSolidColor*/
_GdipBrushTypeHatchFill=@1/*_GdipBrushTypeHatchFill*/
_GdipBrushTypeTextureFill=@2/*_GdipBrushTypeTextureFill*/
_GdipBrushTypePathGradient=@3/*_GdipBrushTypePathGradient*/
_GdipBrushTypeLinearGradient=@4/*_GdipBrushTypeLinearGradient*/
_GdipDashStyleSolid=@0/*_GdipDashStyleSolid*/
_GdipDashStyleDash=@1/*_GdipDashStyleDash*/
_GdipDashStyleDot=@2/*_GdipDashStyleDot*/
_GdipDashStyleDashDot=@3/*_GdipDashStyleDashDot*/
_GdipDashStyleDashDotDot=@4/*_GdipDashStyleDashDotDot*/
_GdipDashStyleCustom=@5/*_GdipDashStyleCustom*/
_GdipDashCapFlat=@0/*_GdipDashCapFlat*/
_GdipDashCapRound=@2/*_GdipDashCapRound*/
_GdipDashCapTriangle=@3/*_GdipDashCapTriangle*/
_GdipLineCapFlat=@0/*_GdipLineCapFlat*/
_GdipLineCapSquare=@1/*_GdipLineCapSquare*/
_GdipLineCapRound=@2/*_GdipLineCapRound*/
_GdipLineCapTriangle=@3/*_GdipLineCapTriangle*/
_GdipLineCapNoAnchor=@0x10/*_GdipLineCapNoAnchor*/
_GdipLineCapSquareAnchor=@0x11/*_GdipLineCapSquareAnchor*/
_GdipLineCapRoundAnchor=@0x12/*_GdipLineCapRoundAnchor*/
_GdipLineCapDiamondAnchor=@0x13/*_GdipLineCapDiamondAnchor*/
_GdipLineCapArrowAnchor=@0x14/*_GdipLineCapArrowAnchor*/
_GdipLineCapCustom=@0xFF/*_GdipLineCapCustom*/
_GdipLineCapAnchorMask=@0xF0/*_GdipLineCapAnchorMask*/
_GdipCustomLineCapTypeDefault=@0/*_GdipCustomLineCapTypeDefault*/
_GdipCustomLineCapTypeAdjustableArrow=@1/*_GdipCustomLineCapTypeAdjustableArrow*/
_GdipLineJoinMiter=@0/*_GdipLineJoinMiter*/
_GdipLineJoinBevel=@1/*_GdipLineJoinBevel*/
_GdipLineJoinRound=@2/*_GdipLineJoinRound*/
_GdipLineJoinMiterClipped=@3/*_GdipLineJoinMiterClipped*/
_GdipPenTypeUnknown=@-1/*_GdipPenTypeUnknown*/
_GdipMetafileTypeInvalid=@0/*_GdipMetafileTypeInvalid*/
_GdipMetafileTypeWmf=@1/*_GdipMetafileTypeWmf*/
_GdipMetafileTypeWmfPlaceable=@2/*_GdipMetafileTypeWmfPlaceable*/
_GdipMetafileTypeEmf=@3/*_GdipMetafileTypeEmf*/
_GdipMetafileTypeEmfPlusOnly=@4/*_GdipMetafileTypeEmfPlusOnly*/
_GdipMetafileTypeEmfPlusDual=@5/*_GdipMetafileTypeEmfPlusDual*/
_GdipObjectTypeInvalid=@0/*_GdipObjectTypeInvalid*/
_GdipObjectTypeBrush=@1/*_GdipObjectTypeBrush*/
_GdipObjectTypePen=@2/*_GdipObjectTypePen*/
_GdipObjectTypePath=@3/*_GdipObjectTypePath*/
_GdipObjectTypeRegion=@4/*_GdipObjectTypeRegion*/
_GdipObjectTypeImage=@5/*_GdipObjectTypeImage*/
_GdipObjectTypeFont=@6/*_GdipObjectTypeFont*/
_GdipObjectTypeStringFormat=@7/*_GdipObjectTypeStringFormat*/
_GdipObjectTypeImageAttributes=@8/*_GdipObjectTypeImageAttributes*/
_GdipObjectTypeCustomLineCap=@9/*_GdipObjectTypeCustomLineCap*/
_GdipMetafileFrameUnitGdi=@7/*_GdipMetafileFrameUnitGdi*/
_GdipCoordinateSpaceWorld=@0/*_GdipCoordinateSpaceWorld*/
_GdipCoordinateSpacePage=@1/*_GdipCoordinateSpacePage*/
_GdipCoordinateSpaceDevice=@2/*_GdipCoordinateSpaceDevice*/
_GdipWmfRecordTypeSetBkColor=@0x10201/*_GdipWmfRecordTypeSetBkColor*/
_GdipWmfRecordTypeSetBkMode=@0x10102/*_GdipWmfRecordTypeSetBkMode*/
_GdipWmfRecordTypeSetMapMode=@0x10103/*_GdipWmfRecordTypeSetMapMode*/
_GdipWmfRecordTypeSetROP2=@0x10104/*_GdipWmfRecordTypeSetROP2*/
_GdipWmfRecordTypeSetRelAbs=@0x10105/*_GdipWmfRecordTypeSetRelAbs*/
_GdipWmfRecordTypeSetPolyFillMode=@0x10106/*_GdipWmfRecordTypeSetPolyFillMode*/
_GdipWmfRecordTypeSetStretchBltMode=@0x10107/*_GdipWmfRecordTypeSetStretchBltMode*/
_GdipWmfRecordTypeSetTextCharExtra=@0x10108/*_GdipWmfRecordTypeSetTextCharExtra*/
_GdipWmfRecordTypeSetTextColor=@0x10209/*_GdipWmfRecordTypeSetTextColor*/
_GdipWmfRecordTypeSetTextJustification=@0x1020A/*_GdipWmfRecordTypeSetTextJustification*/
_GdipWmfRecordTypeSetWindowOrg=@0x1020B/*_GdipWmfRecordTypeSetWindowOrg*/
_GdipWmfRecordTypeSetWindowExt=@0x1020C/*_GdipWmfRecordTypeSetWindowExt*/
_GdipWmfRecordTypeSetViewportOrg=@0x1020D/*_GdipWmfRecordTypeSetViewportOrg*/
_GdipWmfRecordTypeSetViewportExt=@0x1020E/*_GdipWmfRecordTypeSetViewportExt*/
_GdipWmfRecordTypeOffsetWindowOrg=@0x1020F/*_GdipWmfRecordTypeOffsetWindowOrg*/
_GdipWmfRecordTypeScaleWindowExt=@0x10410/*_GdipWmfRecordTypeScaleWindowExt*/
_GdipWmfRecordTypeOffsetViewportOrg=@0x10211/*_GdipWmfRecordTypeOffsetViewportOrg*/
_GdipWmfRecordTypeScaleViewportExt=@0x10412/*_GdipWmfRecordTypeScaleViewportExt*/
_GdipWmfRecordTypeLineTo=@0x10213/*_GdipWmfRecordTypeLineTo*/
_GdipWmfRecordTypeMoveTo=@0x10214/*_GdipWmfRecordTypeMoveTo*/
_GdipWmfRecordTypeExcludeClipRect=@0x10415/*_GdipWmfRecordTypeExcludeClipRect*/
_GdipWmfRecordTypeIntersectClipRect=@0x10416/*_GdipWmfRecordTypeIntersectClipRect*/
_GdipWmfRecordTypeArc=@0x10817/*_GdipWmfRecordTypeArc*/
_GdipWmfRecordTypeEllipse=@0x10418/*_GdipWmfRecordTypeEllipse*/
_GdipWmfRecordTypeFloodFill=@0x10419/*_GdipWmfRecordTypeFloodFill*/
_GdipWmfRecordTypePie=@0x1081A/*_GdipWmfRecordTypePie*/
_GdipWmfRecordTypeRectangle=@0x1041B/*_GdipWmfRecordTypeRectangle*/
_GdipWmfRecordTypeRoundRect=@0x1061C/*_GdipWmfRecordTypeRoundRect*/
_GdipWmfRecordTypePatBlt=@0x1061D/*_GdipWmfRecordTypePatBlt*/
_GdipWmfRecordTypeSaveDC=@0x1001E/*_GdipWmfRecordTypeSaveDC*/
_GdipWmfRecordTypeSetPixel=@0x1041F/*_GdipWmfRecordTypeSetPixel*/
_GdipWmfRecordTypeOffsetClipRgn=@0x10220/*_GdipWmfRecordTypeOffsetClipRgn*/
_GdipWmfRecordTypeTextOut=@0x10521/*_GdipWmfRecordTypeTextOut*/
_GdipWmfRecordTypeBitBlt=@0x10922/*_GdipWmfRecordTypeBitBlt*/
_GdipWmfRecordTypeStretchBlt=@0x10B23/*_GdipWmfRecordTypeStretchBlt*/
_GdipWmfRecordTypePolygon=@0x10324/*_GdipWmfRecordTypePolygon*/
_GdipWmfRecordTypePolyline=@0x10325/*_GdipWmfRecordTypePolyline*/
_GdipWmfRecordTypeEscape=@0x10626/*_GdipWmfRecordTypeEscape*/
_GdipWmfRecordTypeRestoreDC=@0x10127/*_GdipWmfRecordTypeRestoreDC*/
_GdipWmfRecordTypeFillRegion=@0x10228/*_GdipWmfRecordTypeFillRegion*/
_GdipWmfRecordTypeFrameRegion=@0x10429/*_GdipWmfRecordTypeFrameRegion*/
_GdipWmfRecordTypeInvertRegion=@0x1012A/*_GdipWmfRecordTypeInvertRegion*/
_GdipWmfRecordTypePaintRegion=@0x1012B/*_GdipWmfRecordTypePaintRegion*/
_GdipWmfRecordTypeSelectClipRegion=@0x1012C/*_GdipWmfRecordTypeSelectClipRegion*/
_GdipWmfRecordTypeSelectObject=@0x1012D/*_GdipWmfRecordTypeSelectObject*/
_GdipWmfRecordTypeSetTextAlign=@0x1012E/*_GdipWmfRecordTypeSetTextAlign*/
_GdipWmfRecordTypeDrawText=@0x1062F/*_GdipWmfRecordTypeDrawText*/
_GdipWmfRecordTypeChord=@0x10830/*_GdipWmfRecordTypeChord*/
_GdipWmfRecordTypeSetMapperFlags=@0x10231/*_GdipWmfRecordTypeSetMapperFlags*/
_GdipWmfRecordTypeExtTextOut=@0x10A32/*_GdipWmfRecordTypeExtTextOut*/
_GdipWmfRecordTypeSetDIBToDev=@0x10D33/*_GdipWmfRecordTypeSetDIBToDev*/
_GdipWmfRecordTypeSelectPalette=@0x10234/*_GdipWmfRecordTypeSelectPalette*/
_GdipWmfRecordTypeRealizePalette=@0x10035/*_GdipWmfRecordTypeRealizePalette*/
_GdipWmfRecordTypeAnimatePalette=@0x10436/*_GdipWmfRecordTypeAnimatePalette*/
_GdipWmfRecordTypeSetPalEntries=@0x10037/*_GdipWmfRecordTypeSetPalEntries*/
_GdipWmfRecordTypePolyPolygon=@0x10538/*_GdipWmfRecordTypePolyPolygon*/
_GdipWmfRecordTypeResizePalette=@0x10139/*_GdipWmfRecordTypeResizePalette*/
_GdipWmfRecordTypeDIBBitBlt=@0x10940/*_GdipWmfRecordTypeDIBBitBlt*/
_GdipWmfRecordTypeDIBStretchBlt=@0x10B41/*_GdipWmfRecordTypeDIBStretchBlt*/
_GdipWmfRecordTypeDIBCreatePatternBrush=@0x10142/*_GdipWmfRecordTypeDIBCreatePatternBrush*/
_GdipWmfRecordTypeStretchDIB=@0x10F43/*_GdipWmfRecordTypeStretchDIB*/
_GdipWmfRecordTypeExtFloodFill=@0x10548/*_GdipWmfRecordTypeExtFloodFill*/
_GdipWmfRecordTypeSetLayout=@0x10149/*_GdipWmfRecordTypeSetLayout*/
_GdipWmfRecordTypeResetDC=@0x1014C/*_GdipWmfRecordTypeResetDC*/
_GdipWmfRecordTypeStartDoc=@0x1014D/*_GdipWmfRecordTypeStartDoc*/
_GdipWmfRecordTypeStartPage=@0x1004F/*_GdipWmfRecordTypeStartPage*/
_GdipWmfRecordTypeEndPage=@0x10050/*_GdipWmfRecordTypeEndPage*/
_GdipWmfRecordTypeAbortDoc=@0x10052/*_GdipWmfRecordTypeAbortDoc*/
_GdipWmfRecordTypeEndDoc=@0x1005E/*_GdipWmfRecordTypeEndDoc*/
_GdipWmfRecordTypeDeleteObject=@0x101F0/*_GdipWmfRecordTypeDeleteObject*/
_GdipWmfRecordTypeCreatePalette=@0x100F7/*_GdipWmfRecordTypeCreatePalette*/
_GdipWmfRecordTypeCreateBrush=@0x100F8/*_GdipWmfRecordTypeCreateBrush*/
_GdipWmfRecordTypeCreatePatternBrush=@0x101F9/*_GdipWmfRecordTypeCreatePatternBrush*/
_GdipWmfRecordTypeCreatePenIndirect=@0x102FA/*_GdipWmfRecordTypeCreatePenIndirect*/
_GdipWmfRecordTypeCreateFontIndirect=@0x102FB/*_GdipWmfRecordTypeCreateFontIndirect*/
_GdipWmfRecordTypeCreateBrushIndirect=@0x102FC/*_GdipWmfRecordTypeCreateBrushIndirect*/
_GdipWmfRecordTypeCreateBitmapIndirect=@0x102FD/*_GdipWmfRecordTypeCreateBitmapIndirect*/
_GdipWmfRecordTypeCreateBitmap=@0x106FE/*_GdipWmfRecordTypeCreateBitmap*/
_GdipWmfRecordTypeCreateRegion=@0x106FF/*_GdipWmfRecordTypeCreateRegion*/
_GdipEmfRecordTypeHeader=@1/*_GdipEmfRecordTypeHeader*/
_GdipEmfRecordTypePolyBezier=@2/*_GdipEmfRecordTypePolyBezier*/
_GdipEmfRecordTypePolygon=@3/*_GdipEmfRecordTypePolygon*/
_GdipEmfRecordTypePolyline=@4/*_GdipEmfRecordTypePolyline*/
_GdipEmfRecordTypePolyBezierTo=@5/*_GdipEmfRecordTypePolyBezierTo*/
_GdipEmfRecordTypePolyLineTo=@6/*_GdipEmfRecordTypePolyLineTo*/
_GdipEmfRecordTypePolyPolyline=@7/*_GdipEmfRecordTypePolyPolyline*/
_GdipEmfRecordTypePolyPolygon=@8/*_GdipEmfRecordTypePolyPolygon*/
_GdipEmfRecordTypeSetWindowExtEx=@9/*_GdipEmfRecordTypeSetWindowExtEx*/
_GdipEmfRecordTypeSetWindowOrgEx=@0xA/*_GdipEmfRecordTypeSetWindowOrgEx*/
_GdipEmfRecordTypeSetViewportExtEx=@0xB/*_GdipEmfRecordTypeSetViewportExtEx*/
_GdipEmfRecordTypeSetViewportOrgEx=@0xC/*_GdipEmfRecordTypeSetViewportOrgEx*/
_GdipEmfRecordTypeSetBrushOrgEx=@0xD/*_GdipEmfRecordTypeSetBrushOrgEx*/
_GdipEmfRecordTypeEOF=@0xE/*_GdipEmfRecordTypeEOF*/
_GdipEmfRecordTypeSetPixelV=@0xF/*_GdipEmfRecordTypeSetPixelV*/
_GdipEmfRecordTypeSetMapperFlags=@0x10/*_GdipEmfRecordTypeSetMapperFlags*/
_GdipEmfRecordTypeSetMapMode=@0x11/*_GdipEmfRecordTypeSetMapMode*/
_GdipEmfRecordTypeSetBkMode=@0x12/*_GdipEmfRecordTypeSetBkMode*/
_GdipEmfRecordTypeSetPolyFillMode=@0x13/*_GdipEmfRecordTypeSetPolyFillMode*/
_GdipEmfRecordTypeSetROP2=@0x14/*_GdipEmfRecordTypeSetROP2*/
_GdipEmfRecordTypeSetStretchBltMode=@0x15/*_GdipEmfRecordTypeSetStretchBltMode*/
_GdipEmfRecordTypeSetTextAlign=@0x16/*_GdipEmfRecordTypeSetTextAlign*/
_GdipEmfRecordTypeSetColorAdjustment=@0x17/*_GdipEmfRecordTypeSetColorAdjustment*/
_GdipEmfRecordTypeSetTextColor=@0x18/*_GdipEmfRecordTypeSetTextColor*/
_GdipEmfRecordTypeSetBkColor=@0x19/*_GdipEmfRecordTypeSetBkColor*/
_GdipEmfRecordTypeOffsetClipRgn=@0x1A/*_GdipEmfRecordTypeOffsetClipRgn*/
_GdipEmfRecordTypeMoveToEx=@0x1B/*_GdipEmfRecordTypeMoveToEx*/
_GdipEmfRecordTypeSetMetaRgn=@0x1C/*_GdipEmfRecordTypeSetMetaRgn*/
_GdipEmfRecordTypeExcludeClipRect=@0x1D/*_GdipEmfRecordTypeExcludeClipRect*/
_GdipEmfRecordTypeIntersectClipRect=@0x1E/*_GdipEmfRecordTypeIntersectClipRect*/
_GdipEmfRecordTypeScaleViewportExtEx=@0x1F/*_GdipEmfRecordTypeScaleViewportExtEx*/
_GdipEmfRecordTypeScaleWindowExtEx=@0x20/*_GdipEmfRecordTypeScaleWindowExtEx*/
_GdipEmfRecordTypeSaveDC=@0x21/*_GdipEmfRecordTypeSaveDC*/
_GdipEmfRecordTypeRestoreDC=@0x22/*_GdipEmfRecordTypeRestoreDC*/
_GdipEmfRecordTypeSetWorldTransform=@0x23/*_GdipEmfRecordTypeSetWorldTransform*/
_GdipEmfRecordTypeModifyWorldTransform=@0x24/*_GdipEmfRecordTypeModifyWorldTransform*/
_GdipEmfRecordTypeSelectObject=@0x25/*_GdipEmfRecordTypeSelectObject*/
_GdipEmfRecordTypeCreatePen=@0x26/*_GdipEmfRecordTypeCreatePen*/
_GdipEmfRecordTypeCreateBrushIndirect=@0x27/*_GdipEmfRecordTypeCreateBrushIndirect*/
_GdipEmfRecordTypeDeleteObject=@0x28/*_GdipEmfRecordTypeDeleteObject*/
_GdipEmfRecordTypeAngleArc=@0x29/*_GdipEmfRecordTypeAngleArc*/
_GdipEmfRecordTypeEllipse=@0x2A/*_GdipEmfRecordTypeEllipse*/
_GdipEmfRecordTypeRectangle=@0x2B/*_GdipEmfRecordTypeRectangle*/
_GdipEmfRecordTypeRoundRect=@0x2C/*_GdipEmfRecordTypeRoundRect*/
_GdipEmfRecordTypeArc=@0x2D/*_GdipEmfRecordTypeArc*/
_GdipEmfRecordTypeChord=@0x2E/*_GdipEmfRecordTypeChord*/
_GdipEmfRecordTypePie=@0x2F/*_GdipEmfRecordTypePie*/
_GdipEmfRecordTypeSelectPalette=@0x30/*_GdipEmfRecordTypeSelectPalette*/
_GdipEmfRecordTypeCreatePalette=@0x31/*_GdipEmfRecordTypeCreatePalette*/
_GdipEmfRecordTypeSetPaletteEntries=@0x32/*_GdipEmfRecordTypeSetPaletteEntries*/
_GdipEmfRecordTypeResizePalette=@0x33/*_GdipEmfRecordTypeResizePalette*/
_GdipEmfRecordTypeRealizePalette=@0x34/*_GdipEmfRecordTypeRealizePalette*/
_GdipEmfRecordTypeExtFloodFill=@0x35/*_GdipEmfRecordTypeExtFloodFill*/
_GdipEmfRecordTypeLineTo=@0x36/*_GdipEmfRecordTypeLineTo*/
_GdipEmfRecordTypeArcTo=@0x37/*_GdipEmfRecordTypeArcTo*/
_GdipEmfRecordTypePolyDraw=@0x38/*_GdipEmfRecordTypePolyDraw*/
_GdipEmfRecordTypeSetArcDirection=@0x39/*_GdipEmfRecordTypeSetArcDirection*/
_GdipEmfRecordTypeSetMiterLimit=@0x3A/*_GdipEmfRecordTypeSetMiterLimit*/
_GdipEmfRecordTypeBeginPath=@0x3B/*_GdipEmfRecordTypeBeginPath*/
_GdipEmfRecordTypeEndPath=@0x3C/*_GdipEmfRecordTypeEndPath*/
_GdipEmfRecordTypeCloseFigure=@0x3D/*_GdipEmfRecordTypeCloseFigure*/
_GdipEmfRecordTypeFillPath=@0x3E/*_GdipEmfRecordTypeFillPath*/
_GdipEmfRecordTypeStrokeAndFillPath=@0x3F/*_GdipEmfRecordTypeStrokeAndFillPath*/
_GdipEmfRecordTypeStrokePath=@0x40/*_GdipEmfRecordTypeStrokePath*/
_GdipEmfRecordTypeFlattenPath=@0x41/*_GdipEmfRecordTypeFlattenPath*/
_GdipEmfRecordTypeWidenPath=@0x42/*_GdipEmfRecordTypeWidenPath*/
_GdipEmfRecordTypeSelectClipPath=@0x43/*_GdipEmfRecordTypeSelectClipPath*/
_GdipEmfRecordTypeAbortPath=@0x44/*_GdipEmfRecordTypeAbortPath*/
_GdipEmfRecordTypeReserved_069=@0x45/*_GdipEmfRecordTypeReserved_069*/
_GdipEmfRecordTypeGdiComment=@0x46/*_GdipEmfRecordTypeGdiComment*/
_GdipEmfRecordTypeFillRgn=@0x47/*_GdipEmfRecordTypeFillRgn*/
_GdipEmfRecordTypeFrameRgn=@0x48/*_GdipEmfRecordTypeFrameRgn*/
_GdipEmfRecordTypeInvertRgn=@0x49/*_GdipEmfRecordTypeInvertRgn*/
_GdipEmfRecordTypePaintRgn=@0x4A/*_GdipEmfRecordTypePaintRgn*/
_GdipEmfRecordTypeExtSelectClipRgn=@0x4B/*_GdipEmfRecordTypeExtSelectClipRgn*/
_GdipEmfRecordTypeBitBlt=@0x4C/*_GdipEmfRecordTypeBitBlt*/
_GdipEmfRecordTypeStretchBlt=@0x4D/*_GdipEmfRecordTypeStretchBlt*/
_GdipEmfRecordTypeMaskBlt=@0x4E/*_GdipEmfRecordTypeMaskBlt*/
_GdipEmfRecordTypePlgBlt=@0x4F/*_GdipEmfRecordTypePlgBlt*/
_GdipEmfRecordTypeSetDIBitsToDevice=@0x50/*_GdipEmfRecordTypeSetDIBitsToDevice*/
_GdipEmfRecordTypeStretchDIBits=@0x51/*_GdipEmfRecordTypeStretchDIBits*/
_GdipEmfRecordTypeExtCreateFontIndirect=@0x52/*_GdipEmfRecordTypeExtCreateFontIndirect*/
_GdipEmfRecordTypeExtTextOutA=@0x53/*_GdipEmfRecordTypeExtTextOutA*/
_GdipEmfRecordTypeExtTextOutW=@0x54/*_GdipEmfRecordTypeExtTextOutW*/
_GdipEmfRecordTypePolyBezier16=@0x55/*_GdipEmfRecordTypePolyBezier16*/
_GdipEmfRecordTypePolygon16=@0x56/*_GdipEmfRecordTypePolygon16*/
_GdipEmfRecordTypePolyline16=@0x57/*_GdipEmfRecordTypePolyline16*/
_GdipEmfRecordTypePolyBezierTo16=@0x58/*_GdipEmfRecordTypePolyBezierTo16*/
_GdipEmfRecordTypePolylineTo16=@0x59/*_GdipEmfRecordTypePolylineTo16*/
_GdipEmfRecordTypePolyPolyline16=@0x5A/*_GdipEmfRecordTypePolyPolyline16*/
_GdipEmfRecordTypePolyPolygon16=@0x5B/*_GdipEmfRecordTypePolyPolygon16*/
_GdipEmfRecordTypePolyDraw16=@0x5C/*_GdipEmfRecordTypePolyDraw16*/
_GdipEmfRecordTypeCreateMonoBrush=@0x5D/*_GdipEmfRecordTypeCreateMonoBrush*/
_GdipEmfRecordTypeCreateDIBPatternBrushPt=@0x5E/*_GdipEmfRecordTypeCreateDIBPatternBrushPt*/
_GdipEmfRecordTypeExtCreatePen=@0x5F/*_GdipEmfRecordTypeExtCreatePen*/
_GdipEmfRecordTypePolyTextOutA=@0x60/*_GdipEmfRecordTypePolyTextOutA*/
_GdipEmfRecordTypePolyTextOutW=@0x61/*_GdipEmfRecordTypePolyTextOutW*/
_GdipEmfRecordTypeSetICMMode=@0x62/*_GdipEmfRecordTypeSetICMMode*/
_GdipEmfRecordTypeCreateColorSpace=@0x63/*_GdipEmfRecordTypeCreateColorSpace*/
_GdipEmfRecordTypeSetColorSpace=@0x64/*_GdipEmfRecordTypeSetColorSpace*/
_GdipEmfRecordTypeDeleteColorSpace=@0x65/*_GdipEmfRecordTypeDeleteColorSpace*/
_GdipEmfRecordTypeGLSRecord=@0x66/*_GdipEmfRecordTypeGLSRecord*/
_GdipEmfRecordTypeGLSBoundedRecord=@0x67/*_GdipEmfRecordTypeGLSBoundedRecord*/
_GdipEmfRecordTypePixelFormat=@0x68/*_GdipEmfRecordTypePixelFormat*/
_GdipEmfRecordTypeDrawEscape=@0x69/*_GdipEmfRecordTypeDrawEscape*/
_GdipEmfRecordTypeExtEscape=@0x6A/*_GdipEmfRecordTypeExtEscape*/
_GdipEmfRecordTypeStartDoc=@0x6B/*_GdipEmfRecordTypeStartDoc*/
_GdipEmfRecordTypeSmallTextOut=@0x6C/*_GdipEmfRecordTypeSmallTextOut*/
_GdipEmfRecordTypeForceUFIMapping=@0x6D/*_GdipEmfRecordTypeForceUFIMapping*/
_GdipEmfRecordTypeNamedEscape=@0x6E/*_GdipEmfRecordTypeNamedEscape*/
_GdipEmfRecordTypeColorCorrectPalette=@0x6F/*_GdipEmfRecordTypeColorCorrectPalette*/
_GdipEmfRecordTypeSetICMProfileA=@0x70/*_GdipEmfRecordTypeSetICMProfileA*/
_GdipEmfRecordTypeSetICMProfileW=@0x71/*_GdipEmfRecordTypeSetICMProfileW*/
_GdipEmfRecordTypeAlphaBlend=@0x72/*_GdipEmfRecordTypeAlphaBlend*/
_GdipEmfRecordTypeSetLayout=@0x73/*_GdipEmfRecordTypeSetLayout*/
_GdipEmfRecordTypeTransparentBlt=@0x74/*_GdipEmfRecordTypeTransparentBlt*/
_GdipEmfRecordTypeReserved_117=@0x75/*_GdipEmfRecordTypeReserved_117*/
_GdipEmfRecordTypeGradientFill=@0x76/*_GdipEmfRecordTypeGradientFill*/
_GdipEmfRecordTypeSetLinkedUFIs=@0x77/*_GdipEmfRecordTypeSetLinkedUFIs*/
_GdipEmfRecordTypeSetTextJustification=@0x78/*_GdipEmfRecordTypeSetTextJustification*/
_GdipEmfRecordTypeColorMatchToTargetW=@0x79/*_GdipEmfRecordTypeColorMatchToTargetW*/
_GdipEmfRecordTypeCreateColorSpaceW=@0x7A/*_GdipEmfRecordTypeCreateColorSpaceW*/
_GdipEmfRecordTypeMax=@0x7A/*_GdipEmfRecordTypeMax*/
_GdipEmfRecordTypeMin=@1/*_GdipEmfRecordTypeMin*/
_GdipEmfPlusRecordTypeInvalid=@0x4000/*_GdipEmfPlusRecordTypeInvalid*/
_GdipEmfPlusRecordTypeHeader=@0x4001/*_GdipEmfPlusRecordTypeHeader*/
_GdipEmfPlusRecordTypeEndOfFile=@0x4002/*_GdipEmfPlusRecordTypeEndOfFile*/
_GdipEmfPlusRecordTypeComment=@0x4003/*_GdipEmfPlusRecordTypeComment*/
_GdipEmfPlusRecordTypeGetDC=@0x4004/*_GdipEmfPlusRecordTypeGetDC*/
_GdipEmfPlusRecordTypeMultiFormatStart=@0x4005/*_GdipEmfPlusRecordTypeMultiFormatStart*/
_GdipEmfPlusRecordTypeMultiFormatSection=@0x4006/*_GdipEmfPlusRecordTypeMultiFormatSection*/
_GdipEmfPlusRecordTypeMultiFormatEnd=@0x4007/*_GdipEmfPlusRecordTypeMultiFormatEnd*/
_GdipEmfPlusRecordTypeObject=@0x4008/*_GdipEmfPlusRecordTypeObject*/
_GdipEmfPlusRecordTypeClear=@0x4009/*_GdipEmfPlusRecordTypeClear*/
_GdipEmfPlusRecordTypeFillRects=@0x400A/*_GdipEmfPlusRecordTypeFillRects*/
_GdipEmfPlusRecordTypeDrawRects=@0x400B/*_GdipEmfPlusRecordTypeDrawRects*/
_GdipEmfPlusRecordTypeFillPolygon=@0x400C/*_GdipEmfPlusRecordTypeFillPolygon*/
_GdipEmfPlusRecordTypeDrawLines=@0x400D/*_GdipEmfPlusRecordTypeDrawLines*/
_GdipEmfPlusRecordTypeFillEllipse=@0x400E/*_GdipEmfPlusRecordTypeFillEllipse*/
_GdipEmfPlusRecordTypeDrawEllipse=@0x400F/*_GdipEmfPlusRecordTypeDrawEllipse*/
_GdipEmfPlusRecordTypeFillPie=@0x4010/*_GdipEmfPlusRecordTypeFillPie*/
_GdipEmfPlusRecordTypeDrawPie=@0x4011/*_GdipEmfPlusRecordTypeDrawPie*/
_GdipEmfPlusRecordTypeDrawArc=@0x4012/*_GdipEmfPlusRecordTypeDrawArc*/
_GdipEmfPlusRecordTypeFillRegion=@0x4013/*_GdipEmfPlusRecordTypeFillRegion*/
_GdipEmfPlusRecordTypeFillPath=@0x4014/*_GdipEmfPlusRecordTypeFillPath*/
_GdipEmfPlusRecordTypeDrawPath=@0x4015/*_GdipEmfPlusRecordTypeDrawPath*/
_GdipEmfPlusRecordTypeFillClosedCurve=@0x4016/*_GdipEmfPlusRecordTypeFillClosedCurve*/
_GdipEmfPlusRecordTypeDrawClosedCurve=@0x4017/*_GdipEmfPlusRecordTypeDrawClosedCurve*/
_GdipEmfPlusRecordTypeDrawCurve=@0x4018/*_GdipEmfPlusRecordTypeDrawCurve*/
_GdipEmfPlusRecordTypeDrawBeziers=@0x4019/*_GdipEmfPlusRecordTypeDrawBeziers*/
_GdipEmfPlusRecordTypeDrawImage=@0x401A/*_GdipEmfPlusRecordTypeDrawImage*/
_GdipEmfPlusRecordTypeDrawImagePoints=@0x401B/*_GdipEmfPlusRecordTypeDrawImagePoints*/
_GdipEmfPlusRecordTypeDrawString=@0x401C/*_GdipEmfPlusRecordTypeDrawString*/
_GdipEmfPlusRecordTypeSetRenderingOrigin=@0x401D/*_GdipEmfPlusRecordTypeSetRenderingOrigin*/
_GdipEmfPlusRecordTypeSetAntiAliasMode=@0x401E/*_GdipEmfPlusRecordTypeSetAntiAliasMode*/
_GdipEmfPlusRecordTypeSetTextRenderingHint=@0x401F/*_GdipEmfPlusRecordTypeSetTextRenderingHint*/
_GdipEmfPlusRecordTypeSetTextContrast=@0x4020/*_GdipEmfPlusRecordTypeSetTextContrast*/
_GdipEmfPlusRecordTypeSetInterpolationMode=@0x4021/*_GdipEmfPlusRecordTypeSetInterpolationMode*/
_GdipEmfPlusRecordTypeSetPixelOffsetMode=@0x4022/*_GdipEmfPlusRecordTypeSetPixelOffsetMode*/
_GdipEmfPlusRecordTypeSetCompositingMode=@0x4023/*_GdipEmfPlusRecordTypeSetCompositingMode*/
_GdipEmfPlusRecordTypeSetCompositingQuality=@0x4024/*_GdipEmfPlusRecordTypeSetCompositingQuality*/
_GdipEmfPlusRecordTypeSave=@0x4025/*_GdipEmfPlusRecordTypeSave*/
_GdipEmfPlusRecordTypeRestore=@0x4026/*_GdipEmfPlusRecordTypeRestore*/
_GdipEmfPlusRecordTypeBeginContainer=@0x4027/*_GdipEmfPlusRecordTypeBeginContainer*/
_GdipEmfPlusRecordTypeBeginContainerNoParams=@0x4028/*_GdipEmfPlusRecordTypeBeginContainerNoParams*/
_GdipEmfPlusRecordTypeEndContainer=@0x4029/*_GdipEmfPlusRecordTypeEndContainer*/
_GdipEmfPlusRecordTypeSetWorldTransform=@0x402A/*_GdipEmfPlusRecordTypeSetWorldTransform*/
_GdipEmfPlusRecordTypeResetWorldTransform=@0x402B/*_GdipEmfPlusRecordTypeResetWorldTransform*/
_GdipEmfPlusRecordTypeMultiplyWorldTransform=@0x402C/*_GdipEmfPlusRecordTypeMultiplyWorldTransform*/
_GdipEmfPlusRecordTypeTranslateWorldTransform=@0x402D/*_GdipEmfPlusRecordTypeTranslateWorldTransform*/
_GdipEmfPlusRecordTypeScaleWorldTransform=@0x402E/*_GdipEmfPlusRecordTypeScaleWorldTransform*/
_GdipEmfPlusRecordTypeRotateWorldTransform=@0x402F/*_GdipEmfPlusRecordTypeRotateWorldTransform*/
_GdipEmfPlusRecordTypeSetPageTransform=@0x4030/*_GdipEmfPlusRecordTypeSetPageTransform*/
_GdipEmfPlusRecordTypeResetClip=@0x4031/*_GdipEmfPlusRecordTypeResetClip*/
_GdipEmfPlusRecordTypeSetClipRect=@0x4032/*_GdipEmfPlusRecordTypeSetClipRect*/
_GdipEmfPlusRecordTypeSetClipPath=@0x4033/*_GdipEmfPlusRecordTypeSetClipPath*/
_GdipEmfPlusRecordTypeSetClipRegion=@0x4034/*_GdipEmfPlusRecordTypeSetClipRegion*/
_GdipEmfPlusRecordTypeOffsetClip=@0x4035/*_GdipEmfPlusRecordTypeOffsetClip*/
_GdipEmfPlusRecordTypeDrawDriverString=@0x4036/*_GdipEmfPlusRecordTypeDrawDriverString*/
_GdipEmfPlusRecordTotal=@0x4037/*_GdipEmfPlusRecordTotal*/
_GdipEmfPlusRecordTypeMax=@0x4036/*_GdipEmfPlusRecordTypeMax*/
_GdipEmfPlusRecordTypeMin=@0x4001/*_GdipEmfPlusRecordTypeMin*/
_GdipHotkeyPrefixNone=@0/*_GdipHotkeyPrefixNone*/
_GdipHotkeyPrefixShow=@1/*_GdipHotkeyPrefixShow*/
_GdipHotkeyPrefixHide=@2/*_GdipHotkeyPrefixHide*/
_GdipFlushIntentionFlush=@0/*_GdipFlushIntentionFlush*/
_GdipFlushIntentionSync=@1/*_GdipFlushIntentionSync*/
_GdipEncoderParameterValueTypeByte=@1/*_GdipEncoderParameterValueTypeByte*/
_GdipEncoderParameterValueTypeASCII=@2/*_GdipEncoderParameterValueTypeASCII*/
_GdipEncoderParameterValueTypeShort=@3/*_GdipEncoderParameterValueTypeShort*/
_GdipEncoderParameterValueTypeLong=@4/*_GdipEncoderParameterValueTypeLong*/
_GdipEncoderParameterValueTypeRational=@5/*_GdipEncoderParameterValueTypeRational*/
_GdipEncoderParameterValueTypeLongRange=@6/*_GdipEncoderParameterValueTypeLongRange*/
_GdipEncoderParameterValueTypeUndefined=@7/*_GdipEncoderParameterValueTypeUndefined*/
_GdipEncoderParameterValueTypeRationalRange=@8/*_GdipEncoderParameterValueTypeRationalRange*/
_GdipEncoderValueColorTypeCMYK=@0/*_GdipEncoderValueColorTypeCMYK*/
_GdipEncoderValueColorTypeYCCK=@1/*_GdipEncoderValueColorTypeYCCK*/
_GdipEncoderValueCompressionLZW=@2/*_GdipEncoderValueCompressionLZW*/
_GdipEncoderValueCompressionCCITT3=@3/*_GdipEncoderValueCompressionCCITT3*/
_GdipEncoderValueCompressionCCITT4=@4/*_GdipEncoderValueCompressionCCITT4*/
_GdipEncoderValueCompressionRle=@5/*_GdipEncoderValueCompressionRle*/
_GdipEncoderValueCompressionNone=@6/*_GdipEncoderValueCompressionNone*/
_GdipEncoderValueScanMethodInterlaced=@7/*_GdipEncoderValueScanMethodInterlaced*/
_GdipEncoderValueScanMethodNonInterlaced=@8/*_GdipEncoderValueScanMethodNonInterlaced*/
_GdipEncoderValueVersionGif87=@9/*_GdipEncoderValueVersionGif87*/
_GdipEncoderValueVersionGif89=@0xA/*_GdipEncoderValueVersionGif89*/
_GdipEncoderValueRenderProgressive=@0xB/*_GdipEncoderValueRenderProgressive*/
_GdipEncoderValueRenderNonProgressive=@0xC/*_GdipEncoderValueRenderNonProgressive*/
_GdipEncoderValueTransformRotate90=@0xD/*_GdipEncoderValueTransformRotate90*/
_GdipEncoderValueTransformRotate180=@0xE/*_GdipEncoderValueTransformRotate180*/
_GdipEncoderValueTransformRotate270=@0xF/*_GdipEncoderValueTransformRotate270*/
_GdipEncoderValueTransformFlipHorizontal=@0x10/*_GdipEncoderValueTransformFlipHorizontal*/
_GdipEncoderValueTransformFlipVertical=@0x11/*_GdipEncoderValueTransformFlipVertical*/
_GdipEncoderValueMultiFrame=@0x12/*_GdipEncoderValueMultiFrame*/
_GdipEncoderValueLastFrame=@0x13/*_GdipEncoderValueLastFrame*/
_GdipEncoderValueFlush=@0x14/*_GdipEncoderValueFlush*/
_GdipEncoderValueFrameDimensionTime=@0x15/*_GdipEncoderValueFrameDimensionTime*/
_GdipEncoderValueFrameDimensionResolution=@0x16/*_GdipEncoderValueFrameDimensionResolution*/
_GdipEncoderValueFrameDimensionPage=@0x17/*_GdipEncoderValueFrameDimensionPage*/
_GdipDebugEventLevelFatal=@0/*_GdipDebugEventLevelFatal*/
_GdipDebugEventLevelWarning=@1/*_GdipDebugEventLevelWarning*/
_GdipColorsAntiqueWhite=@0xFFFAEBD7/*_GdipColorsAntiqueWhite*/
_GdipColorsAqua=@0xFF00FFFF/*_GdipColorsAqua*/
_GdipColorsAquamarine=@0xFF7FFFD4/*_GdipColorsAquamarine*/
_GdipColorsAzure=@0xFFF0FFFF/*_GdipColorsAzure*/
_GdipColorsBeige=@0xFFF5F5DC/*_GdipColorsBeige*/
_GdipColorsBisque=@0xFFFFE4C4/*_GdipColorsBisque*/
_GdipColorsBlack=@0xFF000000/*_GdipColorsBlack*/
_GdipColorsBlanchedAlmond=@0xFFFFEBCD/*_GdipColorsBlanchedAlmond*/
_GdipColorsBlue=@0xFF0000FF/*_GdipColorsBlue*/
_GdipColorsBlueViolet=@0xFF8A2BE2/*_GdipColorsBlueViolet*/
_GdipColorsBrown=@0xFFA52A2A/*_GdipColorsBrown*/
_GdipColorsBurlyWood=@0xFFDEB887/*_GdipColorsBurlyWood*/
_GdipColorsCadetBlue=@0xFF5F9EA0/*_GdipColorsCadetBlue*/
_GdipColorsChartreuse=@0xFF7FFF00/*_GdipColorsChartreuse*/
_GdipColorsChocolate=@0xFFD2691E/*_GdipColorsChocolate*/
_GdipColorsCoral=@0xFFFF7F50/*_GdipColorsCoral*/
_GdipColorsCornflowerBlue=@0xFF6495ED/*_GdipColorsCornflowerBlue*/
_GdipColorsCornsilk=@0xFFFFF8DC/*_GdipColorsCornsilk*/
_GdipColorsCrimson=@0xFFDC143C/*_GdipColorsCrimson*/
_GdipColorsCyan=@0xFF00FFFF/*_GdipColorsCyan*/
_GdipColorsDarkBlue=@0xFF00008B/*_GdipColorsDarkBlue*/
_GdipColorsDarkCyan=@0xFF008B8B/*_GdipColorsDarkCyan*/
_GdipColorsDarkGoldenrod=@0xFFB8860B/*_GdipColorsDarkGoldenrod*/
_GdipColorsDarkGray=@0xFFA9A9A9/*_GdipColorsDarkGray*/
_GdipColorsDarkGreen=@0xFF006400/*_GdipColorsDarkGreen*/
_GdipColorsDarkKhaki=@0xFFBDB76B/*_GdipColorsDarkKhaki*/
_GdipColorsDarkMagenta=@0xFF8B008B/*_GdipColorsDarkMagenta*/
_GdipColorsDarkOliveGreen=@0xFF556B2F/*_GdipColorsDarkOliveGreen*/
_GdipColorsDarkOrange=@0xFFFF8C00/*_GdipColorsDarkOrange*/
_GdipColorsDarkOrchid=@0xFF9932CC/*_GdipColorsDarkOrchid*/
_GdipColorsDarkRed=@0xFF8B0000/*_GdipColorsDarkRed*/
_GdipColorsDarkSalmon=@0xFFE9967A/*_GdipColorsDarkSalmon*/
_GdipColorsDarkSeaGreen=@0xFF8FBC8B/*_GdipColorsDarkSeaGreen*/
_GdipColorsDarkSlateBlue=@0xFF483D8B/*_GdipColorsDarkSlateBlue*/
_GdipColorsDarkSlateGray=@0xFF2F4F4F/*_GdipColorsDarkSlateGray*/
_GdipColorsDarkTurquoise=@0xFF00CED1/*_GdipColorsDarkTurquoise*/
_GdipColorsDarkViolet=@0xFF9400D3/*_GdipColorsDarkViolet*/
_GdipColorsDeepPink=@0xFFFF1493/*_GdipColorsDeepPink*/
_GdipColorsDeepSkyBlue=@0xFF00BFFF/*_GdipColorsDeepSkyBlue*/
_GdipColorsDimGray=@0xFF696969/*_GdipColorsDimGray*/
_GdipColorsDodgerBlue=@0xFF1E90FF/*_GdipColorsDodgerBlue*/
_GdipColorsFirebrick=@0xFFB22222/*_GdipColorsFirebrick*/
_GdipColorsFloralWhite=@0xFFFFFAF0/*_GdipColorsFloralWhite*/
_GdipColorsForestGreen=@0xFF228B22/*_GdipColorsForestGreen*/
_GdipColorsFuchsia=@0xFFFF00FF/*_GdipColorsFuchsia*/
_GdipColorsGainsboro=@0xFFDCDCDC/*_GdipColorsGainsboro*/
_GdipColorsGhostWhite=@0xFFF8F8FF/*_GdipColorsGhostWhite*/
_GdipColorsGold=@0xFFFFD700/*_GdipColorsGold*/
_GdipColorsGoldenrod=@0xFFDAA520/*_GdipColorsGoldenrod*/
_GdipColorsGray=@0xFF808080/*_GdipColorsGray*/
_GdipColorsGreen=@0xFF008000/*_GdipColorsGreen*/
_GdipColorsGreenYellow=@0xFFADFF2F/*_GdipColorsGreenYellow*/
_GdipColorsHoneydew=@0xFFF0FFF0/*_GdipColorsHoneydew*/
_GdipColorsHotPink=@0xFFFF69B4/*_GdipColorsHotPink*/
_GdipColorsIndianRed=@0xFFCD5C5C/*_GdipColorsIndianRed*/
_GdipColorsIndigo=@0xFF4B0082/*_GdipColorsIndigo*/
_GdipColorsIvory=@0xFFFFFFF0/*_GdipColorsIvory*/
_GdipColorsKhaki=@0xFFF0E68C/*_GdipColorsKhaki*/
_GdipColorsLavender=@0xFFE6E6FA/*_GdipColorsLavender*/
_GdipColorsLavenderBlush=@0xFFFFF0F5/*_GdipColorsLavenderBlush*/
_GdipColorsLawnGreen=@0xFF7CFC00/*_GdipColorsLawnGreen*/
_GdipColorsLemonChiffon=@0xFFFFFACD/*_GdipColorsLemonChiffon*/
_GdipColorsLightBlue=@0xFFADD8E6/*_GdipColorsLightBlue*/
_GdipColorsLightCoral=@0xFFF08080/*_GdipColorsLightCoral*/
_GdipColorsLightCyan=@0xFFE0FFFF/*_GdipColorsLightCyan*/
_GdipColorsLightGoldenrodYellow=@0xFFFAFAD2/*_GdipColorsLightGoldenrodYellow*/
_GdipColorsLightGray=@0xFFD3D3D3/*_GdipColorsLightGray*/
_GdipColorsLightGreen=@0xFF90EE90/*_GdipColorsLightGreen*/
_GdipColorsLightPink=@0xFFFFB6C1/*_GdipColorsLightPink*/
_GdipColorsLightSalmon=@0xFFFFA07A/*_GdipColorsLightSalmon*/
_GdipColorsLightSeaGreen=@0xFF20B2AA/*_GdipColorsLightSeaGreen*/
_GdipColorsLightSkyBlue=@0xFF87CEFA/*_GdipColorsLightSkyBlue*/
_GdipColorsLightSlateGray=@0xFF778899/*_GdipColorsLightSlateGray*/
_GdipColorsLightSteelBlue=@0xFFB0C4DE/*_GdipColorsLightSteelBlue*/
_GdipColorsLightYellow=@0xFFFFFFE0/*_GdipColorsLightYellow*/
_GdipColorsLime=@0xFF00FF00/*_GdipColorsLime*/
_GdipColorsLimeGreen=@0xFF32CD32/*_GdipColorsLimeGreen*/
_GdipColorsLinen=@0xFFFAF0E6/*_GdipColorsLinen*/
_GdipColorsMagenta=@0xFFFF00FF/*_GdipColorsMagenta*/
_GdipColorsMaroon=@0xFF800000/*_GdipColorsMaroon*/
_GdipColorsMediumAquamarine=@0xFF66CDAA/*_GdipColorsMediumAquamarine*/
_GdipColorsMediumBlue=@0xFF0000CD/*_GdipColorsMediumBlue*/
_GdipColorsMediumOrchid=@0xFFBA55D3/*_GdipColorsMediumOrchid*/
_GdipColorsMediumPurple=@0xFF9370DB/*_GdipColorsMediumPurple*/
_GdipColorsMediumSeaGreen=@0xFF3CB371/*_GdipColorsMediumSeaGreen*/
_GdipColorsMediumSlateBlue=@0xFF7B68EE/*_GdipColorsMediumSlateBlue*/
_GdipColorsMediumSpringGreen=@0xFF00FA9A/*_GdipColorsMediumSpringGreen*/
_GdipColorsMediumTurquoise=@0xFF48D1CC/*_GdipColorsMediumTurquoise*/
_GdipColorsMediumVioletRed=@0xFFC71585/*_GdipColorsMediumVioletRed*/
_GdipColorsMidnightBlue=@0xFF191970/*_GdipColorsMidnightBlue*/
_GdipColorsMintCream=@0xFFF5FFFA/*_GdipColorsMintCream*/
_GdipColorsMistyRose=@0xFFFFE4E1/*_GdipColorsMistyRose*/
_GdipColorsMoccasin=@0xFFFFE4B5/*_GdipColorsMoccasin*/
_GdipColorsNavajoWhite=@0xFFFFDEAD/*_GdipColorsNavajoWhite*/
_GdipColorsNavy=@0xFF000080/*_GdipColorsNavy*/
_GdipColorsOldLace=@0xFFFDF5E6/*_GdipColorsOldLace*/
_GdipColorsOlive=@0xFF808000/*_GdipColorsOlive*/
_GdipColorsOliveDrab=@0xFF6B8E23/*_GdipColorsOliveDrab*/
_GdipColorsOrange=@0xFFFFA500/*_GdipColorsOrange*/
_GdipColorsOrangeRed=@0xFFFF4500/*_GdipColorsOrangeRed*/
_GdipColorsOrchid=@0xFFDA70D6/*_GdipColorsOrchid*/
_GdipColorsPaleGoldenrod=@0xFFEEE8AA/*_GdipColorsPaleGoldenrod*/
_GdipColorsPaleGreen=@0xFF98FB98/*_GdipColorsPaleGreen*/
_GdipColorsPaleTurquoise=@0xFFAFEEEE/*_GdipColorsPaleTurquoise*/
_GdipColorsPaleVioletRed=@0xFFDB7093/*_GdipColorsPaleVioletRed*/
_GdipColorsPapayaWhip=@0xFFFFEFD5/*_GdipColorsPapayaWhip*/
_GdipColorsPeachPuff=@0xFFFFDAB9/*_GdipColorsPeachPuff*/
_GdipColorsPeru=@0xFFCD853F/*_GdipColorsPeru*/
_GdipColorsPink=@0xFFFFC0CB/*_GdipColorsPink*/
_GdipColorsPlum=@0xFFDDA0DD/*_GdipColorsPlum*/
_GdipColorsPowderBlue=@0xFFB0E0E6/*_GdipColorsPowderBlue*/
_GdipColorsPurple=@0xFF800080/*_GdipColorsPurple*/
_GdipColorsRed=@0xFFFF0000/*_GdipColorsRed*/
_GdipColorsRosyBrown=@0xFFBC8F8F/*_GdipColorsRosyBrown*/
_GdipColorsRoyalBlue=@0xFF4169E1/*_GdipColorsRoyalBlue*/
_GdipColorsSaddleBrown=@0xFF8B4513/*_GdipColorsSaddleBrown*/
_GdipColorsSalmon=@0xFFFA8072/*_GdipColorsSalmon*/
_GdipColorsSandyBrown=@0xFFF4A460/*_GdipColorsSandyBrown*/
_GdipColorsSeaGreen=@0xFF2E8B57/*_GdipColorsSeaGreen*/
_GdipColorsSeaShell=@0xFFFFF5EE/*_GdipColorsSeaShell*/
_GdipColorsSienna=@0xFFA0522D/*_GdipColorsSienna*/
_GdipColorsSilver=@0xFFC0C0C0/*_GdipColorsSilver*/
_GdipColorsSkyBlue=@0xFF87CEEB/*_GdipColorsSkyBlue*/
_GdipColorsSlateBlue=@0xFF6A5ACD/*_GdipColorsSlateBlue*/
_GdipColorsSlateGray=@0xFF708090/*_GdipColorsSlateGray*/
_GdipColorsSnow=@0xFFFFFAFA/*_GdipColorsSnow*/
_GdipColorsSpringGreen=@0xFF00FF7F/*_GdipColorsSpringGreen*/
_GdipColorsSteelBlue=@0xFF4682B4/*_GdipColorsSteelBlue*/
_GdipColorsTan=@0xFFD2B48C/*_GdipColorsTan*/
_GdipColorsTeal=@0xFF008080/*_GdipColorsTeal*/
_GdipColorsThistle=@0xFFD8BFD8/*_GdipColorsThistle*/
_GdipColorsTomato=@0xFFFF6347/*_GdipColorsTomato*/
_GdipColorsTransparent=@0xFFFFFF/*_GdipColorsTransparent*/
_GdipColorsTurquoise=@0xFF40E0D0/*_GdipColorsTurquoise*/
_GdipColorsViolet=@0xFFEE82EE/*_GdipColorsViolet*/
_GdipColorsWheat=@0xFFF5DEB3/*_GdipColorsWheat*/
_GdipColorsWhite=@0xFFFFFFFF/*_GdipColorsWhite*/
_GdipColorsWhiteSmoke=@0xFFF5F5F5/*_GdipColorsWhiteSmoke*/
_GdipColorsYellow=@0xFFFFFF00/*_GdipColorsYellow*/
_GdipColorsYellowGreen=@0xFF9ACD32/*_GdipColorsYellowGreen*/
_GdipAlphaShift=@0x18/*_GdipAlphaShift*/
_GdipRedShift=@0x10/*_GdipRedShift*/
_GdipGreenShift=@8/*_GdipGreenShift*/
_GdipBlueShift=@0/*_GdipBlueShift*/
_GdipAlphaMask=@0xFF000000/*_GdipAlphaMask*/
_GdipRedMask=@0xFF0000/*_GdipRedMask*/
_GdipGreenMask=@0xFF00/*_GdipGreenMask*/
_GdipBlueMask=@0xFF/*_GdipBlueMask*/
_GdipStatusOk=@0/*_GdipStatusOk*/
_GdipStatusGenericError=@1/*_GdipStatusGenericError*/
_GdipStatusInvalidParameter=@2/*_GdipStatusInvalidParameter*/
_GdipStatusOutOfMemory=@3/*_GdipStatusOutOfMemory*/
_GdipStatusObjectBusy=@4/*_GdipStatusObjectBusy*/
_GdipStatusInsufficientBuffer=@5/*_GdipStatusInsufficientBuffer*/
_GdipStatusNotImplemented=@6/*_GdipStatusNotImplemented*/
_GdipStatusWin32Error=@7/*_GdipStatusWin32Error*/
_GdipStatusWrongState=@8/*_GdipStatusWrongState*/
_GdipStatusAborted=@9/*_GdipStatusAborted*/
_GdipStatusFileNotFound=@0xA/*_GdipStatusFileNotFound*/
_GdipStatusValueOverflow=@0xB/*_GdipStatusValueOverflow*/
_GdipStatusAccessDenied=@0xC/*_GdipStatusAccessDenied*/
_GdipStatusUnknownImageFormat=@0xD/*_GdipStatusUnknownImageFormat*/
_GdipStatusFontFamilyNotFound=@0xE/*_GdipStatusFontFamilyNotFound*/
_GdipStatusFontStyleNotFound=@0xF/*_GdipStatusFontStyleNotFound*/
_GdipStatusNotTrueTypeFont=@0x10/*_GdipStatusNotTrueTypeFont*/
_GdipStatusUnsupportedGdiplusVersion=@0x11/*_GdipStatusUnsupportedGdiplusVersion*/
_GdipStatusGdiplusNotInitialized=@0x12/*_GdipStatusGdiplusNotInitialized*/
_GdipStatusPropertyNotFound=@0x13/*_GdipStatusPropertyNotFound*/
_GdipStatusPropertyNotSupported=@0x14/*_GdipStatusPropertyNotSupported*/
_GdipStatusProfileNotFound=@0x15/*_GdipStatusProfileNotFound*/
end intellisense**/

/**intellisense(gdip)
CreatePen1(0xFFFF0000, 1, _GdipUnit__) = 创建画笔,画笔pen只能画一个轮廓
CreateTexture(img, _GdipWrapMode__ ) =  创建纹理
end intellisense**/

