Finding and moving Bitmaps after canvas scale

view story

http://androidforums.com – So I have a canvas that I draw a bitmap onto.. When the scalefactor of the canvas is 1.0f everything works perfectly how I want it to.. However the problem is when I change the scale of the canvas. Either zoomed in or out I run into problems with the coordinates and finding the bitmap so I can move it on touch.. I've tried dividing coordinates by the scalefactor.. multiplying.. I just can't work out the right calculation to get my desired result! Please help! Here is my code public void onDraw(Canvas canvas) {     // Log.v(TAG, "onDraw()");     clipBoun (General)