The function output-pane-draw-from-cached-display
copies into the output pane
pane
from the last cached display in the region specified by the given coordinates.
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
Transient display on output-pane and subclasses
CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017