LispWorks CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

get-enclosing-rectangle

Function
Summary

Returns the smallest rectangle enclosing the given points.

Package

graphics-ports

Signature

get-enclosing-rectangle &rest points => left , top , right , bottom

Arguments

points

Real numbers.

Values

left

A real number.

top

A real number.

right

A real number.

bottom

A real number.

Description

The get-enclosing-rectangle function returns four values, describing the rectangle which exactly encloses the input points.The points argument must be a (possibly empty) list of alternating x and y values. If no points are given the function returns the null (unspecified) rectangle, which is four nil s.


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex