コード例 #1
0
        private ManipulationDelta GetDeltaManipulationHelper()
        {
            ManipulationDelta ret = new ManipulationDelta(NoesisGUI_PINVOKE.ManipulationDeltaEventArgs_GetDeltaManipulationHelper(swigCPtr), false);

            if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
            {
                throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
        private ManipulationDelta GetTotalManipulationHelper()
        {
            ManipulationDelta ret = new ManipulationDelta(NoesisGUI_PINVOKE.ManipulationCompletedEventArgs_GetTotalManipulationHelper(swigCPtr), false);

    #if UNITY_EDITOR || NOESIS_API
            if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
            {
                throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
            }
    #endif
            return(ret);
        }
コード例 #3
0
 internal static HandleRef getCPtr(ManipulationDelta obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #4
0
 public ManipulationDeltaEventArgs(object source, RoutedEvent arg1, Visual container, Point origin, ManipulationDelta delta, ManipulationDelta cumulative, ManipulationVelocities velocities, bool isInertial) : this(NoesisGUI_PINVOKE.new_ManipulationDeltaEventArgs(Noesis.Extend.GetInstanceHandle(source), RoutedEvent.getCPtr(arg1), Visual.getCPtr(container), ref origin, ManipulationDelta.getCPtr(delta), ManipulationDelta.getCPtr(cumulative), ManipulationVelocities.getCPtr(velocities), isInertial), true)
 {
 }
コード例 #5
0
 public ManipulationDeltaEventArgs(object s, RoutedEvent e, Visual manipulationContainer, Point manipulationOrigin, ManipulationDelta deltaManipulation, ManipulationDelta cumulativeManipulation, ManipulationVelocities velocities, bool isInertial) : this(NoesisGUI_PINVOKE.new_ManipulationDeltaEventArgs(Noesis.Extend.GetInstanceHandle(s), RoutedEvent.getCPtr(e), Visual.getCPtr(manipulationContainer), ref manipulationOrigin, ManipulationDelta.getCPtr(deltaManipulation), ManipulationDelta.getCPtr(cumulativeManipulation), ManipulationVelocities.getCPtr(velocities), isInertial), true)
 {
     if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
     {
         throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
 public ManipulationCompletedEventArgs(object s, RoutedEvent e, Visual manipulationContainer, Point manipulationOrigin, ManipulationVelocities finalVelocities, ManipulationDelta totalManipulation, bool isInertial) : this(NoesisGUI_PINVOKE.new_ManipulationCompletedEventArgs(Noesis.Extend.GetInstanceHandle(s), RoutedEvent.getCPtr(e), Visual.getCPtr(manipulationContainer), ref manipulationOrigin, ManipulationVelocities.getCPtr(finalVelocities), ManipulationDelta.getCPtr(totalManipulation), isInertial), true)
 {
 }
コード例 #7
0
     public ManipulationCompletedEventArgs(object s, RoutedEvent e, Visual manipulationContainer, Point manipulationOrigin, ManipulationVelocities finalVelocities, ManipulationDelta totalManipulation, bool isInertial) : this(NoesisGUI_PINVOKE.new_ManipulationCompletedEventArgs(Noesis.Extend.GetInstanceHandle(s), RoutedEvent.getCPtr(e), Visual.getCPtr(manipulationContainer), ref manipulationOrigin, ManipulationVelocities.getCPtr(finalVelocities), ManipulationDelta.getCPtr(totalManipulation), isInertial), true)
     {
 #if UNITY_EDITOR || NOESIS_API
         if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
         {
             throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
         }
 #endif
     }
コード例 #8
0
 public ManipulationDeltaEventArgs(object source, RoutedEvent ev, Visual container, Point origin,
                                   ManipulationDelta delta, ManipulationDelta cumulative, ManipulationVelocities velocities, bool isInertial)
     : this(CreateHelper(source, ev, container, origin, delta, cumulative, velocities, isInertial), true)
 {
 }
コード例 #9
0
        private static IntPtr CreateHelper(object source, RoutedEvent ev, Visual container, Point origin, ManipulationDelta delta, ManipulationDelta cumulative, ManipulationVelocities velocities, bool isInertial)
        {
            IntPtr ret = NoesisGUI_PINVOKE.ManipulationDeltaEventArgs_CreateHelper(Noesis.Extend.GetInstanceHandle(source), RoutedEvent.getCPtr(ev), Visual.getCPtr(container), ref origin, ManipulationDelta.getCPtr(delta), ManipulationDelta.getCPtr(cumulative), ManipulationVelocities.getCPtr(velocities), isInertial);

            return(ret);
        }
コード例 #10
0
 public ManipulationCompletedEventArgs(object source, RoutedEvent ev, Visual container, Point origin,
                                       ManipulationVelocities velocities, ManipulationDelta totalManipulation, bool isInertial)
     : this(CreateHelper(source, ev, container, origin, velocities, totalManipulation, isInertial), true)
 {
 }