![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Rectangle. More...
#include <FXRectangle.h>
Public Member Functions | |
| FXRectangle () | |
| Constructors. | |
| FXRectangle (FXshort xx, FXshort yy, FXshort ww, FXshort hh) | |
| FXRectangle (const FXRectangle &src) | |
| FXRectangle (const FXPoint &p, const FXSize &s) | |
| FXRectangle (const FXPoint &topleft, const FXPoint &bottomright) | |
| FXbool | empty () const |
| Test if empty. | |
| FXbool | operator! () const |
| Test if zero. | |
| FXbool | operator== (const FXRectangle &r) const |
| Equality. | |
| FXbool | operator!= (const FXRectangle &r) const |
| FXbool | contains (const FXPoint &p) const |
| Point in rectangle. | |
| FXbool | contains (FXshort xx, FXshort yy) const |
| FXbool | contains (const FXRectangle &r) const |
| Rectangle properly contained in rectangle. | |
| FXRectangle & | move (const FXPoint &p) |
| Return moved rectangle. | |
| FXRectangle & | move (FXshort dx, FXshort dy) |
| FXRectangle & | grow (FXshort margin) |
| Grow by amount. | |
| FXRectangle & | grow (FXshort hormargin, FXshort vermargin) |
| FXRectangle & | grow (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
| FXRectangle & | shrink (FXshort margin) |
| Shrink by amount. | |
| FXRectangle & | shrink (FXshort hormargin, FXshort vermargin) |
| FXRectangle & | shrink (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin) |
| FXPoint | tl () const |
| Corners. | |
| FXPoint | tr () const |
| FXPoint | bl () const |
| FXPoint | br () const |
| FXRectangle & | operator= (const FXRectangle &r) |
| Assignment. | |
| FXRectangle & | set (const FXRectangle &r) |
| Set value from another rectangle. | |
| FXRectangle & | set (const FXPoint &p, const FXSize &s) |
| Set from point and size. | |
| FXRectangle & | set (const FXPoint &topleft, const FXPoint &bottomright) |
| Set from corners. | |
| FXRectangle & | set (FXshort xx, FXshort yy, FXshort ww, FXshort hh) |
| Set value from components. | |
| void | bite (FXRectangle pieces[], const FXRectangle &b) const |
| Pieces of this rectangle after taking a bite out of it. | |
| FXRectangle & | operator+= (const FXRectangle &r) |
| Union and intersection with rectangle. | |
| FXRectangle & | operator*= (const FXRectangle &r) |
| FXRectangle | operator+ (const FXRectangle &r) const |
| Union and intersection between rectangles. | |
| FXRectangle | operator* (const FXRectangle &r) const |
Public Attributes | |
| FXshort | x |
| FXshort | y |
| FXshort | w |
| FXshort | h |
Rectangle.
|
|