Example #1
0
 public Box2d(RECT_2D rc) : this(touchvgPINVOKE.new_Box2d__SWIG_7(RECT_2D.getCPtr(rc)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public bool beginPaint(GiCanvas canvas, RECT_2D clipBox)
        {
            bool ret = touchvgPINVOKE.GiGraphics_beginPaint__SWIG_0(swigCPtr, GiCanvas.getCPtr(canvas), RECT_2D.getCPtr(clipBox));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public bool setClipBox(RECT_2D rc)
        {
            bool ret = touchvgPINVOKE.GiGraphics_setClipBox(swigCPtr, RECT_2D.getCPtr(rc));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        public RECT_2D getClipBox(RECT_2D rc)
        {
            RECT_2D ret = new RECT_2D(touchvgPINVOKE.GiGraphics_getClipBox(swigCPtr, RECT_2D.getCPtr(rc)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public bool zoomTo(Box2d rectWorld, RECT_2D rcTo)
        {
            bool ret = touchvgPINVOKE.GiTransform_zoomTo__SWIG_1(swigCPtr, Box2d.getCPtr(rectWorld), RECT_2D.getCPtr(rcTo));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
        public RECT_2D get(RECT_2D rc)
        {
            RECT_2D ret = new RECT_2D(touchvgPINVOKE.Box2d_get__SWIG_1(swigCPtr, RECT_2D.getCPtr(rc)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
File: Box2d.cs Project: rhcad/vgwpf
 public Box2d(RECT_2D rc)
     : this(touchvgPINVOKE.new_Box2d__SWIG_7(RECT_2D.getCPtr(rc)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Example #8
0
File: Box2d.cs Project: rhcad/vgwpf
 public RECT_2D get(RECT_2D rc)
 {
     RECT_2D ret = new RECT_2D(touchvgPINVOKE.Box2d_get__SWIG_1(swigCPtr, RECT_2D.getCPtr(rc)), false);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #9
0
 public bool zoomTo(Box2d rectWorld, RECT_2D rcTo)
 {
     bool ret = touchvgPINVOKE.GiTransform_zoomTo__SWIG_1(swigCPtr, Box2d.getCPtr(rectWorld), RECT_2D.getCPtr(rcTo));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #10
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RECT_2D obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #11
0
 public bool beginPaint(GiCanvas canvas, RECT_2D clipBox)
 {
     bool ret = touchvgPINVOKE.GiGraphics_beginPaint__SWIG_0(swigCPtr, GiCanvas.getCPtr(canvas), RECT_2D.getCPtr(clipBox));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #12
0
 public bool setClipBox(RECT_2D rc)
 {
     bool ret = touchvgPINVOKE.GiGraphics_setClipBox(swigCPtr, RECT_2D.getCPtr(rc));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #13
0
 public RECT_2D getClipBox(RECT_2D rc)
 {
     RECT_2D ret = new RECT_2D(touchvgPINVOKE.GiGraphics_getClipBox(swigCPtr, RECT_2D.getCPtr(rc)), false);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #14
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RECT_2D obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }