|
Public Member Functions |
| FXRectangle () |
| FXRectangle (FXshort xx, FXshort yy, FXshort ww, FXshort hh) |
| FXRectangle (const FXPoint &p, const FXSize &s) |
| FXRectangle (const FXPoint &topleft, const FXPoint &bottomright) |
bool | empty () const |
bool | operator! () const |
bool | operator== (const FXRectangle &r) const |
bool | operator!= (const FXRectangle &r) const |
bool | contains (const FXPoint &p) const |
bool | contains (FXshort xx, FXshort yy) const |
bool | contains (const FXRectangle &r) const |
FXRectangle & | move (const FXPoint &p) |
FXRectangle & | move (FXshort dx, FXshort dy) |
FXRectangle & | grow (FXshort margin) |
FXRectangle & | grow (FXshort hormargin, FXshort vermargin) |
FXRectangle & | grow (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
FXRectangle & | shrink (FXshort margin) |
FXRectangle & | shrink (FXshort hormargin, FXshort vermargin) |
FXRectangle & | shrink (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
FXPoint | tl () const |
FXPoint | tr () const |
FXPoint | bl () const |
FXPoint | br () const |
FXRectangle & | operator= (const FXRectangle &r) |
FXRectangle & | set (const FXRectangle &r) |
FXRectangle & | set (const FXPoint &p, const FXSize &s) |
FXRectangle & | set (const FXPoint &topleft, const FXPoint &bottomright) |
FXRectangle & | set (FXshort xx, FXshort yy, FXshort ww, FXshort hh) |
FXRectangle & | operator+= (const FXRectangle &r) |
FXRectangle & | operator *= (const FXRectangle &r) |
FXRectangle | operator+ (const FXRectangle &r) const |
FXRectangle | operator * (const FXRectangle &r) const |
Public Attributes |
FXshort | x |
FXshort | y |
FXshort | w |
FXshort | h |
Friends |
bool | overlap (const FXRectangle &a, const FXRectangle &b) |
FXStream & | operator<< (FXStream &store, const FXRectangle &r) |
FXStream & | operator>> (FXStream &store, FXRectangle &r) |