[][src]Function raqote_usvg_render::render_to_canvas

pub fn render_to_canvas(
    tree: &Tree,
    opt: &Options,
    img_size: ScreenSize,
    dt: &mut DrawTarget
)

Renders tree onto the canvas.

The caller must guarantee that img_size is large enough.

Canvas must not have a transform.