Next Previous Up Top Contents Index

2 GP Reference Entries

with-transformed-point

Macro

Summary

Binds a point transformed by a given ports transform to two variables across the body of the macro.
Signature

with-transformed-point (new-x new-y port x y) &body body
                       => result

Arguments

new-x

A variable

new-y

A variable

port

A graphics port

x

A real number

y

A real number

body

A body of Lisp code

Values

result

The return value of the last form executed in body

Description

Thewith-transformed-point macro transforms the point given by (x y) using the port's transform and the resulting values are bound to the new-x and new-y variables. The body of the macro is then evaluated with this binding.

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker