Exemplo n.º 1
0
        public static MgShapes create(MgObject owner)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_create__SWIG_1(MgObject.getCPtr(owner));
            MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
 public virtual void copy(MgObject src)
 {
     touchvgPINVOKE.MgObject_copy(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public override void copy(MgObject src)
 {
     touchvgPINVOKE.MgDiamond_copy(swigCPtr, MgObject.getCPtr(src));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
        public virtual bool equals(MgObject src)
        {
            bool ret = touchvgPINVOKE.MgObject_equals(swigCPtr, MgObject.getCPtr(src));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
 public virtual void setOwner(MgObject owner)
 {
     if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes34))
     {
         touchvgPINVOKE.MgBaseShape_setOwnerSwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(owner));
     }
     else
     {
         touchvgPINVOKE.MgBaseShape_setOwner(swigCPtr, MgObject.getCPtr(owner));
     }
 }
Exemplo n.º 6
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();
     }
 }
Exemplo n.º 7
0
 private global::System.IntPtr SwigDirectorclone()
 {
     return(MgObject.getCPtr(clone()).Handle);
 }
Exemplo n.º 8
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);
        }
Exemplo n.º 9
0
        public virtual bool draw2(MgObject owner, int mode, GiGraphics gs, GiContext ctx, int segment)
        {
            bool ret = (SwigDerivedClassHasMethod("draw2", swigMethodTypes23) ? touchvgPINVOKE.MgBaseShape_draw2SwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(owner), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment) : touchvgPINVOKE.MgBaseShape_draw2(swigCPtr, MgObject.getCPtr(owner), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 10
0
 public override bool equals(MgObject src) {
   bool ret = touchvgPINVOKE.MgImageShape_equals(swigCPtr, MgObject.getCPtr(src));
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }