Enum usvg::FitTo [−][src]
Expand description
Image fit options.
All variants will preserve the original aspect.
Variants
Keep original size.
Width(u32)
Scale to width.
Height(u32)
Scale to height.
Scale to size.
Zoom(f32)
Zoom by factor.
Implementations
Returns size
preprocessed according to FitTo
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FitTo
impl UnwindSafe for FitTo
Blanket Implementations
Mutably borrows from an owned value. Read more