HPS::IntRectangle Struct Reference
Public Member Functions | |
HPS_INLINE int | Area () const |
HPS_INLINE Point2D | Center () const |
HPS_INLINE bool | Contains (IntRectangle const &rect) const |
HPS_INLINE IntRectangle & | Contract (int border) |
HPS_INLINE IntRectangle & | Contract (IntRectangle const &rect) |
HPS_INLINE IntRectangle & | Expand (int border) |
HPS_INLINE IntRectangle & | Expand (IntRectangle const &rect) |
HPS_INLINE int | Height () const |
HPS_INLINE IntRectangle & | Intersect (IntRectangle const &rect) |
HPS_INLINE bool | Intersecting (IntRectangle const &rect) const |
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 | PixelHeight () const |
HPS_INLINE int | PixelWidth () const |
HPS_INLINE IntRectangle & | Union (IntRectangle const &rect) |
HPS_INLINE int | Width () const |
Static Public Member Functions | |
static HPS_INLINE IntRectangle | Invalid () |
static HPS_INLINE IntRectangle | Zero () |
Public Attributes | |
int | bottom |
int | left |
int | right |
int | top |
The documentation for this struct was generated from the following file:
- include/hps.h