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


Detailed Description

Utility class that defines a 2D point.

Constructor & Destructor Documentation

Wt::WPointF::WPointF (  ) 

Default constructor.

Constructs a null point.

See also:
isNull()

Wt::WPointF::WPointF ( double  x,
double  y 
) [inline]

Construct a point.

Constructs a point (x, y).


Member Function Documentation

bool Wt::WPointF::isNull (  )  const

Check for a null point.

See also:
WPointF()


Generated on Mon Mar 9 08:27:51 2009 for Wt by doxygen 1.5.6