[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Q] with-clip-rect
- To: Peter.Berck@kub.nl
- Subject: Re: [Q] with-clip-rect
- From: poeck@informatik.uni-wuerzburg.de (Karsten Poeck)
- Date: Fri, 9 Jun 1995 14:49:50 +0200
- Cc: info-mcl@digitool.com
- Sender: owner-info-mcl@digitool.com
>Does someone know how to use this?
Look at
(defmacro with-rectangle-arg ((var left &optional top right bottom) &body body)
"takes a rectangle, two points, or four coordinates and makes a rectangle.
body is evaluated with VAR bound to that rectangle."
`(rlet ((,var :rect))
(setup-rect ,var ,left ,top ,right ,bottom)
,@body))
from quickdraw.lisp
Karsten