![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXRegion.h>
Public Member Functions | |
FXRegion () | |
FXRegion (const FXRegion &r) | |
FXRegion (const FXRectangle &rect) | |
FXRegion (FXint x, FXint y, FXint w, FXint h) | |
FXRegion (const FXPoint *points, FXuint npoints, bool winding=false) | |
FXRegion & | operator= (const FXRegion &r) |
bool | empty () const |
bool | contains (FXint x, FXint y) const |
bool | contains (FXint x, FXint y, FXint w, FXint h) const |
FXRectangle | bounds () const |
FXRegion & | offset (FXint dx, FXint dy) |
bool | operator== (const FXRegion &r) const |
bool | operator!= (const FXRegion &r) const |
FXRegion & | operator+= (const FXRegion &r) |
FXRegion & | operator*= (const FXRegion &r) |
FXRegion & | operator-= (const FXRegion &r) |
FXRegion & | operator^= (const FXRegion &r) |
FXRegion | operator+ (const FXRegion &r) const |
FXRegion | operator* (const FXRegion &r) const |
FXRegion | operator- (const FXRegion &r) const |
FXRegion | operator^ (const FXRegion &r) const |
void | reset () |
~FXRegion () | |
Friends | |
class | FXDC |
class | FXDCWindow |
class | FXWindow |
Region.
FX::FXRegion::FXRegion | ( | ) |
Construct new empty region.
FX::FXRegion::FXRegion | ( | const FXRegion & | r | ) |
Construct new region copied from region r.
FX::FXRegion::FXRegion | ( | const FXRectangle & | rect | ) |
Construct new region from rectangle rect.
Construct polygon region.
FX::FXRegion::~FXRegion | ( | ) |
Destroy region.
bool FX::FXRegion::empty | ( | ) | const |
Return true if region is empty.
Return true if region contains rectangle.
FXRectangle FX::FXRegion::bounds | ( | ) | const |
Return bounding box.
bool FX::FXRegion::operator== | ( | const FXRegion & | r | ) | const |
Return true if region equal to this one.
bool FX::FXRegion::operator!= | ( | const FXRegion & | r | ) | const |
Return true if region not equal to this one.
Intersection of this region and region r.
void FX::FXRegion::reset | ( | ) |
Reset region to empty.
|
friend |
|
friend |
|
friend |
![]() |