[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Geometry.Simplify

Simplify Method

Simplify(GeometrySimplificationOption, IGeometrySink)

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

Declaration
public void Simplify(GeometrySimplificationOption simplificationOption, IGeometrySink geometrySink)
Parameters
Type Name Description
GeometrySimplificationOption simplificationOption

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

IGeometrySink geometrySink

The ISimplifiedGeometrySink to which the simplified geometry is appended.

Simplify(GeometrySimplificationOption, float, IGeometrySink)

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

Declaration
public void Simplify(GeometrySimplificationOption simplificationOption, float flatteningTolerance, IGeometrySink 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.

IGeometrySink geometrySink

The ISimplifiedGeometrySink to which the simplified geometry is appended.

Simplify(GeometrySimplificationOption, Matrix3x2?, float, IGeometrySink)

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

Declaration
public void Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2? worldTransform, float flatteningTolerance, IGeometrySink 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.

IGeometrySink geometrySink

The ISimplifiedGeometrySink to which the simplified geometry is appended.