Inheritance: IDisposable
Example #1
0
        public static MgView fromHandle(int h)
        {
            IntPtr cPtr = touchvgPINVOKE.MgView_fromHandle(h);
            MgView ret  = (cPtr == IntPtr.Zero) ? null : new MgView(cPtr, false);

            return(ret);
        }
Example #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);
        }
Example #3
0
 public int getSelectionCount(MgView view)
 {
     int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Example #4
0
 public virtual bool isSelectedByType(MgView view, int type)
 {
     bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type);
     return ret;
 }
Example #5
0
 internal static HandleRef getCPtr(MgView obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #6
0
 public MgDynShapeLock(bool forWrite, MgView view) : this(touchvgPINVOKE.new_MgDynShapeLock__SWIG_1(forWrite, MgView.getCPtr(view)), true) {
 }
Example #7
0
 internal static HandleRef getCPtr(MgView obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #8
0
 public static bool lockedForRead(MgView view) {
   bool ret = touchvgPINVOKE.MgShapesLock_lockedForRead(MgView.getCPtr(view));
   return ret;
 }
Example #9
0
 public MgShapesLock(MgView view, int timeout) : this(touchvgPINVOKE.new_MgShapesLock__SWIG_2(MgView.getCPtr(view), timeout), true) {
 }
Example #10
0
        public int getSelectionCount(MgView view)
        {
            int ret = touchvgPINVOKE.MgSelection_getSelectionCount(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Example #11
0
        public virtual bool isSelectedByType(MgView view, int type)
        {
            bool ret = touchvgPINVOKE.MgSelection_isSelectedByType(swigCPtr, MgView.getCPtr(view), type);

            return(ret);
        }
Example #12
0
        public virtual bool isEditMode(MgView view)
        {
            bool ret = touchvgPINVOKE.MgSelection_isEditMode(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Example #13
0
        public virtual bool isFixedLength(MgView view)
        {
            bool ret = touchvgPINVOKE.MgSelection_isFixedLength(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Example #14
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;
 }
Example #15
0
        public virtual MgSelState getSelectState(MgView view)
        {
            MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Example #16
0
 public MgShapesLock(int flags, MgView view) : this(touchvgPINVOKE.new_MgShapesLock__SWIG_1(flags, MgView.getCPtr(view)), true) {
 }
Example #17
0
        public virtual int getSelectType(MgView view)
        {
            int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view));

            return(ret);
        }
Example #18
0
 public MgShapesLock(MgView view) : this(touchvgPINVOKE.new_MgShapesLock__SWIG_3(MgView.getCPtr(view)), true) {
 }
Example #19
0
 public virtual MgSelState getSelectState(MgView view)
 {
     MgSelState ret = (MgSelState)touchvgPINVOKE.MgSelection_getSelectState(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Example #20
0
 public virtual bool dynamicChangeEnded(MgView view, bool apply)
 {
     bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply);
     return ret;
 }
Example #21
0
 public virtual int getSelectType(MgView view)
 {
     int ret = touchvgPINVOKE.MgSelection_getSelectType(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Example #22
0
 public MgDynShapeLock(bool forWrite, MgView view, int timeout) : this(touchvgPINVOKE.new_MgDynShapeLock__SWIG_0(forWrite, MgView.getCPtr(view), timeout), true) {
 }
Example #23
0
 public virtual bool isLocked(MgView view)
 {
     bool ret = touchvgPINVOKE.MgSelection_isLocked(swigCPtr, MgView.getCPtr(view));
     return ret;
 }
Example #24
0
 public static bool lockedForWrite(MgView view) {
   bool ret = touchvgPINVOKE.MgDynShapeLock_lockedForWrite(MgView.getCPtr(view));
   return ret;
 }
Example #25
0
        public virtual bool dynamicChangeEnded(MgView view, bool apply)
        {
            bool ret = touchvgPINVOKE.MgCmdManager_dynamicChangeEnded(swigCPtr, MgView.getCPtr(view), apply);

            return(ret);
        }