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;

    Part II: API Quick Reference
    Chapter 13. Foundation Classes