| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | haskell.vivian.mcphail <at> gmail <dot> com |
Graphics.Rendering.Plot.Render
Description
Rendering Figures
- render :: Figure () -> (Int, Int) -> Render ()
- newFigureState :: Figure () -> IO FigureState
- updateFigureState :: FigureState -> Figure () -> FigureState
- renderFigureState :: FigureState -> (Int, Int) -> Render ()
- data OutputType
- writeFigure :: OutputType -> FilePath -> (Int, Int) -> Figure () -> IO ()
- writeFigureState :: OutputType -> FilePath -> (Int, Int) -> FigureState -> IO ()
Rendering
Arguments
| :: Figure () | the figure to be rendered |
| -> (Int, Int) | (width,height) |
| -> Render () | a Cairo operation |
render a Figure
Access to FigureState
newFigureState :: Figure () -> IO FigureStateSource
create FigureState from a series of Figure actions
updateFigureState :: FigureState -> Figure () -> FigureStateSource
modify a FigureState with some new actions
Arguments
| :: FigureState | the figure state |
| -> (Int, Int) | (width,height) |
| -> Render () | a Cairo operation |
render a FigureState
Outputting to file
Arguments
| :: OutputType | output file type |
| -> FilePath | file path |
| -> (Int, Int) | (width,height) |
| -> Figure () | the |
| -> IO () |
output the Figure
Arguments
| :: OutputType | output file type |
| -> FilePath | file path |
| -> (Int, Int) | (width,height) |
| -> FigureState | a FigureState |
| -> IO () |
output the FigureState