If I have a canvas on which I draw Bitmap as follows:
canvas.drawBitmap(bmLargeImage, srcRect, destRect, paint);
and I scale the bitmap:
canvas.scale(1.5f, 1.5f, 450, 250);
I want to get the position of the bitmap after the scale. If the position in front of the scale was (0, 0), after scaling there is an offset, and I need this offset .. how can I get it?
Thanks and sorry for the simple question, newbie here ...
Sunne rotterz
source share