Convert svg from rects and circle clip to a circle red background + inner circular band of the proper dimensions. No ids in svg. Similar to other flags in the circle-flags project.

This commit is contained in:
Ramón Gil Moreno 2021-01-02 13:30:46 +01:00
parent 217f72b99b
commit 754749e48d

View file

@ -1,10 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<clipPath id="circle-flags-clip">
<circle cx="256" cy="256" r="256"/>
</clipPath>
<g clip-path="url(#circle-flags-clip)">
<rect fill="#ad1519" x="0" y="0" width="512" height="128"/>
<rect fill="#fabd00" x="0" y="128" width="512" height="256"/>
<rect fill="#ad1519" x="0" y="384" width="512" height="128"/>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#ad1519"/><path fill="#fabd00" d="M 34.298828 128 A 256 256 0 0 0 0 256 A 256 256 0 0 0 34.298828 384 L 477.70117 384 A 256 256 0 0 0 512 256 A 256 256 0 0 0 477.70117 128 L 34.298828 128 z"/></svg>

Before

Width:  |  Height:  |  Size: 389 B

After

Width:  |  Height:  |  Size: 301 B