![]() |
#include <Function.h>
Public Types | |
enum | Type { e_sampled = 0, e_exponential = 2, e_stitching = 3, e_postscript = 4 } |
Public Member Functions | |
Function (SDF::Obj funct_dict=0) | |
Create a PDF::Function object from an existing SDF function dictionary. | |
Function (const Function &f) | |
Function & | operator= (const Function &f) |
~Function () | |
Type | GetType () const |
int | GetInputCardinality () |
int | GetOutputCardinality () |
void | Eval (double *in, double *out) |
Evaluate the function at a given point. | |
SDF::Obj | GetSDFObj () |
Functions are used in various ways in PDF, including device-dependent rasterization information for high-quality printing (halftone spot functions and transfer functions), color transform functions for certain color spaces, and specification of colors as a function of position for smooth shadings. Functions in PDF represent static, self-contained numerical transformations.
PDF::Function represents a single, flat interface around all PDF function types.
pdftron::PDF::Function::Function | ( | SDF::Obj | funct_dict = 0 |
) |
Create a PDF::Function object from an existing SDF function dictionary.
If funct_dict is null, a non valid Function object is created.
pdftron::PDF::Function::Function | ( | const Function & | f | ) |
pdftron::PDF::Function::~Function | ( | ) |
Type pdftron::PDF::Function::GetType | ( | ) | const |
int pdftron::PDF::Function::GetInputCardinality | ( | ) |
int pdftron::PDF::Function::GetOutputCardinality | ( | ) |
void pdftron::PDF::Function::Eval | ( | double * | in, | |
double * | out | |||
) |
Evaluate the function at a given point.
SDF::Obj pdftron::PDF::Function::GetSDFObj | ( | ) |