I'm playing around with making a primitive drawing utility as a supplement for one of my apps. To draw in a picturebox is pretty straightforword, however if the cursor moves too fast there is a space between the pixels. Does any know an easy way to 'automatically' connect the pixels if the users moves the mouse too quickly?
Here is an excerpt from my code:
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then Picture1.PSet (X, Y)
End Sub
Thanks in advance,
The Gun
Here is an excerpt from my code:
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then Picture1.PSet (X, Y)
End Sub
Thanks in advance,
The Gun