May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSCachedImageRep — Mac OS X 10.0
This subclass of NSImageRep stores an
image’s data representation as an image that has
been rendered into a window, which is usually an off-screen window.
Images represented by NSCachedImageRep can be
redrawn very quickly as they have already been rendered to the screen
environment.
|
![]()
|
@interface NSCachedImageRep : NSImageRep
|
// Initializers
|
- (id)initWithSize:(NSSize)size depth:(NSWindowDepth)depth separate:(BOOL)flag alpha:(BOOL)alpha; |
- (id)initWithWindow:(NSWindow *)win rect:(NSRect)rect; |
// Instance Methods
|
- (NSRect)rect;
|
- (NSWindow *)window;
|
Read now
Unlock full access