Next Previous Up Top Contents Index

2.3 DUIM-Geometry Module

compose-translation-with-transform

Generic function

Summary

Creates a new transform by composing a transform with the given translation.

Signature

compose-translation-with-transform transform dx dy => transform

Arguments

transform
An instance of type <transform>.

dx
An instance of type <real>.

dy
An instance of type <real>.

Values

transform
An instance of type <transform>.

Library

duim-geometry

Module

duim-geometry

Description

Creates a new transform by composing the transform transform with the given translation. The order of composition is that the translation transform is applied first, followed by the argument transform.

The argument dx represents the delta by which to translate the x coordinate.

The argument dy represents the delta by which to translate the y coordinate.

Note that this function could be implemented by using make-translation-transform and compose-transforms. It is provided, because it is common to build up a transform as a series of simple transforms.

See also

See the functions make-translation-transform, page 43 and compose-transforms, page 23.


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index