Drawing tools, if made into a Windows canvas, just draw some lines, wireframes, it is better to achieve. However, if you want to do it based on image painting like Photoshop, it will be more difficult to do it.
I have developed a painting tool based on paint brushes. Its functions are simple, but there are only a few functions, such as paint brushes, Erasers, and clones.
CodeIt is implemented on the wxWidgets framework and has good cross-platform features.
This was originally a quick drawing plug-in developed for the later synthesis tool of nuke5.0. later it was found that the new version of nuke can already implement this function, so this plug-in is of little use, after a slight modification, I wrote an independent tool and decided to open the code and share it with you. If you need it, you can clickSource codeGo back and study.
Http://www.physdev.com/phpbb/files/fsprint_159.rar