I have a simple question which keeps me thinking for a few hours now.
Assume a canvas which is rotated by a specific (known) degree. I want to get the screen coordinates of a bitmap I have drawn on the rotated canvas. To achieve this, I need the canvas' clip bounds. This would be no problem for a non-rotated canvas. But it keeps giving me strange values for the rotated case. To be honest, I'm not really sure, what they're supposed to be for a rotated canvas, as top and bottom can't be simple Integer values representing the distance of the currently viewable part on the y-axis to the top and the bottom of the canvas. The same applies to left and right. So what do these values mean to me and how can I use them to get the screen coordinates?
Looking at the Android source didn't help, as they're using a native_getClipBounds() method which I couldn't find anywhere...