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.
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.