wxPdfDocument 1.2.0
Public Member Functions | List of all members
wxPdfRadialGradient Class Reference

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

#include <pdfgradient.h>

Inheritance diagram for wxPdfRadialGradient:
wxPdfAxialGradient wxPdfGradient

Public Member Functions

 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.
 
- Public Member Functions inherited from wxPdfAxialGradient
 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.
 
- 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.
 

Detailed Description

Class representing radial gradients. (For internal use only)

Constructor & Destructor Documentation

◆ 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
colour1first colour
colour2second colour
x1x ccordinate of the start point
y1y ccordinate of the start point
r1radius at start point
x2x ccordinate of the end point
y2y ccordinate of the end point
r2radius at end point
intexpinterpolation exponent

◆ ~wxPdfRadialGradient()

virtual wxPdfRadialGradient::~wxPdfRadialGradient ( )
virtual

Destructor.

Member Function Documentation

◆ GetR1()

double wxPdfRadialGradient::GetR1 ( ) const
inline

Get radius at start point.

◆ GetR2()

double wxPdfRadialGradient::GetR2 ( ) const
inline

Get radius at end point.


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