papyrus logo

Papyrus::LinearGradient::Vector Struct Reference

#include <lineargradient.h>

Inheritance diagram for Papyrus::LinearGradient::Vector:
Inheritance graph
[legend]

List of all members.

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 ()
Pointoperator[] (int i)
const Pointoperator[] (int i) const

Public Attributes

Point p0
Point p1

Constructor & Destructor Documentation

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 Point point0,
const Point point1 
) [inline]
Papyrus::LinearGradient::Vector::Vector ( const Vector v  )  [inline]

Member Function Documentation

bool Papyrus::LinearGradient::Vector::has_percent (  )  [inline]
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 >.

References p0, and p1.

const Point& Papyrus::LinearGradient::Vector::operator[] ( int  i  )  const [inline]

Reimplemented from Papyrus::LineSegment< Point >.

References p0, and p1.

Point& Papyrus::LinearGradient::Vector::operator[] ( int  i  )  [inline]

Reimplemented from Papyrus::LineSegment< Point >.

References p0, and p1.


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Fri Apr 16 12:41:07 2010 for papyrus by doxygen 1.6.1