Exemplo n.º 1
0
 protected virtual void OnTerminated(object sender, Gesture_Event_Args gEventArgs)
 {
     foreach (My_Point point in gEventArgs.GesturePoints)
     {
         Point_List.ReleasePoint(point.ID);
     }
     Terminated(sender, gEventArgs);
 }
Exemplo n.º 2
0
        public My_Point TouchUp(TouchDevice touchDevice, TouchPoint touchPoint)
        {
            if (control.MainWindow.GestureIndicatorLayer.Contain(touchDevice.Id))
            {
                control.MainWindow.GestureIndicatorLayer.Remove(touchDevice.Id);
            }
            My_Point point = Point_List.ReleasePoint(touchDevice.Id);

            if (!isTouched())
            {
                control.MainWindow.GestureIndicatorLayer.Clear();
            }
            return(point);
        }
Exemplo n.º 3
0
 public void ReleasePoint(int pointIndex)
 {
     Point_List.ReleasePoint(pointIndex);
 }