示例#1
0
 public override void output(MgPath path)
 {
     touchvgPINVOKE.MgRect_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public virtual void output(MgPath path)
 {
     touchvgPINVOKE.MgBaseShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#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);
        }
示例#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);
        }
示例#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);
        }
示例#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);
        }
示例#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);
 }
示例#8
0
 public override void output(MgPath path)
 {
     touchvgPINVOKE.MgImageShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
示例#9
0
        public MgPath path()
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPathShape_path(swigCPtr), false);

            return(ret);
        }
示例#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;
 }
示例#11
0
        public MgPath reverse()
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPath_reverse(swigCPtr), false);

            return(ret);
        }
示例#12
0
文件: GiGraphics.cs 项目: rhcad/vgwpf
 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;
 }
示例#13
0
文件: MgPath.cs 项目: rhcad/vgwpf
 public MgPath reverse()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPath_reverse(swigCPtr), false);
     return ret;
 }
示例#14
0
文件: MgPath.cs 项目: rhcad/vgwpf
 public MgPath(MgPath src)
     : this(touchvgPINVOKE.new_MgPath__SWIG_1(MgPath.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
示例#15
0
文件: MgPath.cs 项目: rhcad/vgwpf
 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;
 }
示例#16
0
 public virtual void output(MgPath path)
 {
     touchvgPINVOKE.MgBaseShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
示例#17
0
 public MgPath getPath()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgBaseShape_getPath(swigCPtr), true);
     return ret;
 }
示例#18
0
        public MgPath getPath()
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgBaseShape_getPath(swigCPtr), true);

            return(ret);
        }
示例#19
0
文件: MgPath.cs 项目: rhcad/vgwpf
 public MgPath addSVGPath(string s)
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPath_addSVGPath(swigCPtr, s), false);
     return ret;
 }
示例#20
0
        public MgPath addSVGPath(string s)
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPath_addSVGPath(swigCPtr, s), false);

            return(ret);
        }
示例#21
0
文件: MgPath.cs 项目: rhcad/vgwpf
 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;
 }
示例#22
0
文件: MgPath.cs 项目: rhcad/vgwpf
 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;
 }
示例#23
0
 public MgPath pathc()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPathShape_pathc(swigCPtr), false);
     return ret;
 }