Re: [svgwg] Verbose SVG for improved human readability (#340)

I remembered this proposal today, because it would provide something for free that SVG does not have yet (as far as I know): *named coordinates* and *reusable dimensions*.

~~~~ svg
<defs>
  <p id="wxh" dx="123" dy="45"/>  
  <p id="xy1" x="67" y="89"><desc>upper left corner of rectangle</desc></p>  
  <p id="xy2" x="190" y="134"/>  
</defs>

<rect><!-- 1 absolute and 1 relative point -->
  <use xlink:href="#xy1"/>
  <use xlink:href="#wxh"/>
</rect>
<rect><!-- 2 absolute points specify two corners -->
  <use xlink:href="#xy1"/>
  <use xlink:href="#xy2"/>
</rect>
~~~~

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

Received on Thursday, 13 February 2020 07:26:46 UTC