(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSCachedImageRep 

Inherits From:	NSImageRep : NSObject 

Declared In:	appkit/NSCachedImageRep.h 

Initializing an NSCachedImageRep 

- initWithSize:(NSSize)size 	Initializes a new NSCachedImageRep for an image of the
depth:(NSWindowDepth)depth 		specified size and depth. The separate argument
separate:(BOOL)separate 		specifies whether the image will get its own unique
alpha:(BOOL)alpha		cache, instead of possibly sharing one with other images.  For best performance (although it's not essential), the alpha argument should be set according to whether the image will have a channel for transparency information.
- (id)initWithWindow:(NSWindow *)aWindow	Initializes the new NSCachedImageRep for an image to be
rect:(NSRect)aRect		drawn in the rectangle aRect of the specified window. This method retains aWindow.

Getting the Representation 

- (NSRect *)rect	Returns the  rectangle where the image is cached. 
- (NSWindow *)window	Returns the NSWindow where the image is cached.