ContentsIndex
Graphics.Plot.Wrapper
Synopsis
displayInWindow :: String -> (Int, Int) -> (Int, Int) -> Picture -> IO ()
animateInWindow :: String -> (Int, Int) -> (Int, Int) -> (Float -> Picture) -> IO ()
Documentation
displayInWindow
:: 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.
-> PictureThe picture to draw.
-> IO ()
Opens a window and displays a static picture.
animateInWindow
:: 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.
-> (Float -> Picture)New frame function. The function is passed the current animation time, in seconds.
-> IO ()
Opens a window and displays an animation.
Produced by Haddock version 0.7