PoDoFo  0.9.4
Public Member Functions | List of all members
PoDoFo::PdfAxialShadingPattern Class Reference

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfAxialShadingPattern:
PoDoFo::PdfShadingPattern PoDoFo::PdfElement

Public Member Functions

 PdfAxialShadingPattern (double dX0, double dY0, double dX1, double dY1, const PdfColor &rStart, const PdfColor &rEnd, PdfVecObjects *pParent)
 
 PdfAxialShadingPattern (double dX0, double dY0, double dX1, double dY1, 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 axial shading between two colors.

Constructor & Destructor Documentation

PoDoFo::PdfAxialShadingPattern::PdfAxialShadingPattern ( double  dX0,
double  dY0,
double  dX1,
double  dY1,
const PdfColor rStart,
const PdfColor rEnd,
PdfVecObjects pParent 
)

Create an axial shading pattern

Parameters
dX0the starting x coordinate
dY0the starting y coordinate
dX1the ending x coordinate
dY1the ending y coordinate
rStartthe starting color
rEndthe ending color
pParentthe parent
PoDoFo::PdfAxialShadingPattern::PdfAxialShadingPattern ( double  dX0,
double  dY0,
double  dX1,
double  dY1,
const PdfColor rStart,
const PdfColor rEnd,
PdfDocument pParent 
)

Create an axial shading pattern

Parameters
dX0the starting x coordinate
dY0the starting y coordinate
dX1the ending x coordinate
dY1the ending y coordinate
rStartthe starting color
rEndthe ending color
pParentthe parent