May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSCustomImageRep — Mac OS X 10.0
This subclass of NSImageRep allows you to create
images from custom drawing code. For example, one might
implement a subclass of NSCustomImageRep to draw a
complicated Bezier path as the image represented by the particular
object. This permits shapes to be drawn in contexts that use images
instead of views.
|
![]()
|
@interface NSCustomImageRep : NSImageRep
|
// Initializers
|
- (id)initWithDrawSelector:(SEL)aMethod delegate:(id)anObject; |
// Instance Methods
|
- (id)delegate;
|
- (SEL)drawSelector;
|
Read now
Unlock full access