3 Dec
2012
3 Dec
'12
7:52 p.m.
On 3-12-2012 19:29, Martin Owens wrote:
On Mon, 2012-12-03 at 19:11 +0100, Tavmjong Bah wrote:
Looks good. How are the connecting points ('X's) determined?
In that example:
<g> <p d="m x,y z"/> ... other parts of the shape ... </g>
Simple test of path points count == 1. It's simple and quite flexible, I was able to control them even without near-detection.
Hmm, this might bug. One example I can think of: paths with only one point do get markers rendered; does a path inherit style from its parent? Perhaps it is better to add an Inkscape-specific connector attribute?
Ciao, Johan