- // Use the non-transparent pixels of a wxBitmap for the region to combine
- // with this region. If the bitmap has a mask then it will be used,
- // otherwise the colour to be treated as transparent may be specified,
- // along with an optional tolerance value.
- // NOTE: implemented in common/rgncmn.cpp
- bool Union(const wxBitmap& bmp,
- const wxColour& transColour = wxNullColour,
- int tolerance = 0);
- /* And because of function hiding: */
- bool Union(long x, long y, long width, long height)
- { return wxRegionGeneric::Union(x,y,width,height); }
- bool Union(const wxRect& rect)
- { return wxRegionGeneric::Union(rect); }
- bool Union(const wxRegion& region)
- { return wxRegionGeneric::Union(region); }
-
- // Convert the region to a B&W bitmap with the black pixels being inside
- // the region.
- // NOTE: implemented in common/rgncmn.cpp
- wxBitmap ConvertToBitmap() const;
-