/usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html is in libghc-opengl-doc 2.8.0.0-1.
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 | <!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.Rendering.OpenGL.GL.PixelRectangles.PixelMap</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-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.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">OpenGL-2.8.0.0: A binding for the OpenGL graphics system</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Maintainer</th><td>sven.panne@aedion.de</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module corresponds to a part of section 3.6.1 (Pixel Storage Modes) of
the OpenGL 2.1 specs.
</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:PixelMapTarget">PixelMapTarget</a> <ul class="subs"><li>= <a href="#v:IToI">IToI</a> </li><li>| <a href="#v:SToS">SToS</a> </li><li>| <a href="#v:IToR">IToR</a> </li><li>| <a href="#v:IToG">IToG</a> </li><li>| <a href="#v:IToB">IToB</a> </li><li>| <a href="#v:IToA">IToA</a> </li><li>| <a href="#v:RToR">RToR</a> </li><li>| <a href="#v:GToG">GToG</a> </li><li>| <a href="#v:BToB">BToB</a> </li><li>| <a href="#v:AToA">AToA</a> </li></ul></li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-Storable.html#t:Storable">Storable</a> c => <a href="#t:PixelMapComponent">PixelMapComponent</a> c </li><li class="src short"><span class="keyword">class</span> <a href="#t:PixelMap">PixelMap</a> m <span class="keyword">where</span><ul class="subs"><li><a href="#v:withNewPixelMap">withNewPixelMap</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-Ptr.html#t:Ptr">Ptr</a> c -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (m c)</li><li><a href="#v:withPixelMap">withPixelMap</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => m c -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-Ptr.html#t:Ptr">Ptr</a> c -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a</li><li><a href="#v:newPixelMap">newPixelMap</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => [c] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (m c)</li><li><a href="#v:getPixelMapComponents">getPixelMapComponents</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => m c -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [c]</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:GLpixelmap">GLpixelmap</a> a</li><li class="src short"><a href="#v:maxPixelMapTable">maxPixelMapTable</a> :: <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Core31-Types.html#t:GLsizei">GLsizei</a></li><li class="src short"><a href="#v:pixelMap">pixelMap</a> :: (<a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMap">PixelMap</a> m, <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c) => <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapTarget">PixelMapTarget</a> -> <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> (m c)</li><li class="src short"><a href="#v:pixelMapIToRGBA">pixelMapIToRGBA</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> [<a href="Graphics-Rendering-OpenGL-GL-VertexAttributes.html#t:Color4">Color4</a> c]</li><li class="src short"><a href="#v:pixelMapRGBAToRGBA">pixelMapRGBAToRGBA</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> [<a href="Graphics-Rendering-OpenGL-GL-VertexAttributes.html#t:Color4">Color4</a> c]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:PixelMapTarget" class="def">PixelMapTarget</a> <a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#PixelMapTarget" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:IToI" class="def">IToI</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:SToS" class="def">SToS</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:IToR" class="def">IToR</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:IToG" class="def">IToG</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:IToB" class="def">IToB</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:IToA" class="def">IToA</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:RToR" class="def">RToR</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:GToG" class="def">GToG</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:BToB" class="def">BToB</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:AToA" class="def">AToA</a></td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-Storable.html#t:Storable">Storable</a> c => <a name="t:PixelMapComponent" class="def">PixelMapComponent</a> c <a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#PixelMapComponent" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixelMapComponent" class="caption collapser" onclick="toggleSection('i:PixelMapComponent')">Instances</p><div id="section.i:PixelMapComponent" class="show"><table><tr><td class="src"><a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> <a href="/usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Core31-Types.html#t:GLfloat">GLfloat</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> <a href="/usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Core31-Types.html#t:GLuint">GLuint</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> <a href="/usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Core31-Types.html#t:GLushort">GLushort</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:PixelMap" class="def">PixelMap</a> m <span class="keyword">where</span><a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#PixelMap" class="link">Source</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:withNewPixelMap" class="def">withNewPixelMap</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-Ptr.html#t:Ptr">Ptr</a> c -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (m c)<a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#withNewPixelMap" class="link">Source</a></p><p class="src"><a name="v:withPixelMap" class="def">withPixelMap</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => m c -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-Ptr.html#t:Ptr">Ptr</a> c -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a) -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a<a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#withPixelMap" class="link">Source</a></p><p class="src"><a name="v:newPixelMap" class="def">newPixelMap</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => [c] -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (m c)<a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#newPixelMap" class="link">Source</a></p><p class="src"><a name="v:getPixelMapComponents" class="def">getPixelMapComponents</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => m c -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [c]<a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#getPixelMapComponents" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:PixelMap" class="caption collapser" onclick="toggleSection('i:PixelMap')">Instances</p><div id="section.i:PixelMap" class="show"><table><tr><td class="src"><a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMap">PixelMap</a> <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:GLpixelmap">GLpixelmap</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:GLpixelmap" class="def">GLpixelmap</a> a <a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#GLpixelmap" class="link">Source</a></p><div class="subs instances"><p id="control.i:GLpixelmap" class="caption collapser" onclick="toggleSection('i:GLpixelmap')">Instances</p><div id="section.i:GLpixelmap" class="show"><table><tr><td class="src"><a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMap">PixelMap</a> <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:GLpixelmap">GLpixelmap</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> (<a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:GLpixelmap">GLpixelmap</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> (<a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:GLpixelmap">GLpixelmap</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> (<a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:GLpixelmap">GLpixelmap</a> a)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:maxPixelMapTable" class="def">maxPixelMapTable</a> :: <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Core31-Types.html#t:GLsizei">GLsizei</a><a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#maxPixelMapTable" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pixelMap" class="def">pixelMap</a> :: (<a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMap">PixelMap</a> m, <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c) => <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapTarget">PixelMapTarget</a> -> <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> (m c)<a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#pixelMap" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pixelMapIToRGBA" class="def">pixelMapIToRGBA</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> [<a href="Graphics-Rendering-OpenGL-GL-VertexAttributes.html#t:Color4">Color4</a> c]<a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#pixelMapIToRGBA" class="link">Source</a></p><div class="doc"><p>Convenience state variable
</p></div></div><div class="top"><p class="src"><a name="v:pixelMapRGBAToRGBA" class="def">pixelMapRGBAToRGBA</a> :: <a href="Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#t:PixelMapComponent">PixelMapComponent</a> c => <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> [<a href="Graphics-Rendering-OpenGL-GL-VertexAttributes.html#t:Color4">Color4</a> c]<a href="src/Graphics-Rendering-OpenGL-GL-PixelRectangles-PixelMap.html#pixelMapRGBAToRGBA" class="link">Source</a></p><div class="doc"><p>Convenience state variable
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|