Next Previous Up Top Contents Index

2.3 DUIM-Geometry Module

compose-transform-with-translation

Generic function

Summary

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

Signature

compose-transform-with-translation 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 a given translation with the transform transform. The order of composition is transform first, followed by the translation 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