Returns the union of two rectangles.
graphics-ports
ordered-rectangle-union left-1 top-1 right-1 bottom-1 left-2 top-2 right-2 bottom-2 => left, top, right, bottom
Real numbers. | |
Real numbers. |
left, top, right, bottom | |
Real numbers. |
The function ordered-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 caller guarantees that each input rectangle is ordered, that is, the left values must be smaller or equal to the right values, and the top values must be greater than or equal to the bottom ones.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:02