Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<IEnumerable<PointD>> Do(IEnumerable<DecodeSvgPath.PathPiece>, double)

Declaration

public static IEnumerable<IEnumerable<PointD>> Do(
    IEnumerable<DecodeSvgPath.PathPiece> pieces,
    double smoothness
)

Summary

Converts a sequence of DecodeSvgPath.PathPiece objects to a sequence of points using the specified smoothness to render Bézier curves.

Parameters

IEnumerable<DecodeSvgPath.PathPiece>pieces The pieces that constitute the path.
doublesmoothness A value indicating the maximum amount by which each Bézier curve is allowed to be approximated. The smaller this value, the more points are generated for each Bézier curve.

Returns

A sequence of points that represent the fully rendered path.