public static Matrix2d scaling(float scaleX, float scaleY, Point2d center) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_scaling__SWIG_2(scaleX, scaleY, Point2d.getCPtr(center)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void setRect4P(Point2d points) { touchvgPINVOKE.MgBaseRect_setRect4P(swigCPtr, Point2d.getCPtr(points)); }
public static Matrix2d rotation(float angle, Point2d center) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_rotation__SWIG_0(angle, Point2d.getCPtr(center)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool genericRoundLines(int count, Point2d points, float radius) { bool ret = touchvgPINVOKE.GiPath_genericRoundLines__SWIG_1(swigCPtr, count, Point2d.getCPtr(points), radius); return(ret); }
public virtual bool setHandlePoint(int index, Point2d pt, float tol) { bool ret = (SwigDerivedClassHasMethod("setHandlePoint", swigMethodTypes28) ? touchvgPINVOKE.MgBaseShape_setHandlePointSwigExplicitMgBaseShape(swigCPtr, index, Point2d.getCPtr(pt), tol) : touchvgPINVOKE.MgBaseShape_setHandlePoint(swigCPtr, index, Point2d.getCPtr(pt), tol)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool linesTo(int count, Point2d points) { bool ret = touchvgPINVOKE.GiPath_linesTo(swigCPtr, count, Point2d.getCPtr(points)); return(ret); }
public bool arcTo(Point2d point, Point2d end) { bool ret = touchvgPINVOKE.GiPath_arcTo__SWIG_1(swigCPtr, Point2d.getCPtr(point), Point2d.getCPtr(end)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Matrix2d(Vector2d e0, Vector2d e1, Point2d origin) : this(touchvgPINVOKE.new_Matrix2d__SWIG_3(Vector2d.getCPtr(e0), Vector2d.getCPtr(e1), Point2d.getCPtr(origin)), true) { if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public void TransformPoints(int count, Point2d points) { touchvgPINVOKE.Matrix2d_TransformPoints(swigCPtr, count, Point2d.getCPtr(points)); }
protected virtual void setStepPoint(int step, Point2d pt) { if (SwigDerivedClassHasMethod("setStepPoint", swigMethodTypes19)) { touchvgPINVOKE.MgCommandDraw_setStepPointSwigExplicitMgCommandDraw(swigCPtr, step, Point2d.getCPtr(pt)); } else { touchvgPINVOKE.MgCommandDraw_setStepPoint(swigCPtr, step, Point2d.getCPtr(pt)); } if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public Point2d snapPoint(MgMotion sender, Point2d orignPt) { Point2d ret = new Point2d(touchvgPINVOKE.MgCommandDraw_snapPoint__SWIG_3(swigCPtr, MgMotion.getCPtr(sender), Point2d.getCPtr(orignPt)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool setTanStartEnd(Vector2d startTan, Point2d start, Point2d end) { bool ret = touchvgPINVOKE.MgArc_setTanStartEnd(swigCPtr, Vector2d.getCPtr(startTan), Point2d.getCPtr(start), Point2d.getCPtr(end)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool setCenterStartEnd(Point2d center, Point2d start, Point2d end) { bool ret = touchvgPINVOKE.MgArc_setCenterStartEnd__SWIG_1(swigCPtr, Point2d.getCPtr(center), Point2d.getCPtr(start), Point2d.getCPtr(end)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool setStartMidEnd(Point2d start, Point2d point, Point2d end) { bool ret = touchvgPINVOKE.MgArc_setStartMidEnd(swigCPtr, Point2d.getCPtr(start), Point2d.getCPtr(point), Point2d.getCPtr(end)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static Matrix2d shearing(float sx, float sy, Point2d pnt) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_shearing__SWIG_0(sx, sy, Point2d.getCPtr(pnt)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Matrix2d setCoordSystem(Vector2d e0, Vector2d e1, Point2d origin) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_setCoordSystem(swigCPtr, Vector2d.getCPtr(e0), Vector2d.getCPtr(e1), Point2d.getCPtr(origin)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual bool insertPoint(int segment, Point2d pt) { bool ret = (SwigDerivedClassHasMethod("insertPoint", swigMethodTypes35) ? touchvgPINVOKE.MgBaseLines_insertPointSwigExplicitMgBaseLines(swigCPtr, segment, Point2d.getCPtr(pt)) : touchvgPINVOKE.MgBaseLines_insertPoint(swigCPtr, segment, Point2d.getCPtr(pt))); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void getCoordSystem(Vector2d e0, Vector2d e1, Point2d origin) { touchvgPINVOKE.Matrix2d_getCoordSystem(swigCPtr, Vector2d.getCPtr(e0), Vector2d.getCPtr(e1), Point2d.getCPtr(origin)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public bool beziersTo(int count, Point2d points) { bool ret = touchvgPINVOKE.GiPath_beziersTo__SWIG_1(swigCPtr, count, Point2d.getCPtr(points)); return(ret); }
public static Matrix2d coordSystem(Vector2d e0, Vector2d e1, Point2d origin) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_coordSystem__SWIG_0(Vector2d.getCPtr(e0), Vector2d.getCPtr(e1), Point2d.getCPtr(origin)), true); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GiPath(int count, Point2d points, string types) : this(touchvgPINVOKE.new_GiPath__SWIG_2(count, Point2d.getCPtr(points), types), true) { }
public Matrix2d setToScaling(float scale, Point2d center) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_setToScaling__SWIG_0(swigCPtr, scale, Point2d.getCPtr(center)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public float hitTest2(Point2d pt, float tol, Point2d nearpt) { float ret = touchvgPINVOKE.MgBaseShape_hitTest2(swigCPtr, Point2d.getCPtr(pt), tol, Point2d.getCPtr(nearpt)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Matrix2d setToMirroring(Point2d pnt, Vector2d dir) { Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_setToMirroring__SWIG_2(swigCPtr, Point2d.getCPtr(pnt), Vector2d.getCPtr(dir)), false); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private IntPtr SwigDirectorgetHandlePoint(int index) { return(Point2d.getCPtr(getHandlePoint(index)).Handle); }
public void setRectWithAngle(Point2d pt1, Point2d pt2, float angle, Point2d basept) { touchvgPINVOKE.MgBaseRect_setRectWithAngle(swigCPtr, Point2d.getCPtr(pt1), Point2d.getCPtr(pt2), angle, Point2d.getCPtr(basept)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }