yjsvg-0.2.0.1: make SVG string from Haskell data
Text.XML.YJSVG
data SVG Source #
Constructors
Instances
Methods
readsPrec :: Int -> ReadS SVG #
readList :: ReadS [SVG] #
readPrec :: ReadPrec SVG #
readListPrec :: ReadPrec [SVG] #
showsPrec :: Int -> SVG -> ShowS #
show :: SVG -> String #
showList :: [SVG] -> ShowS #
data Position Source #
Fields
readsPrec :: Int -> ReadS Position #
readList :: ReadS [Position] #
readPrec :: ReadPrec Position #
readListPrec :: ReadPrec [Position] #
showsPrec :: Int -> Position -> ShowS #
show :: Position -> String #
showList :: [Position] -> ShowS #
data Color Source #
(==) :: Color -> Color -> Bool #
(/=) :: Color -> Color -> Bool #
readsPrec :: Int -> ReadS Color #
readList :: ReadS [Color] #
readPrec :: ReadPrec Color #
readListPrec :: ReadPrec [Color] #
showsPrec :: Int -> Color -> ShowS #
show :: Color -> String #
showList :: [Color] -> ShowS #
data Transform Source #
readsPrec :: Int -> ReadS Transform #
readList :: ReadS [Transform] #
readPrec :: ReadPrec Transform #
readListPrec :: ReadPrec [Transform] #
showsPrec :: Int -> Transform -> ShowS #
show :: Transform -> String #
showList :: [Transform] -> ShowS #
data Font Source #
readsPrec :: Int -> ReadS Font #
readList :: ReadS [Font] #
readPrec :: ReadPrec Font #
readListPrec :: ReadPrec [Font] #
showsPrec :: Int -> Font -> ShowS #
show :: Font -> String #
showList :: [Font] -> ShowS #
data FontWeight Source #
readsPrec :: Int -> ReadS FontWeight #
readList :: ReadS [FontWeight] #
readPrec :: ReadPrec FontWeight #
readListPrec :: ReadPrec [FontWeight] #
showsPrec :: Int -> FontWeight -> ShowS #
show :: FontWeight -> String #
showList :: [FontWeight] -> ShowS #
showSVG :: Double -> Double -> [(Id, SVG)] -> String Source #
topleft :: Double -> Double -> Position -> Position Source #
center :: Double -> Double -> Position -> Position Source #