I am trying to create a program that takes user input and draws a line. To make it more complicated, when the user first begins drawing, a cursor like image appears above the most recently drawn segment. When the user stops drawing the cursor should disappear.
I am able to get the line to draw with the cursor. However, the cursor is blurred as if it is another line.
How do I draw the line and also make the cursor “move”.
Can I make the cursor image disappear and show what would have been there if the cursor did not exist? (when the user finishes drawing)
Can I make the cursor be in front of the line being drawn?
These are subjects I’m struggling with.
I am looking for the subject matter to start reading.