' Classes/System/Drawing/Drawing2D/misc.ab

Namespace System
Namespace Drawing
Namespace Drawing2D
	
TypeDef GraphicsContainer = DWord
TypeDef GraphicsState = DWord

Enum CombineMode
	Replace      ' 0
	Intersect    ' 1
	Union        ' 2
	Xor          ' 3
	Exclude      ' 4
	Complement   ' 5
End Enum

Enum CompositingMode
	ModeSourceOver     ' 0
	ModeSourceCopy     ' 1
End Enum

Enum QualityMode
	Invalid   = -1
	Default   = 0
	Low       = 1  ' Best performance
	High      = 2  ' Best rendering quality
End Enum

Enum CompositingQuality
	Invalid          = QualityMode.Invalid
	Default          = QualityMode.Default
	HighSpeed        = QualityMode.Low
	HighQuality      = QualityMode.High
	GammaCorrected
	AssumeLinear
End Enum

Enum InterpolationMode
	Invalid          = QualityMode.Invalid
	Default          = QualityMode.Default
	LowQuality       = QualityMode.Low
	HighQuality      = QualityMode.High
	Bilinear
	Bicubic
	NearestNeighbor
	HighQualityBilinear
	HighQualityBicubic
End Enum

Enum SmoothingMode
	Invalid     = QualityMode.Invalid
	Default     = QualityMode.Default
	HighSpeed   = QualityMode.Low
	HighQuality = QualityMode.High
	None
	AntiAlias
End Enum

Enum PixelOffsetMode
	Invalid     = QualityMode.Invalid
	Default     = QualityMode.Default
	HighSpeed   = QualityMode.Low
	HighQuality = QualityMode.High
	None
	Half
End Enum

Enum FlushIntention
	Flush
	Sync
End Enum

Enum FillMode
	Alternate
	Winding
End Enum

Enum MatrixOrder
	Prepend
	Append
End Enum

Enum CoordinateSpace
	World
	Page
	Device
End Enum

Enum DashStyle
	Solid           ' 0
	Dash            ' 1
	Dot             ' 2
	DashDot         ' 3
	DashDotDot      ' 4
	Custom          ' 5
End Enum

Enum DashCap
	Flat             = 0
	Round            = 2
	Triangle         = 3
End Enum

Enum LineCap
	Flat             = 0
	Square           = 1
	Round            = 2
	Triangle         = 3
	NoAnchor         = &h10
	SquareAnchor     = &h11
	RoundAnchor      = &h12
	DiamondAnchor    = &h13
	ArrowAnchor      = &h14
	Custom           = &hff
	AnchorMask       = &hf0
End Enum

Enum LineJoin
	Miter = 0
	Bevel = 1
	Round = 2
	Clipped = 3
End Enum

Enum PenAlignment
	Center       = 0
	Inset        = 1
End Enum

Enum PenType
	SolidColor       = 0 'BrushTypeSolidColor
	HatchFill        = 1 'BrushTypeHatchFill
	TextureFill      = 2 'BrushTypeTextureFill
	PathGradient     = 3 'BrushTypePathGradient
	LinearGradient   = 4 'BrushTypeLinearGradient
	Unknown          = -1
End Enum

Enum WrapMode
	Tile         ' 0
	TileFlipX    ' 1
	TileFlipY    ' 2
	TileFlipXY   ' 3
	Clamp        ' 4
End Enum

Enum HatchStyle
	Horizontal                    ' 0
	Vertical                      ' 1
	ForwardDiagonal               ' 2
	BackwardDiagonal              ' 3
	Cross                         ' 4
	DiagonalCross                 ' 5
	05Percent                     ' 6
	10Percent                     ' 7
	20Percent                     ' 8
	25Percent                     ' 9
	30Percent                     ' 10
	40Percent                     ' 11
	50Percent                     ' 12
	60Percent                     ' 13
	70Percent                     ' 14
	75Percent                     ' 15
	80Percent                     ' 16
	90Percent                     ' 17
	LightDownwardDiagonal         ' 18
	LightUpwardDiagonal           ' 19
	DarkDownwardDiagonal          ' 20
	DarkUpwardDiagonal            ' 21
	WideDownwardDiagonal          ' 22
	WideUpwardDiagonal            ' 23
	LightVertical                 ' 24
	LightHorizontal               ' 25
	NarrowVertical                ' 26
	NarrowHorizontal              ' 27
	DarkVertical                  ' 28
	DarkHorizontal                ' 29
	DashedDownwardDiagonal        ' 30
	DashedUpwardDiagonal          ' 31
	DashedHorizontal              ' 32
	DashedVertical                ' 33
	SmallConfetti                 ' 34
	LargeConfetti                 ' 35
	ZigZag                        ' 36
	Wave                          ' 37
	DiagonalBrick                 ' 38
	HorizontalBrick               ' 39
	Weave                         ' 40
	Plaid                         ' 41
	Divot                         ' 42
	DottedGrid                    ' 43
	DottedDiamond                 ' 44
	Shingle                       ' 45
	Trellis                       ' 46
	Sphere                        ' 47
	SmallGrid                     ' 48
	SmallCheckerBoard             ' 49
	LargeCheckerBoard             ' 50
	OutlinedDiamond               ' 51
	SolidDiamond                  ' 52

'	LargeGrid = HatchStyleCross   ' 4

'	Min       = HatchStyleHorizontal
'	Max       = HatchStyleTotal - 1
End Enum

Enum PathPointType
	Start           = 0
	Line            = 1
	Bezier          = 3
	PathTypeMask    = &h07
	DashMode        = &h10
	PathMarker      = &h20
	CloseSubpath    = &h80
	Bezier3    = 3
End Enum

Enum WarpMode
	Perspective     ' 0
	Bilinear        ' 1
End Enum

Enum LinearGradientMode
	Horizontal          ' 0
	Vertical            ' 1
	ForwardDiagonal     ' 2
	BackwardDiagonal    ' 3
End Enum

End Namespace
End Namespace
End Namespace
