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

NextPrevUpTopContentsIndex

rectangle-union

Function
Summary

Returns the four values representing a union of two rectangles.

Package

graphics-ports

Signature

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

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.

Values

left

A real number.

top

A real number.

right

A real number.

bottom

A real number.

Description

The function rectangle-union returns four values: the left , top , right and bottom of the union of the two rectangles specified in the arguments. The values input for the two rectangles are ordered by this function before it uses them.

See also

ordered-rectangle-union


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

NextPrevUpTopContentsIndex