Skip to main content

render

Function render 

Source
pub fn render(
    tree: &Tree,
    transform: Transform,
    pixmap: &mut PixmapMut<'_>,
    options: &RenderOptions,
)
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.