scaling ratio:1

multiply & divide

x-1-Left

x-2-Right

y-Top

y-Bottom

swap coordindates

×185
×345
×220
×343