Next Previous Up Top Contents Index

2 GP Reference Entries

with-graphics-transform

Macro

Summary

Combines a given transform with the transform of a port for the duration of the macro.
Signature

with-graphics-transform (port transform) &body body 
                        => result

Arguments

port

A graphics port

transform

A transform

body

A body of Lisp code

Values

result

The return value of the last form executed in body

Description

Thewith-graphics-transform macro combines the transform associated with the graphics port port with transform during the body of the macro. The port is given a new transform obtained by pre-multiplying its current transform with transform. This has the effect of preceding any translation, scaling and rotation operations specified in the body of the macro by those operations embodied in transform.

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker