    --------------------------------------------------------------------------------
    -- |
    -- Module      :  Graphics.Rendering.OpenGL.GL.Bitmaps
    -- Copyright   :  (c) Sven Panne 2002-2019
    -- License     :  BSD3
    --
    -- Maintainer  :  Sven Panne <svenpanne@gmail.com>
    -- Stability   :  stable
    -- Portability :  portable
    --
    -- This module corresponds to section 3.7 (Bitmaps) of the OpenGL 2.1 specs.
    --
    --------------------------------------------------------------------------------

    module Graphics.Rendering.OpenGL.GL.Bitmaps (
       bitmap
    ) where

    import Foreign.Ptr
    import Graphics.Rendering.OpenGL.GL.CoordTrans
    import Graphics.Rendering.OpenGL.GL.Tensor
    import Graphics.GL

    --------------------------------------------------------------------------------

    bitmap :: Size -> (Vertex2 GLfloat) -> (Vector2 GLfloat) -> Ptr GLubyte -> IO ()
    bitmap :: Size -> Vertex2 GLfloat -> Vector2 GLfloat -> Ptr GLubyte -> IO ()
    bitmap (Size GLsizei
    w GLsizei
    h) (Vertex2 GLfloat
    xbo GLfloat
    ybo) (Vector2 GLfloat
    xbi GLfloat
    ybi) =
       GLsizei
    -> GLsizei
    -> GLfloat
    -> GLfloat
    -> GLfloat
    -> GLfloat
    -> Ptr GLubyte
    -> IO ()
    forall (m :: * -> *).
    MonadIO m =>
    GLsizei
    -> GLsizei
    -> GLfloat
    -> GLfloat
    -> GLfloat
    -> GLfloat
    -> Ptr GLubyte
    -> m ()
    glBitmap GLsizei
    w GLsizei
    h GLfloat
    xbo GLfloat
    ybo GLfloat
    xbi GLfloat
    ybi