Function resvg::render_node [−][src]
pub fn render_node(
tree: &Tree,
node: &Node,
fit_to: FitTo,
pixmap: PixmapMut<'_>
) -> Option<()>
Expand description
Renders an SVG node to pixmap.
If fit_to
differs from node.calculate_bbox()
,
SVG would be scaled accordingly.