-
Scaling according to Position
In the beginning, the image will be in the center box and its size will be Wf and I can drag it to left/right/up/down. Its size will change according to the logic of the image I attached. As this scaling will depend on the position I can’t figure out how to do it. How can I achieve my desired result?