Binds a list of transformed points in a port to a list across the execution of the macro's body.
graphics-ports
with-transformed-points (points port) &body body => result
points⇩ |
A list of real numbers. |
port⇩ |
A graphics port. |
body⇩ |
A body of Lisp code. |
result |
The return value of the last form executed in body. |
The macro with-transformed-points
binds points to a new list of x and y values obtained by post-multiplying them by the current transform of port, and then evaluates the forms in body as am implicit progn. points must be bound to a list of alternating x and y values representing coordinate points in port.
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15