Next Prev Up Top Contents Index

with-graphics-mask

Macro
Summary

Binds the mask slot of a graphics port to a rectangular area across the execution of a body of code.

Signature
with-graphics-mask (port
 mask
 mask-x
 mask-y
 &key)
                   &body body
 => result
Arguments

port

A graphics port

mask

A list of the form ( x y width height ) or nil

mask-x

An integer

mask-y

An integer

body

A body of Lisp code

Values

result

The return value of the last form executed in body

Description

The with-graphics-mask macro binds the mask slot of port 's graphic state to a rectangular area across the execution of body . By default, mask-x and mask-y are both 0.


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index