Remove trailing zeros from path coordinates. Use scientific notation in path coords if shorter. Scour polygon coordinates just like path coordinates. Added tests

This commit is contained in:
JSCHILL1 2009-07-29 12:27:51 -05:00
parent 8f50f0d509
commit b28ae6ec8d
9 changed files with 119 additions and 39 deletions

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<path d="M300.0000, -100.1 z" fill="red" />
</svg>

After

Width:  |  Height:  |  Size: 108 B