Function vello_svg::render_tree_with
source · pub fn render_tree_with<F: FnMut(&mut Scene, &Node) -> Result<(), E>, E>(
scene: &mut Scene,
svg: &Tree,
ts: &Transform,
error_handler: &mut F
) -> Result<(), E>
Expand description
Append a usvg::Tree
into a Vello Scene
.
Calls render_tree_with
with default_error_handler
.
This will draw a red box over unsupported element types.
See the module level documentation for a list of some unsupported svg features