[][src]Function resvg_qt::render_to_canvas

pub fn render_to_canvas(
    tree: &Tree,
    opt: &Options,
    img_size: ScreenSize,
    painter: &mut Painter
)

Renders tree onto the canvas.

The caller must guarantee that img_size is large enough.

Canvas must not have a transform.