Expand description
svgr is an SVG rendering library.
Re-exports§
Structs§
- Context
- General context for the rendering.
- Pixmap
Pool - Pixmap ring buffer required for reusing allocation when creating a lot of inner pixmaps
- Svgr
Cache - 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§
- render
- Renders a tree onto the pixmap.
- render_
node - Renders a node onto the pixmap.