pub fn drawing_to_attributed_paths<BezierPath, InStream>(
    draw_stream: InStream
) -> impl Send + Unpin + Stream<Item = (Vec<PathAttribute>, 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 with attributes that specify how they’re rendered.

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.