Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Icons.Religion
Synopsis
- svgReligion :: [(String, Svg)]
- xp :: Svg
- taijitu :: String -> String -> Svg
- crossLatin :: Svg
- crossOrthodox :: Svg
- crescentAndStar :: Svg
- starOfDavid :: Svg
- iChingHexagram :: (Int, Int, Int, Int, Int, Int) -> Svg
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 , (,) "crossOrthodox" crossOrthodox , (,) "crescentAndStar" crescentAndStar , (,) "starOfDavid" starOfDavid , (,) "exampleHexagram" (iChingHexagram (8,8,7,8,7,7)) ]


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


You must provide both yin and yang colors
crossLatin :: Svg Source #


crossOrthodox :: Svg Source #


crescentAndStar :: Svg Source #


starOfDavid :: Svg Source #


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