| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="900" height="600" viewBox="0 0 45 30"> |
| 3 | <rect fill="#ED0000" width="45" height="30"/> |
| 4 | <path stroke="#FFF" stroke-width="6" d="M0,9 h 45 m -45,12 h 45"/> |
| 5 | <path fill="#0050F0" d="M0,0L25.98076,15L0,30z"/> |
| 6 | <comment>the star is in the center of gravity of the triangle, so the x-pos is irrational (tan(30 deg) * 15)</comment> |
| 7 | <g fill="#FFF" transform="translate(8.6602540378443864676372317075294,15) scale(5)"> |
| 8 | <g id="cone"> |
| 9 | <polygon id="triangle" points="0,0 0,1 .5,1" transform="translate(0,-1) rotate(18)"/> |
| 10 | <use xlink:href="#triangle" transform="scale(-1,1)"/> |
| 11 | </g> |
| 12 | <use xlink:href="#cone" transform="rotate(72)"/> |
| 13 | <use xlink:href="#cone" transform="rotate(-72)"/> |
| 14 | <use xlink:href="#cone" transform="rotate(144)"/> |
| 15 | <use xlink:href="#cone" transform="rotate(-144)"/> |
| 16 | </g> |
| 17 | </svg> |