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ยง

TOL ๐Ÿ”’
The flattening tolerance.

Functionsยง

close_path ๐Ÿ”’
expand_stroke
Expand a stroked path to a filled path.
fill
Flatten a filled bezier path into line segments.
fill_dispatch ๐Ÿ”’
fill_impl
Flatten a filled bezier path into line segments.
stroke
Flatten a stroked bezier path into line segments.