CIKeystoneCorrectionHorizontal

Trait CIKeystoneCorrectionHorizontal 

Source
pub unsafe trait CIKeystoneCorrectionHorizontal: CIFourCoordinateGeometryFilter {
    // Provided methods
    unsafe fn focalLength(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setFocalLength(&self, focal_length: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Horizontal Keystone Correction filter.

Apply horizontal keystone correction to an image with guides.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn focalLength(&self) -> c_float
where Self: Sized + Message,

35mm equivalent focal length of the input image.

Source

unsafe fn setFocalLength(&self, focal_length: c_float)
where Self: Sized + Message,

Setter for focalLength.

Trait Implementations§

Source§

impl ProtocolType for dyn CIKeystoneCorrectionHorizontal

Source§

const NAME: &'static str = "CIKeystoneCorrectionHorizontal"

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 CIKeystoneCorrectionHorizontal

Implementations on Foreign Types§

Source§

impl<T> CIKeystoneCorrectionHorizontal for ProtocolObject<T>

Implementors§