Next Prev Up Top Contents Index

with-graphics-scale

Macro
Summary

Performs a call to apply-scale with a given scale for the duration of the macro's body.

Signature

with-graphics-scale ( port sx sy ) &body body => result

Arguments

port

A graphics port

sx

A real number

sy

A real number

body

A body of Lisp code

Values

result

The return value of the last form executed in body

Description

The with-graphics-scale macro performs a call to

(apply-scale transform sx sy )

on the port's transform for the duration of the body of the macro.

See also

apply-scale


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index