pub unsafe trait CIImageNSAppKitAdditions: ClassType {
// Provided methods
unsafe fn initWithBitmapImageRep(
this: Allocated<Self>,
bitmap_image_rep: &NSBitmapImageRep
) -> Option<Retained<Self>>
where Self: Sized + Message { ... }
unsafe fn drawInRect_fromRect_operation_fraction(
&self,
rect: NSRect,
from_rect: NSRect,
op: NSCompositingOperation,
delta: CGFloat
)
where Self: Sized + Message { ... }
unsafe fn drawAtPoint_fromRect_operation_fraction(
&self,
point: NSPoint,
from_rect: NSRect,
op: NSCompositingOperation,
delta: CGFloat
)
where Self: Sized + Message { ... }
}Available on crate feature
NSCIImageRep only.Expand description
Category “NSAppKitAdditions” on CIImage.
Provided Methods§
unsafe fn initWithBitmapImageRep( this: Allocated<Self>, bitmap_image_rep: &NSBitmapImageRep ) -> Option<Retained<Self>>
Available on crate features
NSBitmapImageRep and NSImageRep only.unsafe fn drawInRect_fromRect_operation_fraction( &self, rect: NSRect, from_rect: NSRect, op: NSCompositingOperation, delta: CGFloat )
Available on crate feature
NSGraphics only.unsafe fn drawAtPoint_fromRect_operation_fraction( &self, point: NSPoint, from_rect: NSRect, op: NSCompositingOperation, delta: CGFloat )
Available on crate feature
NSGraphics only.Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
impl CIImageNSAppKitAdditions for CIImage
Available on crate feature
objc2-core-image and Apple only.