[−][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 use cairo; |
pub use resvg_qt as qt; |
pub use raqote; |
pub use usvg; |
Modules
backend_cairo | Cairo backend implementation. |
backend_qt | Qt backend implementation. |
backend_raqote | Raqote backend implementation. |
prelude | Commonly used types and traits. |
utils | Some useful utilities. |
Structs
Options | Rendering options. |
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 a default backend. |