Debian Codegraph @

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

raw
1 % --------------------------------------------------------------------------
2 % Saint Kitts and Nevis:
3 % --------------------------------------------------------------------------
4 \begin{flagdescription}{2/3}
5 \definecolor{red}{RGB}{200,16,46}
6 \definecolor{green}{RGB}{0,122,51}
7 \definecolor{gold}{RGB}{255,205,0}
8 \fill [red] (0,0)--(\flaglength,0)--(\flaglength,1)--cycle;
9 \fill [green] (0,0)--(0,1)--(\flaglength,1)--cycle;
10 \begin{scope}
11 \clip (0,0) rectangle (\flaglength,1);
12 \draw [gold, line width=0.42\flagwidth] (0,0)--(\flaglength,1);
13 \draw [black, line width=0.3\flagwidth] (0,0)--(\flaglength,1);
14 \end{scope}
15 \pgfmathparse{atan2(\flagwidth,\flaglength)}
16 \edef\w{\pgfmathresult}
17 \starV{white}{(0.32\flaglength,0.32)}{0.14\flagwidth}{\w}
18 \starV{white}{(0.7\flaglength,0.7)}{0.14\flagwidth}{\w}
19 \framecode{}
20 \end{flagdescription}