System::Drawing::Drawing2D Namespace Reference

Classes

class  AdjustableArrowCap
 
class  Blend
 
class  ColorBlend
 
class  CustomLineCap
 
class  GraphicsContainer
 
class  GraphicsPath
 
class  GraphicsState
 
class  HatchBrush
 
class  LinearGradientBrush
 
class  Matrix
 
class  PathData
 
class  PathGradientBrush
 
class  RegionData
 

Typedefs

typedef SharedPtr< MatrixMatrixPtr
 

Enumerations

enum  CombineMode {
  CombineMode::Replace = 0, CombineMode::Intersect = 1, CombineMode::Union = 2, CombineMode::Xor = 3,
  CombineMode::Exclude = 4, CombineMode::Complement = 5
}
 
enum  CompositingMode { CompositingMode::SourceOver, CompositingMode::SourceCopy }
 
enum  CompositingQuality {
  CompositingQuality::Invalid = (int)QualityMode::Invalid, CompositingQuality::Default = (int)QualityMode::Default, CompositingQuality::HighSpeed = (int)QualityMode::Low, CompositingQuality::HighQuality = (int)QualityMode::High,
  CompositingQuality::GammaCorrected, CompositingQuality::AssumeLinear
}
 
enum  CoordinateSpace { CoordinateSpace::World = 0, CoordinateSpace::Page = 1, CoordinateSpace::Device = 2 }
 
enum  DashCap { DashCap::Flat = 0, DashCap::Round = 2, DashCap::Triangle = 3 }
 
enum  DashStyle {
  DashStyle::Solid = 0, DashStyle::Dash = 1, DashStyle::Dot = 2, DashStyle::DashDot = 3,
  DashStyle::DashDotDot = 4, DashStyle::Custom = 5
}
 
enum  FillMode { FillMode::Alternate, FillMode::Winding }
 
enum  FlushIntention { FlushIntention::Flush = 0, FlushIntention::Sync = 1 }
 
enum  HatchStyle {
  HatchStyle::Horizontal = 0, HatchStyle::Vertical = 1, HatchStyle::ForwardDiagonal = 2, HatchStyle::BackwardDiagonal = 3,
  HatchStyle::Cross = 4, HatchStyle::DiagonalCross = 5, HatchStyle::Percent05 = 6, HatchStyle::Percent10 = 7,
  HatchStyle::Percent20 = 8, HatchStyle::Percent25 = 9, HatchStyle::Percent30 = 10, HatchStyle::Percent40 = 11,
  HatchStyle::Percent50 = 12, HatchStyle::Percent60 = 13, HatchStyle::Percent70 = 14, HatchStyle::Percent75 = 15,
  HatchStyle::Percent80 = 16, HatchStyle::Percent90 = 17, HatchStyle::LightDownwardDiagonal = 18, HatchStyle::LightUpwardDiagonal = 19,
  HatchStyle::DarkDownwardDiagonal = 20, HatchStyle::DarkUpwardDiagonal = 21, HatchStyle::WideDownwardDiagonal = 22, HatchStyle::WideUpwardDiagonal = 23,
  HatchStyle::LightVertical = 24, HatchStyle::LightHorizontal = 25, HatchStyle::NarrowVertical = 26, HatchStyle::NarrowHorizontal = 27,
  HatchStyle::DarkVertical = 28, HatchStyle::DarkHorizontal = 29, HatchStyle::DashedDownwardDiagonal = 30, HatchStyle::DashedUpwardDiagonal = 31,
  HatchStyle::DashedHorizontal = 32, HatchStyle::DashedVertical = 33, HatchStyle::SmallConfetti = 34, HatchStyle::LargeConfetti = 35,
  HatchStyle::ZigZag = 36, HatchStyle::Wave = 37, HatchStyle::DiagonalBrick = 38, HatchStyle::HorizontalBrick = 39,
  HatchStyle::Weave = 40, HatchStyle::Plaid = 41, HatchStyle::Divot = 42, HatchStyle::DottedGrid = 43,
  HatchStyle::DottedDiamond = 44, HatchStyle::Shingle = 45, HatchStyle::Trellis = 46, HatchStyle::Sphere = 47,
  HatchStyle::SmallGrid = 48, HatchStyle::SmallCheckerBoard = 49, HatchStyle::LargeCheckerBoard = 50, HatchStyle::OutlinedDiamond = 51,
  HatchStyle::SolidDiamond = 52, HatchStyle::LargeGrid = Cross, HatchStyle::Min = Horizontal, HatchStyle::Max = LargeGrid
}
 
enum  InterpolationMode {
  InterpolationMode::Invalid = (int)QualityMode::Invalid, InterpolationMode::Default = (int)QualityMode::Default, InterpolationMode::Low = (int)QualityMode::Low, InterpolationMode::High = (int)QualityMode::High,
  InterpolationMode::Bilinear, InterpolationMode::Bicubic, InterpolationMode::NearestNeighbor, InterpolationMode::HighQualityBilinear,
  InterpolationMode::HighQualityBicubic
}
 
enum  LineCap {
  LineCap::Flat = 0, LineCap::Square = 1, LineCap::Round = 2, LineCap::Triangle = 3,
  LineCap::NoAnchor = 0x10, LineCap::SquareAnchor = 0x11, LineCap::RoundAnchor = 0x12, LineCap::DiamondAnchor = 0x13,
  LineCap::ArrowAnchor = 0x14, LineCap::AnchorMask = 0xf0, LineCap::Custom = 0xff
}
 
enum  LineJoin { LineJoin::Miter = 0, LineJoin::Bevel = 1, LineJoin::Round = 2, LineJoin::MiterClipped = 3 }
 
enum  LinearGradientMode { LinearGradientMode::Horizontal = 0, LinearGradientMode::Vertical = 1, LinearGradientMode::ForwardDiagonal = 2, LinearGradientMode::BackwardDiagonal = 3 }
 
enum  MatrixOrder { MatrixOrder::Prepend = 0, MatrixOrder::Append = 1 }
 
enum  PathPointType {
  PathPointType::Start = 0, PathPointType::Line = 1, PathPointType::Bezier = 3, PathPointType::PathTypeMask = 0x07,
  PathPointType::DashMode = 0x10, PathPointType::PathMarker = 0x20, PathPointType::CloseSubpath = 0x80, PathPointType::Bezier3 = 3
}
 
enum  PenAlignment {
  PenAlignment::Center = 0, PenAlignment::Inset = 1, PenAlignment::Outset = 2, PenAlignment::Left = 3,
  PenAlignment::Right = 4
}
 
enum  PenType {
  PenType::SolidColor = 0, PenType::HatchFill = 1, PenType::TextureFill = 2, PenType::PathGradient = 3,
  PenType::LinearGradient = 4
}
 
enum  PixelFormat { PixelFormat::Format32bppRgb = 2498570 }
 
enum  PixelOffsetMode {
  PixelOffsetMode::Invalid = (int)QualityMode::Invalid, PixelOffsetMode::Default = (int)QualityMode::Default, PixelOffsetMode::HighSpeed = (int)QualityMode::Low, PixelOffsetMode::HighQuality = (int)QualityMode::High,
  PixelOffsetMode::None, PixelOffsetMode::Half
}
 
enum  QualityMode { QualityMode::Invalid = -1, QualityMode::Default = 0, QualityMode::Low = 1, QualityMode::High = 2 }
 
enum  SmoothingMode {
  SmoothingMode::Invalid = (int)QualityMode::Invalid, SmoothingMode::Default = (int)QualityMode::Default, SmoothingMode::HighSpeed = (int)QualityMode::Low, SmoothingMode::HighQuality = (int)QualityMode::High,
  SmoothingMode::None, SmoothingMode::AntiAlias
}
 
enum  WrapMode {
  WrapMode::Tile = 0, WrapMode::TileFlipX = 1, WrapMode::TileFlipY = 2, WrapMode::TileFlipXY = 3,
  WrapMode::Clamp = 4
}
 

Typedef Documentation

◆ MatrixPtr

Enumeration Type Documentation

◆ CombineMode

Enumerator
Replace 

One clipping region is replaced by another.

Intersect 

The two clipping regions are combined by taking their intersection.

Union 

The two clipping regions are combined by taking the union of both.

Xor 

The two clipping regions are combined by taking only the area enclosed by one or the other regions, but not both.

Exclude 

Two clipping regions are combined by taking the area of the first region that does not intersect with the second.

Complement 

Two clipping regions are combined by taking the area of the second region that does not intersect with the first.

◆ CompositingMode

Enumerator
SourceOver 
SourceCopy 

◆ CompositingQuality

Enumerator
Invalid 

Invalid quality.

Default 

Default quality.

HighSpeed 

Low quality, high speed.

HighQuality 

High quality, low speed.

GammaCorrected 

Gamma correction is used.

AssumeLinear 

Assume linear values.

◆ CoordinateSpace

Enumerator
World 
Page 
Device 

◆ DashCap

Enumerator
Flat 
Round 
Triangle 

◆ DashStyle

Enumerator
Solid 
Dash 
Dot 
DashDot 
DashDotDot 
Custom 

◆ FillMode

Enumerator
Alternate 
Winding 

◆ FlushIntention

Enumerator
Flush 
Sync 

◆ HatchStyle

Enumerator
Horizontal 

A pattern of horizontal lines.

Vertical 

A pattern of vertical lines.

ForwardDiagonal 

A pattern of lines on a diagonal from top-left to bottom-right.

BackwardDiagonal 

A pattern of lines on a diagonal from top-right to bottom-left.

Cross 

A pattern of criss-cross horizontal and vertical lines.

DiagonalCross 

A pattern of criss-cross diagonal lines.

Percent05 
Percent10 
Percent20 
Percent25 
Percent30 
Percent40 
Percent50 
Percent60 
Percent70 
Percent75 
Percent80 
Percent90 
LightDownwardDiagonal 
LightUpwardDiagonal 
DarkDownwardDiagonal 
DarkUpwardDiagonal 
WideDownwardDiagonal 
WideUpwardDiagonal 
LightVertical 
LightHorizontal 
NarrowVertical 
NarrowHorizontal 
DarkVertical 
DarkHorizontal 
DashedDownwardDiagonal 
DashedUpwardDiagonal 
DashedHorizontal 
DashedVertical 
SmallConfetti 
LargeConfetti 
ZigZag 
Wave 
DiagonalBrick 
HorizontalBrick 
Weave 
Plaid 
Divot 
DottedGrid 
DottedDiamond 
Shingle 
Trellis 
Sphere 
SmallGrid 
SmallCheckerBoard 
LargeCheckerBoard 
OutlinedDiamond 
SolidDiamond 
LargeGrid 
Min 
Max 

◆ InterpolationMode

Enumerator
Invalid 

Equivalent to QualityMode.Invalid.

Default 

Specifies default mode.

Low 

Specifies low quality.

High 

Specifies high quality.

Bilinear 

Specifies bilinear interpolation.

Bicubic 

Specifies bicubic interpolation.

NearestNeighbor 

Specifies nearest neighbor interpolation.

HighQualityBilinear 

Specifies high qulaity bilenear interpolation.

HighQualityBicubic 

Specifies high quality bicubicinterpolation.

◆ LinearGradientMode

Enumerator
Horizontal 
Vertical 
ForwardDiagonal 
BackwardDiagonal 

◆ LineCap

Enumerator
Flat 
Square 
Round 
Triangle 
NoAnchor 
SquareAnchor 
RoundAnchor 
DiamondAnchor 
ArrowAnchor 
AnchorMask 
Custom 

◆ LineJoin

Enumerator
Miter 
Bevel 
Round 
MiterClipped 

◆ MatrixOrder

Enumerator
Prepend 

The new operation is applied before the old operation.

Append 

The new operation is applied after the old operation.

◆ PathPointType

Enumerator
Start 
Line 
Bezier 
PathTypeMask 
DashMode 
PathMarker 
CloseSubpath 
Bezier3 

◆ PenAlignment

Enumerator
Center 

Specifies that the Pen is positioned at the center of the line being drawn.

Inset 

Specifies that the Pen is positioned on the insede of the line being drawn.

Outset 

Specifies that the Pen is positioned on the outside of the line being drawn.

Left 

Specifies that the Pen is positioned to the left of the line being drawn.

Right 

Specifies that the Pen is positioned to the right of the line being drawn.

◆ PenType

Enumerator
SolidColor 
HatchFill 
TextureFill 
PathGradient 
LinearGradient 

◆ PixelFormat

Enumerator
Format32bppRgb 

◆ PixelOffsetMode

Enumerator
Invalid 

Specifies an invalid mode.

Default 

Specifies the default mode.

HighSpeed 

Specifies high low quality (high performance) mode.

HighQuality 

Specifies high quality (lower performance) mode.

None 

Specifies no pixel offset.

Half 

Specifies that pixels are offset by -0.5 units both horizontally and vertically for high performance anti-aliasing.

◆ QualityMode

Enumerator
Invalid 
Default 
Low 
High 

◆ SmoothingMode

Enumerator
Invalid 
Default 
HighSpeed 
HighQuality 
None 
AntiAlias 

◆ WrapMode

Enumerator
Tile 

Tiles the gradient or texture.

TileFlipX 

Reverses the texture or gradient horizontally and then tiles the texture or gradient.

TileFlipY 

Reverses the texture or gradient vertically and then tiles the texture or gradient.

TileFlipXY 

Reverses the texture or gradient horizontally and vertically and then tiles the texture or gradient.

Clamp 

Clamps the texture or gradient to the object boundary.