|
| TRect () |
|
| TRect (T inLeft, T inTop, T inRight, T inBottom) |
|
void | Set (T inLeft, T inTop, T inRight, T inBottom) |
|
void | SetValid (T inLeft, T inTop, T inRight, T inBottom) |
|
void | Set (const TRect &in) |
|
bool | IsValid () const |
|
T | Width () const |
|
T | Height () const |
|
void | SetDims (T inWidth, T inHeight) |
|
void | SetWidth (T in) |
|
void | SetHeight (T in) |
|
void | SetPos (T x, T y) |
|
void | SetXPos (T inXPos) |
|
void | SetYPos (T inYPos) |
|
void | GetPos (T *x, T *y) |
|
void | GetXPos (T *inXPos) |
|
void | GetYPos (T *inYPos) |
|
void | GetPos (T *x1, T *y1, T *x2, T *y2) |
|
void | ShiftX (T inOffset) |
|
void | ShiftY (T inOffset) |
|
void | Shift (T x, T y) |
|
void | Scale (T x, T y) |
|
void | Expand (T val) |
|
void | Magnify (float ratio) |
|
void | Zoom (T offset) |
|
template<typename S > |
TRect< T > & | operator+= (const S &inVector) |
|
template<typename S > |
bool | operator== (const S &inRect) const |
|
template<typename S > |
bool | operator< (const S &inRect) const |
|
template<typename S > |
void | CalcMiddle (S *outVector) |
|
void | CalcMiddle (T *oX, T *oY) |
|
template<typename S > |
bool | Contains (const S &inVector) const |
|
bool | Contains (const TRect< T > &in) const |
|
bool | Contains (T inX, T inY) const |
|
template<typename S > |
bool | Collides (const S &inRect) const |
|
template<typename S > |
void | Merge (const S &inRect) |
|
template<typename S > |
void | Intersect (const S &inRect) |
|
T | DistanceToPoint (T x, T y) |
|
void | print (std::ostream &os) const |
|