wxPdfDocument 1.2.0
|
Class representing axial gradients. (For internal use only) More...
#include <pdfgradient.h>
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 wxPdfColour & | GetColour1 () const |
Get the gradient colour 1. | |
const wxPdfColour & | GetColour2 () 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. | |
Public Member Functions inherited from wxPdfGradient | |
wxPdfGradient (wxPdfGradientType type) | |
Constructor. | |
virtual | ~wxPdfGradient () |
Destructor. | |
void | SetObjIndex (int n) |
Set gradient object index. | |
int | GetObjIndex () |
Get gradient object index. | |
wxPdfGradientType | GetType () const |
Get the gradient type. | |
Additional Inherited Members | |
Protected Attributes inherited from wxPdfGradient | |
wxPdfGradientType | m_type |
Gradient type. | |
Class representing axial gradients. (For internal use only)
wxPdfAxialGradient::wxPdfAxialGradient | ( | const wxPdfColour & | colour1, |
const wxPdfColour & | colour2, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2, | ||
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 |
intexp | interpolation exponent |
|
virtual |
Destructor.
|
inline |
Get the gradient colour 1.
|
inline |
Get the gradient colour 2.
|
inline |
Get the interpolation exponent.
|
inline |
Get x coordinate of start point.
|
inline |
Get x coordinate of end point.
|
inline |
Get y coordinate of start point.
|
inline |
Get y coordinate of end point.