public Point2d rulerPoint(Point2d dir, float xoff, float yoff) {
Point2d ret = new Point2d(touchvgPINVOKE.Point2d_rulerPoint__SWIG_1(swigCPtr, Point2d.getCPtr(dir), xoff, yoff), true);
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
return ret;
}