MenTaLguY a écrit :
Okay, first of all, please follow the standard naming conventions for classes Inkscape.
Classes should be named like SPHighlight, SPHighlightGroup, and SPHighlightItem.
Except... the SP* prefix is a holdover from Sodipodi. Please don't use it for new code. New classes should go in the Inkscape:: namespace instead.
For example, Inkscape::Highlight, Inkscape::HighlightGroup, and Inkscape::HighlightItem.
In general, please famliarize yourself with the coding standards here:
http://www.inkscape.org/doc/coding_style.php
Other than that, your basic concept sounds good.
-mental
I have now checked that and will respect the coding style, I promise :)
Is the Inkscape namespace necessary ? it seems classes like Snapper are not in the Inkscape namespace...