This file is indexed.

/usr/share/doc/libghc-gloss-doc/html/Graphics-Gloss-Data-Picture.html is in libghc-gloss-doc 1.7.8.3-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
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!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.Picture</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-Picture.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Gloss-Data-Picture.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.7.8.3: 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></table><p class="caption">Graphics.Gloss.Data.Picture</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Aliases for Picture constructors
</a></li><li><a href="#g:2">Compound shapes
</a></li><li><a href="#g:3">Loading Bitmaps
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Data types for representing pictures.
</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">type</span> <a href="#t:Point">Point</a> = (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:Vector">Vector</a> = <a href="Graphics-Gloss-Data-Picture.html#t:Point">Point</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Path">Path</a> = [<a href="Graphics-Gloss-Data-Picture.html#t:Point">Point</a>]</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Picture">Picture</a> <ul class="subs"><li>= <a href="#v:Blank">Blank</a>  </li><li>| <a href="#v:Polygon">Polygon</a> <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a>  </li><li>| <a href="#v:Line">Line</a> <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a>  </li><li>| <a href="#v:Circle">Circle</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>  </li><li>| <a href="#v:ThickCircle">ThickCircle</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>  </li><li>| <a href="#v:Arc">Arc</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>  </li><li>| <a href="#v:ThickArc">ThickArc</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>  </li><li>| <a href="#v:Text">Text</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>  </li><li>| <a href="#v:Bitmap">Bitmap</a> <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/Data-Int.html#t:Int">Int</a> <a href="Graphics-Gloss-Data-Picture.html#t:BitmapData">BitmapData</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>  </li><li>| <a href="#v:Color">Color</a> <a href="Graphics-Gloss-Data-Color.html#t:Color">Color</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>  </li><li>| <a href="#v:Translate">Translate</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>  </li><li>| <a href="#v:Rotate">Rotate</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>  </li><li>| <a href="#v:Scale">Scale</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>  </li><li>| <a href="#v:Pictures">Pictures</a> [<a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>]  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:BitmapData">BitmapData</a> </li><li class="src short"><a href="#v:blank">blank</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:polygon">polygon</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:line">line</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:circle">circle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:thickCircle">thickCircle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:arc">arc</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:thickArc">thickArc</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:text">text</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:bitmap">bitmap</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:BitmapData">BitmapData</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/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:color">color</a> :: <a href="Graphics-Gloss-Data-Color.html#t:Color">Color</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:translate">translate</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:rotate">rotate</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:scale">scale</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:pictures">pictures</a> :: [<a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>] -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:lineLoop">lineLoop</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:circleSolid">circleSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:arcSolid">arcSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:sectorWire">sectorWire</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:rectanglePath">rectanglePath</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a></li><li class="src short"><a href="#v:rectangleWire">rectangleWire</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:rectangleSolid">rectangleSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:rectangleUpperPath">rectangleUpperPath</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a></li><li class="src short"><a href="#v:rectangleUpperWire">rectangleUpperWire</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:rectangleUpperSolid">rectangleUpperSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></li><li class="src short"><a href="#v:bitmapOfForeignPtr">bitmapOfForeignPtr</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/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="/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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/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">type</span> <a name="t:Point" class="def">Point</a> = (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a>)<a href="src/Graphics-Gloss-Data-Point.html#Point" class="link">Source</a></p><div class="doc"><p>A point on the x-y plane.
   Points can also be treated as <code>Vector</code>s, so <a href="Graphics-Gloss-Data-Vector.html">Graphics.Gloss.Data.Vector</a>
   may also be useful.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Vector" class="def">Vector</a> = <a href="Graphics-Gloss-Data-Picture.html#t:Point">Point</a><a href="src/Graphics-Gloss-Data-Vector.html#Vector" class="link">Source</a></p><div class="doc"><p>A vector can be treated as a point, and vis-versa.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Path" class="def">Path</a> = [<a href="Graphics-Gloss-Data-Picture.html#t:Point">Point</a>]<a href="src/Graphics-Gloss-Data-Picture.html#Path" class="link">Source</a></p><div class="doc"><p>A path through the x-y plane.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Picture" class="def">Picture</a>  <a href="src/Graphics-Gloss-Data-Picture.html#Picture" class="link">Source</a></p><div class="doc"><p>A 2D picture
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Blank" class="def">Blank</a></td><td class="doc"><p>A blank picture, with nothing in it.
</p></td></tr><tr><td class="src"><a name="v:Polygon" class="def">Polygon</a> <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a></td><td class="doc"><p>A convex polygon filled with a solid color.
</p></td></tr><tr><td class="src"><a name="v:Line" class="def">Line</a> <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a></td><td class="doc"><p>A line along an arbitrary path.
</p></td></tr><tr><td class="src"><a name="v:Circle" class="def">Circle</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a></td><td class="doc"><p>A circle with the given radius.
</p></td></tr><tr><td class="src"><a name="v:ThickCircle" class="def">ThickCircle</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a></td><td class="doc"><p>A circle with the given thickness and radius.
   If the thickness is 0 then this is equivalent to <code><a href="Graphics-Gloss-Data-Picture.html#v:Circle">Circle</a></code>.
</p></td></tr><tr><td class="src"><a name="v:Arc" class="def">Arc</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a></td><td class="doc"><p>A circular arc drawn counter-clockwise between two angles 
  (in degrees) at the given radius.
</p></td></tr><tr><td class="src"><a name="v:ThickArc" class="def">ThickArc</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a></td><td class="doc"><p>A circular arc drawn counter-clockwise between two angles 
  (in degrees), with the given radius  and thickness.
   If the thickness is 0 then this is equivalent to <code><a href="Graphics-Gloss-Data-Picture.html#v:Arc">Arc</a></code>.
</p></td></tr><tr><td class="src"><a name="v:Text" class="def">Text</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>Some text to draw with a vector font.
</p></td></tr><tr><td class="src"><a name="v:Bitmap" class="def">Bitmap</a> <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/Data-Int.html#t:Int">Int</a> <a href="Graphics-Gloss-Data-Picture.html#t:BitmapData">BitmapData</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>A bitmap image with a width, height and some 32-bit RGBA
   bitmap data.
</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code>. If you have loaded it
  from a file then use <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code>.
</p></td></tr><tr><td class="src"><a name="v:Color" class="def">Color</a> <a href="Graphics-Gloss-Data-Color.html#t:Color">Color</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></td><td class="doc"><p>A picture drawn with this color.
</p></td></tr><tr><td class="src"><a name="v:Translate" class="def">Translate</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></td><td class="doc"><p>A picture translated by the given x and y coordinates.
</p></td></tr><tr><td class="src"><a name="v:Rotate" class="def">Rotate</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></td><td class="doc"><p>A picture rotated clockwise by the given angle (in degrees).
</p></td></tr><tr><td class="src"><a name="v:Scale" class="def">Scale</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></td><td class="doc"><p>A picture scaled by the given x and y factors.
</p></td></tr><tr><td class="src"><a name="v:Pictures" class="def">Pictures</a> [<a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>]</td><td class="doc"><p>A picture consisting of several others.
</p></td></tr></table></div><div class="subs instances"><p id="control.i:Picture" class="caption collapser" onclick="toggleSection('i:Picture')">Instances</p><div id="section.i:Picture" class="show"><table><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-Gloss-Data-Picture.html#t:Picture">Picture</a></td><td class="doc empty">&nbsp;</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-Gloss-Data-Picture.html#t:Picture">Picture</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Monoid.html#t:Monoid">Monoid</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:BitmapData" class="def">BitmapData</a>  <a href="src/Graphics-Gloss-Internals-Render-Bitmap.html#BitmapData" class="link">Source</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"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Gloss-Data-Picture.html#t:BitmapData">BitmapData</a></td><td class="doc empty">&nbsp;</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-Gloss-Data-Picture.html#t:BitmapData">BitmapData</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:1">Aliases for Picture constructors
</h1><div class="top"><p class="src"><a name="v:blank" class="def">blank</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#blank" class="link">Source</a></p><div class="doc"><p>A blank picture, with nothing in it.
</p></div></div><div class="top"><p class="src"><a name="v:polygon" class="def">polygon</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#polygon" class="link">Source</a></p><div class="doc"><p>A convex polygon filled with a solid color.
</p></div></div><div class="top"><p class="src"><a name="v:line" class="def">line</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#line" class="link">Source</a></p><div class="doc"><p>A line along an arbitrary path.
</p></div></div><div class="top"><p class="src"><a name="v:circle" class="def">circle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#circle" class="link">Source</a></p><div class="doc"><p>A circle with the given radius.
</p></div></div><div class="top"><p class="src"><a name="v:thickCircle" class="def">thickCircle</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#thickCircle" class="link">Source</a></p><div class="doc"><p>A circle with the given thickness and radius.
   If the thickness is 0 then this is equivalent to <code><a href="Graphics-Gloss-Data-Picture.html#v:Circle">Circle</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:arc" class="def">arc</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#arc" class="link">Source</a></p><div class="doc"><p>A circular arc drawn counter-clockwise between two angles (in degrees) 
   at the given radius.
</p></div></div><div class="top"><p class="src"><a name="v:thickArc" class="def">thickArc</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#thickArc" class="link">Source</a></p><div class="doc"><p>A circular arc drawn counter-clockwise between two angles (in degrees),
   with the given radius  and thickness.
   If the thickness is 0 then this is equivalent to <code><a href="Graphics-Gloss-Data-Picture.html#v:Arc">Arc</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:text" class="def">text</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#text" class="link">Source</a></p><div class="doc"><p>Some text to draw with a vector font.
</p></div></div><div class="top"><p class="src"><a name="v:bitmap" class="def">bitmap</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:BitmapData">BitmapData</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#bitmap" class="link">Source</a></p><div class="doc"><p>A bitmap image with a width, height and a Vector holding the 
   32-bit RGBA bitmap data.
</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code>.  
  If you have loaded it from a file then use <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:color" class="def">color</a> :: <a href="Graphics-Gloss-Data-Color.html#t:Color">Color</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#color" class="link">Source</a></p><div class="doc"><p>A picture drawn with this color.
</p></div></div><div class="top"><p class="src"><a name="v:translate" class="def">translate</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#translate" class="link">Source</a></p><div class="doc"><p>A picture translated by the given x and y coordinates.
</p></div></div><div class="top"><p class="src"><a name="v:rotate" class="def">rotate</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#rotate" class="link">Source</a></p><div class="doc"><p>A picture rotated clockwise by the given angle (in degrees).
</p></div></div><div class="top"><p class="src"><a name="v:scale" class="def">scale</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#scale" class="link">Source</a></p><div class="doc"><p>A picture scaled by the given x and y factors.
</p></div></div><div class="top"><p class="src"><a name="v:pictures" class="def">pictures</a> :: [<a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a>] -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#pictures" class="link">Source</a></p><div class="doc"><p>A picture consisting of several others.
</p></div></div><h1 id="g:2">Compound shapes
</h1><div class="top"><p class="src"><a name="v:lineLoop" class="def">lineLoop</a> :: <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#lineLoop" class="link">Source</a></p><div class="doc"><p>A closed loop along a path.
</p></div></div><div class="top"><p class="src"><a name="v:circleSolid" class="def">circleSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#circleSolid" class="link">Source</a></p><div class="doc"><p>A solid circle with the given radius.
</p></div></div><div class="top"><p class="src"><a name="v:arcSolid" class="def">arcSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#arcSolid" class="link">Source</a></p><div class="doc"><p>A solid arc, drawn counter-clockwise between two angles at the given radius.
</p></div></div><div class="top"><p class="src"><a name="v:sectorWire" class="def">sectorWire</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#sectorWire" class="link">Source</a></p><div class="doc"><p>A wireframe sector of a circle. 
   An arc is draw counter-clockwise from the first to the second angle at
   the given radius. Lines are drawn from the origin to the ends of the arc.
</p></div></div><div class="top"><p class="src"><a name="v:rectanglePath" class="def">rectanglePath</a><a href="src/Graphics-Gloss-Data-Picture.html#rectanglePath" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a></td><td class="doc"><p>width of rectangle
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a></td><td class="doc"><p>height of rectangle
</p></td></tr><tr><td class="src">-&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>A path representing a rectangle centered about the origin
</p></div></div><div class="top"><p class="src"><a name="v:rectangleWire" class="def">rectangleWire</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#rectangleWire" class="link">Source</a></p><div class="doc"><p>A wireframe rectangle centered about the origin.
</p></div></div><div class="top"><p class="src"><a name="v:rectangleSolid" class="def">rectangleSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#rectangleSolid" class="link">Source</a></p><div class="doc"><p>A solid rectangle centered about the origin.
</p></div></div><div class="top"><p class="src"><a name="v:rectangleUpperPath" class="def">rectangleUpperPath</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Path">Path</a><a href="src/Graphics-Gloss-Data-Picture.html#rectangleUpperPath" class="link">Source</a></p><div class="doc"><p>A path representing a rectangle in the y &gt; 0 half of the x-y plane.
</p></div></div><div class="top"><p class="src"><a name="v:rectangleUpperWire" class="def">rectangleUpperWire</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#rectangleUpperWire" class="link">Source</a></p><div class="doc"><p>A wireframe rectangle in the y &gt; 0 half of the x-y plane.
</p></div></div><div class="top"><p class="src"><a name="v:rectangleUpperSolid" class="def">rectangleUpperSolid</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Float">Float</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#rectangleUpperSolid" class="link">Source</a></p><div class="doc"><p>A solid rectangle in the y &gt; 0 half of the x-y plane.
</p></div></div><h1 id="g:3">Loading Bitmaps
</h1><div class="top"><p class="src"><a name="v:bitmapOfForeignPtr" class="def">bitmapOfForeignPtr</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.html#t:ForeignPtr">ForeignPtr</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Word.html#t:Word8">Word8</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#bitmapOfForeignPtr" class="link">Source</a></p><div class="doc"><p>O(1). Use a <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-ForeignPtr-Safe.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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#bitmapOfByteString" class="link">Source</a></p><div class="doc"><p>O(size). Copy a <code><a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code>. If you have loaded it
   from a file then use <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/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="/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><a href="src/Graphics-Gloss-Data-Picture.html#bitmapOfBMP" class="link">Source</a></p><div class="doc"><p>O(size). Copy a <code><a href="/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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-Gloss-Data-Picture.html#t:Picture">Picture</a><a href="src/Graphics-Gloss-Data-Picture.html#loadBMP" class="link">Source</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.13.2</p></div></body></html>