Function objc2_app_kit::NSReadPixel
source ยท pub unsafe extern "C" fn NSReadPixel(
passed_point: NSPoint
) -> *mut NSColor
๐Deprecated: Use -[NSBitmapImageRep colorAtX:y:] to interrogate pixel values. If necessary, use -[NSView cacheDisplayInRect:toBitmapImageRep:] to snapshot a view hierarchy into an NSBitmapImageRep.
Available on crate features
NSGraphics
and NSColor
only.