ContentsIndex
Graphics.Plot.Display
Description
The main display function.
Synopsis
renderInWindow :: String -> (Int, Int) -> (Int, Int) -> [Callback] -> IO ()
Documentation
renderInWindow
:: StringName of the window.
-> (Int, Int)Initial size of the window, in pixels.
-> (Int, Int)Initial position of the window, in pixels relative to the top left corner of the screen.
-> [Callback]
-> IO ()
Opens a window and calls a user supplied function to draw frames for animation. Timing and event information can be obtained from the display state which is passed to the user function at each call.
Produced by Haddock version 0.7