svg-icons-2.5.0.2: Svg Icons and more
Safe HaskellSafe-Inferred
LanguageHaskell2010

SvgIcons.Images.CountryFlags

Description

Country flags (only Europe at this moment) and the European Union flag.

All flags are built on a viewbox "0 0 w h" where w and h are particular to each flag (according to official ratios)

Flags are named with the 2-letter ISO code of each country, with very few exceptions, named with the 3-letter ISO code to avoid name collision with some HTML or Attribute functions like hr or cy.

Synopsis

Documentation

countryFlags :: [(String, Svg)] Source #

A list with all the flags of this module, together with appropriate names.

countryFlags :: [ (String , S.Svg) ]
countryFlags =
  [ (,) "ad" ad
  , (,) "af" af
  , (,) "al" al
  , (,) "at" at
  , (,) "ba" ba
  , (,) "be" be
  , (,) "bg" bg
  , (,) "by" blr
  , (,) "ch" ch
  , (,) "cv" cv
  , (,) "cy" cyp
  , (,) "cz" cz
  , (,) "de" de
  , (,) "dk" dk
  , (,) "dz" dz
  , (,) "ee" ee
  , (,) "eg" eg
  , (,) "er" er
  , (,) "es" es
  , (,) "eu" eu
  , (,) "fi" fi
  , (,) "fr" fr
  , (,) "gm" gm
  , (,) "gn" gn
  , (,) "gr" gr
  , (,) "gw" gw
  , (,) "hr" hrv
  , (,) "ie" ie
  , (,) "is" is
  , (,) "it" it
  , (,) "li" li
  , (,) "lr" lbr
  , (,) "lt" lt
  , (,) "lu" lu
  , (,) "lv" lv
  , (,) "ly" ly
  , (,) "ma" ma
  , (,) "mc" mc
  , (,) "md" md
  , (,) "me" me
  , (,) "mk" mk
  , (,) "ml" ml
  , (,) "mr" mrt
  , (,) "mt" mt
  , (,) "ne" ne
  , (,) "nl" nl
  , (,) "no" no
  , (,) "pl" pl
  , (,) "pt" pt
  , (,) "ro" ro
  , (,) "rs" rs
  , (,) "ru" ru
  , (,) "sd" sd
  , (,) "se" se
  , (,) "si" si
  , (,) "sk" sk
  , (,) "sl" sl
  , (,) "sm" sm
  , (,) "sn" sn
  , (,) "td" td
  , (,) "tn" tn
  , (,) "ua" ua
  , (,) "uk" uk
  , (,) "va" va
  , (,) "xk" xk
  ]

flagV3Eq Source #

Arguments

:: (Float, Float)

w and h parameters for the viewbox

-> String

color for the left stripe

-> String

color for the central stripe

-> String

color for the right stripe

-> Svg

resulting flag

Handy function to draw a flag with 3 vertical stripes of the same size.

flagH3Eq Source #

Arguments

:: (Float, Float)

w and h parameters for the viewbox

-> String

color for the top stripe

-> String

color for the central stripe

-> String

color for the bottom stripe

-> Svg

resulting flag

Handy function to draw a flag with 3 horizontal stripes of the same size.

ad :: Svg Source #

Flag of Andorra

af :: Svg Source #

Flag of Afghanistan

al :: Svg Source #

Flag of Albania

at :: Svg Source #

Flag of Austria

ba :: Svg Source #

Flag of Bosnia and Herzegovina

be :: Svg Source #

Flag of Belgium

bg :: Svg Source #

Flag of Bulgaria

blr :: Svg Source #

Flag of Belarus

ch :: Svg Source #

Flag of Switzerland

cv :: Svg Source #

Flag of Cabo Verde

cyp :: Svg Source #

Flag of Cyprus

cz :: Svg Source #

Flag of Czech Republic

de :: Svg Source #

Flag of Germany

dk :: Svg Source #

Flag of Denmark

dz :: Svg Source #

Flag of Algeria

ee :: Svg Source #

Flag of Estonia

eg :: Svg Source #

Flag of Egypt

er :: Svg Source #

Flag of Eritrea

es :: Svg Source #

Flag of Spain

eu :: Svg Source #

Flag of the European Union

fi :: Svg Source #

Flag of Finland

fr :: Svg Source #

Flag of France

gm :: Svg Source #

Flag of Gambia

gn :: Svg Source #

Flag of Guinea (Conakry)

gr :: Svg Source #

Flag of Greece

gw :: Svg Source #

Flag of Guinea Bissau

hrv :: Svg Source #

Flag of Croatia

ie :: Svg Source #

Flag of Ireland

is :: Svg Source #

Flag of Iceland

it :: Svg Source #

Flag of Italy

li :: Svg Source #

Flag of Liechtenstein

lbr :: Svg Source #

Flag of Liberia

lt :: Svg Source #

Flag of Lithuania

lu :: Svg Source #

Flag of Luxembourg

lv :: Svg Source #

Flag of Latvia

ly :: Svg Source #

Flag of Libya

ma :: Svg Source #

Flag of Morocco

mc :: Svg Source #

Flag of Monaco

md :: Svg Source #

Flag of Moldova

me :: Svg Source #

Flag of Montenegro

mk :: Svg Source #

Flag of North Macedonia

ml :: Svg Source #

Flag of Mali

mrt :: Svg Source #

Flag of Mauritania

mt :: Svg Source #

Flag of Malta

ne :: Svg Source #

Flag of Niger

nl :: Svg Source #

Flag of the Netherlands

no :: Svg Source #

Flag of Norway

pl :: Svg Source #

Flag of Polonia

pt :: Svg Source #

Flag of Portugal

ro :: Svg Source #

Flag of Romania

rs :: Svg Source #

Flag of Serbia

ru :: Svg Source #

Flag of Russia

sd :: Svg Source #

Flag of Sudan

se :: Svg Source #

Flag of Sweden

si :: Svg Source #

Flag of Slovenia

sk :: Svg Source #

Flag of Slovakia

sl :: Svg Source #

Flag of Sierra Leona

sm :: Svg Source #

Flag of San Marino

sn :: Svg Source #

Flag of Senegal

td :: Svg Source #

Flag of Chad

tn :: Svg Source #

Flag of Tunisia

ua :: Svg Source #

Flag of Ukraine

uk :: Svg Source #

Flag of the United Kingdom

va :: Svg Source #

Flag of the Holy See (Vatican City)

xk :: Svg Source #

Flag of Kosovo