PoDoFo 0.9.6
PoDoFo::PdfRadialShadingPattern Class Reference

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfRadialShadingPattern:
PoDoFo::PdfShadingPattern PoDoFo::PdfElement

Public Member Functions

 PdfRadialShadingPattern (double dX0, double dY0, double dR0, double dX1, double dY1, double dR1, const PdfColor &rStart, const PdfColor &rEnd, PdfVecObjects *pParent)
 PdfRadialShadingPattern (double dX0, double dY0, double dR0, double dX1, double dY1, double dR1, const PdfColor &rStart, const PdfColor &rEnd, PdfDocument *pParent)
Public Member Functions inherited from PoDoFo::PdfShadingPattern
const PdfNameGetIdentifier () const
Public Member Functions inherited from PoDoFo::PdfElement
PdfObjectGetObject ()
const PdfObjectGetObject () const

Additional Inherited Members

Protected Member Functions inherited from PoDoFo::PdfShadingPattern
 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfVecObjects *pParent)
 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfDocument *pParent)
Protected Member Functions inherited from PoDoFo::PdfElement
 PdfElement (const char *pszType, PdfVecObjects *pParent)
 PdfElement (const char *pszType, PdfDocument *pParent)
 PdfElement (const char *pszType, PdfObject *pObject)
 PdfElement (EPdfDataType eExpectedDataType, PdfObject *pObject)
const char * TypeNameForIndex (int i, const char **ppTypes, long lLen) const
int TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const
PdfObjectCreateObject (const char *pszType=NULL)
PdfObjectGetNonConstObject () const

Detailed Description

A shading pattern that is a simple radial shading between two colors.

Constructor & Destructor Documentation

◆ PdfRadialShadingPattern() [1/2]

PoDoFo::PdfRadialShadingPattern::PdfRadialShadingPattern ( double dX0,
double dY0,
double dR0,
double dX1,
double dY1,
double dR1,
const PdfColor & rStart,
const PdfColor & rEnd,
PdfVecObjects * pParent )

Create an radial shading pattern

Parameters
dX0the inner circles x coordinate
dY0the inner circles y coordinate
dR0the inner circles radius
dX1the outer circles x coordinate
dY1the outer circles y coordinate
dR1the outer circles radius
rStartthe starting color
rEndthe ending color
pParentthe parent

◆ PdfRadialShadingPattern() [2/2]

PoDoFo::PdfRadialShadingPattern::PdfRadialShadingPattern ( double dX0,
double dY0,
double dR0,
double dX1,
double dY1,
double dR1,
const PdfColor & rStart,
const PdfColor & rEnd,
PdfDocument * pParent )

Create an radial shading pattern

Parameters
dX0the inner circles x coordinate
dY0the inner circles y coordinate
dR0the inner circles radius
dX1the outer circles x coordinate
dY1the outer circles y coordinate
dR1the outer circles radius
rStartthe starting color
rEndthe ending color
pParentthe parent