Public Member Functions | |
| IntRectangle (int in_left, int in_right, int in_bottom, int in_top) | |
| IntRectangle (IntRectangle const &that) | |
| IntRectangle (Rectangle const &that) | |
| bool | operator== (IntRectangle const &rect) const |
| bool | operator!= (IntRectangle const &rect) const |
| HPS_INLINE int | PixelWidth () const |
| HPS_INLINE int | PixelHeight () const |
| HPS_INLINE int | Width () const |
| HPS_INLINE int | Height () const |
| HPS_INLINE int | Area () const |
| HPS_INLINE Point2D | Center () const |
| HPS_INLINE bool | Intersecting (IntRectangle const &rect) const |
| HPS_INLINE bool | Contains (IntRectangle const &rect) const |
| HPS_INLINE IntRectangle & | Expand (int border) |
| HPS_INLINE IntRectangle & | Expand (IntRectangle const &rect) |
| HPS_INLINE IntRectangle & | Contract (int border) |
| HPS_INLINE IntRectangle & | Contract (IntRectangle const &rect) |
| HPS_INLINE IntRectangle & | Intersect (IntRectangle const &rect) |
| HPS_INLINE IntRectangle & | Union (IntRectangle const &rect) |
Static Public Member Functions | |
| static HPS_INLINE IntRectangle | Invalid () |
| static HPS_INLINE IntRectangle | Zero () |
Public Attributes | |
| int | left |
| int | right |
| int | bottom |
| int | top |