Mar-03-2017, 09:36 AM
The dc.clear() which should work but it's part of an endless while loop.
The 'jaggard' rectangles is is because the rectangle is constantly being drawn, then erased and the cycle repeated.
The 'jaggard' rectangles is is because the rectangle is constantly being drawn, then erased and the cycle repeated.
- Remove the while
- place the clear in a function
- only call the clear function when you are actually ready to clear.