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::Treeto ananyrender::PaintScene. - render_
svg_ tree_ with - Append a
usvg::Treeto ananyrender::PaintScene(with custom error handling).