Skip to main content

trim_path

Function trim_path 

Source
pub fn trim_path(
    path: &EvaluatedPath,
    size: CanvasSize,
    start: f64,
    end: f64,
    offset: f64,
) -> EvaluatedPath
Expand description

path trimmed as a trim item trims it, together: the kept span of its subpaths’ lengths in pixels, normalized again.