getCPtr() static private method

static private getCPtr ( MgShape obj ) : HandleRef
obj MgShape
return HandleRef
Beispiel #1
0
        public virtual bool onShapeCanUngroup(MgMotion sender, MgShape sp)
        {
            bool ret = touchvgPINVOKE.CmdObserver_onShapeCanUngroup(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp));

            return(ret);
        }
Beispiel #2
0
 public virtual void onShapeMoved(MgMotion sender, MgShape sp, int segment)
 {
     touchvgPINVOKE.CmdObserver_onShapeMoved(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), segment);
 }
Beispiel #3
0
 public virtual void drawInSelectCommand(MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs)
 {
     touchvgPINVOKE.CmdObserver_drawInSelectCommand(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs));
 }
Beispiel #4
0
 public virtual void onShapeDeleted(MgMotion sender, MgShape sp)
 {
     touchvgPINVOKE.CmdObserver_onShapeDeleted(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp));
 }
        public virtual bool showInSelect(MgMotion sender, int selState, MgShape shape, Box2d selbox)
        {
            bool ret = touchvgPINVOKE.MgActionDispatcher_showInSelect(swigCPtr, MgMotion.getCPtr(sender), selState, MgShape.getCPtr(shape), Box2d.getCPtr(selbox));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual bool showInDrawing(MgMotion sender, MgShape shape)
        {
            bool ret = touchvgPINVOKE.MgActionDispatcher_showInDrawing(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(shape));

            return(ret);
        }
Beispiel #7
0
        public bool addShapeDirect(MgShape shape)
        {
            bool ret = touchvgPINVOKE.MgShapes_addShapeDirect__SWIG_1(swigCPtr, MgShape.getCPtr(shape));

            return(ret);
        }
Beispiel #8
0
        public virtual bool shapeWillDeleted(MgShape shape)
        {
            bool ret = touchvgPINVOKE.MgView_shapeWillDeleted(swigCPtr, MgShape.getCPtr(shape));

            return(ret);
        }
Beispiel #9
0
        public MgShape addShape(MgMotion sender, MgShape shape)
        {
            IntPtr  cPtr = touchvgPINVOKE.MgCommandDraw_addShape__SWIG_0(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(shape));
            MgShape ret  = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false);

            return(ret);
        }
Beispiel #10
0
        public bool saveShape(MgStorage s, MgShape shape, int index)
        {
            bool ret = touchvgPINVOKE.MgShapes_saveShape(swigCPtr, MgStorage.getCPtr(s), MgShape.getCPtr(shape), index);

            return(ret);
        }
Beispiel #11
0
 public virtual void shapeMoved(MgShape shape, int segment)
 {
     touchvgPINVOKE.MgView_shapeMoved(swigCPtr, MgShape.getCPtr(shape), segment);
 }
Beispiel #12
0
        public virtual bool shapeCanUngroup(MgShape shape)
        {
            bool ret = touchvgPINVOKE.MgView_shapeCanUngroup(swigCPtr, MgShape.getCPtr(shape));

            return(ret);
        }
Beispiel #13
0
        public virtual bool removeShape(MgShape shape)
        {
            bool ret = touchvgPINVOKE.MgView_removeShape(swigCPtr, MgShape.getCPtr(shape));

            return(ret);
        }
Beispiel #14
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);
        }
Beispiel #15
0
        public bool updateShape(MgShape shape)
        {
            bool ret = touchvgPINVOKE.MgShapes_updateShape__SWIG_1(swigCPtr, MgShape.getCPtr(shape));

            return(ret);
        }
Beispiel #16
0
        public bool addShapeToGroup(MgShape shape)
        {
            bool ret = touchvgPINVOKE.MgGroup_addShapeToGroup(swigCPtr, MgShape.getCPtr(shape));

            return(ret);
        }
Beispiel #17
0
 public virtual void shapeAdded(MgShape shape)
 {
     touchvgPINVOKE.MgView_shapeAdded(swigCPtr, MgShape.getCPtr(shape));
 }