Just wondering what to do with negative and zero length elements in a dash list?
Ignore them completely? Merge them with adjecting on/off segments?
Dashes of length 0 are drawn only if the end cap style is VG_CAP_ROUND or VG_CAP_SQUARE. The incoming and outgoing tangents are evaluated at the point, using the vgPointAlongPath algorithm. The end caps are drawn using the orientation of each tangent, and a join is drawn between them if the tangent directions differ. If the end cap style is VG_CAP_BUTT, nothing will be drawn. A dash, or space between dashes, with length less than 0 is treated as having a length of 0.
I hope that helps.
Originally Posted by Espen
Imho stuff like that should find it's way into the official specification one day.
Actually, it is in the OpenVG spec (p77, last paragraph):
"A dash, or space between dashes, with length less than 0 is treated as having a length of 0."