#include <Wt/WPoint>
Public Member Functions | |
WPoint () | |
Default constructor. | |
WPoint (int x, int y) | |
Construct a point. | |
void | setX (int x) |
Changes the X coordinate. | |
void | setY (int y) |
Changes the Y coordinate. | |
int | x () const |
Returns the X coordinate. | |
int | y () const |
Returns the Y coordinate. | |
bool | operator== (const WPoint &other) const |
Comparison operator. | |
bool | operator!= (const WPoint &other) const |
Comparison operator. |
Wt::WPoint::WPoint | ( | ) |
Default constructor.
Constructs a point (x=0, y=0).
Wt::WPoint::WPoint | ( | int | x, | |
int | y | |||
) | [inline] |
Construct a point.
Constructs a point (x, y).