PoDoFo::PdfTriangleShadingPattern Class Reference

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfTriangleShadingPattern:

PoDoFo::PdfShadingPattern PoDoFo::PdfElement

List of all members.

Public Member Functions

 PdfTriangleShadingPattern (double dX0, double dY0, const PdfColor &color0, double dX1, double dY1, const PdfColor &color1, double dX2, double dY2, const PdfColor &color2, PdfVecObjects *pParent)
 PdfTriangleShadingPattern (double dX0, double dY0, const PdfColor &color0, double dX1, double dY1, const PdfColor &color1, double dX2, double dY2, const PdfColor &color2, PdfDocument *pParent)


Detailed Description

A shading pattern that is a simple triangle shading between three colors. It's a single-triangle simplified variation of a FreeForm shadding pattern.

Constructor & Destructor Documentation

PoDoFo::PdfTriangleShadingPattern::PdfTriangleShadingPattern ( double  dX0,
double  dY0,
const PdfColor color0,
double  dX1,
double  dY1,
const PdfColor color1,
double  dX2,
double  dY2,
const PdfColor color2,
PdfVecObjects pParent 
)

Create a triangle shading pattern

Parameters:
dX0 triangle x coordinate of point 0
dY0 triangle y coordinate of point 0
color0 color of point 0
dX1 triangle x coordinate of point 1
dY1 triangle y coordinate of point 1
color1 color of point 1
dX2 triangle x coordinate of point 2
dY2 triangle y coordinate of point 2
color2 color of point 2
pParent the parent

PoDoFo::PdfTriangleShadingPattern::PdfTriangleShadingPattern ( double  dX0,
double  dY0,
const PdfColor color0,
double  dX1,
double  dY1,
const PdfColor color1,
double  dX2,
double  dY2,
const PdfColor color2,
PdfDocument pParent 
)

Create a triangle shading pattern

Parameters:
dX0 triangle x coordinate of point 0
dY0 triangle y coordinate of point 0
color0 color of point 0
dX1 triangle x coordinate of point 1
dY1 triangle y coordinate of point 1
color1 color of point 1
dX2 triangle x coordinate of point 2
dY2 triangle y coordinate of point 2
color2 color of point 2
pParent the parent


Generated on Tue Nov 29 09:28:35 2016 for PoDoFo by  doxygen 1.5.6