getCPtr() static private method

static private getCPtr ( Ints obj ) : HandleRef
obj Ints
return System.Runtime.InteropServices.HandleRef
Example #1
0
 public static void releaseDocs(Ints docs)
 {
     touchvgPINVOKE.GiCoreView_releaseDocs(Ints.getCPtr(docs));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public static void releaseShapesArray(Ints shapes)
 {
     touchvgPINVOKE.GiCoreView_releaseShapesArray(Ints.getCPtr(shapes));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
        public int skipExpireFrame(Ints head, int index, int curTick)
        {
            int ret = touchvgPINVOKE.GiCoreView_skipExpireFrame(swigCPtr, Ints.getCPtr(head), index, curTick);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        public static bool loadFrameIndex(string path, Ints arr)
        {
            bool ret = touchvgPINVOKE.GiCoreView_loadFrameIndex(path, Ints.getCPtr(arr));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public int acquireFrontDocs(Ints docs)
        {
            int ret = touchvgPINVOKE.GiCoreView_acquireFrontDocs(swigCPtr, Ints.getCPtr(docs));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
        public int dynDraw(Ints shapes, int gs, GiCanvas canvas)
        {
            int ret = touchvgPINVOKE.GiCoreView_dynDraw__SWIG_1(swigCPtr, Ints.getCPtr(shapes), gs, GiCanvas.getCPtr(canvas));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public int acquireDynamicShapesArray(Ints shapes)
        {
            int ret = touchvgPINVOKE.GiCoreView_acquireDynamicShapesArray(swigCPtr, Ints.getCPtr(shapes));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public bool recordShapes(bool forUndo, int tick, int doc, int shapes, Ints exts)
        {
            bool ret = touchvgPINVOKE.GiCoreView_recordShapes__SWIG_1(swigCPtr, forUndo, tick, doc, shapes, Ints.getCPtr(exts));

            return(ret);
        }
Example #9
0
        public int dynDraw(int shapes, int gs, GiCanvas canvas, Ints exts)
        {
            int ret = touchvgPINVOKE.GiCoreView_dynDraw__SWIG_1(swigCPtr, shapes, gs, GiCanvas.getCPtr(canvas), Ints.getCPtr(exts));

            return(ret);
        }
Example #10
0
        public virtual bool showContextActions(Ints actions, Floats buttonXY, float x, float y, float w, float h)
        {
            bool ret = (SwigDerivedClassHasMethod("showContextActions", swigMethodTypes5) ? touchvgPINVOKE.GiView_showContextActionsSwigExplicitGiView(swigCPtr, Ints.getCPtr(actions), Floats.getCPtr(buttonXY), x, y, w, h) : touchvgPINVOKE.GiView_showContextActions(swigCPtr, Ints.getCPtr(actions), Floats.getCPtr(buttonXY), x, y, w, h));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #11
0
        public override int addShapeActions(MgMotion arg0, Ints arg1, int n, MgShape arg3)
        {
            int ret = (SwigDerivedClassHasMethod("addShapeActions", swigMethodTypes4) ? touchvgPINVOKE.CmdObserverDefault_addShapeActionsSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(arg0), Ints.getCPtr(arg1), n, MgShape.getCPtr(arg3)) : touchvgPINVOKE.CmdObserverDefault_addShapeActions(swigCPtr, MgMotion.getCPtr(arg0), Ints.getCPtr(arg1), n, MgShape.getCPtr(arg3)));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #12
0
        public virtual int addShapeActions(MgMotion sender, Ints actions, int n, MgShape sp)
        {
            int ret = touchvgPINVOKE.CmdObserver_addShapeActions(swigCPtr, MgMotion.getCPtr(sender), Ints.getCPtr(actions), n, MgShape.getCPtr(sp));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }