Debian Codegraph @

texmf-dist/tex/latex/worldflags/worldflag_PH.tex

raw
1 % -------------------------------------------------------------
2 % Philippines:
3 % ---------------------------------------------------------------------------------------
4 \begin{flagdescription}{1/2}
5 \definecolor{red}{RGB}{191,13,55}
6 \definecolor{blue}{RGB}{0,51,160}
7 \definecolor{gold}{RGB}{254,209,65}
8 \hstripesII{blue}{red}
9 \fill [white] (0,0)--(30:1)--(0,1)--cycle;
10 \starV{gold}{(60:14/90)}{5/90*\flagwidth}{150}
11 \starV{gold}{($(0,1)+(-60:14/90)$)}{5/90*\flagwidth}{30}
12 \starV{gold}{($(30:1)+(-180:14/90)$)}{5/90*\flagwidth}{-90}
13 \coordinate (h) at (28/90,0.5);
14 \begin{scope}[shift=(h),fill=gold]
15 \fill (0,0) circle (0.1);
16 \clip (0:0.21111)--(90:0.21111)--(180:0.21111)--(270:0.21111)--cycle;
17 \foreach \w in {0,90,180,270}{
18 \fill (h)--(\w+3.75:0.5)--(\w-3.75:0.5)--cycle;
19 \fill (h)--(\w+7.5:0.5)--(\w+11.25:0.5)--cycle;
20 \fill (h)--(\w-7.5:0.5)--(\w-11.25:0.5)--cycle;}
21 \end{scope}
22 \begin{scope}[shift=(h),fill=gold]
23 \clip (45:0.21111)--(135:0.21111)--(225:0.21111)--(315:0.21111)--cycle;
24 \foreach \w in {45,135,225,315}{
25 \fill (h)--(\w+3.75:0.5)--(\w-3.75:0.5)--cycle;
26 \fill (h)--(\w+7.5:0.5)--(\w+11.25:0.5)--cycle;
27 \fill (h)--(\w-7.5:0.5)--(\w-11.25:0.5)--cycle;}
28 \end{scope}
29 \framecode{}
30 \end{flagdescription}