]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - images/flags/Flag_of_the_Philippines.svg
Update flags.
[Dictionary.git] / images / flags / Flag_of_the_Philippines.svg
index 39a5f6235a35d019ad08312efbe8e496c4c473b2..ca6cf9d096f134b89c2757398b91ecb2bba9ad08 100644 (file)
@@ -1,18 +1,35 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="900" height="450">\r
-       <rect width="900" height="450" fill="#0038a8"/>\r
-       <rect y="225" width="900" height="225" fill="#ce1126"/>\r
-       <path d="M 389.983,225 0,450 0,0" fill="#fff"/>\r
-       <circle cx="140" cy="225" r="45" fill="#fcd116"/>\r
-       <path id="rays" d="m 151.91574,182.53822 8.08404,-30.988 -5.38769,-6.71 -6.64357,37.698 3.94722,0 z m -16.78966,0 -4.68526,-41.998 9.45035,-10.54 9.32628,10.54 -4.70583,41.998 -9.38554,0 z m -7.41036,0 -7.71594,-30.988 5.47505,-6.71 6.19434,37.698 -3.95345,0 z" fill="#fcd116"/>\r
-       <use xlink:href="#rays" transform="rotate(45 140,225)"/>\r
-       <use xlink:href="#rays" transform="rotate(90 140,225)"/>\r
-       <use xlink:href="#rays" transform="rotate(135 140,225)"/>\r
-       <use xlink:href="#rays" transform="rotate(180 140,225)"/>\r
-       <use xlink:href="#rays" transform="rotate(225 140,225)"/>\r
-       <use xlink:href="#rays" transform="rotate(270 140,225)"/>\r
-       <use xlink:href="#rays" transform="rotate(315 140,225)"/>\r
-       <path d="m 295.51186,241.27423 11.91752,-16.24894 -11.95037,-16.22484 19.13642,6.3131 11.73784,-16.37919 -0.0792,20.15063 19.20489,6.10191 -19.19223,6.1407 0.11873,20.15039 -11.77069,-16.35548 -19.12375,6.35172 z" fill="#fcd116"/>\r
-       <path id="star" d="m 60.74334,376.84708 -20.030755,2.1964 -8.075939,-18.46174 -4.100905,19.72917 -20.0537158,1.97567 17.4905578,10.00673 -4.318036,19.68288 14.914118,-13.55061 17.391385,10.17802 -8.278916,-18.37146 15.062626,-13.38579 z" fill="#fcd116"/>\r
-       <use xlink:href="#star" transform="matrix(1,0,0,-1,0,450)"/>\r
-</svg>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<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">
+<title>Flag of the Philippines</title>
+<desc>Coding according to the official "description and specification of the FILIPINO flag" in Executive Order No. 23 from 1936</desc>
+<rect width="180" height="90" fill="#0038a8"/>
+<rect y="45" width="180" height="45" fill="#ce1126"/>
+<path d="M 77.942286,45 0,90 0,0" fill="#fff"/> <!-- 45*Sqrt(3) -->
+<g transform="translate(28,45)" fill="#fcd116">
+       <circle r="9"/>
+       <g id="j">
+               <g id="i">
+                       <g id="h">
+<!-- these coordinates are  -1/(1+tan(k*Pi/48)),1-1/(1+tan(k*Pi/48)) -->
+<!-- k in {1,2,3}.  2nd scaling factor is 85/0.88366349...  -->
+                               <path d="M -1,0 L -0.93848823,0.06151177 L 0,0 L -0.93848823,-0.06151177 z" transform="scale(19)"/>
+                               <path id="g" d="M -0.88366349,0.11633651 L -0.83408932,0.16591068 L 0,0 z" transform="scale(19.238092)"/>
+                               <use xlink:href="#g" transform="scale(1,-1)"/>
+                       </g>
+                       <use xlink:href="#h" transform="rotate(45)"/>
+               </g>
+               <use xlink:href="#i" transform="rotate(90)"/>
+       </g>
+       <use xlink:href="#j" transform="rotate(180)"/>
+       <g transform="translate(-2.019238)"> <!-- 15*Sqrt(3)-28  -->
+               <g id="s" transform="translate(37.961524,0)"> <!-- 30*Sqrt(3)-14  -->
+<!-- 5-pointed star with ri=2 and rc=5, not(!) r2/r1 = 0.381966...  -->
+                       <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"/>
+               <use xlink:href="#t" transform="scale(1,-1)"/>
+               </g>
+               <use xlink:href="#s" transform="rotate(120)"/>
+               <use xlink:href="#s" transform="rotate(-120)"/>
+       </g>
+</g>
+</svg>