Class representing radial gradients. (For internal use only)
More...
#include <pdfgradient.h>
|
| | wxPdfRadialGradient (const wxPdfColour &colour1, const wxPdfColour &colour2, double x1, double y1, double r1, double x2, double y2, double r2, double intexp) |
| | Constructor.
|
| |
|
virtual | ~wxPdfRadialGradient () |
| | Destructor.
|
| |
| double | GetR1 () const |
| | Get radius at start point.
|
| |
| double | GetR2 () const |
| | Get radius at end point.
|
| |
| 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.
|
| |
| void | SetObjIndex (int n) |
| | Set gradient object index.
|
| |
| int | GetObjIndex () |
| | Get gradient object index.
|
| |
|
wxPdfGradientType | GetType () const |
| | Get the gradient type.
|
| |
|
|
wxPdfGradientType | m_type |
| | Gradient type.
|
| |
Class representing radial gradients. (For internal use only)
◆ wxPdfRadialGradient()
| wxPdfRadialGradient::wxPdfRadialGradient |
( |
const wxPdfColour & |
colour1, |
|
|
const wxPdfColour & |
colour2, |
|
|
double |
x1, |
|
|
double |
y1, |
|
|
double |
r1, |
|
|
double |
x2, |
|
|
double |
y2, |
|
|
double |
r2, |
|
|
double |
intexp |
|
) |
| |
Constructor.
- Parameters
-
| colour1 | first colour |
| colour2 | second colour |
| x1 | x coordinate of the start point |
| y1 | y coordinate of the start point |
| r1 | radius at start point |
| x2 | x coordinate of the end point |
| y2 | y coordinate of the end point |
| r2 | radius at end point |
| intexp | interpolation exponent |
◆ GetColour1()
| const wxPdfColour & wxPdfAxialGradient::GetColour1 |
( |
| ) |
const |
|
inlineinherited |
Get the gradient colour 1.
- Returns
- The first colour
◆ GetColour2()
| const wxPdfColour & wxPdfAxialGradient::GetColour2 |
( |
| ) |
const |
|
inlineinherited |
Get the gradient colour 2.
- Returns
- The second colour
◆ GetIntExp()
| double wxPdfAxialGradient::GetIntExp |
( |
| ) |
const |
|
inlineinherited |
Get the interpolation exponent.
- Returns
- The interpolation exponent
◆ GetObjIndex()
| int wxPdfGradient::GetObjIndex |
( |
| ) |
|
|
inlineinherited |
Get gradient object index.
- Returns
- The object index
◆ GetR1()
| double wxPdfRadialGradient::GetR1 |
( |
| ) |
const |
|
inline |
Get radius at start point.
- Returns
- The radius at the start point
◆ GetR2()
| double wxPdfRadialGradient::GetR2 |
( |
| ) |
const |
|
inline |
Get radius at end point.
- Returns
- The radius at the end point
◆ GetX1()
| double wxPdfAxialGradient::GetX1 |
( |
| ) |
const |
|
inlineinherited |
Get x coordinate of start point.
- Returns
- The X coordinate of the start point
◆ GetX2()
| double wxPdfAxialGradient::GetX2 |
( |
| ) |
const |
|
inlineinherited |
Get x coordinate of end point.
- Returns
- The X coordinate of the end point
◆ GetY1()
| double wxPdfAxialGradient::GetY1 |
( |
| ) |
const |
|
inlineinherited |
Get y coordinate of start point.
- Returns
- The Y coordinate of the start point
◆ GetY2()
| double wxPdfAxialGradient::GetY2 |
( |
| ) |
const |
|
inlineinherited |
Get y coordinate of end point.
- Returns
- The Y coordinate of the end point
◆ SetObjIndex()
| void wxPdfGradient::SetObjIndex |
( |
int |
n | ) |
|
|
inlineinherited |
Set gradient object index.
- Parameters
-
The documentation for this class was generated from the following files: