Compute the integer cell {col, row} that contains point, given a grid
spacing and optional origin and unitSystem. Pair with
createCellHighlightLayer (its getCell callback) to draw a snap-target
preview that uses the same spacing as gridSnapStrategy — so the visual
and behavioral grids stay in lockstep:
Compute the integer cell
{col, row}that containspoint, given a gridspacingand optionaloriginandunitSystem. Pair withcreateCellHighlightLayer(itsgetCellcallback) to draw a snap-target preview that uses the same spacing asgridSnapStrategy— so the visual and behavioral grids stay in lockstep: