Next Prev Up Top Contents Index

with-graphics-translation

Macro
Summary

Applies a translation to a given port for the duration of the macro.

Signature

with-graphics-translation ( port dx dy ) &body body => result

Arguments

port

A graphics port

dx

A real number

dy

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-translation macro performs a call to

(apply-translation transform dx dy )

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


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index