Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

with-translation

Statement macro

Summary

Executes a body of code with a specified translation.

Macro call

with-translation ({medium} {dx} {dy}) {body} end

Arguments

medium
A Dylan expressionbnf.

dx
A Dylan argumentbnf.

dy
A Dylan argumentbnf.

body
A Dylan bodybnf.

Values

None.

Library

duim-sheets

Module

duim-sheets

Description

Executes a body of code with a specified translation, denoted by dx and dy. The translation occurs within medium. This macro calls with-transform to perform the translation.

The medium specified should be an instance of type <medium>. The dx and dy should evaluate to an instance of type <real>.

See also

with-rotation, page 383

with-scaling, page 383

with-transform, page 386


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index