Crate anyrender_svg

Crate anyrender_svg 

Source
Expand description

Render an SVG into any impl of anyrender::PaintScene.

This currently lacks support for some important SVG features. Known missing features include: masking, filter effects, group backgrounds path shape-rendering, and patterns.

Re-exports§

pub use usvg;

Enums§

Error
Triggered when there is an issue parsing user input.

Functions§

render_svg_str
Append an SVG to an anyrender::PaintScene.
render_svg_str_with
Append an SVG to an anyrender::PaintScene (with custom error handling).
render_svg_tree
Append a usvg::Tree to an anyrender::PaintScene.
render_svg_tree_with
Append a usvg::Tree to an anyrender::PaintScene (with custom error handling).