A very simple point primitive with x and y values as doubles. More...
#include <primitives.h>
Public Member Functions | |
Point (double xval=0.0, double yval=0.0) | |
Point (const Point &p) | |
void | invalidate () |
virtual | operator bool () |
Public Attributes | |
double | x |
double | y |
A very simple point primitive with x and y values as doubles.
Provides for invalidation and boolean tests of invalidation using the NAN constant.
Papyrus::Point::Point | ( | double | xval = 0.0 , |
|
double | yval = 0.0 | |||
) | [inline] |
Papyrus::Point::Point | ( | const Point & | p | ) | [inline] |
Reimplemented in Papyrus::LinearGradient::Point.
void Papyrus::Point::invalidate | ( | ) | [inline] |
Referenced by Papyrus::LinearGradient::Vector::invalidate().
virtual Papyrus::Point::operator bool | ( | ) | [inline, virtual] |
Reimplemented in Papyrus::RadialGradient::Circle.
double Papyrus::Point::x |
double Papyrus::Point::y |