コード例 #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
ファイル: GiGraphics.cs プロジェクト: adozenlines/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);
        }
コード例 #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
ファイル: MgPathShape.cs プロジェクト: zhangxin8105/vgwpf
        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
ファイル: MgImageShape.cs プロジェクト: rhcad/vgwpf
 public override void output(MgPath path)
 {
     touchvgPINVOKE.MgImageShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #9
0
ファイル: MgPathShape.cs プロジェクト: zhangxin8105/vgwpf
        public MgPath path()
        {
            MgPath ret = new MgPath(touchvgPINVOKE.MgPathShape_path(swigCPtr), false);

            return(ret);
        }
コード例 #10
0
ファイル: MgPathShape.cs プロジェクト: rhcad/vgwpf
 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
ファイル: MgBaseShape.cs プロジェクト: rhcad/vgwpf
 public virtual void output(MgPath path)
 {
     touchvgPINVOKE.MgBaseShape_output(swigCPtr, MgPath.getCPtr(path));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #17
0
ファイル: MgBaseShape.cs プロジェクト: rhcad/vgwpf
 public MgPath getPath()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgBaseShape_getPath(swigCPtr), true);
     return ret;
 }
コード例 #18
0
ファイル: MgBaseShape.cs プロジェクト: zhangxin8105/vgwpf
        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
ファイル: MgPathShape.cs プロジェクト: rhcad/vgwpf
 public MgPath pathc()
 {
     MgPath ret = new MgPath(touchvgPINVOKE.MgPathShape_pathc(swigCPtr), false);
     return ret;
 }