Next Previous Up Top Contents Index

2 GP Reference Entries

with-graphics-scale

Macro

Summary

Performs a call toapply-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

Thewith-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 - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker