PoDoFo 0.9.6
|
#include <PdfShadingPattern.h>
Public Member Functions | |
PdfTriangleShadingPattern (double dX0, double dY0, const PdfColor &color0, double dX1, double dY1, const PdfColor &color1, double dX2, double dY2, const PdfColor &color2, PdfVecObjects *pParent) | |
PdfTriangleShadingPattern (double dX0, double dY0, const PdfColor &color0, double dX1, double dY1, const PdfColor &color1, double dX2, double dY2, const PdfColor &color2, 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 a simple triangle shading between three colors. It's a single-triangle simplified variation of a FreeForm shadding pattern.
PoDoFo::PdfTriangleShadingPattern::PdfTriangleShadingPattern | ( | double | dX0, |
double | dY0, | ||
const PdfColor & | color0, | ||
double | dX1, | ||
double | dY1, | ||
const PdfColor & | color1, | ||
double | dX2, | ||
double | dY2, | ||
const PdfColor & | color2, | ||
PdfVecObjects * | pParent | ||
) |
Create a triangle shading pattern
dX0 | triangle x coordinate of point 0 |
dY0 | triangle y coordinate of point 0 |
color0 | color of point 0 |
dX1 | triangle x coordinate of point 1 |
dY1 | triangle y coordinate of point 1 |
color1 | color of point 1 |
dX2 | triangle x coordinate of point 2 |
dY2 | triangle y coordinate of point 2 |
color2 | color of point 2 |
pParent | the parent |
PoDoFo::PdfTriangleShadingPattern::PdfTriangleShadingPattern | ( | double | dX0, |
double | dY0, | ||
const PdfColor & | color0, | ||
double | dX1, | ||
double | dY1, | ||
const PdfColor & | color1, | ||
double | dX2, | ||
double | dY2, | ||
const PdfColor & | color2, | ||
PdfDocument * | pParent | ||
) |
Create a triangle shading pattern
dX0 | triangle x coordinate of point 0 |
dY0 | triangle y coordinate of point 0 |
color0 | color of point 0 |
dX1 | triangle x coordinate of point 1 |
dY1 | triangle y coordinate of point 1 |
color1 | color of point 1 |
dX2 | triangle x coordinate of point 2 |
dY2 | triangle y coordinate of point 2 |
color2 | color of point 2 |
pParent | the parent |