示例#1
0
        public static MgShapes create(MgObject owner)
        {
            IntPtr   cPtr = touchvgPINVOKE.MgShapes_create__SWIG_1(MgObject.getCPtr(owner));
            MgShapes ret  = (cPtr == IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
示例#2
0
 public override void copy(MgObject src)
 {
     touchvgPINVOKE.MgGrid_copy(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
        public override bool equals(MgObject src)
        {
            bool ret = touchvgPINVOKE.MgGrid_equals(swigCPtr, MgObject.getCPtr(src));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
 public override void copy(MgObject src)
 {
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
     {
         touchvgPINVOKE.MgBaseShape_copySwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(src));
     }
     else
     {
         touchvgPINVOKE.MgBaseShape_copy(swigCPtr, MgObject.getCPtr(src));
     }
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
 private IntPtr SwigDirectorclone()
 {
     return(MgObject.getCPtr(clone()).Handle);
 }
示例#6
0
        public override bool equals(MgObject src)
        {
            bool ret = (SwigDerivedClassHasMethod("equals", swigMethodTypes4) ? touchvgPINVOKE.MgBaseShape_equalsSwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(src)) : touchvgPINVOKE.MgBaseShape_equals(swigCPtr, MgObject.getCPtr(src)));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }