Ejemplo n.º 1
0
 public void AddInputPoint(BrushInputPoint inputPoint)
 {
     using (this.rwLock.UseWriteLock())
     {
         this.AddInputPointWhileLocked(inputPoint);
     }
 }
Ejemplo n.º 2
0
 private void AddInputPointWhileLocked(BrushInputPoint inputPoint)
 {
     this.inputPoints.Add(inputPoint);
     this.strokePath.TryAddPoint(inputPoint.Location);
 }