All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS 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 User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex