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

rectangle-bind Macro

Summary

Binds four variables to the corners of a rectangle across a body of code.

Package

graphics-ports

Signature

rectangle-bind ((a b c d) rectangle) &body body => result

Arguments
A variable.
A variable.
A variable.
A variable.
rectangle
A rectangle.
body
A body of code.
Values
result
The return value of the last form in body.
Description

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