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

import java.io.*;

public class ASTCircle extends SimpleNode 
{
	public ASTCircle(int id) 
	{
		super(id);
	}

	public ASTCircle(DrawPhase2 p, int id) 
	{
		super(p, id);
	}

    public void generate(FileWriter SVGFile, int X, int Y, String colour, int brush)
    {
        int a = ((ASTInt)jjtGetChild(0)).val;
        int b = ((ASTInt)jjtGetChild(1)).val;
        int c = ((ASTInt)jjtGetChild(2)).val;
        int d = (c - a) + b;
        DrawEllipse(SVGFile, X, Y, colour, brush,a, b, c, d);
    }
}
