Can someone explain how the coordinates work for searching in a specified area?

See my explanation as starter

WindowDual: Move and Resize windows with one or two screens

right arrow is offset from left
down arrow is offset from top
nex two are width and height of area