PoDoFo  0.9.1
Public Member Functions | List of all members
PoDoFo::PdfFunctionBaseShadingPattern Class Reference

#include <PdfShadingPattern.h>

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

Public Member Functions

 PdfFunctionBaseShadingPattern (const PdfColor &rLL, const PdfColor &rUL, const PdfColor &rLR, const PdfColor &rUR, const PdfArray &rMatrix, PdfVecObjects *pParent)
 
 PdfFunctionBaseShadingPattern (const PdfColor &rLL, const PdfColor &rUL, const PdfColor &rLR, const PdfColor &rUR, const PdfArray &rMatrix, PdfDocument *pParent)
 
- Public Member Functions inherited from PoDoFo::PdfShadingPattern
const PdfNameGetIdentifier () const
 
- Public Member Functions inherited from PoDoFo::PdfElement
PdfObjectGetObject ()
 
const PdfObjectGetObject () const
 

Additional Inherited Members

- Protected Member Functions inherited from PoDoFo::PdfShadingPattern
 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfVecObjects *pParent)
 
 PdfShadingPattern (EPdfShadingPatternType eShadingType, PdfDocument *pParent)
 

Detailed Description

A shading pattern that is an 2D shading between four colors.

Constructor & Destructor Documentation

PoDoFo::PdfFunctionBaseShadingPattern::PdfFunctionBaseShadingPattern ( const PdfColor rLL,
const PdfColor rUL,
const PdfColor rLR,
const PdfColor rUR,
const PdfArray &  rMatrix,
PdfVecObjects pParent 
)

Create an 2D shading pattern

Parameters
rLLthe color on lower left corner
rULthe color on upper left corner
rLRthe color on lower right corner
rURthe color on upper right corner
rMatrixthe transformation matrix mapping the coordinate space specified by the Domain entry into the shadings target coordinate space
pParentthe parent
PoDoFo::PdfFunctionBaseShadingPattern::PdfFunctionBaseShadingPattern ( const PdfColor rLL,
const PdfColor rUL,
const PdfColor rLR,
const PdfColor rUR,
const PdfArray &  rMatrix,
PdfDocument pParent 
)

Create an 2D shading pattern

Parameters
rLLthe color on lower left corner
rULthe color on upper left corner
rLRthe color on lower right corner
rURthe color on upper right corner
rMatrixthe transformation matrix mapping the coordinate space specified by the Domain entry into the shading's target coordinate space
pParentthe parent