Inheritance: global::System.IDisposable
示例#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();
     }
 }
示例#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);
        }
示例#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);
        }
示例#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);
        }
示例#5
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);
        }
示例#6
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);
        }
示例#7
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;
 }
示例#8
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();
 }
示例#9
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;
 }
示例#10
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;
 }
示例#11
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;
 }
示例#12
0
 internal static HandleRef getCPtr(RECT_2D obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
示例#13
0
 internal static HandleRef getCPtr(RECT_2D obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#14
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;
 }