public DrawFormScreen(int x, int y, int a, int b, double startAngle, double endAngle) { _data = new Draw_Data(x, y, a, a, startAngle, endAngle, ClientRectangle.Height, ClientRectangle.Width); InitializeComponent(); conv = new Converter(ClientRectangle.Height, ClientRectangle.Width, _data); p = new Brezenham_Pie_mod(); MyDraw(); }
public void Refresh(Draw_Data d, int h, int w) { data = d; Height = h; Width = w; }
public Converter(int h, int w, Draw_Data d) { data = d; Height = h; Width = w; }