CIPerspectiveTransformWithExtent

Trait CIPerspectiveTransformWithExtent 

Source
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

Provided Methods§

Source

unsafe fn extent(&self) -> CGRect
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

A rectangle that defines the extent of the effect.

Source

unsafe fn setExtent(&self, extent: CGRect)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for extent.

Trait Implementations§

Source§

impl ProtocolType for dyn CIPerspectiveTransformWithExtent

Source§

const NAME: &'static str = "CIPerspectiveTransformWithExtent"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CIPerspectiveTransformWithExtent

Implementations on Foreign Types§

Source§

impl<T> CIPerspectiveTransformWithExtent for ProtocolObject<T>

Implementors§