Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Region. More...
#include <FXRegion.h>
Public Member Functions | |
FXRegion () | |
Construct new empty region. | |
FXRegion (const FXRegion &r) | |
Construct new region copied from region r. | |
FXRegion (const FXRectangle &rect) | |
Construct new region from rectangle rect. | |
FXRegion (FXint x, FXint y, FXint w, FXint h) | |
Construct rectangle region. | |
FXRegion (const FXPoint *points, FXuint npoints, FXbool winding=false) | |
Construct polygon region. | |
FXRegion & | operator= (const FXRegion &r) |
Assign region r to this one. | |
FXbool | empty () const |
Return true if region is empty. | |
FXbool | contains (FXint x, FXint y) const |
Return true if region contains point. | |
FXbool | contains (FXint x, FXint y, FXint w, FXint h) const |
Return true if region contains rectangle. | |
FXRectangle | bounds () const |
Return bounding box. | |
FXRegion & | offset (FXint dx, FXint dy) |
Offset region by dx,dy. | |
FXbool | operator== (const FXRegion &r) const |
Return true if region equal to this one. | |
FXbool | operator!= (const FXRegion &r) const |
Return true if region not equal to this one. | |
FXRegion & | operator+= (const FXRegion &r) |
Union region r with this one. | |
FXRegion & | operator*= (const FXRegion &r) |
Intersect region r with this one. | |
FXRegion & | operator-= (const FXRegion &r) |
Subtract region r from this one. | |
FXRegion & | operator^= (const FXRegion &r) |
Xor region r with this one. | |
FXRegion | operator+ (const FXRegion &r) const |
Union of this region and region r. | |
FXRegion | operator* (const FXRegion &r) const |
Intersection of this region and region r. | |
FXRegion | operator- (const FXRegion &r) const |
Subtract region r from this region. | |
FXRegion | operator^ (const FXRegion &r) const |
Xor of this region and region r. | |
void | reset () |
Reset region to empty. | |
~FXRegion () | |
Destroy region. | |
Friends | |
class | FXDC |
class | FXDCWindow |
class | FXWindow |
Region.
Copyright © 1997-2022 Jeroen van der Zijp |