Creates a pinboard-objects-displayer.
lw-gt
make-pinboard-objects-displayer drawing-object &rest args &key use-metafile natural-width natural-height &allow-other-keys => pinboard-objects-displayer
drawing-object⇩ |
A "drawing-object-spec". |
args⇩ |
Initargs for pinboard-object. |
use-metafile⇩ |
A generalized boolean. |
Integers. |
pinboard-objects-displayer | |
The function make-pinboard-objects-displayer
creates a pinboard-objects-displayer, which is a subclass of pinboard-object. The pinboard-objects-displayer draws the drawing-object drawing-object.
drawing-object must be a "drawing-object-spec", which means either an instance of (a subclass of) drawing-object or a list of "drawing-object-specs".
use-metafile specifies whether to use an internal metafile. When use-metafile is true the pinboard-objects-displayer draws the objects to a metafile, and then draws the metafile to the screen. natural-width and natural-height determine the size of the metafile to use. They are ignored if use-metafile is false. The default value of use-metafile is t
.
The default value of natural-width x natural-height is 800 x 600.
args can contain all the initargs of pinboard-object. In particular, all the geometry initargs can be used to define the initial geometry. The geometry can be changed later by (setf capi:static-layout-child-geometry)
and the related functions.
drawing-object
objects-displayer
pinboard-objects-displayer
14.1 Lower level - drawing objects and objects displayers
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:19