All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

output-pane-draw-from-cached-display

Function
Summary

Draws from the cached display of an output pane.

Package

capi

Signature

output-pane-draw-from-cached-display pane x y width height

Arguments

pane

An output-pane.

x , y , width , height

Real numbers.

Description

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.

Notes

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.

See also

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 (Macintosh version) - 25 Feb 2015

NextPrevUpTopContentsIndex