Exemple #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);
        }
Exemple #2
0
 public override void copy(MgObject src)
 {
     touchvgPINVOKE.MgGrid_copy(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #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);
        }
Exemple #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();
     }
 }
Exemple #5
0
 private IntPtr SwigDirectorclone()
 {
     return(MgObject.getCPtr(clone()).Handle);
 }
Exemple #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);
        }