Esempio n. 1
0
        public void ConsumeMove(StylusState stylus)
        {
            var eligibleControls = GetControlsAtPoint(stylus.GetDevicePosition());

            foreach (var control in eligibleControls)
            {
                control.OnMove(stylus);
            }
        }
Esempio n. 2
0
        public void ConsumeRelease(StylusState stylus, DigitizerEventKeyCode code)
        {
            var eligibleControls = GetControlsAtPoint(stylus.GetDevicePosition());

            foreach (var control in eligibleControls)
            {
                control.OnRelease(stylus, code);
            }
        }