I coded this today, in between washing dishes with my wife and going to the supermarket a couple of times, lol. I used my object oriented app framework I posted here previously.
https://youtu.be/5zc0pjemt24Everything you see on the screen is an object other than the current color display on the bottom left and the paint canvas itself, which is just a frame owned by the main app. Later on I'll add the ability to stretch or enlarge/move around the canvas.
I have a few "tools" - Pencil, Line, Rectangle, Filled Rectangle, Circle and Filled circle.
I can also adjust the line thickness for the pencil from normal, thick and thicker.
I can save and load using run length encoded routines I developed back in the early 90s for quick and dirty saves. No palette information is saved with the file. ( I do have other versions of the routines I can tweak to work with PTCGraph); I have to do save and load dialog boxes. I had done one for my sprite editor so I'll work on something based on that.
I don't know what I'll do with this tool yet as my artistic skills are mostly nonexistent lol, but I had fun putting this together. I would really like to make a better looking deck of cards, so that's something to work on.