Convert canvas to C++. Lots of cleanup.
Convert SPCanvas to C++ widget. Lots of clean-up of code.
This was a RPITB as the canvas wasn't well documented, picked up lots of cruft over the years, and it touches and is touched by lots of Inkscape's code.
-
Setting background using Cairo patterns. (Kept getting segfaults. Needed to include config.h.) -
Split screen and X-Ray modes. (I have an idea on how to do this in a much simpler way that done in SPCanvas.)
This is ready for wider review. It should be feature complete.
Edited by Tavmjong Bah