rounding for xlines, rays