1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-25 18:41:39 +03:00
Files
svgo/test/plugins/convertTransform.10.svg.txt
2024-02-05 21:47:31 +00:00

17 lines
567 B
Plaintext

Make sure translate(n,n) and translate(n) work.
===
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="-100 -100 100 100">
<rect x="0" y="0" width="10" height="20" transform="matrix(1,0,0,1,3,0)"/>
<rect x="0" y="0" width="10" height="20" transform="matrix(1,0,0,1,3,3)"/>
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="-100 -100 100 100">
<rect x="0" y="0" width="10" height="20" transform="translate(3)"/>
<rect x="0" y="0" width="10" height="20" transform="translate(3 3)"/>
</svg>