Beispiel #1
0
 private void KeyDown()
 {
     if (Keyboard.IsKeyDown(Key.Delete))
     {
         SplinesController.DeleteActivePoint();
     }
 }
Beispiel #2
0
 private void MouseMove(Point point)
 {
     if (Mouse.LeftButton == MouseButtonState.Pressed)
     {
         SplinesController.MoveActivePoint(point);
     }
 }
Beispiel #3
0
 private void MouseDoubleClick(Point point)
 {
     SplinesController.SetLineClosed(point);
 }
Beispiel #4
0
 private void MouseDown(Point point)
 {
     SplinesController.AddOrSelectPoint(point);
 }