#include <rect.h>
Inherited by mup::Rect.
| Public Member Functions | |
| Rect (int x, int y, int w, int h) | |
| Rect () | |
| virtual | ~Rect () | 
| int | LeftEdge () const | 
| int | TopEdge () const | 
| int | Width () const | 
| int | Height () const | 
| void | SetLeftEdge (int v) | 
| void | SetTopEdge (int v) | 
| void | SetWidth (int v) | 
| void | SetHeight (int v) | 
| Rect | operator+ (Rect &r) | 
| Protected Attributes | |
| int | m_x | 
| int | m_y | 
| int | m_w | 
| int | m_h | 
| geo::Rect::Rect | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) | 
Constructor that expects the metrics
| x | X-coordinate | |
| y | Y-coordinate | |
| w | Width | |
| h | Height | 
| geo::Rect::Rect | ( | ) |  [inline] | 
Standart constructor
| virtual geo::Rect::~Rect | ( | ) |  [inline, virtual] | 
Standart destructor
Reimplemented in mup::Rect.
| int geo::Rect::LeftEdge | ( | ) | const | 
Asks for the X-coordinate
| int geo::Rect::TopEdge | ( | ) | const | 
Asks for the Y-coordinate
| int geo::Rect::Width | ( | ) | const | 
Asks for the width
| int geo::Rect::Height | ( | ) | const | 
Asks for the height
| void geo::Rect::SetLeftEdge | ( | int | v | ) | 
Sets the X-coordinate
| v | the value | 
| void geo::Rect::SetTopEdge | ( | int | v | ) | 
Sets the Y-coordinate
| v | the value | 
| void geo::Rect::SetWidth | ( | int | v | ) | 
Sets for the width
| v | the value | 
| void geo::Rect::SetHeight | ( | int | v | ) | 
Sets for the height
| v | the value | 
| int geo::Rect::m_x  [protected] | 
| int geo::Rect::m_y  [protected] | 
| int geo::Rect::m_w  [protected] | 
| int geo::Rect::m_h  [protected] | 
 1.5.1-p1
 1.5.1-p1