Function resvg::render

source ·
pub fn render(tree: &Tree, transform: Transform, pixmap: &mut PixmapMut<'_>)
Expand description

Renders a tree onto the pixmap.

transform will be used as a root transform. Can be used to position SVG inside the pixmap.

The produced content is in the sRGB color space.