Expand description
svgr is an SVG rendering library.
Re-exports§
Structs§
- Context
- General context for the rendering.
- Pixmap
Pool - This is a mutable pixmap pool which allocates queues of size classes (powers of 2) containing previously allocated and used pixmaps. They are given to the consumer as a virtual pixmap of the requested size but are always allocated as a closest power of 2 sized memory block.
- Static
Cache Config - Configuration options for the static cache
- Svgr
Cache - Defines rendering cache with both LRU cache for dynamic elements and persistent cache for static elements.
Functions§
- render
- Renders a tree onto the pixmap.
- render_
node - Renders a node onto the pixmap.