Enum resvg::resvg_fit_to_type [−][src]
#[repr(C)]
pub enum resvg_fit_to_type {
ORIGINAL,
WIDTH,
HEIGHT,
ZOOM,
}Expand description
@brief A “fit to” type.
All types produce proportional scaling.
Variants
ORIGINAL
Use an original image size.
WIDTH
Fit an image to a specified width.
HEIGHT
Fit an image to a specified height.
ZOOM
Zoom an image using scaling factor.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for resvg_fit_to_type
impl Send for resvg_fit_to_type
impl Sync for resvg_fit_to_type
impl Unpin for resvg_fit_to_type
impl UnwindSafe for resvg_fit_to_type
Blanket Implementations
Mutably borrows from an owned value. Read more