public override bool hitTestBox(Box2d rect) { bool ret = touchvgPINVOKE.MgParallel_hitTestBox(swigCPtr, Box2d.getCPtr(rect)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
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); }
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); }
public MgShape hitTest(Box2d limits, MgHitResult res) { IntPtr cPtr = touchvgPINVOKE.MgShapes_hitTest(swigCPtr, Box2d.getCPtr(limits), MgHitResult.getCPtr(res)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GiSaveClipBox(GiGraphics gs, Box2d rectWorld) : this(touchvgPINVOKE.new_GiSaveClipBox(GiGraphics.getCPtr(gs), Box2d.getCPtr(rectWorld)), true) { if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
private IntPtr SwigDirectorgetExtent() { return(Box2d.getCPtr(getExtent()).Handle); }
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); }
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); }
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); }
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); }
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); }
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); }
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); }
public virtual bool showInSelect(MgMotion sender, int selState, MgShape shape, Box2d selbox) { bool ret = touchvgPINVOKE.MgActionDispatcher_showInSelect(swigCPtr, MgMotion.getCPtr(sender), selState, MgShape.getCPtr(shape), Box2d.getCPtr(selbox)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }