|
Wt
3.3.0
|
A value class that defines a 2D point with integer coordinates. More...
#include <Wt/WPoint>
Public Member Functions | |
| WPoint () | |
| Creates a point (0, 0). | |
| WPoint (int x, int y) | |
| Creates a point (x, y). | |
| void | setX (int x) |
| Sets the X coordinate. | |
| void | setY (int y) |
| Sets 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. | |
A value class that defines a 2D point with integer coordinates.
1.7.5.1