本文整理汇总了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;
}
示例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));
}
示例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));
}
示例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));
}
示例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;
}
示例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;
}
示例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;
}
示例8: cancel
public virtual void cancel(MgMotion sender) {
touchvgPINVOKE.MgView_cancel(swigCPtr, MgMotion.getCPtr(sender));
}
示例9: setCommand
public virtual bool setCommand(MgMotion sender, string name) {
bool ret = touchvgPINVOKE.MgView_setCommand(swigCPtr, MgMotion.getCPtr(sender), name);
return ret;
}
示例10: doContextAction
public virtual bool doContextAction(MgMotion sender, int action)
{
bool ret = touchvgPINVOKE.MgCmdManager_doContextAction(swigCPtr, MgMotion.getCPtr(sender), action);
return ret;
}
示例11: draw
public override bool draw(MgMotion sender, GiGraphics gs)
{
bool ret = touchvgPINVOKE.MgCmdArcCSE_draw(swigCPtr, MgMotion.getCPtr(sender), GiGraphics.getCPtr(gs));
return ret;
}
示例12: displayMmToModel
public virtual float displayMmToModel(float mm, MgMotion sender)
{
float ret = touchvgPINVOKE.MgCmdManager_displayMmToModel__SWIG_1(swigCPtr, mm, MgMotion.getCPtr(sender));
return ret;
}
示例13: cancel
public virtual bool cancel(MgMotion sender)
{
bool ret = touchvgPINVOKE.MgCmdManager_cancel(swigCPtr, MgMotion.getCPtr(sender));
return ret;
}
示例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;
}
示例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;
}