[][src]Function resvg_cairo::render_node_to_canvas

pub fn render_node_to_canvas(
    node: &Node,
    opt: &Options,
    view_box: ViewBox,
    img_size: ScreenSize,
    cr: &Context
)

Renders node onto the canvas.

The caller must guarantee that img_size is large enough.

Canvas must not have a transform.