Function resvg::render[][src]

pub fn render(tree: &Tree, fit_to: FitTo, pixmap: PixmapMut<'_>) -> Option<()>

Renders an SVG to pixmap.

If fit_to size differs from tree.svg_node().size, SVG would be scaled accordingly.