16 Jan
2012
16 Jan
'12
4:47 p.m.
I've run into similar difficulties in the snapping code, iirc in _snapPaths() in the object snapper. Managed to work around it partly, but not satisfied yet either.
Kind regards, Diederik
"Krzysztof KosiĆski" <tweenk.pl@...400...> wrote:
Also, is there a canonical way to find out which of the nodes I'm traversing are selected? From what I gather from the code it seems that the path data itself is conceptually separated from UI stuff
like
selected nodes. Do I need to check for each encountered node whether it occurs in _selected_nodes (e.g. by comparing the position) or is there a better way?
Use the selected() method (it's inherited from SelectableControlPoint).
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.