Function parse_with_resolution

Source
pub fn parse_with_resolution<'a>(
    path: &'a str,
    resolution: u64,
) -> PathParser<'a> 
Expand description

Parse a SVG path string with custom resolution.

Refer to Resolution refers to how many line segments a curve is broken down into. Higher numbers give smoother curves, but also more points to work with, which depending on what you’re planning further down may not be worth it. The default resolution is 64.

§Usage

    let paths = svg_path_parser::parse(&path).collect::<Vec<(bool, Vec<(f64, f64)>)>>();