GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
Public Member Functions | |
NVRect () | |
NVRect (float p_left, float p_top, float p_right, float p_bottom) | |
NVRect & | operator+= (const NVPoint &in) |
NVRect & | operator-= (const NVPoint &in) |
NVRect & | operator*= (float v) |
bool | operator== (const NVRect &r) const |
NVRect | operator+ (const NVPoint &in) const |
void | Print (std::ostream &os) const |
void | Set (const NVRect &in) |
void | Set (float inL, float inT, float inR, float inB) |
void | Merge (const NVRect &in) |
NVRect | Scale (float val) const |
float | Height () const |
float | Width () const |
NVPoint | TopLeft () const |
NVPoint | BottomRight () const |
bool | Contains (const NVPoint &p) const |
bool | Collides (const NVRect &r) const |
Public Attributes | |
float | left |
float | top |
float | right |
float | bottom |
|
inline |
|
inline |
|
inline |
bool NVRect::Collides | ( | const NVRect & | r | ) | const |
bool NVRect::Contains | ( | const NVPoint & | p | ) | const |
|
inline |
void NVRect::Merge | ( | const NVRect & | in | ) |
NVRect& NVRect::operator*= | ( | float | v | ) |
|
inline |
|
inline |
NVRect NVRect::Scale | ( | float | val | ) | const |
|
inline |
void NVRect::Set | ( | float | inL, |
float | inT, | ||
float | inR, | ||
float | inB | ||
) |
|
inline |
|
inline |
float NVRect::bottom |
float NVRect::left |
float NVRect::right |
float NVRect::top |