This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Description
I have a rather large 2K image that I am loading and panning within my small phone screen and that part works great. What I'd like to do is somehow translate the bounds of the zoomed and panned image back to the original upper-left coordinates. I get that the offsets reference the center of the image and I tried multiple different formulas to take into account the offset and zoom scale, but I haven't been able to match up with the actual points. Any information would be greatly appreciated.