- From: Regina Henschel <rb.henschel@t-online.de>
- Date: Wed, 30 Oct 2013 17:27:53 +0100
- To: www-svg <www-svg@w3.org>

Hi all, while implementing an SVG import for Apache OpenOffice, we come across this problems: Take this path definitions (A) d="m40,20 -20,10 30,10 z l10,-10" and (B) d="m40,20 -20,10 30,10 z m0 0 l10,-10" Which vertices exists? How many markers are created and what directions have these markers? [I describe the directions as vector, that is simpler than calculating an angle. I write its coordinates as row.] For example A we get vertex (40|20), marker-start, direction 1/√5 (-2|1) + 1/√5 (-1|-2) vertex (20|30), marker-mid, direction 1/√5 (-2|1) + 1/√10 (3|1) vertex (50|40), marker-mid, direction 1/√10 (3|1) + 1/√5 (-1|-2) vertex (40|20), marker-mid, direction 1/√5 (-1|-2) + 1/√2 (1|-1) vertex (50|10), marker-end, direction (1|-1) For example B we get vertex (40|20), same as (A) vertex (20|30), same as (A) vertex (50|40), same as (A) vertex (40|20), marker-mid, direction 1/√5 (-2|1) + 1/√5 (-1|-2) [same as marker-start] vertex (40|20), marker-mid [another one], direction (1|-1) vertex (50|10), same as (A) There is a discussion, whether example A has the sequence (40|20), (20,30), (50|40), (40|20), (40|20), (50|10), with double point (40|20), too. Please give the correct solutions for point (40|20). ==== Is stroke-linejoin or stroke-linecap used in point (40|20)? For example B stroke-linejoin between lines (40|20)(20|30) and (50|40)(40|20) and on top of it stroke-linecap from line (40|20)(50|10) For example A I don't know. Kind regards Regina

Received on Wednesday, 30 October 2013 16:28:20 UTC