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