public class FunctionType4 extends PDFFunction
A PostScript function is represented as a stream containing code written in a small subset of the PostScript language. This reference is taken from the (3200-1:2008:7.10.5)
http://www.adobe.com/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf
TYPE_0, TYPE_2, TYPE_3, TYPE_4
Modifier | Constructor and Description |
---|---|
protected |
FunctionType4()
Creates a new instance of FunctionType4
|
Modifier and Type | Method and Description |
---|---|
protected void |
doFunction(float[] inputs,
int inputOffset,
float[] outputs,
int outputOffset)
Map from m input values to n output values.
|
protected void |
parse(PDFObject obj)
Read the function information from a PDF Object
|
calculate, calculate, getDomain, getFunction, getNumInputs, getNumOutputs, getRange, getType, setDomain, setRange
protected void parse(PDFObject obj) throws java.io.IOException
parse
in class PDFFunction
java.io.IOException
protected void doFunction(float[] inputs, int inputOffset, float[] outputs, int outputOffset)
doFunction
in class PDFFunction
inputs
- an array of m input valuesoutputs
- an array of size n which will be filled
with the output values, or null to return a new arrayinputOffset
- the offset into the inputs array to read fromoutputOffset
- the offset into the output array to write to