Re: Drawing zero length closed subpaths

Your example looks good for stroke-linejoin round, because here
no directionality is relevant, but there is no good solution for miter or 
bevel (By the way - your sample exposes funny artefacts in browsers for the 
bevel case, worth to explore ;o).
Obviously, with intelligence and declarative animation it is possible to
determine/extrapolate a meaningful result, but without, what to do?
At some point, there is no mathematical trick anymore to determine, 
what is the right and meaningful solution.
At this point authors have to care themselves to ensure, that something
meaningful happens.

But of course, a nice and consistent behaviour for closed subpaths of zero 
length would be helpful, as far as possible.


Olaf

Received on Monday, 25 January 2016 10:22:29 UTC