Esempio n. 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();
     }
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 7
0
File: Box2d.cs Progetto: 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();
 }
Esempio n. 8
0
File: Box2d.cs Progetto: 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;
 }
Esempio n. 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;
 }
Esempio n. 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);
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }