Specifies a dither for use within a specified body of code.
Signature
with-dither (
dither-or-size
) &body
body
=>
result
Arguments
dither-or-size
See Description.
body
A body of Lisp code.
Values
result
The return value of the last form executed in
body
.
Description
The
with-dither
function specifies a dither for use within
body
. The
dither-or-size
argument can be a dither mask object from make-dither or a size, in which case a dither of that size is created.