Inheritance: global::System.IDisposable
Ejemplo n.º 1
0
 public Box2d(Box2d src) : this(touchvgPINVOKE.new_Box2d__SWIG_2(Box2d.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public static void moveRectHandle(Box2d rect, int index, Point2d pt)
 {
     touchvgPINVOKE.mgnear_moveRectHandle__SWIG_1(Box2d.getCPtr(rect), index, Point2d.getCPtr(pt));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public static void beziersBox(Box2d box, int count, Point2d points)
 {
     touchvgPINVOKE.mgnear_beziersBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void setExtent(Box2d rect)
 {
     touchvgPINVOKE.MgBaseShape_setExtent(swigCPtr, Box2d.getCPtr(rect));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public static void roundRectToBeziers(Point2d points, Box2d rect, float rx, float ry)
 {
     touchvgPINVOKE.mgcurv_roundRectToBeziers(Point2d.getCPtr(points), Box2d.getCPtr(rect), rx, ry);
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public virtual void getBoundingBox(Box2d box, MgMotion sender)
 {
     touchvgPINVOKE.MgCmdManager_getBoundingBox(swigCPtr, Box2d.getCPtr(box), MgMotion.getCPtr(sender));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public static void cubicSplinesBox(Box2d box, int n, Point2d knots, Vector2d knotvs, bool closed, bool hermite)
 {
     touchvgPINVOKE.mgnear_cubicSplinesBox__SWIG_0(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), closed, hermite);
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
 public void setPageRectW(Box2d rectW, float viewScale)
 {
     touchvgPINVOKE.MgShapeDoc_setPageRectW(swigCPtr, Box2d.getCPtr(rectW), viewScale);
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 9
0
        public Box2d unionWith(Box2d r1, Box2d r2)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_unionWith__SWIG_0(swigCPtr, Box2d.getCPtr(r1), Box2d.getCPtr(r2)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public Box2d intersectWith(Box2d box)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_intersectWith__SWIG_1(swigCPtr, Box2d.getCPtr(box)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
        public Box2d offset(Vector2d vec)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_offset__SWIG_1(swigCPtr, Vector2d.getCPtr(vec)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 12
0
        public Box2d deflate(Box2d box)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_deflate__SWIG_3(swigCPtr, Box2d.getCPtr(box)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 13
0
        public bool drawEllipse(GiContext ctx, Box2d rect)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawEllipse__SWIG_3(swigCPtr, GiContext.getCPtr(ctx), Box2d.getCPtr(rect));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 14
0
        public bool isEqualTo(Box2d box)
        {
            bool ret = touchvgPINVOKE.Box2d_isEqualTo__SWIG_1(swigCPtr, Box2d.getCPtr(box));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 15
0
        public Box2d set(Box2d src)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_set__SWIG_1(swigCPtr, Box2d.getCPtr(src)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 16
0
        public static bool cubicSplinesIntersectBox(Box2d box, int n, Point2d knots, Vector2d knotvs)
        {
            bool ret = touchvgPINVOKE.mgnear_cubicSplinesIntersectBox__SWIG_2(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 17
0
        public static bool clipLine(Point2d pt1, Point2d pt2, Box2d box)
        {
            bool ret = touchvgPINVOKE.mglnrel_clipLine(Point2d.getCPtr(pt1), Point2d.getCPtr(pt2), Box2d.getCPtr(box));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 18
0
        public bool zoomTo(Box2d rectWorld)
        {
            bool ret = touchvgPINVOKE.GiTransform_zoomTo__SWIG_2(swigCPtr, Box2d.getCPtr(rectWorld));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 19
0
        public bool zoomTo(Box2d rectWorld, RECT_2D rcTo, bool adjust)
        {
            bool ret = touchvgPINVOKE.GiTransform_zoomTo__SWIG_0(swigCPtr, Box2d.getCPtr(rectWorld), RECT_2D.getCPtr(rcTo), adjust);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 20
0
        public Box2d setWorldLimits(Box2d rect)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.GiTransform_setWorldLimits(swigCPtr, Box2d.getCPtr(rect)), true);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 21
0
        public Box2d unionWith(Point2d pt)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_unionWith__SWIG_3(swigCPtr, Point2d.getCPtr(pt)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 22
0
        public Box2d set(Point2d p1, Point2d p2, Point2d p3, Point2d p4)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_set__SWIG_4(swigCPtr, Point2d.getCPtr(p1), Point2d.getCPtr(p2), Point2d.getCPtr(p3), Point2d.getCPtr(p4)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 23
0
        public Box2d offset(Box2d box)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_offset__SWIG_2(swigCPtr, Box2d.getCPtr(box)), true);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 24
0
        public Box2d set(Point2d center, float width, float height)
        {
            Box2d ret = new Box2d(touchvgPINVOKE.Box2d_set__SWIG_6(swigCPtr, Point2d.getCPtr(center), width, height), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 25
0
        public bool setClipWorld(Box2d rectWorld)
        {
            bool ret = touchvgPINVOKE.GiGraphics_setClipWorld(swigCPtr, Box2d.getCPtr(rectWorld));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 26
0
        public bool contains(Box2d box, Tol tol)
        {
            bool ret = touchvgPINVOKE.Box2d_contains__SWIG_3(swigCPtr, Box2d.getCPtr(box), Tol.getCPtr(tol));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 27
0
        public bool drawRoundRect(GiContext ctx, Box2d rect, float rx)
        {
            bool ret = touchvgPINVOKE.GiGraphics_drawRoundRect__SWIG_2(swigCPtr, GiContext.getCPtr(ctx), Box2d.getCPtr(rect), rx);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 28
0
        public virtual bool hitTestBox(Box2d rect)
        {
            bool ret = (SwigDerivedClassHasMethod("hitTestBox", swigMethodTypes22) ? touchvgPINVOKE.MgBaseShape_hitTestBoxSwigExplicitMgBaseShape(swigCPtr, Box2d.getCPtr(rect)) : touchvgPINVOKE.MgBaseShape_hitTestBox(swigCPtr, Box2d.getCPtr(rect)));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 29
0
        public static bool beziersIntersectBox(Box2d box, int count, Point2d points)
        {
            bool ret = touchvgPINVOKE.mgnear_beziersIntersectBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 30
0
        public override bool hitTestBox(Box2d rect)
        {
            bool ret = touchvgPINVOKE.MgGrid_hitTestBox(swigCPtr, Box2d.getCPtr(rect));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 31
0
 public Box2d unionWith(Point2d pt) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_unionWith__SWIG_3(swigCPtr, Point2d.getCPtr(pt)), false);
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 32
0
 public Box2d unionWith(float x, float y) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_unionWith__SWIG_2(swigCPtr, x, y), false);
   return ret;
 }
Ejemplo n.º 33
0
 public override bool hitTestBox(Box2d rect)
 {
     bool ret = touchvgPINVOKE.MgEllipse_hitTestBox(swigCPtr, Box2d.getCPtr(rect));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Ejemplo n.º 34
0
 public Box2d getExtent()
 {
     Box2d ret = new Box2d(touchvgPINVOKE.MgShapeDoc_getExtent(swigCPtr), true);
     return ret;
 }
Ejemplo n.º 35
0
 public void setPageRectW(Box2d rectW, float viewScale)
 {
     touchvgPINVOKE.MgShapeDoc_setPageRectW(swigCPtr, Box2d.getCPtr(rectW), viewScale);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 36
0
 public Box2d deflate(float l, float b, float r, float t) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_deflate__SWIG_4(swigCPtr, l, b, r, t), false);
   return ret;
 }
Ejemplo n.º 37
0
 public static Box2d kIdentity() {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_kIdentity(), false);
   return ret;
 }
Ejemplo n.º 38
0
 public Box2d deflate(float x, float y) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_deflate__SWIG_1(swigCPtr, x, y), false);
   return ret;
 }
Ejemplo n.º 39
0
 public Box2d deflate(Box2d box) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_deflate__SWIG_3(swigCPtr, Box2d.getCPtr(box)), false);
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 40
0
 public Box2d deflate(float d) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_deflate__SWIG_0(swigCPtr, d), false);
   return ret;
 }
Ejemplo n.º 41
0
 public bool contains(Box2d box, Tol tol) {
   bool ret = touchvgPINVOKE.Box2d_contains__SWIG_3(swigCPtr, Box2d.getCPtr(box), Tol.getCPtr(tol));
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 42
0
 public static void beziersBox(Box2d box, int count, Point2d points)
 {
     touchvgPINVOKE.mgnear_beziersBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 43
0
 public Box2d offset(Box2d box) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_offset__SWIG_2(swigCPtr, Box2d.getCPtr(box)), true);
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 44
0
 public Box2d offset(float x, float y) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_offset__SWIG_0(swigCPtr, x, y), false);
   return ret;
 }
Ejemplo n.º 45
0
 public bool isEqualTo(Box2d box) {
   bool ret = touchvgPINVOKE.Box2d_isEqualTo__SWIG_1(swigCPtr, Box2d.getCPtr(box));
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 46
0
 public Box2d offset(Vector2d vec) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_offset__SWIG_1(swigCPtr, Vector2d.getCPtr(vec)), false);
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 47
0
 public Box2d(Box2d src) : this(touchvgPINVOKE.new_Box2d__SWIG_2(Box2d.getCPtr(src)), true) {
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 48
0
 public Box2d scaleBy(float sx) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_scaleBy__SWIG_1(swigCPtr, sx), false);
   return ret;
 }
Ejemplo n.º 49
0
 public Box2d getPageRectW()
 {
     Box2d ret = new Box2d(touchvgPINVOKE.MgShapeDoc_getPageRectW(swigCPtr), false);
     return ret;
 }
Ejemplo n.º 50
0
 public Box2d intersectWith(Box2d r1, Box2d r2) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_intersectWith__SWIG_0(swigCPtr, Box2d.getCPtr(r1), Box2d.getCPtr(r2)), false);
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 51
0
 public Box2d getRect() {
   Box2d ret = new Box2d(touchvgPINVOKE.MgBaseRect_getRect(swigCPtr), true);
   return ret;
 }
Ejemplo n.º 52
0
 public Box2d unionWith(Box2d box) {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_unionWith__SWIG_1(swigCPtr, Box2d.getCPtr(box)), false);
   if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 53
0
 public override Box2d getExtent()
 {
     Box2d ret = new Box2d(touchvgPINVOKE.MgEllipse_getExtent(swigCPtr), true);
     return ret;
 }
Ejemplo n.º 54
0
 public static void cubicSplinesBox(Box2d box, int n, Point2d knots, Vector2d knotvs)
 {
     touchvgPINVOKE.mgnear_cubicSplinesBox__SWIG_2(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 55
0
 public static void moveRectHandle(Box2d rect, int index, Point2d pt)
 {
     touchvgPINVOKE.mgnear_moveRectHandle__SWIG_1(Box2d.getCPtr(rect), index, Point2d.getCPtr(pt));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 56
0
 public Box2d empty() {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_empty(swigCPtr), false);
   return ret;
 }
Ejemplo n.º 57
0
 public static bool beziersIntersectBox(Box2d box, int count, Point2d points)
 {
     bool ret = touchvgPINVOKE.mgnear_beziersIntersectBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points));
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Ejemplo n.º 58
0
 public Box2d normalize() {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_normalize(swigCPtr), false);
   return ret;
 }
Ejemplo n.º 59
0
 public static bool cubicSplinesIntersectBox(Box2d box, int n, Point2d knots, Vector2d knotvs, bool closed)
 {
     bool ret = touchvgPINVOKE.mgnear_cubicSplinesIntersectBox__SWIG_1(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs), closed);
     if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Ejemplo n.º 60
0
 public Box2d swapTopBottom() {
   Box2d ret = new Box2d(touchvgPINVOKE.Box2d_swapTopBottom(swigCPtr), false);
   return ret;
 }