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
c
d
rectangles
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 for the body of the macro.
rectangle-bind
CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015