Discards all of the window’s cached image rectangles.
SDK
- macOS 10.0–10.13Deprecated
Framework
- App
Kit
Declaration
- (void)discardCachedImage;
Discussion
An NSWindow
object automatically discards its cached image rectangles when it displays.
Discards all of the window’s cached image rectangles.
SDK
Framework
- (void)discardCachedImage;
An NSWindow
object automatically discards its cached image rectangles when it displays.
- cache Image In Rect:
Stores the window’s raster image from a given rectangle expressed in the window’s base coordinate system.
- restore Cached Image
Splices the window’s cached image rectangles, if any, back into its raster image (and buffer if it has one), undoing the effect of any drawing performed within those areas since they were established using cache
.