當前位置: 首頁>>代碼示例>>C#>>正文


C# core.MgMotion類代碼示例

本文整理匯總了C#中touchvg.core.MgMotion的典型用法代碼示例。如果您正苦於以下問題:C# MgMotion類的具體用法?C# MgMotion怎麽用?C# MgMotion使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


MgMotion類屬於touchvg.core命名空間,在下文中一共展示了MgMotion類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: setCommand

 public virtual bool setCommand(MgMotion sender, string name, MgStorage s)
 {
     bool ret = touchvgPINVOKE.MgCmdManager_setCommand(swigCPtr, MgMotion.getCPtr(sender), name, MgStorage.getCPtr(s));
     return ret;
 }
開發者ID:hantu123,項目名稱:touchvg,代碼行數:5,代碼來源:MgCmdManager.cs

示例2: drawInShapeCommand

 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));
 }
開發者ID:rhcad,項目名稱:touchvg-v0.6,代碼行數:3,代碼來源:CmdObserverDefault.cs

示例3: onShapeDeleted

 public override void onShapeDeleted(MgMotion sender, MgShape sp) {
   if (SwigDerivedClassHasMethod("onShapeDeleted", swigMethodTypes12)) touchvgPINVOKE.CmdObserverDefault_onShapeDeletedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp)); else touchvgPINVOKE.CmdObserverDefault_onShapeDeleted(swigCPtr, MgMotion.getCPtr(sender), MgShape.getCPtr(sp));
 }
開發者ID:rhcad,項目名稱:touchvg-v0.6,代碼行數:3,代碼來源:CmdObserverDefault.cs

示例4: onDocLoaded

 public override void onDocLoaded(MgMotion sender) {
   if (SwigDerivedClassHasMethod("onDocLoaded", swigMethodTypes0)) touchvgPINVOKE.CmdObserverDefault_onDocLoadedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender)); else touchvgPINVOKE.CmdObserverDefault_onDocLoaded(swigCPtr, MgMotion.getCPtr(sender));
 }
開發者ID:rhcad,項目名稱:touchvg-v0.6,代碼行數:3,代碼來源:CmdObserverDefault.cs

示例5: selectActionsNeedHided

 public override bool selectActionsNeedHided(MgMotion sender) {
   bool ret = (SwigDerivedClassHasMethod("selectActionsNeedHided", swigMethodTypes3) ? touchvgPINVOKE.CmdObserverDefault_selectActionsNeedHidedSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender)) : touchvgPINVOKE.CmdObserverDefault_selectActionsNeedHided(swigCPtr, MgMotion.getCPtr(sender)));
   return ret;
 }
開發者ID:rhcad,項目名稱:touchvg-v0.6,代碼行數:4,代碼來源:CmdObserverDefault.cs

示例6: twoFingersMove

 public virtual bool twoFingersMove(MgMotion sender)
 {
     bool ret = (SwigDerivedClassHasMethod("twoFingersMove", swigMethodTypes13) ? touchvgPINVOKE.MgCommand_twoFingersMoveSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender)) : touchvgPINVOKE.MgCommand_twoFingersMove(swigCPtr, MgMotion.getCPtr(sender)));
     return ret;
 }
開發者ID:stonelin129,項目名稱:Touchvg,代碼行數:5,代碼來源:MgCommand.cs

示例7: createCommand

 public override MgCommand createCommand(MgMotion sender, string name) {
   IntPtr cPtr = (SwigDerivedClassHasMethod("createCommand", swigMethodTypes19) ? touchvgPINVOKE.CmdObserverDefault_createCommandSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), name) : touchvgPINVOKE.CmdObserverDefault_createCommand(swigCPtr, MgMotion.getCPtr(sender), name));
   MgCommand ret = (cPtr == IntPtr.Zero) ? null : new MgCommand(cPtr, false);
   return ret;
 }
開發者ID:rhcad,項目名稱:touchvg-v0.6,代碼行數:5,代碼來源:CmdObserverDefault.cs

示例8: cancel

 public virtual void cancel(MgMotion sender) {
   touchvgPINVOKE.MgView_cancel(swigCPtr, MgMotion.getCPtr(sender));
 }
開發者ID:rhcad,項目名稱:touchvg-v0.6,代碼行數:3,代碼來源:MgView.cs

示例9: setCommand

 public virtual bool setCommand(MgMotion sender, string name) {
   bool ret = touchvgPINVOKE.MgView_setCommand(swigCPtr, MgMotion.getCPtr(sender), name);
   return ret;
 }
開發者ID:rhcad,項目名稱:touchvg-v0.6,代碼行數:4,代碼來源:MgView.cs

示例10: doContextAction

 public virtual bool doContextAction(MgMotion sender, int action)
 {
     bool ret = touchvgPINVOKE.MgCmdManager_doContextAction(swigCPtr, MgMotion.getCPtr(sender), action);
     return ret;
 }
開發者ID:hantu123,項目名稱:touchvg,代碼行數:5,代碼來源:MgCmdManager.cs

示例11: draw

 public override bool draw(MgMotion sender, GiGraphics gs)
 {
     bool ret = touchvgPINVOKE.MgCmdArcCSE_draw(swigCPtr, MgMotion.getCPtr(sender), GiGraphics.getCPtr(gs));
     return ret;
 }
開發者ID:vvhh2002,項目名稱:TouchVG,代碼行數:5,代碼來源:MgCmdArcCSE.cs

示例12: displayMmToModel

 public virtual float displayMmToModel(float mm, MgMotion sender)
 {
     float ret = touchvgPINVOKE.MgCmdManager_displayMmToModel__SWIG_1(swigCPtr, mm, MgMotion.getCPtr(sender));
     return ret;
 }
開發者ID:hantu123,項目名稱:touchvg,代碼行數:5,代碼來源:MgCmdManager.cs

示例13: cancel

 public virtual bool cancel(MgMotion sender)
 {
     bool ret = touchvgPINVOKE.MgCmdManager_cancel(swigCPtr, MgMotion.getCPtr(sender));
     return ret;
 }
開發者ID:hantu123,項目名稱:touchvg,代碼行數:5,代碼來源:MgCmdManager.cs

示例14: addImageShape

 public virtual MgShape addImageShape(MgMotion sender, string name, float xc, float yc, float w, float h)
 {
     IntPtr cPtr = touchvgPINVOKE.MgCmdManager_addImageShape__SWIG_1(swigCPtr, MgMotion.getCPtr(sender), name, xc, yc, w, h);
     MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false);
     return ret;
 }
開發者ID:hantu123,項目名稱:touchvg,代碼行數:6,代碼來源:MgCmdManager.cs

示例15: mouseHover

 public virtual bool mouseHover(MgMotion sender)
 {
     bool ret = (SwigDerivedClassHasMethod("mouseHover", swigMethodTypes12) ? touchvgPINVOKE.MgCommand_mouseHoverSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender)) : touchvgPINVOKE.MgCommand_mouseHover(swigCPtr, MgMotion.getCPtr(sender)));
     return ret;
 }
開發者ID:stonelin129,項目名稱:Touchvg,代碼行數:5,代碼來源:MgCommand.cs


注:本文中的touchvg.core.MgMotion類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。