- void Clear();
-
- bool Offset( wxCoord x, wxCoord y );
-
- bool Union( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
- bool Union( const wxRect& rect );
- bool Union( const wxRegion& region );
-
- bool Intersect( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
- bool Intersect( const wxRect& rect );
- bool Intersect( const wxRegion& region );
-
- bool Subtract( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
- bool Subtract( const wxRect& rect );
- bool Subtract( const wxRegion& region );
-
- bool Xor( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
- bool Xor( const wxRect& rect );
- bool Xor( const wxRegion& region );
-
- void GetBox( wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h ) const;
- wxRect GetBox() const ;
+#if wxUSE_IMAGE
+ wxRegion( const wxBitmap& bmp)
+ {
+ Union(bmp);
+ }
+ wxRegion( const wxBitmap& bmp,
+ const wxColour& transColour, int tolerance = 0)
+ {
+ Union(bmp, transColour, tolerance);
+ }
+#endif // wxUSE_IMAGE