Wt: Wt::WPointF Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::WPointF Class Reference
Painting system

A value class that defines a 2D point. More...

`#include <Wt/WPointF>`

List of all members.

## Public Member Functions
| WPointF ()
| Creates point (0, 0).
| WPointF (double x, double y)
| Creates a point (x, y).
| WPointF (const WPointF &other)
| Copy constructor.
| WPointF (const WMouseEvent::Coordinates &other)
| Creates a point from mouse coordinates.
void | setX (double x)
| Sets the X coordinate.
void | setY (double y)
| Sets 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.

## Detailed Description

A value class that defines a 2D point.

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator