/* Generated By:JJTree: Do not edit this line. ASTpicture.java */

public class ASTpicture extends SimpleNode {
  
  protected int j;
  
  public ASTpicture(int id) {
    super(id);
  }

  public ASTpicture(S p, int id) {
    super(p, id);
  }

  public void getSVG()
  {
     j = jjtGetNumChildren();

     int a = jjtGetChild(0).getParam();
     int b = jjtGetChild(1).getParam();

     System.out.println("<svg width=\"" + a + "\" height=\"" + b + "\">");
     for(int i=2;i<j;i++)
     {
       jjtGetChild(i).getSVG();
     }

     System.out.println("</svg>");
  }

  public int getXOff()
  {
    return 0;
  }

  public int getYOff()
  {
    return 0;
  }
  
  public int getScaleX()
  {
    return 1;
  }

  public int getScaleY()
  {
    return 1;
  }

  public int getLineWidth()
  {
    return 1;
  }

  public String getColour()
  {
    return "black";
  }

  public int getStampX()
  {
    return 0;
  }

  public int getStampY()
  {
    return 0;
  }

  public int getStampNumber()
  {
    return 1;
  }
}
