Returns the four values representing a union of two rectangles.
graphics-ports
rectangle-union left-1 top-1 right-1 bottom-1 left-2 top-2 right-2 bottom-2 => left, top, right, bottom
left-1⇩ |
A real number. |
top-1⇩ |
A real number. |
right-1⇩ |
A real number. |
bottom-1⇩ |
A real number. |
left-2⇩ |
A real number. |
top-2⇩ |
A real number. |
right-2⇩ |
A real number. |
bottom-2⇩ |
A real number. |
left |
A real number. |
top |
A real number. |
right |
A real number. |
bottom |
A real number. |
The function rectangle-union
returns four values: the left, top, right and bottom of the union of the two rectangles specified by (left-1 top-1 right-1 bottom-1) and (left-2 top-2 right-2 bottom-2). The values input for the two rectangles are ordered by this function before it uses them.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44