Flatten()

GraphicsPath::Flatten() method

Flattens each curve in the path by converting them into a series of connected lines. The flatness value of 0.25 is used.

void System::Drawing::Drawing2D::GraphicsPath::Flatten()

GraphicsPath::Flatten(const MatrixPtr&) method

Flattens each curve in the path by converting them into a series of connected lines. The flatness value of 0.25 is used.

void System::Drawing::Drawing2D::GraphicsPath::Flatten(const MatrixPtr &matrix)

Arguments

ParameterTypeDescription
matrixconst MatrixPtr&The transform matrix to apply to the path before flattening

GraphicsPath::Flatten(const MatrixPtr&, float) method

Flattens each curve in the path by converting them into a series of connected lines.

void System::Drawing::Drawing2D::GraphicsPath::Flatten(const MatrixPtr &matrix, float flatness)

Arguments

ParameterTypeDescription
matrixconst MatrixPtr&The transform matrix to apply to the path before flattening
flatnessfloatSpecifies the maximum permitted error between the curve and its flattened approximation

See Also