pub fn drawing_to_paths<BezierPath, InStream>(
    draw_stream: InStream
) -> impl Send + Unpin + Stream<Item = Vec<BezierPath>>where
    InStream: 'static + Send + Unpin + Stream<Item = Draw>,
    BezierPath: 'static + Send + BezierPathFactory,
    BezierPath::Point: Send + Coordinate2D,
Expand description

Converts a stream of drawing instructions into a stream of bezier paths (stripping any other attributes from the stream)

This can generate any path structure that implements the BezierPathFactory trait as its result. Bezier paths can’t contain ‘move’ instructions, so the result is a list of path segments that make up the overall path.

This will return a list of all the paths defined in the specified stream, regardless of if they’re actually drawn or used as clipping paths or anything else.