Skip to main content

write_svg

Function write_svg 

Source
pub fn write_svg(
    rects: &[Rect],
    output: &Path,
    scale: f64,
    fill_color: &str,
    background: Option<&str>,
) -> Result<()>
Expand description

Write an SVG preview of the generated polygons (single layer).