|
Public Member Functions |
| Region () |
| Region (int x, int y, int w, int h) |
| Region (IN(RPoint) topLeft, IN(RPoint) bottomRight) |
| Region (IN(RRect) rect) |
| Region (IN(RBitmap) bmp, IN(RColour) transColour=Colour::getNullColour(), int tolerance=0) |
void | clear () |
bool | offset (int x, int y) |
bool | unionRegion (int x, int y, int width, int height) |
bool | unionRegion (IN(RRect) rect) |
bool | unionRegion (IN(RRegion) region) |
bool | intersect (int x, int y, int width, int height) |
bool | intersect (IN(RRect) rect) |
bool | intersect (IN(RRegion) region) |
bool | subtract (int x, int y, int width, int height) |
bool | subtract (IN(RRect) rect) |
bool | subtract (IN(RRegion) region) |
bool | xorRegion (int x, int y, int width, int height) |
bool | xorRegion (IN(RRect) rect) |
bool | xorRegion (IN(RRegion) region) |
void | getBox (OUT(int) x, OUT(int) y, OUT(int) w, OUT(int) h) const |
RRect | getBox () const |
bool | empty () const |
bool | isEmpty () const |
RegionContain | contains (int x, int y) const |
RegionContain | contains (IN(RPoint) pt) const |
RegionContain | contains (int x, int y, int w, int h) const |
RegionContain | contains (IN(RRect) rect) const |
RBitmap | convertToBitmap () const |
bool | unionRegion (IN(RBitmap) bmp, IN(RColour) transColour=Colour::getNullColour(), int tolerance=0) |
| From wxWidgets: Use the non-transparent pixels of a wxBitmap for the region to combine with this region.
|