Trait objc2_app_kit::CIImageNSAppKitAdditions

source ·
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§

source

unsafe fn initWithBitmapImageRep( this: Allocated<Self>, bitmap_image_rep: &NSBitmapImageRep ) -> Option<Retained<Self>>
where Self: Sized + Message,

Available on crate features NSBitmapImageRep and NSImageRep only.
source

unsafe fn drawInRect_fromRect_operation_fraction( &self, rect: NSRect, from_rect: NSRect, op: NSCompositingOperation, delta: CGFloat )
where Self: Sized + Message,

Available on crate feature NSGraphics only.
source

unsafe fn drawAtPoint_fromRect_operation_fraction( &self, point: NSPoint, from_rect: NSRect, op: NSCompositingOperation, delta: CGFloat )
where Self: Sized + Message,

Available on crate feature NSGraphics only.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl CIImageNSAppKitAdditions for CIImage

Available on crate feature objc2-core-image and Apple only.

Implementors§