pub fn parse_path(d: &str) -> Result<Vec<Contour>, IconPathError>Expand description
Parse SVG path data into closed contours.
A subpath is closed whether or not it ends in Z: icon paths are
fills, and an unclosed fill contour is closed implicitly by every
rasteriser anyway.