Wt::WPointF Class Reference
[Painting system]

Utility class that defines a 2D point. More...

#include <Wt/WPointF>

List of all members.

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.


Detailed Description

Utility class that defines a 2D point.

Constructor & Destructor Documentation

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).


Generated on Tue Nov 3 15:34:33 2009 for Wt by doxygen 1.5.6