All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS 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 function get-enclosing-rectangle 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 nils.


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

NextPrevUpTopContentsIndex