#include <Wt/WPointF>
Public Member Functions | |
WPointF () | |
Default constructor. | |
WPointF (double x, double y) | |
Construct a point. | |
WPointF (const WPointF &other) | |
Copy constructor. | |
bool | isNull () const |
Check for a null point. | |
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 | ( | ) |
Wt::WPointF::WPointF | ( | double | x, | |
double | y | |||
) | [inline] |
Construct a point.
Constructs a point (x, y).
bool Wt::WPointF::isNull | ( | ) | const |