PoDoFo 0.9.20
Public Member Functions | List of all members
PoDoFo::PdfFunctionBaseShadingPattern Class Referencefinal

#include <PdfShadingPattern.h>

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

Public Member Functions

 PdfFunctionBaseShadingPattern (PdfDocument &doc, const PdfColor &llCol, const PdfColor &ulCol, const PdfColor &lrCol, const PdfColor &urCol, const PdfArray &matrix)
 
- Public Member Functions inherited from PoDoFo::PdfShadingPattern
const PdfNameGetIdentifier () const
 

Additional Inherited Members

- Protected Member Functions inherited from PoDoFo::PdfShadingPattern
 PdfShadingPattern (PdfDocument &doc, PdfShadingPatternType shadingType)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ PdfFunctionBaseShadingPattern()

PdfFunctionBaseShadingPattern::PdfFunctionBaseShadingPattern ( PdfDocument doc,
const PdfColor llCol,
const PdfColor ulCol,
const PdfColor lrCol,
const PdfColor urCol,
const PdfArray matrix 
)

Create an 2D shading pattern

Parameters
docthe parent
llColthe color on lower left corner
ulColthe color on upper left corner
lrColthe color on lower right corner
urColthe color on upper right corner
matrixthe transformation matrix mapping the coordinate space specified by the Domain entry into the shading's target coordinate space