All Manuals > CAPI User Guide > 12 Creating Your Own Panes > 12.3 Creating graphical objects


12.3.1 Buffered drawing

Where the display of an output-pane is complex you may see flickering on screen on some platforms. Typcailly this occurs in a pinboard-layout with many pinboard objects, or some other characteristic that makes the display complex.

The flickering can be avoided by passing the draw-with-buffer initarg which causes the drawing to go to an off-screen pixmap buffer. The screen is then updated from the buffer.

Note: GTK+ and Cocoa always buffer, so the draw-with-buffer initarg is ignored on these platforms.

CAPI User Guide (Windows version) - 30 Aug 2011