Public Member Functions

HPS_INLINE int Area () const
 
HPS_INLINE float Aspect () const
 
HPS_INLINE Point2D Center () const
 
HPS_INLINE bool Contains (IntRectangle const &rect) const
 
HPS_INLINE IntRectangleContract (int border)
 
HPS_INLINE IntRectangleContract (IntRectangle const &rect)
 
HPS_INLINE IntRectangleExpand (int border)
 
HPS_INLINE IntRectangleExpand (IntRectangle const &rect)
 
HPS_INLINE int Height () const
 
HPS_INLINE IntRectangleIntersect (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 IntRectangleUnion (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: