oxjs/source/svg/Ox.Geo/PR.svg

31 lines
1.2 KiB
XML
Raw Normal View History

2011-03-05 02:08:30 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<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">
<clipPath id="a">
<rect width="45" height="30"/>
</clipPath>
<rect id="red_stripes" width="45" height="30" fill="#ed0000"/>
<path id="white_stripes" stroke="white" stroke-width="6" d="M0,9 h 45 m -45,12 h 45"/>
<g id="blue_triangle" fill="#0050f0">
<path d="M0,0 H 30 L 0,20" transform="rotate(30)"/>
<path d="M0,30 H 30 L 0,10" transform="rotate(-30 0 30)"/>
</g>
<comment>the star is in the center of gravity of the triangle, so the x-pos is irrational (tan(30 deg) * 15)</comment>
<g id="star" fill="white" transform="translate(8.6602540378443864676372317075294,15) scale(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>
</svg>