All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

NextPrevUpTopContentsIndex

ordered-rectangle-union

Function
Summary

Returns the union of two rectangles.

Package

graphics-ports

Signature

ordered-rectangle-union left-1 top-1 right-1 bottom-1 left-2 top-2 right-2 bottom-2 => left , top , right , bottom

Arguments

left-1, top-1, right-1 , bottom -1

Real numbers.

left-2, top-2, right-2, bottom -2

Real numbers.

Values

left, top, right, bottom

Real numbers.

Description

The function ordered-rectangle-union returns four values: the left , top , right and bottom of the union of the two rectangles specified in the arguments. 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.

See also

rectangle-union


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex