|
ADTF Display Toolbox
|
Point class. More...
#include <point.h>
Public Member Functions | |
| cPoint () | |
| The Default Constructor, sets x = 0 and y = 0. | |
| cPoint (const IPoint *pPoint) | |
| constructor from IPoint | |
| cPoint (tInt arg_x, tInt arg_y) | |
| The Constructor, sets the coordinates to the given values. | |
| tVoid | Release () |
| Releases this point. | |
| tVoid | Set (tInt arg_x, tInt arg_y) |
| Sets the coordinates to the given values. | |
| tVoid | Offset (tInt offset_x, tInt offset_y) |
| Recalculate the given values with the internal coordinates. | |
| tInt | GetX () const |
| Returns the x value. | |
| tVoid | SetX (tInt xValue) |
| Sets the x value. | |
| tInt | GetY () const |
| Return the y value. | |
| tVoid | SetY (tInt yValue) |
| Sets the y value. | |
| operator IPoint * () | |
| instance of IPoint | |
Public Member Functions inherited from IPoint | |
| virtual | ~IPoint () |
| virtual destructor to ensure proper cleanup. | |
Public Attributes | |
| tInt | x |
| the X Position of the Point | |
| tInt | y |
| the Y Position of the Point | |
|
inline |
constructor from IPoint
| [in] | pPoint | Point |
Definition at line 51 of file point.h.
References IPoint::GetX(), IPoint::GetY(), x, and y.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlineexplicit |
|
inlinevirtual |
|
inline |
Sets the coordinates to the given values.
| arg_x | [in] Sets the x member. |
| arg_y | [in] Sets the y member. |
Definition at line 85 of file point.h.
Referenced by cRect::cRect(), cRect::cRect(), and cRect::Set().
|
inlinevirtual |
Sets the x value.
| xValue | [in] x value to set |
Implements IPoint.
Definition at line 120 of file point.h.
References x.
Referenced by cRect::SetBottom(), and cRect::SetLeft().
|
inlinevirtual |
Sets the y value.
| yValue | [in] y value to set |
Implements IPoint.
Definition at line 141 of file point.h.
References y.
Referenced by cRect::SetRight(), and cRect::SetTop().
| tInt x |