Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- svgReligion :: [(String, Svg)]
- xp :: Svg
- taijitu :: String -> String -> Svg
- crossLatin :: Svg
- crossGreek :: Svg
- crescentAndStar :: Svg
- starOfDavid :: Svg
- crossOrthodox :: Svg
- dharmachakra :: Svg
- iChingHexagram :: (Int, Int, Int, Int, Int, Int) -> Svg
- ouroboros :: Svg
- ichthys :: 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 , (,) "crossGreek" crossGreek , (,) "crescentAndStar" crescentAndStar , (,) "starOfDavid" starOfDavid , (,) "crossOrthodox" crossOrthodox , (,) "dharmachakra" dharmachakra , (,) "exampleHexagram" (iChingHexagram (8,8,7,8,7,7)) , (,) "ouroboros" ouroboros , (,) "ichthys" ichthys ]
crossLatin :: Svg Source #
crossGreek :: Svg Source #
starOfDavid :: Svg Source #
crossOrthodox :: Svg Source #
dharmachakra :: 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
NOTE: as always with the Yi Ching, numbers go from bottom to top (the first number of the tuple corresponds to the lowest line)