Draws from the cached display of an output pane.
capi
output-pane-draw-from-cached-display pane x y width height
pane⇩ |
An output-pane. |
Real numbers. |
The function output-pane-draw-from-cached-display
copies into the output pane pane from the last cached display in the region specified by x, y, width and height.
The Cached Display interface functions do not affect the display-callback of pane. It is your responsibility to prevent the display-callback being called, and instead use output-pane-draw-from-cached-display
. One way of achieving this is to have a display-callback that does:
(if (drawing-from-cached-display-p pane) (progn (output-pane-draw-from-cached-display pane x y width height) (draw-some-temporary-stuff pane)) (real-display-callback pane x y width height))
Another way is to replace the display-callback for a while.
See also start-drawing-with-cached-display, which replaces the display-callback too.
output-pane-cache-display
output-pane-free-cached-display
start-drawing-with-cached-display
12.5 Transient display on output-pane and subclasses
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27