Function guillotiere::dump_into_svg[][src]

pub fn dump_into_svg(
    atlas: &AtlasAllocator,
    rect: Option<&Rectangle>,
    output: &mut dyn Write
) -> Result<()>
Expand description

Dump a visual representation of the atlas in SVG, omitting the beginning and end of the SVG document, so that it can be included in a larger document.

If a rectange is provided, translate and scale the output to fit it.