blob: 5a232c0ffc3d5b35f7656be9134ad9ae0f5ae5b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="400" viewBox="0 0 20 10">
<clipPath id="a">
<rect width="20" height="10"/>
</clipPath>
<g clip-path="url(#a)">
<rect width="20" height="10" fill="#002a8f" id="blue_stripes"/>
<path stroke="white" stroke-width="2" d="M0,3 h 20 m -20,4 h 20" id="white_stripes"/>
<g id="red_triangle" fill="#cf142b">
<path d="M0,0 H 10 L 0,7" transform="rotate(30)"/>
<path d="M0,10 H 10 L 0,4" transform="rotate(-30 0 10)"/>
</g>
<comment>the star is in the center of gravity of the triangle, so the x-pos is irrational (5 / sin30 * sin60)</comment>
<g id="star" fill="white" transform="translate(2.8867513459481287,5) scale(1.5)">
<g id="cone">
<polygon id="triangle" points="0,0 0,1 .5,1" transform="translate(0,-1) rotate(18)"/>
<use xlink:href="#triangle" transform="scale(-1,1)"/>
</g>
<use xlink:href="#cone" transform="rotate(72)"/>
<use xlink:href="#cone" transform="rotate(-72)"/>
<use xlink:href="#cone" transform="rotate(144)"/>
<use xlink:href="#cone" transform="rotate(-144)"/>
</g>
</g>
</svg>
|