Region
Public Methods
-
FXRegion()
- Construct new empty region
-
FXRegion(const FXRegion& r)
- Construct new region copied from region r
-
FXRegion(FXint x, FXint y, FXint w, FXint h)
- Construct new region set to given rectangle
-
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
-
void bounds(FXRectangle& r) const
- Return bounding box
-
FXRegion& offset(FXint dx, FXint dy)
- Offset region by dx,dy
-
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)
- Substract region r from this one
-
FXRegion& operator^=(const FXRegion& r)
- Xor region r with this one
-
~FXRegion()
- Destroy region
Documentation
Region
FXRegion()
- Construct new empty region
FXRegion(const FXRegion& r)
- Construct new region copied from region r
FXRegion(FXint x, FXint y, FXint w, FXint h)
- Construct new region set to given rectangle
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
void bounds(FXRectangle& r) const
- Return bounding box
FXRegion& offset(FXint dx, FXint dy)
- Offset region by dx,dy
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)
- Substract region r from this one
FXRegion& operator^=(const FXRegion& r)
- Xor region r with this one
~FXRegion()
- Destroy region
- This class has no child classes.
- Friends:
- class FXDC
class FXDCWindow
FXRegion operator+(const FXRegion& r1,const FXRegion& r2)
FXRegion operator*(const FXRegion& r1,const FXRegion& r2)
FXRegion operator-(const FXRegion& r1,const FXRegion& r2)
FXRegion operator^(const FXRegion& r1,const FXRegion& r2)
FXbool operator==(const FXRegion& r1,const FXRegion& r2)
FXbool operator!=(const FXRegion& r1,const FXRegion& r2)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.