Instance Method flush Window If Needed
Flushes the window’s offscreen buffer to the screen if flushing is enabled and if the last
message had no effect because flushing was disabled. flush Window
macOS 10.0–10.14 Deprecated Declaration - ( ) void flushWindowIfNeeded;
To avoid unnecessary flushing, use this method rather than
to flush an flush Window
object after flushing has been reenabled.
NSWindow See Also Methods - g State
Returns the window’s graphics state object.
Deprecated - can Store Color
Indicates whether the window has a depth limit that allows it to store color values.
Deprecated - flush Window
Flushes the window’s offscreen buffer to the screen if the window is buffered and flushing is enabled.
Deprecated + menu Changed:
This method does nothing; it is here for backward compatibility.
Deprecated - cache Image In Rect:
Stores the window’s raster image from a given rectangle expressed in the window’s base coordinate system.
Deprecated - 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 Image In Rect: Deprecated - use Optimized Drawing:
Specifies whether the window is to optimize focusing and drawing when displaying its views.
Deprecated - convert Base To Screen:
Converts a given point from the window’s base coordinate system to the screen coordinate system.
Deprecated - convert Screen To Base:
Converts a given point from the screen coordinate system to the window’s base coordinate system.