Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public MgRegenLocker(MgView view) : this(touchvgPINVOKE.new_MgRegenLocker(MgView.getCPtr(view)), true)
 {
 }
Exemplo n.º 4
0
 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);
 }
Exemplo n.º 5
0
 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;
 }
Exemplo n.º 6
0
        public virtual int getSelectType(MgView view)
        {
            int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Exemplo n.º 7
0
        public int getSelectionCount(MgView view)
        {
            int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Exemplo n.º 8
0
        public virtual bool isSelectedByType(MgView view, int type)
        {
            bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type);

            return(ret);
        }
Exemplo n.º 9
0
 public virtual bool dynamicChangeEnded(MgView view, bool apply)
 {
     bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply);
     return ret;
 }
Exemplo n.º 10
0
 //! 返回内核命令视图
 public MgView CmdView()
 {
     return(MgView.fromHandle(CmdViewHandle()));
 }
Exemplo n.º 11
0
 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;
 }
Exemplo n.º 12
0
 public virtual bool isSelectedByType(MgView view, int type)
 {
     bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type);
     return ret;
 }
Exemplo n.º 13
0
 public virtual bool isLocked(MgView view)
 {
     bool ret = touchvgPINVOKE.MgSelection_isLocked(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Exemplo n.º 14
0
 public virtual int getSelectType(MgView view)
 {
     int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Exemplo n.º 15
0
 public virtual MgSelState getSelectState(MgView view)
 {
     MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Exemplo n.º 16
0
        public virtual bool isFixedLength(MgView view)
        {
            bool ret = touchvgPINVOKE.MgSelection_isFixedLength(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Exemplo n.º 17
0
        public virtual bool isEditMode(MgView view)
        {
            bool ret = touchvgPINVOKE.MgSelection_isEditMode(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Exemplo n.º 18
0
        public virtual int getSnapOptions(MgView view)
        {
            int ret = touchvgPINVOKE.MgSnap_getSnapOptions(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Exemplo n.º 19
0
 public virtual void setSnapOptions(MgView view, int bits)
 {
     touchvgPINVOKE.MgSnap_setSnapOptions(swigCPtr, MgView.getCPtr(view), bits);
 }
Exemplo n.º 20
0
 public virtual void setSnapOptions(MgView view, int bits)
 {
     touchvgPINVOKE.MgSnap_setSnapOptions(swigCPtr, MgView.getCPtr(view), bits);
 }
Exemplo n.º 21
0
        public virtual MgSelState getSelectState(MgView view)
        {
            MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Exemplo n.º 22
0
 public virtual int getSnapOptions(MgView view)
 {
     int ret = touchvgPINVOKE.MgSnap_getSnapOptions(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Exemplo n.º 23
0
        public virtual bool dynamicChangeEnded(MgView view, bool apply)
        {
            bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply);

            return(ret);
        }
Exemplo n.º 24
0
 public int getSelectionCount(MgView view)
 {
     int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view));
     return ret;
 }