Expand description
resvg is an SVG rendering library.
Re-exports§
pub use tiny_skia;
pub use usvgr;
pub use usvgr_text_layout;
Structs§
- Defines rendering LRU cache. Each individual node and group will be cached separately. Make sure that in most cases it will require saving of the whole canvas which may lead to significant memory usage. So it is recommended to set the cache size to a reasonable value.
Functions§
- Renders an SVG to pixmap.
- Renders an SVG node to pixmap.
- Removes transparent borders from the image leaving only a tight bbox content.