DC Drawing Restriction

Christopher Barker wrote:

Alex Tweedly wrote:

I haven't done it, but according to the docs, you can use wxRegion
Union to construct a region from multiple rectangles

It looks like you can construct a wx.region from a polygon as well. I'm not sure if this is wrapped for Python.

yep, it is

  wx.RegionFromPoints(points_sequence, fillStyle=wx.WINDING_RULE)

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!