Expand description
Render an SVG document to a Vello Scene
.
This currently lacks support for a number of important SVG features.
This is also intended to be the preferred integration between Vello and usvg, so consider contributing if you need a feature which is missing.
This crate also re-exports usvg
and vello
, so you can easily use the specific versions that are compatible with Vello SVG.
§Unsupported features
Missing features include:
- text
- group opacity
- mix-blend-modes
- clipping
- masking
- filter effects
- group background
- path shape-rendering
- patterns
Re-exports§
Modules§
Enums§
- Error
- Triggered when there is an issue parsing user input.
Functions§
- append
- Append an SVG to a vello
Scene
, with default error handling. - append_
tree - Append an
usvg::Tree
to a velloScene
, with default error handling. - append_
tree_ with - Append an
usvg::Tree
to a velloScene
, with user-provided error handling logic. - append_
with - Append an SVG to a vello
Scene
, with user-provided error handling logic. - render
- Render a
Scene
from an SVG string, with default error handling. - render_
tree - Render a
Scene
from ausvg::Tree
, with default error handling.