|
PoDoFo
0.9.6
|
#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) | |
Public Member Functions inherited from PoDoFo::PdfElement | |
| PdfObject * | GetObject () |
| const PdfObject * | GetObject () const |
Additional Inherited Members | |
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 |
| PdfObject * | CreateObject (const char *pszType=NULL) |
| PdfObject * | GetNonConstObject () const |
This class defined a tiling pattern which can be used to fill abitrary shapes with a pattern using PdfPainter.
| 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 |
| 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 |