CIDroste

Trait CIDroste 

Source
pub unsafe trait CIDroste: CIFilterProtocol {
Show 14 methods // 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 insetPoint0(&self) -> CGPoint where Self: Sized + Message { ... } unsafe fn setInsetPoint0(&self, inset_point0: CGPoint) where Self: Sized + Message { ... } unsafe fn insetPoint1(&self) -> CGPoint where Self: Sized + Message { ... } unsafe fn setInsetPoint1(&self, inset_point1: CGPoint) where Self: Sized + Message { ... } unsafe fn strands(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setStrands(&self, strands: c_float) where Self: Sized + Message { ... } unsafe fn periodicity(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setPeriodicity(&self, periodicity: c_float) where Self: Sized + Message { ... } unsafe fn rotation(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setRotation(&self, rotation: c_float) where Self: Sized + Message { ... } unsafe fn zoom(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setZoom(&self, zoom: c_float) where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Droste filter.

The Droste effect produces an infinite image by distorting an image into a spiral of the image within itself.

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 insetPoint0(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

The first of two points that define the rectangular frame of the effect.

Source

unsafe fn setInsetPoint0(&self, inset_point0: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for insetPoint0.

Source

unsafe fn insetPoint1(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

The second of two points that define the rectangular frame of the effect.

Source

unsafe fn setInsetPoint1(&self, inset_point1: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for insetPoint1.

Source

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

An integer number representing the amount of strands in the effect.

Source

unsafe fn setStrands(&self, strands: c_float)
where Self: Sized + Message,

Setter for strands.

Source

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

An integer number representing the amount of intervals in the effect.

Source

unsafe fn setPeriodicity(&self, periodicity: c_float)
where Self: Sized + Message,

Setter for periodicity.

Source

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

A float number representing the angle of the rotation in radians.

Source

unsafe fn setRotation(&self, rotation: c_float)
where Self: Sized + Message,

Setter for rotation.

Source

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

A float number representing the zoom of the effect.

Source

unsafe fn setZoom(&self, zoom: c_float)
where Self: Sized + Message,

Setter for zoom.

Trait Implementations§

Source§

impl ProtocolType for dyn CIDroste

Source§

const NAME: &'static str = "CIDroste"

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 CIDroste
where T: ?Sized + Message + CIDroste,

Implementations on Foreign Types§

Source§

impl<T> CIDroste for ProtocolObject<T>
where T: ?Sized + CIDroste,

Implementors§