FXRegion

class FXRegion

Region

Public Methods

[more] FXRegion()
Construct new empty region
[more] FXRegion(const FXRegion& r)
Construct new region copied from region r
[more] FXRegion(FXint x, FXint y, FXint w, FXint h)
Construct new region set to given rectangle
[more]FXRegion& operator=(const FXRegion& r)
Assign region r to this one
[more]FXbool empty() const
Return TRUE if region is empty
[more]FXbool contains(FXint x, FXint y) const
Return TRUE if region contains point
[more]FXbool contains(FXint x, FXint y, FXint w, FXint h) const
Return TRUE if region contains rectangle
[more]void bounds(FXRectangle& r) const
Return bounding box
[more]FXRegion& offset(FXint dx, FXint dy)
Offset region by dx,dy
[more]FXRegion& operator+=(const FXRegion& r)
Union region r with this one
[more]FXRegion& operator*=(const FXRegion& r)
Intersect region r with this one
[more]FXRegion& operator-=(const FXRegion& r)
Substract region r from this one
[more]FXRegion& operator^=(const FXRegion& r)
Xor region r with this one
[more] ~FXRegion()
Destroy region


Documentation

Region
o FXRegion()
Construct new empty region

o FXRegion(const FXRegion& r)
Construct new region copied from region r

o FXRegion(FXint x, FXint y, FXint w, FXint h)
Construct new region set to given rectangle

oFXRegion& operator=(const FXRegion& r)
Assign region r to this one

oFXbool empty() const
Return TRUE if region is empty

oFXbool contains(FXint x, FXint y) const
Return TRUE if region contains point

oFXbool contains(FXint x, FXint y, FXint w, FXint h) const
Return TRUE if region contains rectangle

ovoid bounds(FXRectangle& r) const
Return bounding box

oFXRegion& offset(FXint dx, FXint dy)
Offset region by dx,dy

oFXRegion& operator+=(const FXRegion& r)
Union region r with this one

oFXRegion& operator*=(const FXRegion& r)
Intersect region r with this one

oFXRegion& operator-=(const FXRegion& r)
Substract region r from this one

oFXRegion& operator^=(const FXRegion& r)
Xor region r with this one

o ~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++.