All Manuals > CAPI User Guide and Reference Manual > 23 LW-GT Reference Entries

apply-drawing-object Class

Summary

A drawing-object that applies a supplied function to supplied arguments.

Package

lw-gt

Superclasses

drawing-object

Description

The class apply-drawing-object is a drawing-object that applies a supplied function to a list of supplied arguments, normally preceded by the objects-displayer. Its main usage is for doing the actual drawing.

apply-drawing-objects can be used repeatedly and concurrently in the same or different panes. The ones that are created by the make-draw-* functions (make-draw-arc and so on) are fixed, but for objects created by make-a-drawing-call, the supplied function may depend on values that change, and hence needs to be redisplayed when these values change. Use force-objects-redraw on the root of the hierarchy (an objects-displayer or a pinboard-objects-displayer) to do that.

See drawing-object for description of the drawing operation.

See also

objects-displayer
pinboard-objects-displayer
position-object
fit-object
position-and-fit-object


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:10