DekGenius.com
[ Team LiB ] Previous Section Next Section

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.

figs/cocn_1513.gif

@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;

    [ Team LiB ] Previous Section Next Section