PoDoFo 0.9.6
PoDoFo::PdfFunction Class Reference

#include <PdfFunction.h>

Inheritance diagram for PoDoFo::PdfFunction:
PoDoFo::PdfElement PoDoFo::PdfExponentialFunction PoDoFo::PdfSampledFunction PoDoFo::PdfStitchingFunction

Protected Member Functions

 PdfFunction (EPdfFunctionType eType, const PdfArray &rDomain, PdfVecObjects *pParent)
 PdfFunction (EPdfFunctionType eType, const PdfArray &rDomain, 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

Additional Inherited Members

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

Detailed Description

This class defines a PdfFunction. A function can be used in various ways in a PDF file. Examples are device dependent rasterization for high quality printing or color transformation functions for certain colorspaces.

Constructor & Destructor Documentation

◆ PdfFunction() [1/2]

PoDoFo::PdfFunction::PdfFunction ( EPdfFunctionType eType,
const PdfArray & rDomain,
PdfVecObjects * pParent )
protected

Create a new PdfFunction object.

Parameters
eTypethe function type
rDomainthis array describes the input parameters of this PdfFunction. If this function has m input parameters, this array has to contain 2*m numbers where each number describes either the lower or upper boundary of the input range.
pParentparent vector of objects

◆ PdfFunction() [2/2]

PoDoFo::PdfFunction::PdfFunction ( EPdfFunctionType eType,
const PdfArray & rDomain,
PdfDocument * pParent )
protected

Create a new PdfFunction object.

Parameters
eTypethe function type
rDomainthis array describes the input parameters of this PdfFunction. If this function has m input parameters, this array has to contain 2*m numbers where each number describes either the lower or upper boundary of the input range.
pParentparent document