#include <PdfTilingPattern.h>
Public Member Functions | |
const PdfName & | GetIdentifier () const |
PdfTilingPattern (EPdfTilingPatternType eTilingType, double strokeR, double strokeG, double strokeB, bool doFill, double fillR, double fillG, double fillB, double offsetX, double offsetY, PdfImage *pImage, PdfVecObjects *pParent) | |
PdfTilingPattern (EPdfTilingPatternType eTilingType, double strokeR, double strokeG, double strokeB, bool doFill, double fillR, double fillG, double fillB, double offsetX, double offsetY, PdfImage *pImage, PdfDocument *pParent) |
PoDoFo::PdfTilingPattern::PdfTilingPattern | ( | EPdfTilingPatternType | eTilingType, | |
double | strokeR, | |||
double | strokeG, | |||
double | strokeB, | |||
bool | doFill, | |||
double | fillR, | |||
double | fillG, | |||
double | fillB, | |||
double | offsetX, | |||
double | offsetY, | |||
PdfImage * | pImage, | |||
PdfVecObjects * | pParent | |||
) |
Create a new PdfTilingPattern object, which will introduce itself automatically to every page object it is used on.
eTilingType | the type of this tiling pattern | |
strokeR | strok color red component | |
strokeG | strok color green component | |
strokeB | strok color blue component | |
doFill | whether tile fills content first, with fill color | |
fillR | fill color red component | |
fillG | fill color green component | |
fillB | fill color blue component | |
offsetX | tile offset on X axis | |
offsetY | tile offset on Y axis | |
pImage | image to use - can be set only if eTilingType is ePdfTilingPatternType_Image | |
pParent | parent vector of objects |
fill color is ignored if doFill is false
pImage is ignored for all but ePdfTilingPatternType_Image eTilingType types, where it cannot be NULL
PoDoFo::PdfTilingPattern::PdfTilingPattern | ( | EPdfTilingPatternType | eTilingType, | |
double | strokeR, | |||
double | strokeG, | |||
double | strokeB, | |||
bool | doFill, | |||
double | fillR, | |||
double | fillG, | |||
double | fillB, | |||
double | offsetX, | |||
double | offsetY, | |||
PdfImage * | pImage, | |||
PdfDocument * | pParent | |||
) |
Create a new PdfTilingPattern object, which will introduce itself automatically to every page object it is used on.
eTilingType | the type of this tiling pattern | |
strokeR | strok color red component | |
strokeG | strok color green component | |
strokeB | strok color blue component | |
doFill | whether tile fills content first, with fill color | |
fillR | fill color red component | |
fillG | fill color green component | |
fillB | fill color blue component | |
offsetX | tile offset on X axis | |
offsetY | tile offset on Y axis | |
pImage | image to use - can be set only if eTilingType is ePdfTilingPatternType_Image | |
pParent | parent document |
fill color is ignored if doFill is false
pImage is ignored for all but ePdfTilingPatternType_Image eTilingType types, where it cannot be NULL
const PdfName & PoDoFo::PdfTilingPattern::GetIdentifier | ( | ) | const [inline] |
Returns the identifier of this TilingPattern how it is known in the pages resource dictionary.