Wt  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
Wt::WPointF Class Reference

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

#include <Wt/WPointF>

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.


Generated on Wed Oct 22 2014 for the C++ Web Toolkit (Wt) by doxygen 1.8.1.2