public static MgView fromHandle(int h) { global::System.IntPtr cPtr = touchvgPINVOKE.MgView_fromHandle(h); MgView ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgView(cPtr, false); return(ret); }
public int getSelectionForChange(MgView view, Shapes shapes) { int ret = touchvgPINVOKE.MgSelection_getSelectionForChange(swigCPtr, MgView.getCPtr(view), Shapes.getCPtr(shapes)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MgRegenLocker(MgView view) : this(touchvgPINVOKE.new_MgRegenLocker(MgView.getCPtr(view)), true) { }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgView obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public int getSelectionForChange(MgView view, Shapes shapes) { int ret = touchvgPINVOKE.MgSelection_getSelectionForChange(swigCPtr, MgView.getCPtr(view), Shapes.getCPtr(shapes)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual int getSelectType(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view)); return(ret); }
public int getSelectionCount(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view)); return(ret); }
public virtual bool isSelectedByType(MgView view, int type) { bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type); return(ret); }
public virtual bool dynamicChangeEnded(MgView view, bool apply) { bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply); return ret; }
//! 返回内核命令视图 public MgView CmdView() { return(MgView.fromHandle(CmdViewHandle())); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgView obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public virtual bool isSelectedByType(MgView view, int type) { bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type); return ret; }
public virtual bool isLocked(MgView view) { bool ret = touchvgPINVOKE.MgSelection_isLocked(swigCPtr, MgView.getCPtr(view)); return ret; }
public virtual int getSelectType(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view)); return ret; }
public virtual MgSelState getSelectState(MgView view) { MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view)); return ret; }
public virtual bool isFixedLength(MgView view) { bool ret = touchvgPINVOKE.MgSelection_isFixedLength(swigCPtr, MgView.getCPtr(view)); return(ret); }
public virtual bool isEditMode(MgView view) { bool ret = touchvgPINVOKE.MgSelection_isEditMode(swigCPtr, MgView.getCPtr(view)); return(ret); }
public virtual int getSnapOptions(MgView view) { int ret = touchvgPINVOKE.MgSnap_getSnapOptions(swigCPtr, MgView.getCPtr(view)); return(ret); }
public virtual void setSnapOptions(MgView view, int bits) { touchvgPINVOKE.MgSnap_setSnapOptions(swigCPtr, MgView.getCPtr(view), bits); }
public virtual MgSelState getSelectState(MgView view) { MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view)); return(ret); }
public virtual int getSnapOptions(MgView view) { int ret = touchvgPINVOKE.MgSnap_getSnapOptions(swigCPtr, MgView.getCPtr(view)); return ret; }
public virtual bool dynamicChangeEnded(MgView view, bool apply) { bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply); return(ret); }
public int getSelectionCount(MgView view) { int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view)); return ret; }