Skip to main content

Module flatten

Module flatten 

Source
Expand description

Flattening filled and stroked paths.

Structs§

FlattenCtx
The context needed for flattening curves.
FlattenerCallback 🔒
Line
A line.
Point
A point.

Constants§

SQRT_TOL 🔒
TOL 🔒
TOL_2 🔒

Functions§

expand_stroke
Expand a stroked path to a filled path.
fill
Flatten a filled Bézier path into line segments.
fill_impl
Flatten a filled bezier path into line segments.
stroke
Flatten a stroked Bézier path into line segments.