CIBicubicScaleTransform

Trait CIBicubicScaleTransform 

Source
pub unsafe trait CIBicubicScaleTransform: 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 scale(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setScale(&self, scale: c_float)
       where Self: Sized + Message { ... }
    unsafe fn aspectRatio(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setAspectRatio(&self, aspect_ratio: c_float)
       where Self: Sized + Message { ... }
    unsafe fn parameterB(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setParameterB(&self, parameter_b: c_float)
       where Self: Sized + Message { ... }
    unsafe fn parameterC(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setParameterC(&self, parameter_c: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Bicubic Scale Transform filter.

Produces a high-quality, scaled version of a source image. The parameters of B and C for this filter determine the sharpness or softness of the resampling. The most commonly used B and C values are 0.0 and 0.75, respectively.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message,

Available on crate feature CIImage only.

The image to use as an input for the effect.

Source

unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
where Self: Sized + Message,

Available on crate feature CIImage only.

Setter for inputImage.

Source

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

The scaling factor to use on the image. Values less than 1.0 scale down the images. Values greater than 1.0 scale up the image.

Source

unsafe fn setScale(&self, scale: c_float)
where Self: Sized + Message,

Setter for scale.

Source

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

The additional horizontal scaling factor to use on the image.

Source

unsafe fn setAspectRatio(&self, aspect_ratio: c_float)
where Self: Sized + Message,

Setter for aspectRatio.

Source

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

Specifies the value of B to use for the cubic resampling function.

Source

unsafe fn setParameterB(&self, parameter_b: c_float)
where Self: Sized + Message,

Setter for parameterB.

Source

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

Specifies the value of C to use for the cubic resampling function.

Source

unsafe fn setParameterC(&self, parameter_c: c_float)
where Self: Sized + Message,

Setter for parameterC.

Trait Implementations§

Source§

impl ProtocolType for dyn CIBicubicScaleTransform

Source§

const NAME: &'static str = "CIBicubicScaleTransform"

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 CIBicubicScaleTransform

Implementations on Foreign Types§

Source§

impl<T> CIBicubicScaleTransform for ProtocolObject<T>

Implementors§