getCPtr() static private method

static private getCPtr ( MgCommand obj ) : HandleRef
obj MgCommand
return HandleRef
コード例 #1
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));
     }
 }
コード例 #2
0
 private IntPtr SwigDirectorcreateCommand(IntPtr sender, string name)
 {
     return(MgCommand.getCPtr(createCommand((sender == IntPtr.Zero) ? null : new MgMotion(sender, false), name)).Handle);
 }
コード例 #3
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));
 }