Re: [svgwg] consider more involved path shapes (#754)

A real world example, excerpt from my actual project, would be the [this image][example]. The shapes are supposed to represent a character’s hair. (Renamed to `.txt` because apparently GitHub doesn’t like SVGs.)

[example]: https://github.com/w3c/svgwg/files/3877553/ex1.txt

By just inspecting its DOM or markup, or by adding a style of e.g. `* { stroke: #000; fill: none; }`, it should be clear that it employs various tricks to work appropriately, some of which depend on the stroke thickness and other specificalities to actually work.

Now, one can imagine that, with my approach, things become simpler. For the fill paint, it should be easy to have a path that references all fragments in an appropriate order (and potentially use `fill-rule`). The strokes are admittedly more involved, but separating it into multiple `<path>`s, using `mask` to exclude the parts of the segments that are overlaid should be straight‐forward enough.

-- 
GitHub Notification of comment by Zambonifofex
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/754#issuecomment-557350756 using your GitHub account

Received on Friday, 22 November 2019 01:46:59 UTC