public Ellipse() { m_Origin = new Point2D(); m_rx = 1.0; m_ry = 1.0; m_scale = 1.0; m_num = 4; m_step = 0; m_cw = false; }
public void init(double OriginX, double OriginY, double RadiusX, double RadiusY, int num_steps, bool cw) { m_Origin = new Point2D(OriginX, OriginY); m_rx = RadiusX; m_ry = RadiusY; m_num = num_steps; m_step = 0; m_cw = cw; if (m_num == 0) calc_num_steps(); }