LispWorks CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

with-graphics-scale

Macro
Summary

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

Package

graphics-ports

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 - 21 Dec 2009

NextPrevUpTopContentsIndex