[][src]Function imageproc::affine::rotate

pub fn rotate<P>(
    image: &Image<P>,
    center: (f32, f32),
    theta: f32,
    interpolation: Interpolation
) -> Image<P> where
    P: Pixel + HasBlack + 'static,
    <P as Pixel>::Subpixel: ValueInto<f32> + Clamp<f32>, 

Rotate an image clockwise about provided center by theta radians. The output image has the same dimensions as the input. Output pixels whose pre-image lies outside the input image are black.