pub unsafe trait CIPerspectiveRotate: CIFilterProtocol {
// Provided methods
unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message { ... }
unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
where Self: Sized + Message { ... }
unsafe fn focalLength(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setFocalLength(&self, focal_length: c_float)
where Self: Sized + Message { ... }
unsafe fn pitch(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setPitch(&self, pitch: c_float)
where Self: Sized + Message { ... }
unsafe fn yaw(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setYaw(&self, yaw: c_float)
where Self: Sized + Message { ... }
unsafe fn roll(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setRoll(&self, roll: c_float)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Perspective Rotate filter.
Apply a homogenous rotation transform to an image.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn inputImage(&self) -> Option<Retained<CIImage>>
Available on crate feature CIImage only.
unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
CIImage only.The image to process.
Sourceunsafe fn setInputImage(&self, input_image: Option<&CIImage>)
Available on crate feature CIImage only.
unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
CIImage only.Setter for inputImage.
Sourceunsafe fn focalLength(&self) -> c_float
unsafe fn focalLength(&self) -> c_float
35mm equivalent focal length of the input image.
Sourceunsafe fn setFocalLength(&self, focal_length: c_float)
unsafe fn setFocalLength(&self, focal_length: c_float)
Setter for focalLength.