[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Geometry.Simplify

Simplify Method

Simplify(GeometrySimplificationOption, GeometrySink)

Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink.

Declaration
public void Simplify(GeometrySimplificationOption simplificationOption, GeometrySink geometrySink)
Public Sub Simplify(simplificationOption As GeometrySimplificationOption, geometrySink As GeometrySink)
Parameters
Type Name Description
GeometrySimplificationOption simplificationOption

A value that specifies whether the simplified geometry should contain curves.

GeometrySink geometrySink

The SimplifiedGeometrySink to which the simplified geometry is appended.

Simplify(GeometrySimplificationOption, float, GeometrySink)

Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink.

Declaration
public void Simplify(GeometrySimplificationOption simplificationOption, float flatteningTolerance, GeometrySink geometrySink)
Public Sub Simplify(simplificationOption As GeometrySimplificationOption, flatteningTolerance As Single, geometrySink As GeometrySink)
Parameters
Type Name Description
GeometrySimplificationOption simplificationOption

A value that specifies whether the simplified geometry should contain curves.

float flatteningTolerance

The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.

GeometrySink geometrySink

The SimplifiedGeometrySink to which the simplified geometry is appended.

Simplify(GeometrySimplificationOption, Matrix3x2?, float, GeometrySink)

Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink.

Declaration
public void Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2? worldTransform, float flatteningTolerance, GeometrySink geometrySink)
Public Sub Simplify(simplificationOption As GeometrySimplificationOption, worldTransform As Matrix3x2?, flatteningTolerance As Single, geometrySink As GeometrySink)
Parameters
Type Name Description
GeometrySimplificationOption simplificationOption

A value that specifies whether the simplified geometry should contain curves.

Matrix3x2? worldTransform

The transform to apply to the simplified geometry, or NULL.

float flatteningTolerance

The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.

GeometrySink geometrySink

The SimplifiedGeometrySink to which the simplified geometry is appended.