I\'m developing an application in which I\'m pasting images, doing drawing and painting on canvas. This app can also Scale up/down the canvas or drag it to different locatio
Draw everything by applying this formula to (px,py) coordinates:
float px = ev.getX() / mScaleFactor + rect.left;
float py = ev.getY() / mScaleFactor + rect.top;
rect = canvas.getClipBounds();
//Get them in on Draw function and apply above formula before drawing