Exemple #1
0
        public override MgObject clone()
        {
            IntPtr   cPtr = touchvgPINVOKE.MgGrid_clone(swigCPtr);
            MgObject ret  = (cPtr == IntPtr.Zero) ? null : new MgObject(cPtr, false);

            return(ret);
        }
Exemple #2
0
        public MgObject getOwner()
        {
            IntPtr   cPtr = touchvgPINVOKE.MgShapes_getOwner(swigCPtr);
            MgObject ret  = (cPtr == IntPtr.Zero) ? null : new MgObject(cPtr, false);

            return(ret);
        }
Exemple #3
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 #4
0
 public override void copy(MgObject src)
 {
     touchvgPINVOKE.MgGrid_copy(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
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 #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);
        }
Exemple #7
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 #8
0
 public static extern void MgObject_director_connect(HandleRef jarg1, MgObject.SwigDelegateMgObject_0 delegate0, MgObject.SwigDelegateMgObject_1 delegate1, MgObject.SwigDelegateMgObject_2 delegate2, MgObject.SwigDelegateMgObject_3 delegate3, MgObject.SwigDelegateMgObject_4 delegate4, MgObject.SwigDelegateMgObject_5 delegate5);
Exemple #9
0
 internal static HandleRef getCPtr(MgObject obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #10
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;
 }
Exemple #11
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 #12
0
 private IntPtr SwigDirectorclone()
 {
     return(MgObject.getCPtr(clone()).Handle);
 }
Exemple #13
0
 public virtual void copy(MgObject src)
 {
     touchvgPINVOKE.MgObject_copy(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #14
0
 public override bool equals(MgObject src)
 {
     bool ret = touchvgPINVOKE.MgEllipse_equals(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #15
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 #16
0
 public override void copy(MgObject src)
 {
     touchvgPINVOKE.MgEllipse_copy(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #17
0
 internal static HandleRef getCPtr(MgObject obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }