[−][src]Struct libvips::ops::AffineOptions
Options for affine operation
Fields
interpolate: VipsInterpolateinterpolate: VipsInterpolate -> Interpolate pixels with this
oarea: Vec<i32>oarea: Vec<i32> -> Area of output to generate
odx: f64odx: f64 -> Horizontal output displacement
min: -10000000, max: 10000000, default: 0
ody: f64ody: f64 -> Vertical output displacement
min: -10000000, max: 10000000, default: 0
idx: f64idx: f64 -> Horizontal input displacement
min: -10000000, max: 10000000, default: 0
idy: f64idy: f64 -> Vertical input displacement
min: -10000000, max: 10000000, default: 0
background: Vec<f64>background: Vec<f64> -> Background value
extend: Extendextend: Extend -> How to generate the extra pixels
Black -> VIPS_EXTEND_BLACK = 0
Copy -> VIPS_EXTEND_COPY = 1
Repeat -> VIPS_EXTEND_REPEAT = 2
Mirror -> VIPS_EXTEND_MIRROR = 3
White -> VIPS_EXTEND_WHITE = 4
Background -> VIPS_EXTEND_BACKGROUND = 5 [DEFAULT]
Last -> VIPS_EXTEND_LAST = 6
Trait Implementations
impl Clone for AffineOptions[src]
fn clone(&self) -> AffineOptions[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for AffineOptions[src]
impl Default for AffineOptions[src]
Auto Trait Implementations
impl RefUnwindSafe for AffineOptions
impl !Send for AffineOptions
impl !Sync for AffineOptions
impl Unpin for AffineOptions
impl UnwindSafe for AffineOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,