/usr/share/doc/libghc-x11-doc/html/Graphics-X11-Xlib-Font.html is in libghc-x11-doc 1.6.1.1-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 | <!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.X11.Xlib.Font</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-X11-Xlib-Font.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-X11-Xlib-Font.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">X11-1.6.1.1: A binding to the X11 graphics library</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>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.X11.Xlib.Font</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A collection of FFI declarations for interfacing with Xlib Fonts.
</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:Glyph">Glyph</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Word.html#t:Word16">Word16</a></li><li class="src short"><a href="#v:queryFont">queryFont</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="Graphics-X11-Types.html#t:Font">Font</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a></li><li class="src short"><a href="#v:fontFromGC">fontFromGC</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="Graphics-X11-Xlib-Types.html#t:GC">GC</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-X11-Types.html#t:Font">Font</a></li><li class="src short"><a href="#v:loadQueryFont">loadQueryFont</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a></li><li class="src short"><a href="#v:freeFont">freeFont</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <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"><span class="keyword">data</span> <a href="#t:FontStruct">FontStruct</a> </li><li class="src short"><a href="#v:fontFromFontStruct">fontFromFontStruct</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="Graphics-X11-Types.html#t:Font">Font</a></li><li class="src short"><a href="#v:ascentFromFontStruct">ascentFromFontStruct</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a></li><li class="src short"><a href="#v:descentFromFontStruct">descentFromFontStruct</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:CharStruct">CharStruct</a> = (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>)</li><li class="src short"><a href="#v:textExtents">textExtents</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> (<a href="Graphics-X11-Types.html#t:FontDirection">FontDirection</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a>, <a href="Graphics-X11-Xlib-Font.html#t:CharStruct">CharStruct</a>)</li><li class="src short"><a href="#v:textWidth">textWidth</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Glyph" class="def">Glyph</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Word.html#t:Word16">Word16</a><a href="src/Graphics-X11-Xlib-Font.html#Glyph" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:queryFont" class="def">queryFont</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="Graphics-X11-Types.html#t:Font">Font</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a><a href="src/Graphics-X11-Xlib-Font.html#queryFont" class="link">Source</a></p><div class="doc"><p>interface to the X11 library function <code>XQueryFont()</code>.
</p></div></div><div class="top"><p class="src"><a name="v:fontFromGC" class="def">fontFromGC</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="Graphics-X11-Xlib-Types.html#t:GC">GC</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-X11-Types.html#t:Font">Font</a><a href="src/Graphics-X11-Xlib-Font.html#fontFromGC" class="link">Source</a></p><div class="doc"><p>interface to the X11 library function <code>XGetGCValues()</code>.
</p></div></div><div class="top"><p class="src"><a name="v:loadQueryFont" class="def">loadQueryFont</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a><a href="src/Graphics-X11-Xlib-Font.html#loadQueryFont" class="link">Source</a></p><div class="doc"><p>interface to the X11 library function <code>XLoadQueryFont()</code>.
</p></div></div><div class="top"><p class="src"><a name="v:freeFont" class="def">freeFont</a> :: <a href="Graphics-X11-Xlib-Types.html#t:Display">Display</a> -> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <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-X11-Xlib-Font.html#freeFont" class="link">Source</a></p><div class="doc"><p>interface to the X11 library function <code>XFreeFont()</code>.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FontStruct" class="def">FontStruct</a> <a href="src/Graphics-X11-Xlib-Font.html#FontStruct" class="link">Source</a></p><div class="doc"><p>pointer to an X11 <code>XFontStruct</code> structure
</p></div><div class="subs instances"><p id="control.i:FontStruct" class="caption collapser" onclick="toggleSection('i:FontStruct')">Instances</p><div id="section.i:FontStruct" 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-X11-Xlib-Font.html#t:FontStruct">FontStruct</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-Data.html#t:Data">Data</a> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</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-X11-Xlib-Font.html#t:FontStruct">FontStruct</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-X11-Xlib-Font.html#t:FontStruct">FontStruct</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-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:fontFromFontStruct" class="def">fontFromFontStruct</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="Graphics-X11-Types.html#t:Font">Font</a><a href="src/Graphics-X11-Xlib-Font.html#fontFromFontStruct" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:ascentFromFontStruct" class="def">ascentFromFontStruct</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a><a href="src/Graphics-X11-Xlib-Font.html#ascentFromFontStruct" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:descentFromFontStruct" class="def">descentFromFontStruct</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a><a href="src/Graphics-X11-Xlib-Font.html#descentFromFontStruct" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:CharStruct" class="def">CharStruct</a> = (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CInt">CInt</a>)<a href="src/Graphics-X11-Xlib-Font.html#CharStruct" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:textExtents" class="def">textExtents</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> (<a href="Graphics-X11-Types.html#t:FontDirection">FontDirection</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a>, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a>, <a href="Graphics-X11-Xlib-Font.html#t:CharStruct">CharStruct</a>)<a href="src/Graphics-X11-Xlib-Font.html#textExtents" class="link">Source</a></p><div class="doc"><p>interface to the X11 library function <code>XTextExtents()</code>.
</p></div></div><div class="top"><p class="src"><a name="v:textWidth" class="def">textWidth</a> :: <a href="Graphics-X11-Xlib-Font.html#t:FontStruct">FontStruct</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int32">Int32</a><a href="src/Graphics-X11-Xlib-Font.html#textWidth" class="link">Source</a></p><div class="doc"><p>interface to the X11 library function <code>XTextWidth()</code>.
</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>
|