Module path

Source
Expand description

TrueType style outline to path conversion.

Structsยง

ContourPoint ๐Ÿ”’
Combination of point coordinates and flags.

Enumsยง

PendingState ๐Ÿ”’
ToPathError
Errors that can occur when converting an outline to a path.

Functionsยง

contour_to_path ๐Ÿ”’
Generates a path from an iterator of contour points.
contour_to_path_freetype ๐Ÿ”’
contour_to_path_harfbuzz ๐Ÿ”’
to_path ๐Ÿ”’
Converts a glyf outline described by points, flags and contour end points to a sequence of path elements and invokes the appropriate callback on the given pen for each.