You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The photo has some dimensions, the display some other, the display rect of PhotoView some other. I'd simply like to get the coordinates of the window in terms of the image's actual width and height (so I can crop the image into exactly what it looks like in the window)
I've been playing a fair bit with the above methods. I know I'm close, I can smell it, but I've been stuck on this for hours.
Just wondering if there's an officially recommended way to do this 😄 Any ideas?
Below is an example of a zoomed in panned around image. I'd like to know exactly how far away from the top left and bottom right did the user pan around, so I can crop out exactly the dimensions that are visible in the screen.
The text was updated successfully, but these errors were encountered:
The photo has some dimensions, the display some other, the display rect of PhotoView some other. I'd simply like to get the coordinates of the window in terms of the image's actual width and height (so I can crop the image into exactly what it looks like in the window)
I've been playing a fair bit with the above methods. I know I'm close, I can smell it, but I've been stuck on this for hours.
Just wondering if there's an officially recommended way to do this 😄 Any ideas?
Below is an example of a zoomed in panned around image. I'd like to know exactly how far away from the top left and bottom right did the user pan around, so I can crop out exactly the dimensions that are visible in the screen.
The text was updated successfully, but these errors were encountered: