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

NextPrevUpTopContentsIndex

make-pinboard-objects-displayer

Function
Summary

Creates a pinboard-objects-displayer.

Package

lw-gt

Signature

make-pinboard-objects-displayer drawing-object &rest args &key use-metafile natural-width natural-height &allow-other-keys => pinboard-objects-displayer

Arguments

drawing-object

A "drawing-object-spec".

use-metafile

A generalized boolean.

natural-width , natural-height

Integers.

Values

pinboard-objects-displayer

A pinboard-objects-displayer.

Description

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.

See also

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


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

NextPrevUpTopContentsIndex