本文整理汇总了C#中touchvg.core.MgMotion类的典型用法代码示例。如果您正苦于以下问题:C# MgMotion类的具体用法?C# MgMotion怎么用?C# MgMotion使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MgMotion类属于touchvg.core命名空间,在下文中一共展示了MgMotion类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: backStep
public virtual bool backStep(MgMotion sender)
{
bool ret = (SwigDerivedClassHasMethod("backStep", swigMethodTypes3) ? touchvgPINVOKE.MgCommand_backStepSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender)) : touchvgPINVOKE.MgCommand_backStep(swigCPtr, MgMotion.getCPtr(sender)));
return ret;
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:MgCommand.cs
示例17: touchEnded
public virtual bool touchEnded(MgMotion sender)
{
bool ret = (SwigDerivedClassHasMethod("touchEnded", swigMethodTypes11) ? touchvgPINVOKE.MgCommand_touchEndedSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender)) : touchvgPINVOKE.MgCommand_touchEnded(swigCPtr, MgMotion.getCPtr(sender)));
return ret;
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:MgCommand.cs
示例18: doContextAction
public virtual bool doContextAction(MgMotion sender, int action)
{
bool ret = (SwigDerivedClassHasMethod("doContextAction", swigMethodTypes16) ? touchvgPINVOKE.MgCommand_doContextActionSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender), action) : touchvgPINVOKE.MgCommand_doContextAction(swigCPtr, MgMotion.getCPtr(sender), action));
return ret;
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:MgCommand.cs
示例19: createShape
public override MgBaseShape createShape(MgMotion sender, int type) {
IntPtr cPtr = (SwigDerivedClassHasMethod("createShape", swigMethodTypes18) ? touchvgPINVOKE.CmdObserverDefault_createShapeSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), type) : touchvgPINVOKE.CmdObserverDefault_createShape(swigCPtr, MgMotion.getCPtr(sender), type));
MgBaseShape ret = (cPtr == IntPtr.Zero) ? null : new MgBaseShape(cPtr, false);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:5,代码来源:CmdObserverDefault.cs
示例20: doubleClick
public virtual bool doubleClick(MgMotion sender)
{
bool ret = (SwigDerivedClassHasMethod("doubleClick", swigMethodTypes7) ? touchvgPINVOKE.MgCommand_doubleClickSwigExplicitMgCommand(swigCPtr, MgMotion.getCPtr(sender)) : touchvgPINVOKE.MgCommand_doubleClick(swigCPtr, MgMotion.getCPtr(sender)));
return ret;
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:MgCommand.cs
注:本文中的touchvg.core.MgMotion类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论