All Manuals > CAPI Reference Manual > 2 GP Reference Entries

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 graphics port.

body

A body of Lisp code.

Values

result

The return value of the last form executed in body .

Description

The macro with-inverse-graphics 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 port swapped.


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex