plotters_backend::rasterizer

Function polygonize

Source
pub fn polygonize(
    vertices: &[BackendCoord],
    stroke_width: u32,
) -> Vec<BackendCoord>
Expand description

Covert a path with >1px stroke width into polygon.