PoDoFo 0.9.6
|
#include <PdfShadingPattern.h>
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) | |
![]() | |
const PdfName & | GetIdentifier () const |
![]() | |
PdfObject * | GetObject () |
const PdfObject * | GetObject () const |
Additional Inherited Members | |
![]() | |
PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfVecObjects *pParent) | |
PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfDocument *pParent) | |
![]() | |
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 |
PdfObject * | CreateObject (const char *pszType=NULL) |
PdfObject * | GetNonConstObject () const |
A shading pattern that is an 2D shading between four colors.
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
rLL | the color on lower left corner |
rUL | the color on upper left corner |
rLR | the color on lower right corner |
rUR | the color on upper right corner |
rMatrix | the transformation matrix mapping the coordinate space specified by the Domain entry into the shadings target coordinate space |
pParent | the parent |
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
rLL | the color on lower left corner |
rUL | the color on upper left corner |
rLR | the color on lower right corner |
rUR | the color on upper right corner |
rMatrix | the transformation matrix mapping the coordinate space specified by the Domain entry into the shading's target coordinate space |
pParent | the parent |