- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Sep 2016 15:39:52 +0000
- To: public-svg-issues@w3.org
AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "SVG Paths": == Sensible defaults for path initial point == One of the most important API design guidelines is having sensible defaults. Currently, any path requires at least one moveto command at the start, otherwise nothing is drawn and the initial point is undefined. I would suggest using 0,0 as the default initial point for path segments drawn before the first moveto command. This is not only convenient in cases where 0,0 is the actual initial point (I imagine these are quite rare), but it facilitates teaching, learning and experimenting with SVG, as it reduces the amount of code authors have to write to see something on the screen. See https://github.com/w3c/svgwg/issues/285
Received on Wednesday, 21 September 2016 15:40:01 UTC