- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sun, 6 Mar 2016 22:29:56 -0800
- To: Jarek Foksa <jarek@boxy-svg.com>
- Cc: Regina Henschel <rb.henschel@t-online.de>, www-svg <www-svg@w3.org>
On Sun, Mar 6, 2016 at 10:32 AM, Jarek Foksa <jarek@boxy-svg.com> wrote: > I can’t find the relevant section in the spec, but I would expect the stroke to be painted first, before applying group transforms, thus making the stroke look like a parallelogram. > > The spec defines <line> and <polyline> as "mathematically equivalent to a <path>”. I don't see any reason why they should be rendered differently than <path>. > > Chrome and the dev version of Inkscape seem to render this graphics correctly, I’m not sure about other apps. Yup, the Chrome rendering (parallelograms when scaled non-uniformly) is correct. Like filters, transforms are a post-painting operation (thus the stretching), and all shapes in SVG are just shorthands for some <path> (thus all the elements acting the same). ~TJ
Received on Monday, 7 March 2016 06:30:44 UTC