A rectangle shape is inside a view.
The view has been moved, zoomed, rotated, and the same for the rectangle.
But the rectangle is there in the window, visible.
I need to know the exact coordinate of this rectangle in relation to the window edges, ie how to grab a ruler and count the pixels of the visual object to the edges.
This has a purpose: I want to keep the object always visible in the window, regardless of which transformations it receives.
Does anyone know how to do this?