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

public class ASTPicture extends SimpleNode 
{
	/*************************************************
	
					Constructors
					
	*************************************************/
	
	public ASTPicture(int id) 
	{
    	super(id);
  	}

  	public ASTPicture(drawphase2 p, int id) 
  	{
    	super(p, id);
    }
    
    /*************************************************
	
	Creates the SVG tag and returns it in a string for
	printing to the console and writing to the SVG file
		
	*************************************************/
    
    public String generateSVG()
    {
    	String temp;
    	
    	temp = ("<svg width=\"" + ((ASTInt) jjtGetChild(0)).val +
    		"\" height=\"" + ((ASTInt) jjtGetChild(1)).val + "\" >");
    	
    	return temp;
    }
    
    /*************************************************

	Methods required by Node interface

	*************************************************/
    
    public void generate()
    {
    }
    
    public String getColour()
  	{
  		return null;
  	}
  	
  	public int getBrush()
  	{
  		return 0;
  	}
  	
  	public String getParentType()
  	{
  		return null;
  	}
  	
  	public int getOffsetX()
  	{
  		return 0;
  	}
  
  	public int getOffsetY()
	{
  		return 0;
  	}
}
