PoDoFo 0.9.6
PoDoFo::PdfFunctionBaseShadingPattern Class Reference

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfFunctionBaseShadingPattern:
PoDoFo::PdfShadingPattern PoDoFo::PdfElement

Public Member Functions

 PdfFunctionBaseShadingPattern (const PdfColor &rLL, const PdfColor &rUL, const PdfColor &rLR, const PdfColor &rUR, const PdfArray &rMatrix, PdfVecObjects *pParent)
 PdfFunctionBaseShadingPattern (const PdfColor &rLL, const PdfColor &rUL, const PdfColor &rLR, const PdfColor &rUR, const PdfArray &rMatrix, 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 an 2D shading between four colors.

Constructor & Destructor Documentation

◆ PdfFunctionBaseShadingPattern() [1/2]

PoDoFo::PdfFunctionBaseShadingPattern::PdfFunctionBaseShadingPattern ( const PdfColor & rLL,
const PdfColor & rUL,
const PdfColor & rLR,
const PdfColor & rUR,
const PdfArray & rMatrix,
PdfVecObjects * pParent )

Create an 2D shading pattern

Parameters
rLLthe color on lower left corner
rULthe color on upper left corner
rLRthe color on lower right corner
rURthe color on upper right corner
rMatrixthe transformation matrix mapping the coordinate space specified by the Domain entry into the shadings target coordinate space
pParentthe parent

◆ PdfFunctionBaseShadingPattern() [2/2]

PoDoFo::PdfFunctionBaseShadingPattern::PdfFunctionBaseShadingPattern ( const PdfColor & rLL,
const PdfColor & rUL,
const PdfColor & rLR,
const PdfColor & rUR,
const PdfArray & rMatrix,
PdfDocument * pParent )

Create an 2D shading pattern

Parameters
rLLthe color on lower left corner
rULthe color on upper left corner
rLRthe color on lower right corner
rURthe color on upper right corner
rMatrixthe transformation matrix mapping the coordinate space specified by the Domain entry into the shading's target coordinate space
pParentthe parent