com.lowagie.text.pdf.codec.postscript

Class PAContext

public class PAContext extends Object

Field Summary
Stackdictionaries
static booleanDebugExecution
PAEngineengine
InputStreamis
static booleanIgnoreUnknownCommands
protected ObjectlastUnknownIdentifier
Stackoperands
PAPencilpencil
PAParserpoorscript
protected RandomrandomNumberGenerator
Constructor Summary
PAContext(Component component)
PAContext(Graphics2D g, Dimension size)
PAContext(PAPencil pencil)
Method Summary
voidcollectArray()
voidcollectDict()
protected HashMapconstructGlobalDict()
protected HashMapconstructSystemDict()
protected HashMapconstructUserDict()
voiddraw(InputStream inputStream)
draw
ObjectfindDictionary(Object identifier)
ObjectfindIdentifier(Object identifier)
ObjectgetLastUnknownIdentifier()
static voidmain(String[] args)
ObjectpeekOperand()
double[]popNumberOperands(int n)
Object[]popOperands(int n)

Field Detail

dictionaries

public Stack dictionaries

DebugExecution

public static boolean DebugExecution

engine

public PAEngine engine

is

InputStream is

IgnoreUnknownCommands

public static boolean IgnoreUnknownCommands

lastUnknownIdentifier

protected Object lastUnknownIdentifier

operands

public Stack operands

pencil

public PAPencil pencil

poorscript

PAParser poorscript

randomNumberGenerator

protected Random randomNumberGenerator

Constructor Detail

PAContext

public PAContext(Component component)

PAContext

public PAContext(Graphics2D g, Dimension size)

PAContext

public PAContext(PAPencil pencil)

Method Detail

collectArray

public void collectArray()

collectDict

public void collectDict()

constructGlobalDict

protected HashMap constructGlobalDict()

constructSystemDict

protected HashMap constructSystemDict()

constructUserDict

protected HashMap constructUserDict()

draw

public void draw(InputStream inputStream)
draw

Parameters: inputStream InputStream

Throws: PainterException

findDictionary

public Object findDictionary(Object identifier)

findIdentifier

public Object findIdentifier(Object identifier)

getLastUnknownIdentifier

public Object getLastUnknownIdentifier()

main

public static void main(String[] args)

peekOperand

public Object peekOperand()

popNumberOperands

public double[] popNumberOperands(int n)

popOperands

public Object[] popOperands(int n)