#include <lineargradient.h>
Public Member Functions | |
Vector (double x1=0.0, double y1=0.0, double x2=0.0, double y2=0.0, Quantity q=ABSOLUTE) | |
Vector (const Papyrus::Point &point0, const Papyrus::Point &point1, Quantity q=ABSOLUTE) | |
Vector (const Point &point0, const Point &point1) | |
Vector (const Vector &v) | |
bool | has_percent () |
void | invalidate () |
operator bool () | |
Point & | operator[] (int i) |
const Point & | operator[] (int i) const |
Public Attributes | |
Point | p0 |
Point | p1 |
Papyrus::LinearGradient::Vector::Vector | ( | double | x1 = 0.0 , |
|
double | y1 = 0.0 , |
|||
double | x2 = 0.0 , |
|||
double | y2 = 0.0 , |
|||
Quantity | q = ABSOLUTE | |||
) | [inline] |
Papyrus::LinearGradient::Vector::Vector | ( | const Papyrus::Point & | point0, | |
const Papyrus::Point & | point1, | |||
Quantity | q = ABSOLUTE | |||
) | [inline] |
Papyrus::LinearGradient::Vector::Vector | ( | const Vector & | v | ) | [inline] |
bool Papyrus::LinearGradient::Vector::has_percent | ( | ) | [inline] |
References Papyrus::LinearGradient::Point::has_percent(), p0, and p1.
Referenced by Papyrus::LinearGradient::render().
void Papyrus::LinearGradient::Vector::invalidate | ( | ) | [inline] |
Reimplemented from Papyrus::LineSegment< Point >.
References Papyrus::Point::invalidate(), p0, and p1.
Papyrus::LinearGradient::Vector::operator bool | ( | ) | [inline] |
Reimplemented from Papyrus::LineSegment< Point >.
const Point& Papyrus::LinearGradient::Vector::operator[] | ( | int | i | ) | const [inline] |
Reimplemented from Papyrus::LineSegment< Point >.
Point& Papyrus::LinearGradient::Vector::operator[] | ( | int | i | ) | [inline] |
Reimplemented from Papyrus::LineSegment< Point >.
Reimplemented from Papyrus::LineSegment< Point >.
Referenced by has_percent(), invalidate(), operator bool(), and operator[]().
Reimplemented from Papyrus::LineSegment< Point >.
Referenced by has_percent(), invalidate(), operator bool(), and operator[]().