set-polygon in region%
Sets the region to the interior of the specified polygon.
See also
draw-polygon 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 fill style affects how well the region
reliably combines with other regions (via
union,
xor, and
subtract). The region is also atomic for the purposes of region
combination.
(-> voidsenda-regionset-polygonpointsxoffsetyoffsetfill-style)
points: list ofpoint%objects
xoffset=0: real number
yoffset=0: real number
fill-style='odd-even: symbol in'(odd-even winding)