W3C home > Mailing lists > Public > www-svg@w3.org > January 2016

Re: Drawing zero length closed subpaths

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Mon, 25 Jan 2016 11:21:22 +0100
To: www-svg@w3.org, kari.pihkala@gmail.com
Message-ID: <2750471.g7QJiOsm3X@ap03>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:43 UTC