lets say I have a QGraphicsView that is 50 x 50, and a QGraphicsItem that is 100x100.
Obviously the whole image will not fit in the view at any given time.
I can pan the QGraphicsItem around, scale it, etc etc in the window.
Is there any way to derive which physical pixels of the original image are being displayed at any given time?
For example - if I have panned all the way to the right, it might be the pixels 50-100 in the x direction, and 0-50 in the Y direction. If I have zoomed out some, it may be that ALL of the image is now in the viewer.
Bookmarks