pub fn render_node_to_canvas(
node: &Node,
opt: &Options,
view_box: ViewBox,
img_size: ScreenSize,
dt: &mut DrawTarget,
)Expand description
Renders node onto the canvas.
The caller must guarantee that img_size is large enough.
Canvas must not have a transform.