[][src]Function raqote_usvg_render::render_node_to_canvas

pub fn render_node_to_canvas(
    node: &Node,
    opt: &Options,
    view_box: ViewBox,
    img_size: ScreenSize,
    dt: &mut DrawTarget
)

Renders node onto the canvas.

The caller must guarantee that img_size is large enough.

Canvas must not have a transform.