pub unsafe trait CIPerspectiveTransformWithExtent: CIFourCoordinateGeometryFilter {
// Provided methods
unsafe fn extent(&self) -> CGRect
where Self: Sized + Message { ... }
unsafe fn setExtent(&self, extent: CGRect)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Perspective Transform with Extent filter.
Alters the geometry of an image to simulate the observer changing viewing position. You can use the perspective filter to skew an image.
See also Apple’s documentation