[−][src]Function imageproc::geometric_transformations::rotate_about_center
pub fn rotate_about_center<P>(
image: &Image<P>,
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 its center.
The output image has the same dimensions as the input. Output pixels
whose pre-image lies outside the input image are set to default
.