summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/worldflags/worldflag_BA.tex
blob: 4a93020071b606d4eac00909f73dca94e56e3c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% --------------------------------------------------------------------------
% Bosnia and Herzogovina:
% --------------------------------------------------------------------------
\BeginFlagDescription{1}{2}
\definecolor{blue}{RGB}{0,47,108}
\definecolor{gold}{RGB}{255,205,0}
\begin{scope}
\clip (0,0) rectangle (\flaglength,\flagwidth);
\coordinate (h1) at (0.265\flaglength,1);
\coordinate (h2) at (0.765\flaglength,1);
\coordinate (h3) at (0.765\flaglength,0);
\fill [blue](0,0) rectangle (\flaglength,1);
\fill[gold] (h1)--(h2)--(h3)--cycle;
\pgfmathparse{atan(\flagwidth/(\flaglength-\flagwidth))}\edef\alpha{\pgfmathresult}
\pgfmathparse{0.1425/sin(\alpha)}\edef\xx{\pgfmathresult}
\foreach \n in {0,1,...,8} {\starV{white}%
  {($(h3)+(-\n*\flaglength/16,\n\flagwidth/8)+(-\xx,0.03\flagwidth)$)}{0.095}{0}}
\end{scope}
\FrameCode
\EndFlagDescription