<font color="#993399"><font><font face="arial,helvetica,sans-serif"><b>Dear all,<br><br>Recently
 I worked on a paint application, where I implemented a function to draw
 whatever a user is scribbling on an image. In the mouseMove event, I called a 
function to draw with the previous point and the current point as 
its arguments, using the drawLine function of QPainter.<br>
<br>Now, I noticed that the pixels sent to this function are not 
continuous but some in-between pixels were being left. I assume that
 this is due to the delay for a user->kernel and 
kernel->user mode switch when calling the underlying paint-engine's functions to draw the line. <br><br>I have looked-up in the documentation of Qt-painting to find how it internally calls drawLines(), which instead creates a qpainterPath to draw a curve, line or whatever we scribble. But I couldn't find how the missing pixels were added in between just knowing the start and end point of a line (though we know that a curve will contain a large set of small lines, each having a start and end point)<br>

<br>Is there anyway to track these "missed" pixels i.e to track all the pixels which are being drawn? <br><br>Thanks you!</b></font></font></font><br clear="all"><br><br><br><br>