Next Previous Up Top Contents Index

2.3 DUIM-Geometry Module

box-edges

Generic function

Summary

Returns the bounding box of a region.

Signature

box-edges region => left top right bottom

Arguments

region
An instance of type <region>.

Values

left
An instance of type <integer>.

top
An instance of type <integer>.

right
An instance of type <integer>.

bottom
An instance of type <integer>.

Library

duim-geometry

Module

duim-geometry

Description

Returns the bounding box of region as four integers specifying the x and y coordinates of the top left point and the x and y coordinates of the bottom right point of the box

The argument region must be either a bounded region (such as a line or an ellipse) or some other object that obeys the bounding box protocol, such as a sheet.

The four returned values left, top, right, and bottom will satisfy the inequalities

left <= right 
top <= bottom 

See also

<bounding-box>, page 12

bounding-box?, page 13

bounding-box, page 14


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index