Exemple #1
0
 public override void output(MgPath path)
 {
     touchvgPINVOKE.MgRect_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public virtual void output(MgPath path)
 {
     touchvgPINVOKE.MgBaseShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
        public bool drawPath(GiContext ctx, MgPath path, bool fill)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawPath__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), MgPath.getCPtr(path), fill);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
        public bool crossWithPath(MgPath path, Box2d box, Point2d ptCross)
        {
            bool ret = touchvgPINVOKE.MgPath_crossWithPath(swigCPtr, MgPath.getCPtr(path), Box2d.getCPtr(box), Point2d.getCPtr(ptCross));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #5
0
        public MgPath append(MgPath src)
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPath_append(swigCPtr, MgPath.getCPtr(src)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #6
0
        public static int exportSVGPath(MgPath path, string buf, int size)
        {
            int ret = touchvgPINVOKE.MgPathShape_exportSVGPath__SWIG_1(MgPath.getCPtr(path), buf, size);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgPath obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #8
0
 public override void output(MgPath path)
 {
     touchvgPINVOKE.MgImageShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #9
0
        public MgPath path()
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPathShape_path(swigCPtr), false);

            return(ret);
        }
Exemple #10
0
 public static int exportSVGPath(MgPath path, string buf, int size)
 {
     int ret = touchvgPINVOKE.MgPathShape_exportSVGPath__SWIG_1(MgPath.getCPtr(path), buf, size);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #11
0
        public MgPath reverse()
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPath_reverse(swigCPtr), false);

            return(ret);
        }
Exemple #12
0
 public bool drawPath(GiContext ctx, MgPath path, bool fill)
 {
     bool ret = touchvgPINVOKE.GiGraphics_drawPath__SWIG_1(swigCPtr, GiContext.getCPtr(ctx), MgPath.getCPtr(path), fill);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #13
0
 public MgPath reverse()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPath_reverse(swigCPtr), false);
     return ret;
 }
Exemple #14
0
 public MgPath(MgPath src)
     : this(touchvgPINVOKE.new_MgPath__SWIG_1(MgPath.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #15
0
 public bool crossWithPath(MgPath path, Box2d box, Point2d ptCross)
 {
     bool ret = touchvgPINVOKE.MgPath_crossWithPath(swigCPtr, MgPath.getCPtr(path), Box2d.getCPtr(box), Point2d.getCPtr(ptCross));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #16
0
 public virtual void output(MgPath path)
 {
     touchvgPINVOKE.MgBaseShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #17
0
 public MgPath getPath()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgBaseShape_getPath(swigCPtr), true);
     return ret;
 }
Exemple #18
0
        public MgPath getPath()
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgBaseShape_getPath(swigCPtr), true);

            return(ret);
        }
Exemple #19
0
 public MgPath addSVGPath(string s)
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPath_addSVGPath(swigCPtr, s), false);
     return ret;
 }
Exemple #20
0
        public MgPath addSVGPath(string s)
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPath_addSVGPath(swigCPtr, s), false);

            return(ret);
        }
Exemple #21
0
 public MgPath append(MgPath src)
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPath_append(swigCPtr, MgPath.getCPtr(src)), false);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #22
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgPath obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #23
0
 public MgPath pathc()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPathShape_pathc(swigCPtr), false);
     return ret;
 }