I need to have the capability to move symbols on a 2D window. I’ve created functions that ‘remember’ the current x-y coordinates of a drawn symbol. Then when the function receives new x-y coordinates for the symbol, it draws the background color to the previous x-y coordinates then draws the new x-y coordinates in the foreground color. This gives the impression of motion and works very well.
But I was wondering if there’s a better way to do it. The symbols are simple - like stippled crosshairs, rectangles, line segments, etc.
Thankx in advance.