svg2polylines 0.9.0

Convert SVG data to a list of polylines (aka polygonal chains or polygonal paths).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("SVG parse error: {0}")]
    SvgParse(String),
    #[error("Could not simplify SVG with usvg: {0}")]
    Usvg(#[from] usvg::Error),
    #[error("SVG path parse error: {0}")]
    PathParse(String),
    #[error("Polyline error: {0}")]
    Polyline(String),
    #[error("Transform error: {0}")]
    Transform(String),
}