-----Original Message----- From: A.J. Carter [mailto:ajc200@...1930...] Sent: Friday, January 16, 2009 14:30 To: Diederik van Lierop Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Snapping toolbar
If changing the shape of the snap indicator is a lot of effort in the long term, would it be possible to have a 'tooltip' pop up with it in the shorter term to say ("intersection") to indicate that the current X is the intersection of two objects. When things are close together it would help to see what exactly is snapping at that moment to ensure precision.
I made the snap indicator with the intention of showing what kind of snap is happening. It shouldn't be that much work, but I won't be working on it soon as my TODO list is too long already... :/
A first step to make this possible is to attach the kind of snap to the snapped point/line (don't have code here, but a snaptype member must be added to the 'SnappedPoint' class or whatever it is called). When that is working, we can have the snapindicator draw different icons on the canvas. As a starting point to see whether it works, one could draw other 'stock' icons like a circle, a square or a diamond (the shapes that are used for path nodes) to indicate the different snaptypes. By looking at how those shapes are created, one can make new shapes and use them in the same way.
Cheers, Johan