6.21 region%
A region% object specifies a portion of a drawing area
(possibly discontinuous). It is normally used for clipping drawing
operations.
Each region% object is associated to a particular
dc<%> object, specified when the region is created. A region
can only be used with its associated dc<%> object. The origin
and scale of a drawing context affects the region when the region is
set, but not when the region is used.
See also
set-clipping-region in dc<%> and
get-clipping-region in dc<%>.
Methods
get-bounding-box
get-dc
in-region?
intersect
is-empty?
set-arc
set-ellipse
set-path
set-polygon
set-rectangle
set-rounded-rectangle
subtract
union
xor