Exemplo n.º 1
0
 public void CLEAR()
 {
     CanvasBoard.Invalidate();
     hasDrawn = false;
     points.CLEAR();
     vectors.Clear();
     GlobalDrawingIndex = 0;
 }
Exemplo n.º 2
0
 private void DeleteBtn_Click(object sender, EventArgs e)
 {
     //add the vector to a list and then delete the vector
     CanvasBoard.Invalidate();
     hasDrawn = false;
     points.CLEAR();
     vectors.Clear();
     GlobalDrawingIndex = 0;
 }
Exemplo n.º 3
0
 public Form1()
 {
     InitializeComponent();
     GlobalDrawingIndex = 0;
     points             = new fPointField(280);
     g = CanvasBoard.CreateGraphics();
     g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
     pen             = new Pen(Color.Black, 5);
     pen.StartCap    = pen.EndCap = System.Drawing.Drawing2D.LineCap.Round;
 }