wxPdfAxialGradient Class Reference

Class representing axial gradients. (For internal use only). More...

#include <pdfgradient.h>

Inheritance diagram for wxPdfAxialGradient:
wxPdfGradient wxPdfMidAxialGradient wxPdfRadialGradient

List of all members.

Public Member Functions

 wxPdfAxialGradient (const wxPdfColour &colour1, const wxPdfColour &colour2, double x1, double y1, double x2, double y2, double intexp)
 Constructor.
virtual ~wxPdfAxialGradient ()
 Destructor.
const wxPdfColourGetColour1 () const
 Get the gradient colour 1.
const wxPdfColourGetColour2 () const
 Get the gradient colour 2.
double GetX1 () const
 Get x coordinate of start point.
double GetY1 () const
 Get y coordinate of start point.
double GetX2 () const
 Get x coordinate of end point.
double GetY2 () const
 Get y coordinate of end point.
double GetIntExp () const
 Get the interpolation exponent.

Detailed Description

Class representing axial gradients. (For internal use only).


Constructor & Destructor Documentation

wxPdfAxialGradient::wxPdfAxialGradient ( const wxPdfColour colour1,
const wxPdfColour colour2,
double  x1,
double  y1,
double  x2,
double  y2,
double  intexp 
)

Constructor.

Parameters:
colour1 first colour
colour2 second colour
x1 x ccordinate of the start point
y1 y ccordinate of the start point
x2 x ccordinate of the end point
y2 y ccordinate of the end point
intexp interpolation exponent
virtual wxPdfAxialGradient::~wxPdfAxialGradient (  )  [virtual]

Destructor.


Member Function Documentation

const wxPdfColour& wxPdfAxialGradient::GetColour1 (  )  const [inline]

Get the gradient colour 1.

const wxPdfColour& wxPdfAxialGradient::GetColour2 (  )  const [inline]

Get the gradient colour 2.

double wxPdfAxialGradient::GetIntExp (  )  const [inline]

Get the interpolation exponent.

double wxPdfAxialGradient::GetX1 (  )  const [inline]

Get x coordinate of start point.

double wxPdfAxialGradient::GetX2 (  )  const [inline]

Get x coordinate of end point.

double wxPdfAxialGradient::GetY1 (  )  const [inline]

Get y coordinate of start point.

double wxPdfAxialGradient::GetY2 (  )  const [inline]

Get y coordinate of end point.


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

Generated on Mon Oct 12 22:02:41 2009 for wxPdfDocument by  doxygen 1.6.1