Draws the image, scaling it (as needed) to fit the specified rectangle.
Original signature is '- (BOOL)drawInRect:(NSRect)rect'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- rect (NSRect)
- The rectangle in the current coordinate system in which to draw the image.
Return Value
YES if the image was successfully drawn; otherwise, NO. If the size of the image has not yet been set, this method returns NO immediately
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)