3 ms·
Alternatively, with SGML: <path> <point x=10 y=10/> <point x=90 y=10/> <point x=90 y=90/> <point x=10 y=90/> <point x=10 y=10/> </path>
by crazypython 6y ago
Alternatively, with SGML:
<path>
<point x=10 y=10/>
<point x=90 y=10/>
<point x=90 y=90/>
<point x=10 y=90/>
<point x=10 y=10/>
</path>
- ognarb 6y agoSame as other commenters, you removed the information about that this coordinate means. Does <point x=10 y=10/> means I will trace a line to 10,10, move to 10,10, trace a bezier curve, ... This could be a better format, but still a lot heaver in term of bandwidth. <path> <move x=10 y=10/> <line x=90 y=10/> <curve x=90 y=90/> <end/> </path>
- Groxx 6y agoThis is pretty clearly a more accurate "xml-ification" of a bunch of points. X/Y are un-ordered attributes of a point, not part of an ordered list of things contained within a point.