2.5.3 Polygons and Polylines in CLIM

2.5.3.1 Constructors for CLIM Polygons and Polylines

The following functions can be used to create polylines and polygons:

make-polyline [Function]

Arguments:
point-seq&key closed
make-polyline* [Function]
Arguments:
coord-seq&key closed
Summary:
Returns an object of class standard-polyline consisting of the segments connecting each of the points in point-seq (or the points represented by the coordinate pairs in coord-seq).

If closed is t, then the segment connecting the first point and the last point is included in the polyline. The default for closed is nil.

These functions capture their mutable inputs; the consequences of modifying those objects are unspecified.

make-polygon [Function]
Arguments:
point-seq
make-polygon* [Function]
Arguments:
coord-seq
Summary:
Returns an object of class standard-polygon consisting of the area contained in the boundary that is specified by the segments connecting each of the points in point-seq (or the points represented by the coordinate pairs in coord-seq).

These functions capture their mutable inputs; the consequences of modifying those objects are unspecified.


CLIM 2.0 User's Guide - OCT 1998

Generated with Harlequin WebMaker