Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- svg :: Chart Double -> Svg ()
- svgt :: Chart Double -> (TextStyle, Text) -> Svg ()
- chartDef :: Chart a -> [Svg ()]
- chartDefs :: [Chart a] -> Svg ()
- styleBox :: Chart Double -> Maybe (Rect Double)
- styleBoxes :: [Chart Double] -> Maybe (Rect Double)
- styleBoxText :: TextStyle -> Text -> Point Double -> Rect Double
- styleBoxGlyph :: GlyphStyle -> Rect Double
Documentation
styleBox :: Chart Double -> Maybe (Rect Double) Source #
the geometric dimensions of a Chart inclusive of style geometry
styleBoxes :: [Chart Double] -> Maybe (Rect Double) Source #
the extra geometric dimensions of a [Chart]
styleBoxText :: TextStyle -> Text -> Point Double -> Rect Double Source #
the extra area from text styling
styleBoxGlyph :: GlyphStyle -> Rect Double Source #
the extra area from glyph styling