Implemented by subclasses to draw the image in the current coordinate system.
- macOS 10.0+
YES if the image was successfully drawn; otherwise,
NO if there was a problem. The default version of this method simply returns
Subclass override this method to draw the image using the image data. By the time this method is called, the graphics state is already configured for you to draw the image at location (0.0, 0.0) in the current coordinate system.
The standard Application Kit subclasses all draw the image using the
NSComposite composite operation defined in the Constants section of
NSImage. Using the copy operator, the image data overwrites the destination without any blending effects. Transparent (alpha) regions in the source image appear black. To use other composite operations, you must place the representation into an
NSImage object and use its