1 <svg version=
"1.1" baseProfile=
"basic" id=
"svg-root"
2 width=
"100%" height=
"100%" viewBox=
"0 0 480 360"
3 xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink">
4 <!-- Define star path -->
6 <path d=
"M50,0 21,90 98,35 2,35 79,90z" id=
"star" />
8 <clipPath id=
"emptyStar">
9 <use xlink:
href=
"#star" clip-rule=
"evenodd" />
11 <rect clip-path=
"url(#emptyStar)" width=
"50" height=
"90" fill=
"blue" />
13 <clipPath id=
"filledStar">
14 <use xlink:
href=
"#star" clip-rule=
"evenodd" />
16 <rect clip-path=
"url(#filledStar)" width=
"50" height=
"90" x=
"50" fill=
"red" />