Maven module :un.storage : model2d-ps :
Class : un.storage.model2d.ps.vm.PSVirtualMachine
Extends/Implements : -
Subclasses : -

A Postscript virtual machine interpret the postscript code.
While this VM undetstand postscript it does not do the related rendering
or queries to the user, For this you must provide the VM a Painter2D and a Prompter.
author  Johann Sorel


Variables : systemDict
Functions : PSVirtualMachine, getPainter, setPainter, getOperandStack, getDictStack, getExecStack, getGraphicStack, getSystemDictionary, getGlobalDictionary, getUserDictionary, getStatusDictionary, getCurrentDictionary, getCurrentGraphicState, resolve, push, pull




Dictionary systemDict


public void PSVirtualMachine ()

public Painter2D getPainter ()

public void setPainter (Painter2D painter)

public un.api.collection.Stack getOperandStack ()

public ArrayStack getDictStack ()

public un.api.collection.Stack getExecStack ()

public un.api.collection.Stack getGraphicStack ()

public Dictionary getSystemDictionary ()

public Dictionary getGlobalDictionary ()

public Dictionary getUserDictionary ()

public Dictionary getStatusDictionary ()

public Dictionary getCurrentDictionary ()

public GraphicState getCurrentGraphicState ()

public Object resolve (PSPointer pointer)

public void push (Object candidate)

public Object pull ()