Module lyon_bezier::cubic_bezier [] [src]

Structs

CubicBezierSegment

A 2d curve segment defined by four points: the beginning of the segment, two control points and the end of the segment.

Flattened

An iterator over a cubic bezier segment that yields line segments approximating the curve for a given approximation threshold.

XMonotoneCubicBezierSegment

A monotonically increasing in x cubic bézier curve segment

YMonotoneCubicBezierSegment

A monotonically increasing in y cubic bézier curve segment

Functions

cubic_to_quadratic

Approximate a cubic bezier segment with a sequence of quadratic bezier segments.