tapspace
Version:
A zoomable user interface lib for web apps
14 lines (13 loc) • 318 B
JavaScript
module.exports = function (grid, anchor) {
/// @TransformerComponent:snapGrid(grid, anchor)
//
// Snap the transformer anchor to the closest matching grid position.
//
// Parameters:
// grid
// a Grid
// anchor
// optional Point on this plane.
//
throw new Error('not implemented')
}