Struct usvg::Options
[−]
[src]
pub struct Options { pub path: Option<PathBuf>, pub dpi: f64, pub keep_named_groups: bool, }
Processing options.
Fields
path: Option<PathBuf>
SVG image path.
Used to resolve relative image paths.
dpi: f64
Target DPI.
Impact units conversion.
keep_named_groups: bool
Keep named groups.
If set to true
, all non-empty groups with id
attribute will not
be removed.