Next Previous Up Top Contents Index

2.3 DUIM-Geometry Module

transform-box

Generic function

Summary

Applies the transform to the rectangle specified by the four coordinate arguments.

Signature

transform-box transform x1 y1 x2 y2 => left top right bottom

Arguments

transform
An instance of type <transform>.

x1
An instance of type <real>.

y1
An instance of type <real>.

x2
An instance of type <real>.

y2
An instance of type <real>.

Values

left
An instance of type <real>.

top
An instance of type <real>.

right
An instance of type <real>.

bottom
An instance of type <real>.

Library

duim-geometry

Module

duim-geometry

Description

Applies the transform transform to the rectangle specified by the four coordinate arguments. transform-box is the spread version of transform-region in the case where the transform is rectilinear and the region is a rectangle.

The arguments x1, y1, x2, and y2 are canonicalized and the four return values specify the minimum and maximum points of the transformed rectangle in the order left, top, right, and bottom.

An error is signalled if transform does not satisfy rectilinear-transform?.


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index