ContentsIndex
Graphics.Plot.Render
Description
Functions to render the Picture data type via OpenGL.
Synopsis
renderPicture :: IORef RenderState -> IORef ViewState -> Picture -> IO ()
f2d :: Float -> Double
d2f :: Double -> Float
renderCircleLine :: Int -> Float -> IO ()
renderCircleLine_step :: Float -> Float -> Float -> Float -> IO ()
renderCircleStrip :: Int -> Float -> Float -> IO ()
renderCircleStrip_step :: Float -> Float -> Float -> Float -> Float -> Float -> IO ()
vertexFF :: GLfloat -> GLfloat -> IO ()
vertexPF :: (GLfloat, GLfloat) -> IO ()
Documentation
renderPicture
:: IORef RenderStateThe current render state.
-> IORef ViewStateThe current view state.
-> PictureThe picture to render.
-> IO ()
Render a picture using the current display state.
f2d :: Float -> Double
d2f :: Double -> Float
renderCircleLine :: Int -> Float -> IO ()
Render a circle with as a line.
renderCircleLine_step :: Float -> Float -> Float -> Float -> IO ()
renderCircleStrip :: Int -> Float -> Float -> IO ()
Render a circle with a given thickness as a triangle strip
renderCircleStrip_step :: Float -> Float -> Float -> Float -> Float -> Float -> IO ()
vertexFF :: GLfloat -> GLfloat -> IO ()
vertexPF :: (GLfloat, GLfloat) -> IO ()
Produced by Haddock version 0.7