Returns the smallest rectangle enclosing the given points.
graphics-ports
get-enclosing-rectangle &rest points => left, top, right, bottom
points⇩ |
Real numbers. |
left |
A real number. |
top |
A real number. |
right |
A real number. |
bottom |
A real number. |
The function get-enclosing-rectangle
returns four values, describing the rectangle which exactly encloses the input points. points 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.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44