示例#1
0
 public vectorGesture(vectorGesture other) : this(libtischPINVOKE.new_vectorGesture__SWIG_1(vectorGesture.getCPtr(other)), true)
 {
     if (libtischPINVOKE.SWIGPendingException.Pending)
     {
         throw libtischPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public vectorGestureEnumerator(vectorGesture collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, vectorGesture values)
 {
     libtischPINVOKE.vectorGesture_SetRange(swigCPtr, index, vectorGesture.getCPtr(values));
     if (libtischPINVOKE.SWIGPendingException.Pending)
     {
         throw libtischPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
    public static vectorGesture Repeat(Gesture value, int count)
    {
        IntPtr        cPtr = libtischPINVOKE.vectorGesture_Repeat(Gesture.getCPtr(value), count);
        vectorGesture ret  = (cPtr == IntPtr.Zero) ? null : new vectorGesture(cPtr, true);

        if (libtischPINVOKE.SWIGPendingException.Pending)
        {
            throw libtischPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#5
0
    public vectorGesture GetRange(int index, int count)
    {
        IntPtr        cPtr = libtischPINVOKE.vectorGesture_GetRange(swigCPtr, index, count);
        vectorGesture ret  = (cPtr == IntPtr.Zero) ? null : new vectorGesture(cPtr, true);

        if (libtischPINVOKE.SWIGPendingException.Pending)
        {
            throw libtischPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#6
0
 internal static HandleRef getCPtr(vectorGesture obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }