[−][src]Function resvg_cairo::render_to_canvas
pub fn render_to_canvas(
tree: &Tree,
opt: &Options,
img_size: ScreenSize,
cr: &Context
)
Renders tree
onto the canvas.
The caller must guarantee that img_size
is large enough.
Canvas must not have a transform.