[−][src]Crate resvg
resvg is an SVG rendering library.
resvg can be used to render SVG files based on a static SVG Full 1.1 subset. In simple terms: no animations and scripting.
It can be used as a simple SVG to PNG converted. And as an embeddable library to paint SVG on an application native canvas.
Re-exports
pub extern crate usvg; |
pub use usvg::svgdom; |
Modules
| prelude | Commonly used types and traits. |
| utils | Some useful utilities. |
Structs
| InitObject | A global library handle. |
| Line | Line representation. |
| Options | Rendering options. |
| Point | A 2D point representation. |
| Rect | A rect representation. |
| ScreenRect | A 2D screen rect representation. |
| ScreenSize | A 2D screen size representation. |
| Size | A 2D size representation. |
Enums
| Error | List of all errors. |
| FitTo | Image fit options. |
Traits
| OutputImage | A generic interface for output image. |
| RectExt | Additional |
| Render | A generic interface for image rendering. |
| SizeExt | Additional |
Functions
| default_backend | Returns default backend. |
| init | Creates a global library handle. |