private void OnGesture(CocoGestureType gestureType, DiscreteGesture gesture) { if (ShouldIgnoreGesture(gestureType, gesture.Position)) { return; } if (!StartGestureProcess(gestureType)) { return; } ProcessGestureData(gestureType, gesture); EndGestureProcess(gestureType); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DiscreteGesture obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }