set-rectangle in region%

Sets the region to the interior of the specified rectangle.

See also draw-rectangle in dc<%>, since the region content is determined the same way as brush-based filling in a dc<%>.

The result is reliable for both unsmoothed and smoothed drawing. For smoothed drawing, the region corresponds to a clockwise path with a 'winding fill. The region is also atomic for the purposes of region combination.