net.sf.drawj2d.bgd
Class BgdInterpreter
- java.lang.Object
-
- net.sf.drawj2d.bgd.BgdInterpreter
-
public class BgdInterpreter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description BgdInterpreter(java.awt.Graphics2D g, double mmwidth, double mmheight)Creates a new instance of BgdInterpreter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidinterpret(boolean autoscale)Do actually draw.voidsetVerbose(boolean verbose)booleansourceFile(java.lang.String sourcefile)Let the interpreter source the input file
-
-
-
Constructor Detail
-
BgdInterpreter
public BgdInterpreter(java.awt.Graphics2D g, double mmwidth, double mmheight)Creates a new instance of BgdInterpreter- Parameters:
g- The graphic context. java.awt.Graphics2D
-
-
Method Detail
-
setVerbose
public void setVerbose(boolean verbose)
-
sourceFile
public boolean sourceFile(java.lang.String sourcefile)
Let the interpreter source the input file- Parameters:
sourcefile- source file or "_opt_stdin"- Returns:
- true if no exception has been caught.
-
interpret
public void interpret(boolean autoscale)
Do actually draw.- Parameters:
autoscale-
-
-
DataMelt 3.0 © DataMelt by jWork.ORG