Crate resvg [] [src]

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 geom::*;

Modules

geom

2D geometric primitives.

lyon_geom

Overview.

svgdom

This library is designed to represent SVG data as a tree structure.

utils

Some useful utilities.

Structs

InitObject

Global library handle.

Options

Rendering options.

Enums

Error

List of all errors.

FitTo

Image fit options.

Traits

OutputImage

A generic interface for output image.

Render

A generic interface for image rendering.

Functions

default_backend

Returns default backend.

init

Creates a global library handle.