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

SvgIcons.Icons.Religion

Synopsis

Documentation

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

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

svgReligion :: [ (String , S.Svg) ]
svgReligion =
  [ (,) "xp"               xp
  , (,) "taijitu"         (taijitu "black" "white")
  , (,) "crossLatin"       crossLatin
  , (,) "crossGreek"       crossGreek
  , (,) "crescentAndStar"  crescentAndStar
  , (,) "starOfDavid"      starOfDavid
  , (,) "crossOrthodox"    crossOrthodox
  , (,) "dharmachakra"     dharmachakra
  , (,) "exampleHexagram" (iChingHexagram (8,8,7,8,7,7))
  , (,) "ouroboros"        ouroboros
  , (,) "ichthys"          ichthys
  ]

taijitu :: String -> String -> Svg Source #

You must provide both yin and yang colors

iChingHexagram :: (Int, Int, Int, Int, Int, Int) -> Svg Source #

Function to draw a hexagram from the Yi Ching (the Book of Mutations).

If all six numbers belong to {0,1} it draws only the hexagram lines. Otherwise, the numbers are printed right to their line

NOTE: as always with the Yi Ching, numbers go from bottom to top (the first number of the tuple corresponds to the lowest line)