[][src]Struct libvips::ops::AffineOptions

pub struct AffineOptions {
    pub interpolate: VipsInterpolate,
    pub oarea: Vec<i32>,
    pub odx: f64,
    pub ody: f64,
    pub idx: f64,
    pub idy: f64,
    pub background: Vec<f64>,
    pub extend: Extend,
}

Options for affine operation

Fields

interpolate: VipsInterpolate

interpolate: VipsInterpolate -> Interpolate pixels with this

oarea: Vec<i32>

oarea: Vec<i32> -> Area of output to generate

odx: f64

odx: f64 -> Horizontal output displacement min: -10000000, max: 10000000, default: 0

ody: f64

ody: f64 -> Vertical output displacement min: -10000000, max: 10000000, default: 0

idx: f64

idx: f64 -> Horizontal input displacement min: -10000000, max: 10000000, default: 0

idy: f64

idy: f64 -> Vertical input displacement min: -10000000, max: 10000000, default: 0

background: Vec<f64>

background: Vec<f64> -> Background value

extend: Extend

extend: 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]

impl Debug for AffineOptions[src]

impl Default for AffineOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.