Rounds every region and label offset in a d_state() to the nearest
multiple of grid, tidying hand-dragged layouts into even increments.
Examples
state <- d_state(
region_offsets = data.frame(region = "A", dx_m = 1234, dy_m = -567)
)
state <- d_snap_offsets(state, grid = 1000)
state$region_offsets
#> region dx_m dy_m
#> 1 A 1000 -1000
