NextPrevUpTopContentsIndex

with-graphics-translation

Macro
Summary

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

Package

graphics-ports

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 - 17 Mar 2008

NextPrevUpTopContentsIndex