Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
bitmapDataOfBMP :: BMP -> BitmapDatagloss Graphics.Gloss.Data.Bitmap O(size). Copy a BMP file into a bitmap.
bitmapDataOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> BitmapDatagloss Graphics.Gloss.Data.Bitmap No documentation available.
bitmapDataOfForeignPtr :: Int -> Int -> BitmapFormat -> ForeignPtr Word8 -> Bool -> BitmapDatagloss Graphics.Gloss.Data.Bitmap No documentation available.
-
gloss Graphics.Gloss.Data.Bitmap O(size). Copy a BMP file into a bitmap.
bitmapOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> Picturegloss Graphics.Gloss.Data.Bitmap O(size). Copy a ByteString of RGBA data into a bitmap with the given width and height. The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use False. If you have loaded it from a file then use True.
bitmapOfForeignPtr :: Int -> Int -> BitmapFormat -> ForeignPtr Word8 -> Bool -> Picturegloss Graphics.Gloss.Data.Bitmap O(1). Use a ForeignPtr of RGBA data as a bitmap with the given width and height. The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use False. If you have loaded it from a file then use True.
bitmapSize :: BitmapData -> (Int, Int)gloss Graphics.Gloss.Data.Bitmap width, height in pixels
Bitmap :: BitmapData -> Picturegloss Graphics.Gloss.Data.Picture A bitmap image.
BitmapSection :: Rectangle -> BitmapData -> Picturegloss Graphics.Gloss.Data.Picture A subsection of a bitmap image where the first argument selects a sub section in the bitmap, and second argument determines the bitmap data.
bitmap :: BitmapData -> Picturegloss Graphics.Gloss.Data.Picture A bitmap image