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§
Sourceunsafe fn inputImage(&self) -> Option<Retained<CIImage>>
Available on crate feature CIImage only.
unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
CIImage only.The image to use as an input for the effect.
Sourceunsafe fn setInputImage(&self, input_image: Option<&CIImage>)
Available on crate feature CIImage only.
unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
CIImage only.Setter for inputImage.
Sourceunsafe fn insetPoint0(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn insetPoint0(&self) -> CGPoint
objc2-core-foundation only.The first of two points that define the rectangular frame of the effect.
Sourceunsafe fn setInsetPoint0(&self, inset_point0: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setInsetPoint0(&self, inset_point0: CGPoint)
objc2-core-foundation only.Setter for insetPoint0.
Sourceunsafe fn insetPoint1(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn insetPoint1(&self) -> CGPoint
objc2-core-foundation only.The second of two points that define the rectangular frame of the effect.
Sourceunsafe fn setInsetPoint1(&self, inset_point1: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setInsetPoint1(&self, inset_point1: CGPoint)
objc2-core-foundation only.Setter for insetPoint1.
Sourceunsafe fn strands(&self) -> c_float
unsafe fn strands(&self) -> c_float
An integer number representing the amount of strands in the effect.
Sourceunsafe fn periodicity(&self) -> c_float
unsafe fn periodicity(&self) -> c_float
An integer number representing the amount of intervals in the effect.
Sourceunsafe fn setPeriodicity(&self, periodicity: c_float)
unsafe fn setPeriodicity(&self, periodicity: c_float)
Setter for periodicity.
Sourceunsafe fn rotation(&self) -> c_float
unsafe fn rotation(&self) -> c_float
A float number representing the angle of the rotation in radians.
Sourceunsafe fn setRotation(&self, rotation: c_float)
unsafe fn setRotation(&self, rotation: c_float)
Setter for rotation.