Exemple #1
0
 public virtual void EndStroke()
 {
     activeStroke = null;
 }
 private void QueuePaddedDrawArea(Stroke s)
 {
     QueuePaddedDrawArea((int)s.X,(int)s.Y,(int)s.Width,(int)s.Height);
 }
Exemple #3
0
        public virtual void BeginStroke(Pen style)
        {
            activeStroke = new Stroke(style);

            Strokes.RemoveRange(Strokes.Count - undo, undo);
            undo = 0;

            Strokes.Add(activeStroke);
        }