W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > June 2019

[fxtf-drafts] Stroke alignment (#345)

From: Louis Hoebregts via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 Jun 2019 16:20:31 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-457025421-1560788430-sysbot+gh@w3.org>
Mamboleoo has just created a new issue for https://github.com/w3c/fxtf-drafts:

== Stroke alignment ==
Hey there,
I know this is not a new request but I couldn't find any issue related to this topic nor any mention in the future proposal for the specs [(#StrokeProperties)](https://svgwg.org/svg-next/painting.html#StrokeProperties) but if I'm wrong feel free to close this issue :)

I was wondering if a stroke alignement property could be part of the future specs?
Taking Adobe Illustrator as an example, it allows three type of alignement (Center, Inside, Outside) but when exporting to SVG using inside and outside values will convert the path using a stroke into a plain path.
![image](https://user-images.githubusercontent.com/6048794/59599381-b12b2b00-90fe-11e9-9472-2ea78d094802.png)

## Open path
I also noticed that Illustrator doesn't allow an alignment if a path isn't closed.
![image](https://user-images.githubusercontent.com/6048794/59599634-5940f400-90ff-11e9-8e49-1c9388f4c2e8.png)

I guess the reason is linked to the naming of the alignements since an open path doesn't have an inside or outside part.
But maybe the outside could be defined based on the clockwise direction of the path?
(Using different naming could also be needed)
![image](https://user-images.githubusercontent.com/6048794/59600145-b12c2a80-9100-11e9-93b6-48988523d736.png)

Thanks!

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/345 using your GitHub account
Received on Monday, 17 June 2019 16:20:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 17 June 2019 16:20:37 UTC