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 nils.
CAPI User Guide and Reference Manual (Unix version) - 18 Feb 2025 15:34:41