(point, precision)
| 405 | |
| 406 | // round the point to opt.precision |
| 407 | function round(point, precision) { |
| 408 | |
| 409 | return point.round(precision); |
| 410 | } |
| 411 | |
| 412 | // snap to grid and then round the point |
| 413 | function align(point, grid, precision) { |
no test coverage detected