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();
        }
示例#2
0
 public void Refresh(Draw_Data d, int h, int w)
 {
     data   = d;
     Height = h;
     Width  = w;
 }
示例#3
0
 public Converter(int h, int w, Draw_Data d)
 {
     data   = d;
     Height = h;
     Width  = w;
 }