PoDoFo  0.9.1
Public Member Functions
PoDoFo::PdfAxialShadingPattern Class Reference

#include <PdfShadingPattern.h>

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

List of all members.

Public Member Functions

 PdfAxialShadingPattern (double dX0, double dY0, double dX1, double dY1, const PdfColor &rStart, const PdfColor &rEnd, PdfVecObjects *pParent)
 PdfAxialShadingPattern (double dX0, double dY0, double dX1, double dY1, const PdfColor &rStart, const PdfColor &rEnd, PdfDocument *pParent)

Detailed Description

A shading pattern that is a simple axial shading between two colors.


Constructor & Destructor Documentation

PoDoFo::PdfAxialShadingPattern::PdfAxialShadingPattern ( double  dX0,
double  dY0,
double  dX1,
double  dY1,
const PdfColor rStart,
const PdfColor rEnd,
PdfVecObjects pParent 
)

Create an axial shading pattern

Parameters:
dX0the starting x coordinate
dY0the starting y coordinate
dX1the ending x coordinate
dY1the ending y coordinate
rStartthe starting color
rEndthe ending color
pParentthe parent
PoDoFo::PdfAxialShadingPattern::PdfAxialShadingPattern ( double  dX0,
double  dY0,
double  dX1,
double  dY1,
const PdfColor rStart,
const PdfColor rEnd,
PdfDocument pParent 
)

Create an axial shading pattern

Parameters:
dX0the starting x coordinate
dY0the starting y coordinate
dX1the ending x coordinate
dY1the ending y coordinate
rStartthe starting color
rEndthe ending color
pParentthe parent