I have problem to draw line on scaled and transformed image on canvas, well for the transformed I am able to draw line on image but if the image was scaled(zoom in or out) then line drew unexpectedly pixel using finger touch. As I am working on paint application but didn’t have knowledge more about this so I need your help, I have searched it on google but no luck, I didn’t found any thing
here is the images 1st is default working properly and in second moved image working properly drew the line properly

while in third on scaled image not properly draw, I mean if start draw from the top/left corner then the line drew point was different like here

if you need for code then say it I’ll edit the question
Ok after many implementation I got the solution for this.
This is my code for drawing in onDraw()
here you have to check for the scale factor value for restore the canvas. If the scale factor value was default that is 1.f and image was just move then restore after the draw line/path, if the scale factor was not equals to the 1.f (default) then restore the canvas 1st then draw line/path at using finger touch drawing time.
here is my onTouch() code