pub unsafe trait CIPerspectiveCorrection: CIFourCoordinateGeometryFilter {
// Provided methods
unsafe fn crop(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn setCrop(&self, crop: bool)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Perspective Correction filter.
Apply a perspective correction to an image. This geometry maps four control points in the input image to a rectangle.
See also Apple’s documentation