Next Previous Up Top Contents Index

2 GP Reference Entries

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

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

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker