Good evening, thank you very much!
It's excellent work, my dear.
Just a little mistake here that I fixed:):
+ DrawingCanvas: LastX ≠ localMouseX
+ DrawingCanvas: LastX ≠ localMouseY
+ DrawingCanvas: LastX ≠ localMouseX
+ DrawingCanvas: LastY ≠ localMouseY
----------
I found this strange (+ DrawingCanvas: LastX ≠ localMouseY).
I found that the processor resource consumption was enormous, even when nothing changed.
But since I fixed (+ DrawingCanvas: LastY ≠ localMouseY), it's much better!
Very good work thanks again:)