NextPrevUpTopContentsIndex

with-graphics-transform

Macro
Summary

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

Package

graphics-ports

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

The with-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 Mar 2008

NextPrevUpTopContentsIndex