|
PoDoFo 0.9.20
|
#include <PdfTilingPattern.h>
Public Member Functions | |
| const PdfName & | GetIdentifier () const |
| PdfTilingPattern (PdfDocument &doc, PdfTilingPatternType tilingType, double strokeR, double strokeG, double strokeB, bool doFill, double fillR, double fillG, double fillB, double offsetX, double offsetY, PdfImage *image) | |
This class defined a tiling pattern which can be used to fill abitrary shapes with a pattern using PdfPainter.
| PdfTilingPattern::PdfTilingPattern | ( | PdfDocument & | doc, |
| PdfTilingPatternType | tilingType, | ||
| double | strokeR, | ||
| double | strokeG, | ||
| double | strokeB, | ||
| bool | doFill, | ||
| double | fillR, | ||
| double | fillG, | ||
| double | fillB, | ||
| double | offsetX, | ||
| double | offsetY, | ||
| PdfImage * | image ) |
Create a new PdfTilingPattern object, which will introduce itself automatically to every page object it is used on.
| tilingType | 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 |
| image | image to use - can be set only if tilingType is PdfTilingPatternType::Image |
| parent | parent document |