PoDoFo 0.9.1
Public Member Functions | Protected Member Functions
PoDoFo::PdfShadingPattern Class Reference

#include <PdfShadingPattern.h>

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

List of all members.

Public Member Functions

const PdfNameGetIdentifier () const

Protected Member Functions

 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfVecObjects *pParent)
 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfDocument *pParent)

Detailed Description

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


Constructor & Destructor Documentation

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
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

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)