/usr/share/doc/libghc-chart-cairo-doc/html/Chart-cairo.txt is in libghc-chart-cairo-doc 1.5.4-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Cairo backend for Charts.
--
-- Cairo backend for Charts.
@package Chart-cairo
@version 1.5.4
-- | The backend to render charts with cairo.
module Graphics.Rendering.Chart.Backend.Cairo
data FileFormat
PNG :: FileFormat
SVG :: FileFormat
PS :: FileFormat
PDF :: FileFormat
data FileOptions
FileOptions :: (Int, Int) -> FileFormat -> FileOptions
[_fo_size] :: FileOptions -> (Int, Int)
[_fo_format] :: FileOptions -> FileFormat
-- | Run this backends renderer.
runBackend :: CEnv -> ChartBackend a -> Render a
-- | Generate an image file for the given renderable, at the specified
-- path. Size and format are set through the <a>FileOptions</a>
-- parameter.
renderableToFile :: FileOptions -> FilePath -> Renderable a -> IO (PickFn a)
-- | Generate an image file from from the state content of an EC
-- computation. The state may have any type that is an instance of
-- <a>ToRenderable</a>
toFile :: (Default r, ToRenderable r) => FileOptions -> FilePath -> EC r () -> IO ()
-- | Produce a environment with no transformation and clipping. It will use
-- the default styles.
defaultEnv :: AlignmentFns -> CEnv
fo_size :: Lens' FileOptions (Int, Int)
fo_format :: Lens' FileOptions FileFormat
-- | Generate an image file for the given drawing instructions, at the
-- specified path. Size and format are set through the <a>FileOptions</a>
-- parameter.
cBackendToFile :: FileOptions -> ChartBackend a -> FilePath -> IO a
instance Data.Default.Class.Default Graphics.Rendering.Chart.Backend.Cairo.FileOptions
|