Transforms the coordinates of a rectangle and binds them to four variables for the duration of the macro's body.
A variable.
A variable.
A variable.
A variable.
A graphics port.
A real number.
A real number.
A real number.
A real number.
A body of Lisp code.
During the evaluation of the
with-transformed-rect
macro
body
, the two points (
x1, y1
) and (
x2, y2
) are transformed by the port's current transform and the resulting values bound to the variables named by the
nx1 ny1 nx2 ny2
args.