Enum resvg::resvg_fit_to_type
source · #[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§
source§impl Clone for resvg_fit_to_type
impl Clone for resvg_fit_to_type
source§fn clone(&self) -> resvg_fit_to_type
fn clone(&self) -> resvg_fit_to_type
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more