getCPtr() static private method

static private getCPtr ( GiGraphics obj ) : HandleRef
obj GiGraphics
return HandleRef
コード例 #1
0
ファイル: GiGraphics.cs プロジェクト: shuangyou/TouchVG
 public void copy(GiGraphics src)
 {
     touchvgPINVOKE.GiGraphics_copy(swigCPtr, GiGraphics.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: MgGrid.cs プロジェクト: shuangyou/TouchVG
        public override bool draw(int mode, GiGraphics gs, GiContext ctx, int segment)
        {
            bool ret = touchvgPINVOKE.MgGrid_draw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
        public int dyndraw(int mode, GiGraphics gs, GiContext ctx, int segment)
        {
            int ret = touchvgPINVOKE.MgShapes_dyndraw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
        public int draw(GiGraphics gs)
        {
            int ret = touchvgPINVOKE.MgShapes_draw__SWIG_1(swigCPtr, GiGraphics.getCPtr(gs));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public virtual bool drawSnap(MgMotion sender, GiGraphics gs)
        {
            bool ret = touchvgPINVOKE.MgSnap_drawSnap(swigCPtr, MgMotion.getCPtr(sender), GiGraphics.getCPtr(gs));

            return(ret);
        }
コード例 #6
0
 public GiSaveClipBox(GiGraphics gs, Box2d rectWorld) : this(touchvgPINVOKE.new_GiSaveClipBox(GiGraphics.getCPtr(gs), Box2d.getCPtr(rectWorld)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #7
0
ファイル: GiGraphics.cs プロジェクト: shuangyou/TouchVG
 public GiGraphics(GiGraphics src) : this(touchvgPINVOKE.new_GiGraphics__SWIG_3(GiGraphics.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
 public override void drawInShapeCommand(MgMotion sender, MgCommand cmd, GiGraphics gs)
 {
     if (SwigDerivedClassHasMethod("drawInShapeCommand", swigMethodTypes7))
     {
         touchvgPINVOKE.CmdObserverDefault_drawInShapeCommandSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgCommand.getCPtr(cmd), GiGraphics.getCPtr(gs));
     }
     else
     {
         touchvgPINVOKE.CmdObserverDefault_drawInShapeCommand(swigCPtr, MgMotion.getCPtr(sender), MgCommand.getCPtr(cmd), GiGraphics.getCPtr(gs));
     }
 }
コード例 #9
0
 public override void drawInSelectCommand(MgMotion sender, MgShape sp, int handleIndex, GiGraphics gs)
 {
     if (SwigDerivedClassHasMethod("drawInSelectCommand", swigMethodTypes8))
     {
         touchvgPINVOKE.CmdObserverDefault_drawInSelectCommandSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs));
     }
     else
     {
         touchvgPINVOKE.CmdObserverDefault_drawInSelectCommand(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp), handleIndex, GiGraphics.getCPtr(gs));
     }
 }
コード例 #10
0
ファイル: CmdObserver.cs プロジェクト: shuangyou/TouchVG
 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));
 }
コード例 #11
0
ファイル: CmdObserver.cs プロジェクト: shuangyou/TouchVG
 public virtual void drawInShapeCommand(MgMotion sender, MgCommand cmd, GiGraphics gs)
 {
     touchvgPINVOKE.CmdObserver_drawInShapeCommand(swigCPtr, MgMotion.getCPtr(sender), MgCommand.getCPtr(cmd), GiGraphics.getCPtr(gs));
 }
コード例 #12
0
ファイル: MgCmdArc3P.cs プロジェクト: shuangyou/TouchVG
        public override bool draw(MgMotion sender, GiGraphics gs)
        {
            bool ret = touchvgPINVOKE.MgCmdArc3P_draw(swigCPtr, MgMotion.getCPtr(sender), GiGraphics.getCPtr(gs));

            return(ret);
        }
コード例 #13
0
ファイル: MgBaseShape.cs プロジェクト: shuangyou/TouchVG
        public virtual bool draw(int mode, GiGraphics gs, GiContext ctx, int segment)
        {
            bool ret = (SwigDerivedClassHasMethod("draw", swigMethodTypes23) ? touchvgPINVOKE.MgBaseShape_drawSwigExplicitMgBaseShape(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment) : touchvgPINVOKE.MgBaseShape_draw(swigCPtr, mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #14
0
        public override bool draw(MgMotion sender, GiGraphics gs)
        {
            bool ret = (SwigDerivedClassHasMethod("draw", swigMethodTypes4) ? touchvgPINVOKE.MgCommandDraw_drawSwigExplicitMgCommandDraw(swigCPtr, MgMotion.getCPtr(sender), GiGraphics.getCPtr(gs)) : touchvgPINVOKE.MgCommandDraw_draw(swigCPtr, MgMotion.getCPtr(sender), GiGraphics.getCPtr(gs)));

            return(ret);
        }
コード例 #15
0
        public float displayMmToModel(float mm, GiGraphics arg1)
        {
            float ret = touchvgPINVOKE.MgMotion_displayMmToModel__SWIG_0(swigCPtr, mm, GiGraphics.getCPtr(arg1));

            return(ret);
        }
コード例 #16
0
        public virtual float displayMmToModel(float mm, GiGraphics gs)
        {
            float ret = touchvgPINVOKE.MgCmdManager_displayMmToModel__SWIG_0(swigCPtr, mm, GiGraphics.getCPtr(gs));

            return(ret);
        }