Class representing mid axial gradients. (For internal use only). More...
#include <pdfgradient.h>
Public Member Functions | |
wxPdfMidAxialGradient (const wxPdfColour &colour1, const wxPdfColour &colour2, double x1, double y1, double x2, double y2, double midpoint, double intexp) | |
Constructor. | |
virtual | ~wxPdfMidAxialGradient () |
Destructor. | |
double | GetMidPoint () const |
Get the coordinate of the mid point. |
Class representing mid axial gradients. (For internal use only).
wxPdfMidAxialGradient::wxPdfMidAxialGradient | ( | const wxPdfColour & | colour1, | |
const wxPdfColour & | colour2, | |||
double | x1, | |||
double | y1, | |||
double | x2, | |||
double | y2, | |||
double | midpoint, | |||
double | intexp | |||
) |
Constructor.
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 | |
midpoint | coordinate of mid point | |
intexp | interpolation exponent |
virtual wxPdfMidAxialGradient::~wxPdfMidAxialGradient | ( | ) | [virtual] |
Destructor.
double wxPdfMidAxialGradient::GetMidPoint | ( | ) | const [inline] |
Get the coordinate of the mid point.