PoDoFo  0.9.1
Public Member Functions
PoDoFo::PdfFunctionBaseShadingPattern Class Reference

#include <PdfShadingPattern.h>

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

List of all members.

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)

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