Magnetic force

While drawing area with mouse, make it stick (x|y) to closer line dragged from ruler, if within a certain distance (e.g. 5pt aka magnetic force).