当前位置: 首页>>代码示例>>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;未经允许,请勿转载。