Next Previous Up Top Contents Index

1 CAPI Reference Entries

right-angle-line-pinboard-object

Class

Summary

A subclass ofpinboard-object that displays a line drawn around two edges of the area enclosed by the pinboard object.
Superclasses

line-pinboard-object

Slots

type

The type of line.

Description

A subclass ofline-pinboard-object which displays a line around the edge of the pinboard object rather than diagonally. Thetype of line can be one of two values.
:vertical-first

Draw top-left to bottom-left to bottom-right.

:horizontal-first

Draw top-left to top-right to bottom-right.

The main use of this class is to produce graphs with right-angled edges rather than diagonal ones.
Example

(capi:contain (make-instance
               'capi:right-angle-line-pinboard-object
               :min-width 100
               :min-height 100))

(capi:contain (make-instance 'capi:right-angle-line-pinboard-object :min-width 100 :min-height 100 :type :horizontal-first))

(capi:contain (list (make-instance 'capi:right-angle-line-pinboard-object :min-width 100 :min-height 100) (make-instance 'capi:right-angle-line-pinboard-object :min-width 100 :min-height 100 :type :horizontal-first)))

See also

pinboard-layout

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker