- From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
- Date: Fri, 17 Apr 2015 13:56:59 +0200
- To: www-svg@w3.org
Hello, currently one can use stroke-dasharry (together maybe with use elements or entities) to apply different stroke decorations) to different fractions of a path. Of course, currently, to apply it only to different segments, it requires calculation of the path length of segments of a path, at least for elliptical arcs and cubic segments not a trivial task for authors - and a source of possible implementation bugs due to accuracy problems for numerical algorithms to determine the length of a segment. Currently authors can only provide information about their result for the complete path to ensure that implementations align their results, this would be necessary for each segment for such a use case and some others as well. Maybe if this turns out to be a more often required use case, there should be another attribute extending/alternating either the meaning of stroke-dasharray or having such a functionality additionally to stroke-dasharray. In both cases however one has to define in detail what happens on the beginning and end of a segment concering the interaction with some other stroke-properties. Olaf
Received on Friday, 17 April 2015 11:57:29 UTC