1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-25 18:41:39 +03:00
Files
svgo/test/plugins/convertShapeToPath.05.svg.txt

28 lines
1.0 KiB
Plaintext

Precision should be applied to all converted shapes
===
<svg xmlns="http://www.w3.org/2000/svg" width="65mm" height="45mm" viewBox="0 0 65 45">
<rect x="26.614" y="29.232" width="34.268" height="8.1757"/>
<line x1="26.6142" y1="29.2322" x2="34.2682" y2="8.1757"/>
<polyline points="26.6142,29.2322 34.2682,8.1757"/>
<polygon points="26.6142,29.2322 34.2682,8.1757"/>
<circle cx="26.6142" cy="29.2322" r="34.2682"/>
<ellipse cx="26.6142" cy="29.2322" rx="34.2682" ry="8.1757"/>
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg" width="65mm" height="45mm" viewBox="0 0 65 45">
<path d="M26.614 29.232H60.882V37.408H26.614z"/>
<path d="M26.614 29.232 34.268 8.176"/>
<path d="M26.614 29.232 34.268 8.176"/>
<path d="M26.614 29.232 34.268 8.176z"/>
<path d="M26.614-5.036A34.268 34.268 0 1 0 26.614 63.5 34.268 34.268 0 1 0 26.614-5.036z"/>
<path d="M26.614 21.057A34.268 8.176 0 1 0 26.614 37.408 34.268 8.176 0 1 0 26.614 21.057z"/>
</svg>
@@@
{ "floatPrecision": 3, "convertArcs": true }