Click or drag to resize
CanvasGeometrySimplify Method (CanvasGeometrySimplification, Matrix3x2, Single)
Returns a version of the geometry that contains only lines, and, optionally, cubic Bezier curves.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasGeometry Simplify(
	CanvasGeometrySimplification simplification,
	Matrix3x2 transform,
	float flatteningTolerance
)

Parameters

simplification
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometrySimplification
transform
Type: System.NumericsMatrix3x2
flatteningTolerance
Type: SystemSingle

Return Value

Type: CanvasGeometry
Remarks
Uses the specified flattening tolerance and transform applied to the input geometry. Any arcs or quadratic beziers in the source geometry will be output as roughly equivalent cubic beziers or lines, depending on the simplification option.
See Also