- From: Zambonifofex via GitHub <sysbot+gh@w3.org>
- Date: Fri, 22 Nov 2019 01:41:22 +0000
- To: public-svg-issues@w3.org
Zambonifofex has just created a new issue for https://github.com/w3c/svgwg: == consider more involved path shapes == Hello, everyone! I am currently working on an SVG project by myself, and I feel like I have run into the limitations of the current `path` element (as well as perhaps of SVG in general) various times. For example, + it is not possible to have two shapes that overlay each other at different parts of an image. + it is not possible to have the stroke of an image be overlaid by its own fill paint in some position. (I want to be able to have a shape fold into itself, and hide below its previous part.) + the only path fragment that can be exempt from stroking is the line at the end of an unclosed path. I have come up with various hacks to circumvent these (and other) limitations, but they feel really unsatisfying. They include, for example, + separating my paths. + putting my paths in a `<defs>`, and separating their stroke from their fill paint by employing `<use>`. + using `clip-path` and `mask` in various ways, sometimes either only on a path’s stroke or only on a path’s fill paint. + adding stroke‐less paths to fill in holes that appear because of the path separation. + repeating parts of a path in another path, perhaps for clipping/masking. I honestly feel like there could be a better approach to achieve these kinds of things without hacks. Thanks in advance for your attention! Please view or discuss this issue at https://github.com/w3c/svgwg/issues/754 using your GitHub account
Received on Friday, 22 November 2019 01:41:24 UTC