Declaration
public static IEnumerable<IEnumerable<PointD>> Smooth(
this IEnumerable<SvgPiece> pieces,
double smoothness
)Summary
Converts a sequence of
SvgPiece objects to a sequence of points using the specified
smoothness to render Bézier curves and circular arcs.
Parameters
| this IEnumerable<SvgPiece> | pieces |
The pieces that constitute the path. |
| double | smoothness |
A value indicating the maximum amount by which each Bézier curve and circular arc is allowed to be approximated.
The smaller this value, the more points are generated for each curve/arc. |
Returns
A sequence of points that represent the fully rendered path.