wxRegion( size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE );
+#if wxUSE_IMAGE
wxRegion( const wxBitmap& bmp)
{
Union(bmp);
{
Union(bmp, transColour, tolerance);
}
+#endif // wxUSE_IMAGE
virtual ~wxRegion();
public:
wxRegionIterator();
wxRegionIterator(const wxRegion& region);
+ wxRegionIterator(const wxRegionIterator& ri) : wxObject(ri) { Init(); *this = ri; }
+ ~wxRegionIterator();
+
+ wxRegionIterator& operator=(const wxRegionIterator& ri);
void Reset() { m_current = 0u; }
void Reset(const wxRegion& region);
wxRect GetRect() const;
private:
+ void Init();
+ void CreateRects( const wxRegion& r );
+
size_t m_current;
wxRegion m_region;
+ wxRect *m_rects;
+ size_t m_numRects;
+
private:
DECLARE_DYNAMIC_CLASS(wxRegionIterator)
};