This file is indexed.

/usr/share/doc/libghc-hgl-doc/html/Graphics-HGL-Draw-Pen.html is in libghc-hgl-doc 3.2.0.2-2build1.

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
<!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.HGL.Draw.Pen</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-HGL-Draw-Pen.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-HGL-Draw-Pen.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">HGL-3.2.0.2: A simple graphics library based on X11 or Win32</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non-portable (requires concurrency)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>libraries@haskell.org</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Graphics.HGL.Draw.Pen</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Pens, used for drawing lines.
</p><p>Portability notes:
</p><ul><li> On Win32, the pen is also used to draw a line round all the filled
   shapes --- so the pen color also affects how polygons, ellipses
   and regions are drawn.
</li><li> On Win32, the <code><a href="Graphics-HGL-Draw-Pen.html#t:Style">Style</a></code> is ignored (i.e. treated as <code><a href="Graphics-HGL-Draw-Pen.html#v:Solid">Solid</a></code>) for pens
   of width greater than 1.  This problem does not apply to X11.
</li></ul></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:Pen">Pen</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:Style">Style</a> <ul class="subs"><li>= <a href="#v:Solid">Solid</a>  </li><li>| <a href="#v:Dash">Dash</a>  </li><li>| <a href="#v:Dot">Dot</a>  </li><li>| <a href="#v:DashDot">DashDot</a>  </li><li>| <a href="#v:DashDotDot">DashDotDot</a>  </li><li>| <a href="#v:Null">Null</a>  </li><li>| <a href="#v:InsideFrame">InsideFrame</a>  </li></ul></li><li class="src short"><a href="#v:createPen">createPen</a> :: <a href="Graphics-HGL-Draw-Pen.html#t:Style">Style</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-HGL-Draw-Text.html#t:RGB">RGB</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-HGL-Draw-Pen.html#t:Pen">Pen</a></li><li class="src short"><a href="#v:deletePen">deletePen</a> :: <a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:selectPen">selectPen</a> :: <a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a> -&gt; <a href="Graphics-HGL-Draw-Monad.html#t:Draw">Draw</a> <a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a></li><li class="src short"><a href="#v:mkPen">mkPen</a> ::  <a href="Graphics-HGL-Draw-Pen.html#t:Style">Style</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-HGL-Draw-Text.html#t:RGB">RGB</a> -&gt; (<a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a> -&gt; <a href="Graphics-HGL-Draw-Monad.html#t:Draw">Draw</a> a) -&gt; <a href="Graphics-HGL-Draw-Monad.html#t:Draw">Draw</a> a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Pen" class="def">Pen</a>  <a href="src/Graphics-HGL-X11-Types.html#Pen" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Style" class="def">Style</a>  <a href="src/Graphics-HGL-Internals-Types.html#Style" class="link">Source</a></p><div class="doc"><p>The style of line drawn by a pen.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Solid" class="def">Solid</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Dash" class="def">Dash</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Dot" class="def">Dot</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DashDot" class="def">DashDot</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DashDotDot" class="def">DashDotDot</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Null" class="def">Null</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:InsideFrame" class="def">InsideFrame</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><a name="v:createPen" class="def">createPen</a> :: <a href="Graphics-HGL-Draw-Pen.html#t:Style">Style</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-HGL-Draw-Text.html#t:RGB">RGB</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-HGL-Draw-Pen.html#t:Pen">Pen</a><a href="src/Graphics-HGL-Draw-Pen.html#createPen" class="link">Source</a></p><div class="doc"><p>Create a <code><a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:deletePen" class="def">deletePen</a> :: <a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</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="src/Graphics-HGL-Draw-Pen.html#deletePen" class="link">Source</a></p><div class="doc"><p>Destroy a <code><a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a></code> created with <code><a href="Graphics-HGL-Draw-Pen.html#v:createPen">createPen</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:selectPen" class="def">selectPen</a> :: <a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a> -&gt; <a href="Graphics-HGL-Draw-Monad.html#t:Draw">Draw</a> <a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a><a href="src/Graphics-HGL-Draw-Pen.html#selectPen" class="link">Source</a></p><div class="doc"><p>Set the <code><a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a></code> for subsequent drawing, returning the previous setting.
</p></div></div><div class="top"><p class="src"><a name="v:mkPen" class="def">mkPen</a> ::  <a href="Graphics-HGL-Draw-Pen.html#t:Style">Style</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-HGL-Draw-Text.html#t:RGB">RGB</a> -&gt; (<a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a> -&gt; <a href="Graphics-HGL-Draw-Monad.html#t:Draw">Draw</a> a) -&gt; <a href="Graphics-HGL-Draw-Monad.html#t:Draw">Draw</a> a<a href="src/Graphics-HGL-Draw-Pen.html#mkPen" class="link">Source</a></p><div class="doc"><p>Create a <code><a href="Graphics-HGL-Draw-Pen.html#t:Pen">Pen</a></code> locally to a drawing.
</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>