Executes all drawing function calls to a given port within the body of the macro with foreground and background colors swapped.
graphics-ports
with-inverse-graphics (port) &body body => result
port⇩ |
A graphics port. |
body⇩ |
A body of Lisp code. |
result |
The return value of the last form executed in body. |
The macro with-inverse-graphics
evaluates the forms in body as an implicit progn with the foreground and background slots of the graphics-state of port swapped.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44