Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

with-scaling

Statement macro

Summary

Executes a body of code with a specified scaling.

Macro call

with-scaling ({medium} {scale-x} {scale-y}) {body} end

Arguments

medium
A Dylan expressionbnf.

scale-x
A Dylan argumentbnf.

scale-y
A Dylan argumentbnf.

body
A Dylan bodybnf.

Values

None.

Library

duim-sheets

Module

duim-sheets

Description

Executes a body of code with a specified scaling, denoted by scale-x and scale-y. The scaling occurs within the expression medium. This macro calls with-transform to perform the scaling.

The medium specified should be an instance of type <medium>. The scale-x and scale-y should evaluate to an instance of type <real>.

See also

with-rotation, page 383

with-transform, page 386

with-translation, page 387


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index