IntRectangle
-
struct HPS::IntRectangle
Public Functions
- inline HPS_INLINE int Area () const
- inline HPS_INLINE float Aspect () const
- inline HPS_INLINE Point2D Center () const
- inline HPS_INLINE bool Contains (IntRectangle const &rect) const
- inline HPS_INLINE IntRectangle & Contract (int border)
- inline HPS_INLINE IntRectangle & Contract (IntRectangle const &rect)
- inline HPS_INLINE IntRectangle & Expand (int border)
- inline HPS_INLINE IntRectangle & Expand (IntRectangle const &rect)
- inline HPS_INLINE int Height () const
- inline HPS_INLINE IntRectangle & Intersect (IntRectangle const &rect)
- inline HPS_INLINE bool Intersecting (IntRectangle const &rect) const
-
inline IntRectangle()
-
inline IntRectangle(int in_left, int in_right, int in_bottom, int in_top)
-
inline IntRectangle(IntRectangle const &that)
-
inline bool operator!=(IntRectangle const &rect) const
-
inline bool operator==(IntRectangle const &rect) const
- inline HPS_INLINE int PixelHeight () const
- inline HPS_INLINE int PixelWidth () const
- inline HPS_INLINE IntRectangle & Union (IntRectangle const &rect)
- inline HPS_INLINE int Width () const
Public Static Functions
- static inline HPS_INLINE IntRectangle Invalid ()
- static inline HPS_INLINE IntRectangle Zero ()