Struct usvg::Options [] [src]

pub struct Options {
    pub path: Option<PathBuf>,
    pub dpi: f64,
    pub keep_named_groups: bool,
}

Processing options.

Fields

SVG image path.

Used to resolve relative image paths.

Target DPI.

Impact units conversion.

Keep named groups.

If set to true, all non-empty groups with id attribute will not be removed.

Trait Implementations

impl Default for Options
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Options

impl Sync for Options