private void DirectorOnPinch(global::System.IntPtr pinch) { var pinchGesture = new PinchGesture(pinch, false); OnPinch?.Invoke(pinchGesture); pinchGesture.Dispose(); }
public void Emit(View arg1, PinchGesture arg2) { NDalicPINVOKE.PinchGestureDetectedSignal_Emit(swigCPtr, View.getCPtr(arg1), PinchGesture.getCPtr(arg2)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal static PinchGesture GetPinchGestureFromPtr(global::System.IntPtr cPtr) { PinchGesture ret = new PinchGesture(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static PinchGesture GetPinchGestureFromPtr(global::System.IntPtr cPtr) { PinchGesture ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as PinchGesture; if (ret == null) { ret = new PinchGesture(cPtr, false); } if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PinchGesture obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }