LispWorks CAPI Reference Manual > 2 GP Reference Entries

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

NextPrevUpTopContentsIndex