PoDoFo 0.9.6
PoDoFo::PdfShadingPattern Class Reference

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfShadingPattern:
PoDoFo::PdfElement PoDoFo::PdfAxialShadingPattern PoDoFo::PdfFunctionBaseShadingPattern PoDoFo::PdfRadialShadingPattern PoDoFo::PdfTriangleShadingPattern

Public Member Functions

const PdfNameGetIdentifier () const
Public Member Functions inherited from PoDoFo::PdfElement
PdfObjectGetObject ()
const PdfObjectGetObject () const

Protected Member Functions

 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfVecObjects *pParent)
 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfDocument *pParent)
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
PdfObjectCreateObject (const char *pszType=NULL)
PdfObjectGetNonConstObject () const

Detailed Description

This class defined a shading pattern which can be used to fill abitrary shapes with a pattern using PdfPainter.

Constructor & Destructor Documentation

◆ PdfShadingPattern() [1/2]

PoDoFo::PdfShadingPattern::PdfShadingPattern ( EPdfShadingPatternType eShadingType,
PdfVecObjects * pParent )
protected

Create a new PdfShadingPattern object which will introduce itself automatically to every page object it is used on.

Parameters
pParentparent vector of objects
eShadingTypethe type of this shading pattern

◆ PdfShadingPattern() [2/2]

PoDoFo::PdfShadingPattern::PdfShadingPattern ( EPdfShadingPatternType eShadingType,
PdfDocument * pParent )
protected

Create a new PdfShadingPattern object which will introduce itself automatically to every page object it is used on.

Parameters
pParentparent document
eShadingTypethe type of this shading pattern

Member Function Documentation

◆ GetIdentifier()

const PdfName & PoDoFo::PdfShadingPattern::GetIdentifier ( ) const
inline

Returns the identifier of this ShadingPattern how it is known in the pages resource dictionary.

Returns
PdfName containing the identifier (e.g. /Sh13)