Nitin Daphale 0 Junior Poster in Training

When I draw on my HTML5 canvas, it is zoomed already? Hence drawn arrow below is blurred! (snap attched).
What is the Reason?
Any help to avoid this?

var ctx = document.getElementById("canvasWhiteboard").getContext("2d");
ctx.beginPath();
ctx.moveTo(touchX, touchY);
ctx.lineTo(moveX, moveY);
ctx.lineWidth = 4;
ctx.strokeStyle = "black";
ctx.stroke();
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.