LispWorks CAPI Reference Manual > 2 GP 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

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 ordered-rectangle-union function 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


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex