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

NextPrevUpTopContentsIndex

rect-bind

Macro
Summary

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

Package

graphics-ports

Signature

rect-bind (( x y width height ) rectangle ) &body body => result

Arguments

x

A variable.

y

A variable.

width

A variable.

height

A variable.

rectangle

A rectangle.

body

A body of Lisp code.

Values

result

The return value of the last form in body .

Description

The macro rect-bind binds x y width height to the appropriate values from rectangle and executes the body forms. The rectangle is a list of the form ( left top right bottom ).


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex