]> gitweb.fperrin.net Git - Dictionary.git/blob - images/flags/Flag_of_the_Philippines.svg
Update flags.
[Dictionary.git] / images / flags / Flag_of_the_Philippines.svg
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="900" height="450" viewBox="0 0 180 90">
4 <title>Flag of the Philippines</title>
5 <desc>Coding according to the official "description and specification of the FILIPINO flag" in Executive Order No. 23 from 1936</desc>
6 <rect width="180" height="90" fill="#0038a8"/>
7 <rect y="45" width="180" height="45" fill="#ce1126"/>
8 <path d="M 77.942286,45 0,90 0,0" fill="#fff"/> <!-- 45*Sqrt(3) -->
9 <g transform="translate(28,45)" fill="#fcd116">
10         <circle r="9"/>
11         <g id="j">
12                 <g id="i">
13                         <g id="h">
14 <!-- these coordinates are  -1/(1+tan(k*Pi/48)),1-1/(1+tan(k*Pi/48)) -->
15 <!-- k in {1,2,3}.  2nd scaling factor is 85/0.88366349...  -->
16                                 <path d="M -1,0 L -0.93848823,0.06151177 L 0,0 L -0.93848823,-0.06151177 z" transform="scale(19)"/>
17                                 <path id="g" d="M -0.88366349,0.11633651 L -0.83408932,0.16591068 L 0,0 z" transform="scale(19.238092)"/>
18                                 <use xlink:href="#g" transform="scale(1,-1)"/>
19                         </g>
20                         <use xlink:href="#h" transform="rotate(45)"/>
21                 </g>
22                 <use xlink:href="#i" transform="rotate(90)"/>
23         </g>
24         <use xlink:href="#j" transform="rotate(180)"/>
25         <g transform="translate(-2.019238)"> <!-- 15*Sqrt(3)-28  -->
26                 <g id="s" transform="translate(37.961524,0)"> <!-- 30*Sqrt(3)-14  -->
27 <!-- 5-pointed star with ri=2 and rc=5, not(!) r2/r1 = 0.381966...  -->
28                         <path id="t" d="M 5,0 L 1.618034,1.175571 1.545085,4.755283 -0.618034,1.902113 -4.045085,2.938926 -2,0 z"/>
29                 <use xlink:href="#t" transform="scale(1,-1)"/>
30                 </g>
31                 <use xlink:href="#s" transform="rotate(120)"/>
32                 <use xlink:href="#s" transform="rotate(-120)"/>
33         </g>
34 </g>
35 </svg>