Mako 7.3.0 API
IDOMPostScriptCalculatorFunction Class Referenceabstract

Interface for PostScript calculator functions. See section 3.9.4 of the PDF 1.7 Reference. Default values are as per described in that reference. More...

#include <idomfunction.h>

Inheritance diagram for IDOMPostScriptCalculatorFunction:

Classes

class  Data
 Initialization data. More...
 

Public Member Functions

virtual IInputStreamPtr getCalculatorAsPostScriptStream () const =0
 Get the PostScript Calculator function as a PostScript Procedure. More...
 
virtual JawsMako::IPDFArrayPtr getCalculator () const =0
 Get the PostScript Calculator function as an executable PS procedure. More...
 
- Public Member Functions inherited from IDOMFunction
virtual eFunctionType getFunctionType () const =0
 Retrieves function type. More...
 
virtual uint32 getNumInputValues () const =0
 Get the number of input values that this function will operate on. More...
 
virtual uint32 getNumOutputValues () const =0
 Get the number of output values that this function will produce. More...
 
virtual void getInputDomain (uint32 inputNum, float &low, float &high) const =0
 Get the input domain for a given input to the function. More...
 
virtual bool getOutputRange (uint32 outputNum, float &low, float &high) const =0
 Get the output range for a given input to the function. More...
 
virtual void evaluate (const float *inputValues, float *outputValues) const =0
 Evaluate the input through the function and return the result. More...
 
virtual void evaluate (const int32 *inputValues, float *outputValues) const =0
 Evaluate the input through the function and return the result. More...
 
- Public Member Functions inherited from IEDLObject
virtual const CClassIDgetClassID () const =0
 Returns class ID of IEDLObject. More...
 
virtual bool init (CClassParams *pData)
 The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory. More...
 
virtual bool clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory)
 Create a copy of EDLObject. More...
 
- Public Member Functions inherited from IRCObject
virtual void addRef () const =0
 Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
 
virtual bool decRef () const =0
 Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. More...
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to. More...
 
- Public Member Functions inherited from IDOMHashable
virtual ~IDOMHashable ()
 Virtual destructor.
 
virtual bool hash (uint64 &hash)=0
 Retrieve a hash for this object. More...
 
virtual uint64 hashE ()
 As hash(), but throws an exception if the operation fails. More...
 

Static Public Member Functions

static const CClassIDclassID ()
 Retrieves class id of IDOM. More...
 

Additional Inherited Members

- Public Types inherited from IDOMFunction
enum  eFunctionType
 An enum for the various types of functions.
 
- Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.
 

Detailed Description

Interface for PostScript calculator functions. See section 3.9.4 of the PDF 1.7 Reference. Default values are as per described in that reference.

Member Function Documentation

◆ classID()

static const CClassID& IDOMPostScriptCalculatorFunction::classID ( )
inlinestatic

Retrieves class id of IDOM.

Returns
CClassID Class id of the element

◆ getCalculator()

virtual JawsMako::IPDFArrayPtr IDOMPostScriptCalculatorFunction::getCalculator ( ) const
pure virtual

Get the PostScript Calculator function as an executable PS procedure.

Returns
JawsMako::IPDFArrayPtr Returns the calculator procedure

◆ getCalculatorAsPostScriptStream()

virtual IInputStreamPtr IDOMPostScriptCalculatorFunction::getCalculatorAsPostScriptStream ( ) const
pure virtual

Get the PostScript Calculator function as a PostScript Procedure.

Returns
IInputStreamPtr The stream

The documentation for this class was generated from the following file: