ADi-FontEngine  1.0
PDF Optimized FontEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PostScript::TPSFunction Struct Reference

< class to support PostScript function objects defined in PDF Documents More...

#include <PostScriptPDFFunction.h>

Public Types

typedef FontEngine::TNumberVec TNumberVec
 

Public Member Functions

 TPSFunction ()
 default ctor More...
 
 TPSFunction (const TPSFunction &ppsfunc)
 copy ctor More...
 
TPSFunctionoperator= (const TPSFunction &ppsfunc)
 assignment operator More...
 
 ~TPSFunction ()
 dtor More...
 
const TNumberVeccalculate (std::istream &pscode, const TNumberVec &input)
 calculating function must be valid PostScript code More...
 

Public Attributes

EErrorCodes _errcode
 
TNumberVec _result
 
PSDocument * _psdoc
 

Detailed Description

< class to support PostScript function objects defined in PDF Documents

Member Typedef Documentation

Constructor & Destructor Documentation

PostScript::TPSFunction::TPSFunction ( )
inline

default ctor

PostScript::TPSFunction::TPSFunction ( const TPSFunction ppsfunc)
inline

copy ctor

Parameters
ppsfuncinstance to into this
PostScript::TPSFunction::~TPSFunction ( )

dtor

Member Function Documentation

const TNumberVec& PostScript::TPSFunction::calculate ( std::istream &  pscode,
const TNumberVec input 
)

calculating function must be valid PostScript code

Parameters
pscodethe PostScript code
inputthe input values expect by PostScript code; Beware: The last vector entry will be the top of PostScript operand stack
Returns
the operand stack of the PostScript function call; Beware: The first vector entry was the top of PostScript operand stack
TPSFunction& PostScript::TPSFunction::operator= ( const TPSFunction ppsfunc)
inline

assignment operator

Parameters
ppsfuncinstance to into this

Member Data Documentation

EErrorCodes PostScript::TPSFunction::_errcode
PSDocument* PostScript::TPSFunction::_psdoc
TNumberVec PostScript::TPSFunction::_result

The documentation for this struct was generated from the following file:
InsideFont and ADI-FontEngine : Andreas Dippe, © 2013
http://www.insidefont.de