How to calculate the click on the original pixel of the image after it has been panned, zoomed, and adjusted with the scrollbars
Issue I am created a GridEditor program that generates a grid based on the dimensions provided and then allows you to paint patterns in each of these grid squares. I implemented a zoom and pan method based on the answer in this stackoverflow. Note I did change the zoom values to work on a mac. […]