LispWorks CAPI Reference Manual > 2 GP 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 rect-bind macro 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 ).


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex