All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

without-relative-drawing Macro

Summary

Evaluates a body of Lisp code with the relative and collect internal variables of the port set to nil.

Package

graphics-ports

Signature

without-relative-drawing (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 macro without-relative-drawing evaluates the forms in body as an implicit progn with the relative and collect internal variables of the pixmap graphics port port set to nil to turn off the port's collecting of drawing bounds and automatic shifting of its origins. Use this macro only within a with-pixmap-graphics-port macro.


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15