Common Lisp Interface Manager 2.0 User's Guide > Chapter 2 Drawing Graphics > 2.5 General Geometric Objects in CLIM > 2.5.3 Polygons and Polylines in CLIM

NextPrevUpTopContentsIndex

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.


Common Lisp Interface Manager 2.0 User's Guide - 22 Dec 2009

NextPrevUpTopContentsIndex