That (round) function should work the way I described in post 3... I was thinking something like I have point and 4 points that surrounds it - then correct point to nearest surrounding point or if equals all 4 distances to lower left; if equals and smaller ll ul to pt (smaller than to lr ur), then correct it to ll; if equals and smaller ll lr, then correct it to ll; if equals and smaller ul ur, then correct it to ul; if equal and smaller lr ur, then correct it to lr...