Alternate constructors for wxRegion?

Is there any way to generate a non-rectangular wx.Region in wxPython? The one I'm after in wxWidgets is this one:

wxRegion(size_t n, const wxPoint *points, int fillStyle = wxWINDING_RULE)

Constructs a region corresponding to the polygon made of n points in the provided array. fillStyle parameter may have values wxWINDING_RULE or wxODDEVEN_RULE.

Thanks,
Dan

···

--
Dr. Daniel B. Koch
Oak Ridge National Lab
http://www.ornl.gov/sci/gist/bios/bio_koch.html
(865) 241-9096

Daniel B. Koch wrote:

Is there any way to generate a non-rectangular wx.Region in wxPython? The one I'm after in wxWidgets is this one:

wxRegion(size_t n, const wxPoint *points, int fillStyle = wxWINDING_RULE)

Constructs a region corresponding to the polygon made of n points in the provided array. fillStyle parameter may have values wxWINDING_RULE or wxODDEVEN_RULE.

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

···

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