intarsys PDF library API

de.intarsys.pdf.pd
Class PDPostScriptFunction

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.pd.PDObject
          extended by de.intarsys.pdf.pd.PDFunction
              extended by de.intarsys.pdf.pd.PDPostScriptFunction
All Implemented Interfaces:
ICOSObjectListener, IAttributeSupport

public class PDPostScriptFunction
extends PDFunction

A function implementation based on a "mini" postscript interpreter.


Nested Class Summary
static class PDPostScriptFunction.MetaClass
          The meta class implementation
 
Field Summary
static PDPostScriptFunction.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.pd.PDFunction
DK_Domain, DK_FunctionType, DK_Range
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Method Summary
 COSDictionary cosGetDict()
          Get the base object as a COSDictionary.
 float[] evaluate(float[] values)
           
 String getCode()
           
 int getOutputSize()
           
 
Methods inherited from class de.intarsys.pdf.pd.PDFunction
cosGetDomain, getDomainMax, getDomainMin, getInputSize, getRange, getRangeMax, getRangeMin
 
Methods inherited from class de.intarsys.pdf.pd.PDObject
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString
 
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject
changed, cosGetArray, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final PDPostScriptFunction.MetaClass META
The meta class instance

Method Detail

cosGetDict

public COSDictionary cosGetDict()
Description copied from class: COSBasedObject
Get the base object as a COSDictionary.

This will throw a ClassCastException if the base type is not appropriate!

Overrides:
cosGetDict in class COSBasedObject
Returns:
Get the base object as a COSDictionary.

evaluate

public float[] evaluate(float[] values)
Specified by:
evaluate in class PDFunction

getCode

public String getCode()

getOutputSize

public int getOutputSize()
Specified by:
getOutputSize in class PDFunction

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.