-----Original Message----- From: J.B.C.Engelen@...1578... [mailto:J.B.C.Engelen@...1578...] Sent: 2009 jan 16 15:16
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).
Has already been taken care of ages ago ;-)
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.
Should also work already, although I don't recall testing it.
By looking at how those shapes are created, one can make new shapes and use them in the same way.
Yes, that's where we are now! I only spend maybe 10 minutes on this, but I got lost in the code...
Bye,
Diederik