[][src]Trait nanachi::interpolation::Interpolation

pub trait Interpolation<P: Pixel, B: Buffer<P>> {
    pub fn interpolate(&self, buffer: &B, x: f64, y: f64) -> P;
}

Required methods

pub fn interpolate(&self, buffer: &B, x: f64, y: f64) -> P

Loading content...

Implementors

impl<P: Pixel, B: Buffer<P>> Interpolation<P, B> for Bilinear[src]

impl<P: Pixel, B: Buffer<P>> Interpolation<P, B> for NearestNeighbor[src]

Loading content...