LispWorks CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

with-graphics-rotation

Macro
Summary

Performs a call to apply-rotation with a given angle for the duration of the macro's body.

Package

graphics-ports

Signature

with-graphics-rotation ( port angle ) &body body => result

Arguments

port

A graphics port.

angle

A real.

body

A body of Lisp code.

Values

result

The return value of the last form executed in body .

Description

The with-graphics-rotation marco performs a call to

(apply-rotation transform angle )

on the port's transform for the duration of the body of the macro.

See also

apply-rotation


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex