2012-01-29 | Paul Boddie | raw annotate files changeset graph | Improved/fixed transform attribute parsing and path data parsing. Added a test of transformations and paths. |
1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" 3 width="800px" height="600px" viewBox="0 0 800 600"> 4 <g transform="translate(400 300) scale(200 150)"> 5 <rect x="-2" y="-2" width="4" height="4" fill="#000"/> 6 <path d="M -1,-1 L 1,-1 L 1,1 L -1,1 z" stroke="#fff" stroke-width="0.005"/> 7 </g> 8 </svg>