# NSCachedImageRep

fedor@gnu.org
Generated at 2026-02-17 21:02:56 +0000

Cached image representation.

1996 Free Software Foundation, Inc.
Software documentation for the NSCachedImageRep class
AppKit/NSCachedImageRep.h

Todo Description

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
initWithSize:
aSize
depth:
aDepth
separate:
separate
alpha:
alpha
Description forthcoming.
initWithSize:
aSize
pixelsWide:
pixelsWide
pixelsHigh:
pixelsHigh
depth:
aDepth
separate:
separate
alpha:
alpha
GNUstep extension

Initializes and returns a new NSCachedImageRep with size and depth specified by aSize and aDepth respectively. If seperate is `YES`, the image will gets its own unique cache without sharing it with other images.

initWithWindow:
aWindow
rect:
aRect

Initializes and returns a new NSCachedImageRep into a NSWindow aWindow. The image will be draw into the rectange aRect of this window. aWindow is retained.

See Also: -rect -window

rect

Returns the rectangle where the image is cached.

See Also: -initWithWindow:rect:

window

Returns the NSWindow where the image is cached.

See Also: -initWithWindow:rect: