[−][src]Function imageproc::geometric_transformations::rotate
pub fn rotate<P>(
image: &Image<P>,
center: (f32, f32),
theta: f32,
interpolation: Interpolation,
default: P
) -> Image<P> where
P: Pixel + Send + Sync + 'static,
<P as Pixel>::Subpixel: Send + Sync,
<P as Pixel>::Subpixel: ValueInto<f32> + Clamp<f32>,
Rotates an image clockwise about the 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 set to default
.