Point class.
More...
|
tInt | x |
| the X Position of the Point
|
|
tInt | y |
| the Y Position of the Point
|
|
Point class.
Definition at line 29 of file point.h.
◆ cPoint() [1/2]
constructor from IPoint
- Parameters
-
◆ cPoint() [2/2]
cPoint |
( |
tInt |
arg_x, |
|
|
tInt |
arg_y |
|
) |
| |
The Constructor, sets the coordinates to the given values.
- Parameters
-
arg_x | [in] Sets the x member. |
arg_y | [in] Sets the y member. |
◆ GetX()
Returns the x value.
- Returns
- x value
Implements IPoint.
◆ GetY()
Return the y value.
- Returns
- y value
Implements IPoint.
◆ Offset()
tVoid Offset |
( |
tInt |
offset_x, |
|
|
tInt |
offset_y |
|
) |
| |
Recalculate the given values with the internal coordinates.
- Parameters
-
offset_x | [in] Offset for the x member. |
offset_y | [in] Offset for the y member. |
- Returns
- void
◆ operator IPoint *()
◆ Release()
Releases this point.
- Returns
- void
Implements IPoint.
◆ Set()
tVoid Set |
( |
tInt |
arg_x, |
|
|
tInt |
arg_y |
|
) |
| |
Sets the coordinates to the given values.
- Parameters
-
arg_x | [in] Sets the x member. |
arg_y | [in] Sets the y member. |
- Returns
- void
◆ SetX()
tVoid SetX |
( |
tInt |
xValue | ) |
|
|
virtual |
Sets the x value.
- Parameters
-
xValue | [in] x value to set |
- Returns
- void
Implements IPoint.
◆ SetY()
tVoid SetY |
( |
tInt |
yValue | ) |
|
|
virtual |
Sets the y value.
- Parameters
-
yValue | [in] y value to set |
- Returns
- void
Implements IPoint.