Binds four variables to the corners of a rectangle across a body of code.
graphics-ports
rectangle-bind ((a b c d) rectangle) &body body => result
a⇩ |
A variable. |
b⇩ |
A variable. |
c⇩ |
A variable. |
d⇩ |
A variable. |
rectangle⇩ |
A rectangle. |
body⇩ |
A body of code. |
result |
The return value of the last form in body. |
The macro rectangle-bind
binds the variables a b c d to left top right bottom of rectangle and evaluates the forms in body as an implicit progn.
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15