This file is indexed.

/usr/share/doc/libghc-gloss-doc/html/Graphics-Gloss-Data-Bitmap.html is in libghc-gloss-doc 1.9.3.1-3build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
9
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.Gloss.Data.Bitmap</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-Gloss-Data-Bitmap.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Gloss-Data-Bitmap.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gloss-1.9.3.1: Painless 2D vector graphics, animations and simulations.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.Gloss.Data.Bitmap</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Functions to load bitmap data from various places.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:BitmapData">BitmapData</a> :: *</li><li class="src short"><a href="#v:bitmapOfForeignPtr">bitmapOfForeignPtr</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Foreign-ForeignPtr.html#t:ForeignPtr">ForeignPtr</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:bitmapOfByteString">bitmapOfByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:bitmapOfBMP">bitmapOfBMP</a> :: <a href="file:///usr/share/doc/libghc-bmp-doc/html/Codec-BMP.html#t:BMP">BMP</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:loadBMP">loadBMP</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:BitmapData" class="def">BitmapData</a> :: *</p><div class="doc"><p>Abstract 32-bit RGBA bitmap data.</p></div><div class="subs instances"><p id="control.i:BitmapData" class="caption collapser" onclick="toggleSection('i:BitmapData')">Instances</p><div id="section.i:BitmapData" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Gloss-Data-Bitmap.html#t:BitmapData">BitmapData</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> <a href="Graphics-Gloss-Data-Bitmap.html#t:BitmapData">BitmapData</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Gloss-Data-Bitmap.html#t:BitmapData">BitmapData</a></span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:bitmapOfForeignPtr" class="def">bitmapOfForeignPtr</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Foreign-ForeignPtr.html#t:ForeignPtr">ForeignPtr</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></p><div class="doc"><p>O(1). Use a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Foreign-ForeignPtr.html#t:ForeignPtr">ForeignPtr</a></code> of RGBA data as a bitmap with the given
   width and height.</p></div></div><div class="top"><p class="src"><a name="v:bitmapOfByteString" class="def">bitmapOfByteString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></p><div class="doc"><p>O(size). Copy a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></code> of RGBA data into a bitmap with the given
   width and height.</p><p>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 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:False">False</a></code>. If you have loaded it
   from a file then use <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#v:True">True</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:bitmapOfBMP" class="def">bitmapOfBMP</a> :: <a href="file:///usr/share/doc/libghc-bmp-doc/html/Codec-BMP.html#t:BMP">BMP</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></p><div class="doc"><p>O(size). Copy a <code><a href="file:///usr/share/doc/libghc-bmp-doc/html/Codec-BMP.html#t:BMP">BMP</a></code> file into a bitmap.</p></div></div><div class="top"><p class="src"><a name="v:loadBMP" class="def">loadBMP</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></p><div class="doc"><p>Load an uncompressed 24 or 32bit RGBA BMP file as a bitmap.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>