NextPrevUpTopContentsIndex

with-inverse-graphics

Macro
Summary

Executes all drawing function calls to a given port within the body of the macro with foreground and background colors swapped.

Package

graphics-ports

Signature

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

Arguments

port

A graphic port.

body

A body of Lisp code.

Values

result

The return value of the last form executed in body .

Description

The with-inverse-graphics macro ensures that all drawing function calls to port within the body of the macro are executed with the foreground and background slots of the graphics state of the port swapped around.


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex