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

NextPrevUpTopContentsIndex

compound-drawing-object

Class
Summary

A drawing-object that draws the "child" drawing-object in its sub-object slot.

Package

lw-gt

Superclasses

drawing-object

Subclasses

geometry-drawing-object

Accessors

compound-drawing-object-sub-object
compound-drawing-object-data

Description

The class compound-drawing-object is a drawing-object that has a "child" drawing-object in its sub-object slot. The compound-drawing-object draws the "child".

The main usage of compound-drawing-object is through its subclass geometry-drawing-object, which manipulates the geometry around drawing the objects. See geometry-drawing-object.

It is possible to set the sub-object slot in a compound-drawing-object using (setf compound-drawing-object-sub-object). This can be done on any thread. This setting does not cause automatic redisplay of the object. The redisplay happens next the time the hierarchy is redisplayed. You can force the redisplay by calling force-objects-redraw.

compound-drawing-object should not be made by cl:make-instance. See geometry-drawing-object for how to make it.

The accessor compound-drawing-object-data can be used to read and set the data slot in the compound-drawing-object. You can use the data slot to store related information, and it is used by compute-drawing-object-from-data.

See also

objects-displayer
pinboard-objects-displayer
Lower level - drawing objects and objects displayers


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex