title: canvas drawpath not accurate
body: <p>As you can see when i use <code>canvas.drawpath()</code> in my application i dont get the results that one user would want to. </p>
  
  <p>See where my finger is and where it draws!</p>
  
  <p><a href="https://i.stack.imgur.com/Fk8Tk.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fk8Tk.jpg" alt="enter image description here"></a></p>
  
  <pre><code>    //Bitmap is the picture
      imageview.setImageBitmap(bitmap);
      Canvas canvas = new Canvas(bitmap);
      Paint paint = new Paint();
      paint.setColor(Color.Black);
      paint.setStrokeWidth(50);
      paint.setStyle(Paint.Style.STROKE);
      path = new Path();
      imageview.setOnTouchListener(this);
  </code></pre>
  
  <p>And here onTouchListener</p>
  
  <pre><code>public boolean onTouch(View v, MotionEvent event) {
              int action = event.getAction();
              switch (action) {
              case MotionEvent.ACTION_DOWN:
                  path.moveTo(event.getX(), event.getY());
                  path.lineTo(event.getX(), event.getY());
                  canvas.drawPath(path, paint);
                  imageview.invalidate();
                  break;
              case MotionEvent.ACTION_MOVE:
                    path.lineTo(event.getX(), event.getY());
                    canvas.drawPath(path, paint);
                    imageview.invalidate();
                      break;
              case MotionEvent.ACTION_UP:
                    path.lineTo(event.getX(), event.getY());
                     canvas.drawPath(path, paint);
                      imageview.invalidate();
  
                break;
              case MotionEvent.ACTION_CANCEL:
                break;
              default:
                break;
              }
              return true;
            }
  </code></pre>