![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXRectangle.h>
FX::FXRectangle::FXRectangle | ( | ) | [inline] |
Constructors.
FXbool FX::FXRectangle::empty | ( | ) | const [inline] |
Test if empty.
FXbool FX::FXRectangle::operator! | ( | ) | const [inline] |
Test if zero.
FXbool FX::FXRectangle::operator== | ( | const FXRectangle & | r | ) | const [inline] |
FXbool FX::FXRectangle::operator!= | ( | const FXRectangle & | r | ) | const [inline] |
FXbool FX::FXRectangle::contains | ( | const FXRectangle & | r | ) | const [inline] |
FXRectangle& FX::FXRectangle::move | ( | const FXPoint & | p | ) | [inline] |
FXRectangle& FX::FXRectangle::move | ( | FXshort | dx, | |
FXshort | dy | |||
) | [inline] |
FXRectangle& FX::FXRectangle::grow | ( | FXshort | margin | ) |
Grow by amount.
FXRectangle& FX::FXRectangle::grow | ( | FXshort | hormargin, | |
FXshort | vermargin | |||
) |
FXRectangle& FX::FXRectangle::grow | ( | FXshort | leftmargin, | |
FXshort | rightmargin, | |||
FXshort | topmargin, | |||
FXshort | bottommargin | |||
) |
FXRectangle& FX::FXRectangle::shrink | ( | FXshort | margin | ) |
Shrink by amount.
FXRectangle& FX::FXRectangle::shrink | ( | FXshort | hormargin, | |
FXshort | vermargin | |||
) |
FXRectangle& FX::FXRectangle::shrink | ( | FXshort | leftmargin, | |
FXshort | rightmargin, | |||
FXshort | topmargin, | |||
FXshort | bottommargin | |||
) |
FXPoint FX::FXRectangle::tl | ( | ) | const [inline] |
Corners.
FXPoint FX::FXRectangle::tr | ( | ) | const [inline] |
FXPoint FX::FXRectangle::bl | ( | ) | const [inline] |
FXPoint FX::FXRectangle::br | ( | ) | const [inline] |
FXRectangle& FX::FXRectangle::operator= | ( | const FXRectangle & | r | ) | [inline] |
FXRectangle& FX::FXRectangle::set | ( | const FXRectangle & | r | ) | [inline] |
Set value from another rectangle.
FXRectangle& FX::FXRectangle::set | ( | const FXPoint & | p, | |
const FXSize & | s | |||
) | [inline] |
Set from point and size.
FXRectangle& FX::FXRectangle::set | ( | const FXPoint & | topleft, | |
const FXPoint & | bottomright | |||
) | [inline] |
Set from corners.
FXRectangle& FX::FXRectangle::set | ( | FXshort | xx, | |
FXshort | yy, | |||
FXshort | ww, | |||
FXshort | hh | |||
) | [inline] |
Set value from components.
void FX::FXRectangle::bite | ( | FXRectangle | pieces[], | |
const FXRectangle & | b | |||
) | const |
Pieces of this rectangle after taking a bite out of it.
FXRectangle& FX::FXRectangle::operator+= | ( | const FXRectangle & | r | ) |
Union and intersection with rectangle.
FXRectangle& FX::FXRectangle::operator*= | ( | const FXRectangle & | r | ) |
FXRectangle FX::FXRectangle::operator+ | ( | const FXRectangle & | r | ) | const |
Union and intersection between rectangles.
FXRectangle FX::FXRectangle::operator* | ( | const FXRectangle & | r | ) | const |
FXbool overlap | ( | const FXRectangle & | a, | |
const FXRectangle & | b | |||
) | [friend] |
Rectangles overlap.
FXStream& operator<< | ( | FXStream & | store, | |
const FXRectangle & | r | |||
) | [friend] |
Save object to a stream.
FXStream& operator>> | ( | FXStream & | store, | |
FXRectangle & | r | |||
) | [friend] |
Load object from a stream.
Referenced by contains(), operator!=(), operator=(), operator==(), and FX::overlap().
Referenced by contains(), operator!=(), operator=(), operator==(), and FX::overlap().
Referenced by contains(), operator!=(), operator=(), operator==(), and FX::overlap().
Referenced by contains(), operator!=(), operator=(), operator==(), and FX::overlap().
![]() |