This file is indexed.

/usr/share/doc/libghc-pango-doc/html/Graphics-Rendering-Pango-Layout.html is in libghc-pango-doc 0.13.3.1-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
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!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.Pango.Layout</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-Rendering-Pango-Layout.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-Pango-Layout.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">pango-0.13.3.1: Binding to the Pango text rendering engine.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.Rendering.Pango.Layout</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Functions to run the rendering pipeline.</p><ul><li>The <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code> object defined in this module contain a rendered
 paragraph of text. This interface is the easiest way to render text into
 a <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#v:DrawWindow">DrawWindow</a></code> using Cairo.</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:PangoRectangle">PangoRectangle</a> = <a href="#v:PangoRectangle">PangoRectangle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:PangoLayout">PangoLayout</a></li><li class="src short"><a href="#v:layoutEmpty">layoutEmpty</a> :: <a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></li><li class="src short"><a href="#v:layoutText">layoutText</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; <a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></li><li class="src short"><a href="#v:layoutCopy">layoutCopy</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></li><li class="src short"><a href="#v:layoutGetContext">layoutGetContext</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a></li><li class="src short"><a href="#v:layoutContextChanged">layoutContextChanged</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutSetText">layoutSetText</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetText">layoutGetText</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> string</li><li class="src short"><a href="#v:layoutSetMarkup">layoutSetMarkup</a> :: (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> markup, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; markup -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> string</li><li class="src short"><a href="#v:escapeMarkup">escapeMarkup</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; string -&gt; string</li><li class="src short"><a href="#v:layoutSetMarkupWithAccel">layoutSetMarkupWithAccel</a> :: (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> markup, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; markup -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>, string)</li><li class="src short"><a href="#v:layoutSetAttributes">layoutSetAttributes</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; [<a href="Graphics-Rendering-Pango-Enums.html#t:PangoAttribute">PangoAttribute</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetAttributes">layoutGetAttributes</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> [[<a href="Graphics-Rendering-Pango-Enums.html#t:PangoAttribute">PangoAttribute</a>]]</li><li class="src short"><a href="#v:layoutSetFontDescription">layoutSetFontDescription</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetFontDescription">layoutGetFontDescription</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a>)</li><li class="src short"><a href="#v:layoutSetWidth">layoutSetWidth</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetWidth">layoutGetWidth</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:LayoutWrapMode">LayoutWrapMode</a><ul class="subs"><li>= <a href="#v:WrapWholeWords">WrapWholeWords</a></li><li>| <a href="#v:WrapAnywhere">WrapAnywhere</a></li><li>| <a href="#v:WrapPartialWords">WrapPartialWords</a></li></ul></li><li class="src short"><a href="#v:layoutSetWrap">layoutSetWrap</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetWrap">layoutGetWrap</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:EllipsizeMode">EllipsizeMode</a><ul class="subs"><li>= <a href="#v:EllipsizeNone">EllipsizeNone</a></li><li>| <a href="#v:EllipsizeStart">EllipsizeStart</a></li><li>| <a href="#v:EllipsizeMiddle">EllipsizeMiddle</a></li><li>| <a href="#v:EllipsizeEnd">EllipsizeEnd</a></li></ul></li><li class="src short"><a href="#v:layoutSetEllipsize">layoutSetEllipsize</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetEllipsize">layoutGetEllipsize</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a></li><li class="src short"><a href="#v:layoutSetIndent">layoutSetIndent</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetIndent">layoutGetIndent</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:layoutSetSpacing">layoutSetSpacing</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetSpacing">layoutGetSpacing</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:layoutSetJustify">layoutSetJustify</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetJustify">layoutGetJustify</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutSetAutoDir">layoutSetAutoDir</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetAutoDir">layoutGetAutoDir</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:LayoutAlignment">LayoutAlignment</a><ul class="subs"><li>= <a href="#v:AlignLeft">AlignLeft</a></li><li>| <a href="#v:AlignCenter">AlignCenter</a></li><li>| <a href="#v:AlignRight">AlignRight</a></li></ul></li><li class="src short"><a href="#v:layoutSetAlignment">layoutSetAlignment</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetAlignment">layoutGetAlignment</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:TabAlign">TabAlign</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:TabPosition">TabPosition</a> = (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a>)</li><li class="src short"><a href="#v:layoutSetTabs">layoutSetTabs</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:TabPosition">TabPosition</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutResetTabs">layoutResetTabs</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetTabs">layoutGetTabs</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="Graphics-Rendering-Pango-Layout.html#t:TabPosition">TabPosition</a>])</li><li class="src short"><a href="#v:layoutSetSingleParagraphMode">layoutSetSingleParagraphMode</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:layoutGetSingleParagraphMode">layoutGetSingleParagraphMode</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutXYToIndex">layoutXYToIndex</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:layoutIndexToPos">layoutIndexToPos</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a></li><li class="src short"><a href="#v:layoutGetCursorPos">layoutGetCursorPos</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:CursorPos">CursorPos</a><ul class="subs"><li>= <a href="#v:CursorPosPrevPara">CursorPosPrevPara</a></li><li>| <a href="#v:CursorPos">CursorPos</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li>| <a href="#v:CursorPosNextPara">CursorPosNextPara</a></li></ul></li><li class="src short"><a href="#v:layoutMoveCursorVisually">layoutMoveCursorVisually</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:CursorPos">CursorPos</a></li><li class="src short"><a href="#v:layoutGetExtents">layoutGetExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</li><li class="src short"><a href="#v:layoutGetPixelExtents">layoutGetPixelExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>, <a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>)</li><li class="src short"><a href="#v:layoutGetLineCount">layoutGetLineCount</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:layoutGetLine">layoutGetLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></li><li class="src short"><a href="#v:layoutGetLines">layoutGetLines</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:LayoutIter">LayoutIter</a></li><li class="src short"><a href="#v:layoutGetIter">layoutGetIter</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a></li><li class="src short"><a href="#v:layoutIterNextItem">layoutIterNextItem</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutIterNextChar">layoutIterNextChar</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutIterNextCluster">layoutIterNextCluster</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutIterNextLine">layoutIterNextLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutIterAtLastLine">layoutIterAtLastLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutIterGetIndex">layoutIterGetIndex</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:layoutIterGetBaseline">layoutIterGetBaseline</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:layoutIterGetItem">layoutIterGetItem</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Rendering.html#t:GlyphItem">GlyphItem</a>)</li><li class="src short"><a href="#v:layoutIterGetLine">layoutIterGetLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a>)</li><li class="src short"><a href="#v:layoutIterGetCharExtents">layoutIterGetCharExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a></li><li class="src short"><a href="#v:layoutIterGetClusterExtents">layoutIterGetClusterExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</li><li class="src short"><a href="#v:layoutIterGetRunExtents">layoutIterGetRunExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</li><li class="src short"><a href="#v:layoutIterGetLineYRange">layoutIterGetLineYRange</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:layoutIterGetLineExtents">layoutIterGetLineExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:LayoutLine">LayoutLine</a></li><li class="src short"><a href="#v:layoutLineGetExtents">layoutLineGetExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</li><li class="src short"><a href="#v:layoutLineGetPixelExtents">layoutLineGetPixelExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>, <a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>)</li><li class="src short"><a href="#v:layoutLineIndexToX">layoutLineIndexToX</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:layoutLineXToIndex">layoutLineXToIndex</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:layoutLineGetXRanges">layoutLineGetXRanges</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:PangoRectangle" class="def">PangoRectangle</a> <a href="src/Graphics-Rendering-Pango-Structs.html#PangoRectangle" class="link">Source</a> <a href="#t:PangoRectangle" class="selflink">#</a></p><div class="doc"><p>Rectangles describing an area in <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></code>s.</p><ul><li>Specifies x, y, width and height</li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:PangoRectangle" class="def">PangoRectangle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:PangoRectangle" class="caption collapser" onclick="toggleSection('i:PangoRectangle')">Instances</p><div id="section.i:PangoRectangle" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PangoRectangle:Show:1" class="instance expander" onclick="toggleSection('i:id:PangoRectangle:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a></span> <a href="src/Graphics-Rendering-Pango-Structs.html#line-103" class="link">Source</a> <a href="#t:PangoRectangle" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PangoRectangle:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PangoRectangle:Storable:2" class="instance expander" onclick="toggleSection('i:id:PangoRectangle:Storable:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Storable.html#t:Storable">Storable</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a></span> <a href="src/Graphics-Rendering-Pango-Structs.html#line-105" class="link">Source</a> <a href="#t:PangoRectangle" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PangoRectangle:Storable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:sizeOf">sizeOf</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:sizeOf" class="selflink">#</a></p><p class="src"><a href="#v:alignment">alignment</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:alignment" class="selflink">#</a></p><p class="src"><a href="#v:peekElemOff">peekElemOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> <a href="#v:peekElemOff" class="selflink">#</a></p><p class="src"><a href="#v:pokeElemOff">pokeElemOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:pokeElemOff" class="selflink">#</a></p><p class="src"><a href="#v:peekByteOff">peekByteOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> b -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> <a href="#v:peekByteOff" class="selflink">#</a></p><p class="src"><a href="#v:pokeByteOff">pokeByteOff</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> b -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:pokeByteOff" class="selflink">#</a></p><p class="src"><a href="#v:peek">peek</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> <a href="#v:peek" class="selflink">#</a></p><p class="src"><a href="#v:poke">poke</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Foreign-Ptr.html#t:Ptr">Ptr</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="#v:poke" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:PangoLayout" class="def">PangoLayout</a> <a href="src/Graphics-Rendering-Pango-BasicTypes.html#PangoLayout" class="link">Source</a> <a href="#t:PangoLayout" class="selflink">#</a></p><div class="doc"><p>A rendered paragraph.</p></div></div><div class="top"><p class="src"><a id="v:layoutEmpty" class="def">layoutEmpty</a> :: <a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutEmpty" class="link">Source</a> <a href="#v:layoutEmpty" class="selflink">#</a></p><div class="doc"><p>Create an empty <code>Layout</code>.</p></div></div><div class="top"><p class="src"><a id="v:layoutText" class="def">layoutText</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; <a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutText" class="link">Source</a> <a href="#v:layoutText" class="selflink">#</a></p><div class="doc"><p>Create a new layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutCopy" class="def">layoutCopy</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutCopy" class="link">Source</a> <a href="#v:layoutCopy" class="selflink">#</a></p><div class="doc"><p>Create a copy of the <code>Layout</code>.</p></div></div><div class="top"><p class="src"><a id="v:layoutGetContext" class="def">layoutGetContext</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetContext" class="link">Source</a> <a href="#v:layoutGetContext" class="selflink">#</a></p><div class="doc"><p>Retrieves the <code><a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a></code> from this layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutContextChanged" class="def">layoutContextChanged</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutContextChanged" class="link">Source</a> <a href="#v:layoutContextChanged" class="selflink">#</a></p><div class="doc"><p>Signal a <code><a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a></code> change.</p><ul><li>Forces recomputation of any state in the <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code> that
 might depend on the layout's context. This function should
 be called if you make changes to the context subsequent
 to creating the layout.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetText" class="def">layoutSetText</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetText" class="link">Source</a> <a href="#v:layoutSetText" class="selflink">#</a></p><div class="doc"><p>Set the string in the layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutGetText" class="def">layoutGetText</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> string <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetText" class="link">Source</a> <a href="#v:layoutGetText" class="selflink">#</a></p><div class="doc"><p>Retrieve the string in the layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutSetMarkup" class="def">layoutSetMarkup</a> :: (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> markup, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; markup -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> string <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetMarkup" class="link">Source</a> <a href="#v:layoutSetMarkup" class="selflink">#</a></p><div class="doc"><p>Set the text of the layout, including attributes.</p><p>The string may include <code>Markup</code>. To print markup characters like
 <code>'&lt;'</code>, or <code>'-'</code>, apply <code><a href="Graphics-Rendering-Pango-Layout.html#v:escapeMarkup">escapeMarkup</a></code> to the string first.</p><p>The function returns the text that is actually shown.</p></div></div><div class="top"><p class="src"><a id="v:escapeMarkup" class="def">escapeMarkup</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; string -&gt; string <a href="src/Graphics-Rendering-Pango-Layout.html#escapeMarkup" class="link">Source</a> <a href="#v:escapeMarkup" class="selflink">#</a></p><div class="doc"><p>Escape markup characters.</p><ul><li>Used to display characters that normally denote markup. Note that this
 function is strict in that it forces all characters in the input string
 as soon as a single output character is requested.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetMarkupWithAccel" class="def">layoutSetMarkupWithAccel</a> :: (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> markup, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; markup -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a>, string) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetMarkupWithAccel" class="link">Source</a> <a href="#v:layoutSetMarkupWithAccel" class="selflink">#</a></p><div class="doc"><p>Set the string in the layout.</p><ul><li>The string may include <code>Markup</code>. Furthermore, any underscore
 character indicates that the next character will be
 marked as accelerator (i.e. underlined). A literal underscore character
 can be produced by placing it twice in the string.</li><li>The character which follows the underscore is
 returned so it can be used to add the actual keyboard shortcut.
 The second element is the string after parsing.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetAttributes" class="def">layoutSetAttributes</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; [<a href="Graphics-Rendering-Pango-Enums.html#t:PangoAttribute">PangoAttribute</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetAttributes" class="link">Source</a> <a href="#v:layoutSetAttributes" class="selflink">#</a></p><div class="doc"><p>Set text attributes of the text in the layout.</p><ul><li>This function replaces any text attributes that this layout contained,
 even those that were set by using <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetMarkup">layoutSetMarkup</a></code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetAttributes" class="def">layoutGetAttributes</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> [[<a href="Graphics-Rendering-Pango-Enums.html#t:PangoAttribute">PangoAttribute</a>]] <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetAttributes" class="link">Source</a> <a href="#v:layoutGetAttributes" class="selflink">#</a></p><div class="doc"><p>Gets the list of attributes of the layout, if any.</p><ul><li>The attribute list is a list of lists of attribute. Each list describes
 the attributes for the same span.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetFontDescription" class="def">layoutSetFontDescription</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetFontDescription" class="link">Source</a> <a href="#v:layoutSetFontDescription" class="selflink">#</a></p><div class="doc"><p>Set a specific font description for this layout.</p><ul><li>Specifying <code>Nothing</code> will unset the current font description, that is,
 the <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code> will use the font description in the current
 <code><a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a></code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetFontDescription" class="def">layoutGetFontDescription</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetFontDescription" class="link">Source</a> <a href="#v:layoutGetFontDescription" class="selflink">#</a></p><div class="doc"><p>Ask for the specifically set font description of this layout.</p><ul><li>Returns <code>Nothing</code> if this layout uses the font description in the
 <code><a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a></code> it was created in.</li><li>Only available in Pango 1.8.0 or higher.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetWidth" class="def">layoutSetWidth</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetWidth" class="link">Source</a> <a href="#v:layoutSetWidth" class="selflink">#</a></p><div class="doc"><p>Set the width of this paragraph.</p><ul><li>Sets the width to which the lines of the <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code>
 should be wrapped.</li><li>Pass in <code>Nothing</code> to indicate that no wrapping is to be performed.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetWidth" class="def">layoutGetWidth</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetWidth" class="link">Source</a> <a href="#v:layoutGetWidth" class="selflink">#</a></p><div class="doc"><p>Gets the width of this paragraph.</p><ul><li>Gets the width to which the lines of the <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code>
 should be wrapped.</li><li>Returns is the current width, or <code>Nothing</code> to indicate that
 no wrapping is performed.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LayoutWrapMode" class="def">LayoutWrapMode</a> <a href="src/Graphics-Rendering-Pango-Layout.html#LayoutWrapMode" class="link">Source</a> <a href="#t:LayoutWrapMode" class="selflink">#</a></p><div class="doc"><p>Enumerates how a line can be wrapped.</p><dl><dt><code>WrapWholeWords</code></dt><dd>Breaks lines only between words.</dd></dl><ul><li>This variant does not guarantee that the requested width is not
 exceeded. A word that is longer than the paragraph width is not
 split.</li></ul><dl><dt><code>WrapAnywhere</code></dt><dd>Break lines anywhere.</dd><dt><code>WrapPartialWords</code></dt><dd>Wrap within a word if it is the only one on
 this line.</dd></dl><ul><li>This option acts like <code><a href="Graphics-Rendering-Pango-Layout.html#v:WrapWholeWords">WrapWholeWords</a></code> but will split
 a word if it is the only one on this line and it exceeds the
 specified width.</li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:WrapWholeWords" class="def">WrapWholeWords</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:WrapAnywhere" class="def">WrapAnywhere</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:WrapPartialWords" class="def">WrapPartialWords</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:LayoutWrapMode" class="caption collapser" onclick="toggleSection('i:LayoutWrapMode')">Instances</p><div id="section.i:LayoutWrapMode" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LayoutWrapMode:Enum:1" class="instance expander" onclick="toggleSection('i:id:LayoutWrapMode:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a></span> <a href="src/Graphics-Rendering-Pango-Layout.html#line-362" class="link">Source</a> <a href="#t:LayoutWrapMode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:LayoutWrapMode:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:layoutSetWrap" class="def">layoutSetWrap</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetWrap" class="link">Source</a> <a href="#v:layoutSetWrap" class="selflink">#</a></p><div class="doc"><p>Set how this paragraph is wrapped.</p><ul><li>Sets the wrap style; the wrap style only has an effect if a width
 is set on the layout with <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetWidth">layoutSetWidth</a></code>. To turn off
 wrapping, call <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetWidth">layoutSetWidth</a></code> with <code>Nothing</code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetWrap" class="def">layoutGetWrap</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutWrapMode">LayoutWrapMode</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetWrap" class="link">Source</a> <a href="#v:layoutGetWrap" class="selflink">#</a></p><div class="doc"><p>Get the wrap mode for the layout.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:EllipsizeMode" class="def">EllipsizeMode</a> <a href="src/Graphics-Rendering-Pango-Enums.html#EllipsizeMode" class="link">Source</a> <a href="#t:EllipsizeMode" class="selflink">#</a></p><div class="doc"><p>The <code><a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a></code> type describes what sort of (if any) ellipsization
 should be applied to a line of text. In the ellipsization process characters
 are removed from the text in order to make it fit to a given width and
 replaced with an ellipsis.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:EllipsizeNone" class="def">EllipsizeNone</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:EllipsizeStart" class="def">EllipsizeStart</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:EllipsizeMiddle" class="def">EllipsizeMiddle</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:EllipsizeEnd" class="def">EllipsizeEnd</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:EllipsizeMode" class="caption collapser" onclick="toggleSection('i:EllipsizeMode')">Instances</p><div id="section.i:EllipsizeMode" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:EllipsizeMode:Enum:1" class="instance expander" onclick="toggleSection('i:id:EllipsizeMode:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a></span> <a href="src/Graphics-Rendering-Pango-Enums.html#line-101" class="link">Source</a> <a href="#t:EllipsizeMode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:EllipsizeMode:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:EllipsizeMode:Eq:2" class="instance expander" onclick="toggleSection('i:id:EllipsizeMode:Eq:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a></span> <a href="src/Graphics-Rendering-Pango-Enums.html#line-101" class="link">Source</a> <a href="#t:EllipsizeMode" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:EllipsizeMode:Eq:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:layoutSetEllipsize" class="def">layoutSetEllipsize</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetEllipsize" class="link">Source</a> <a href="#v:layoutSetEllipsize" class="selflink">#</a></p><div class="doc"><p>Set how long lines should be abbreviated.</p></div></div><div class="top"><p class="src"><a id="v:layoutGetEllipsize" class="def">layoutGetEllipsize</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:EllipsizeMode">EllipsizeMode</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetEllipsize" class="link">Source</a> <a href="#v:layoutGetEllipsize" class="selflink">#</a></p><div class="doc"><p>Get the ellipsize mode for this layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutSetIndent" class="def">layoutSetIndent</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetIndent" class="link">Source</a> <a href="#v:layoutSetIndent" class="selflink">#</a></p><div class="doc"><p>Set the indentation of this paragraph.</p><ul><li>Sets the amount by which the first line should
 be indented. A negative value will produce a hanging indent, that is,
 all subsequent lines will be indented while the first line has full
 width.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetIndent" class="def">layoutGetIndent</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetIndent" class="link">Source</a> <a href="#v:layoutGetIndent" class="selflink">#</a></p><div class="doc"><p>Gets the indentation of this paragraph.</p><ul><li>Gets the amount by which the first line or the rest of the paragraph
 is indented.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetSpacing" class="def">layoutSetSpacing</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetSpacing" class="link">Source</a> <a href="#v:layoutSetSpacing" class="selflink">#</a></p><div class="doc"><p>Set the spacing between lines of this paragraph.</p></div></div><div class="top"><p class="src"><a id="v:layoutGetSpacing" class="def">layoutGetSpacing</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetSpacing" class="link">Source</a> <a href="#v:layoutGetSpacing" class="selflink">#</a></p><div class="doc"><p>Gets the spacing between the lines.</p></div></div><div class="top"><p class="src"><a id="v:layoutSetJustify" class="def">layoutSetJustify</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetJustify" class="link">Source</a> <a href="#v:layoutSetJustify" class="selflink">#</a></p><div class="doc"><p>Set if text should be streched to fit width.</p><ul><li>Sets whether or not each complete line should be stretched to
 fill the entire width of the layout. This stretching is typically
 done by adding whitespace, but for some scripts (such as Arabic),
 the justification is done by extending the characters.</li><li>Note that as of Pango 1.4, this functionality is not yet implemented.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetJustify" class="def">layoutGetJustify</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetJustify" class="link">Source</a> <a href="#v:layoutGetJustify" class="selflink">#</a></p><div class="doc"><p>Retrieve the justification flag.</p><ul><li>See <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetJustify">layoutSetJustify</a></code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetAutoDir" class="def">layoutSetAutoDir</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetAutoDir" class="link">Source</a> <a href="#v:layoutSetAutoDir" class="selflink">#</a></p><div class="doc"><p>Set if the base text direction should be overridden.</p><ul><li>Sets whether to calculate the bidirectional base direction for the
 layout according to the contents of the layout; when this flag is on
 (the default), then paragraphs in layout that begin with strong
 right-to-left characters (Arabic and Hebrew principally), will have
 right-to-left layout, paragraphs with letters from other scripts will
 have left-to-right layout. Paragraphs with only neutral characters get
 their direction from the surrounding paragraphs.</li><li>When <code>False</code>, the choice between left-to-right and right-to-left
 layout is done by according to the base direction of the layout's
 <code><a href="Graphics-Rendering-Pango-Context.html#t:PangoContext">PangoContext</a></code>. (See <code><a href="Graphics-Rendering-Pango-Context.html#v:contextSetTextDir">contextSetTextDir</a></code>).</li><li>When the auto-computed direction or a paragraph differs from the base
 direction of the context, then the interpretation of
 <code><a href="Graphics-Rendering-Pango-Layout.html#v:AlignLeft">AlignLeft</a></code> and <code><a href="Graphics-Rendering-Pango-Layout.html#v:AlignRight">AlignRight</a></code> are swapped.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetAutoDir" class="def">layoutGetAutoDir</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetAutoDir" class="link">Source</a> <a href="#v:layoutGetAutoDir" class="selflink">#</a></p><div class="doc"><p>Retrieve the auto direction flag.</p><ul><li>See <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetAutoDir">layoutSetAutoDir</a></code>.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LayoutAlignment" class="def">LayoutAlignment</a> <a href="src/Graphics-Rendering-Pango-Layout.html#LayoutAlignment" class="link">Source</a> <a href="#t:LayoutAlignment" class="selflink">#</a></p><div class="doc"><p>Enumerate to which side incomplete lines are flushed.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:AlignLeft" class="def">AlignLeft</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:AlignCenter" class="def">AlignCenter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:AlignRight" class="def">AlignRight</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:LayoutAlignment" class="caption collapser" onclick="toggleSection('i:LayoutAlignment')">Instances</p><div id="section.i:LayoutAlignment" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LayoutAlignment:Enum:1" class="instance expander" onclick="toggleSection('i:id:LayoutAlignment:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a></span> <a href="src/Graphics-Rendering-Pango-Layout.html#line-488" class="link">Source</a> <a href="#t:LayoutAlignment" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:LayoutAlignment:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:layoutSetAlignment" class="def">layoutSetAlignment</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetAlignment" class="link">Source</a> <a href="#v:layoutSetAlignment" class="selflink">#</a></p><div class="doc"><p>Set how this paragraph is aligned.</p><ul><li>Sets the alignment for the layout (how partial lines are
 positioned within the horizontal space available.)</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetAlignment" class="def">layoutGetAlignment</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutAlignment">LayoutAlignment</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetAlignment" class="link">Source</a> <a href="#v:layoutGetAlignment" class="selflink">#</a></p><div class="doc"><p>Get the alignment for the layout.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:TabAlign" class="def">TabAlign</a> <a href="src/Graphics-Rendering-Pango-Layout.html#TabAlign" class="link">Source</a> <a href="#t:TabAlign" class="selflink">#</a></p><div class="doc"><p>Specify where the Tab stop appears relative to the text.</p><ul><li>Only Tab stops that align text to the left are supported right now.</li></ul></div><div class="subs instances"><p id="control.i:TabAlign" class="caption collapser" onclick="toggleSection('i:TabAlign')">Instances</p><div id="section.i:TabAlign" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TabAlign:Enum:1" class="instance expander" onclick="toggleSection('i:id:TabAlign:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a></span> <a href="src/Graphics-Rendering-Pango-Layout.html#line-508" class="link">Source</a> <a href="#t:TabAlign" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TabAlign:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:TabPosition" class="def">TabPosition</a> = (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:TabAlign">TabAlign</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#TabPosition" class="link">Source</a> <a href="#t:TabPosition" class="selflink">#</a></p><div class="doc"><p>A Tab position.</p></div></div><div class="top"><p class="src"><a id="v:layoutSetTabs" class="def">layoutSetTabs</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; [<a href="Graphics-Rendering-Pango-Layout.html#t:TabPosition">TabPosition</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetTabs" class="link">Source</a> <a href="#v:layoutSetTabs" class="selflink">#</a></p><div class="doc"><p>Set a list of Tab positoins.</p></div></div><div class="top"><p class="src"><a id="v:layoutResetTabs" class="def">layoutResetTabs</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutResetTabs" class="link">Source</a> <a href="#v:layoutResetTabs" class="selflink">#</a></p><div class="doc"><p>Reset the original set of Tab positions.</p><ul><li>Restore the default which is a Tab stop every eight characters.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetTabs" class="def">layoutGetTabs</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="Graphics-Rendering-Pango-Layout.html#t:TabPosition">TabPosition</a>]) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetTabs" class="link">Source</a> <a href="#v:layoutGetTabs" class="selflink">#</a></p><div class="doc"><p>Retrieve the list of current Tab positions.</p><ul><li>If no Tab position where set, <code>Nothing</code> is returned. In this case, Tab
 positions are implicit at every eight characters.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutSetSingleParagraphMode" class="def">layoutSetSingleParagraphMode</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Layout.html#layoutSetSingleParagraphMode" class="link">Source</a> <a href="#v:layoutSetSingleParagraphMode" class="selflink">#</a></p><div class="doc"><p>Honor newlines or not.</p><ul><li>If <code>honor</code> is <code>True</code>, do not treat newlines and
 similar characters as paragraph separators; instead, keep all text in
 a single paragraph, and display a glyph for paragraph separator
 characters. Used when you want to allow editing of newlines on a
 single text line.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetSingleParagraphMode" class="def">layoutGetSingleParagraphMode</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetSingleParagraphMode" class="link">Source</a> <a href="#v:layoutGetSingleParagraphMode" class="selflink">#</a></p><div class="doc"><p>Retrieve if newlines are honored.</p><ul><li>See <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetSingleParagraphMode">layoutSetSingleParagraphMode</a></code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutXYToIndex" class="def">layoutXYToIndex</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutXYToIndex" class="link">Source</a> <a href="#v:layoutXYToIndex" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>the <code>x</code> position</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>the <code>y</code> position</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Converts a device unit to a character index.</p><ul><li>Converts from <code>x</code> and <code>y</code> position within a layout to the index of
 the closest character. If the <code>y</code> position is not inside the layout,
 the closest position is chosen (the position will be clamped inside
 the layout). If the <code>x</code> position is not within the layout, then the
 start or the end of the line is chosen. If either the <code>x</code> or <code>y</code>
 positions were not inside the layout, then the function returns <code>False</code>;
 on an exact hit, it returns <code>True</code>.</li><li>The function returns the flag for the exact hit and the index into
 the string. The third value is zero if the character corresponds to
 one grapheme. If the grapheme is the result of a cluster, this value
 may be greater than one, indicating where in the grapheme the position
 lies. Zero represents the trailing edge on the grapheme.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIndexToPos" class="def">layoutIndexToPos</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIndexToPos" class="link">Source</a> <a href="#v:layoutIndexToPos" class="selflink">#</a></p><div class="doc"><p>Return the rectangle of the glyph at the given index.</p><ul><li>Converts from an index within a <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code> to the onscreen position
 corresponding to the grapheme at that index, which is represented as
 rectangle. Note that, given a <code>PangoRectangle x y width height</code>, <code>x</code>
 is always the leading edge of the grapheme and <code>x + width</code> the
 trailing edge of the grapheme. If the directionality of the grapheme
 is right-to-left, then <code>width</code> will be negative.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetCursorPos" class="def">layoutGetCursorPos</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetCursorPos" class="link">Source</a> <a href="#v:layoutGetCursorPos" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</td><td class="doc"><pre>(strong, weak)</pre></td></tr></table></div><div class="doc"><p>Return a cursor position.</p><ul><li>Given an index within a layout, determines the positions that of the
 strong and weak cursors if the insertion point is at that index.
 The position of each cursor is stored as a zero-width rectangle.
 The strong cursor location is the location where characters of the
 directionality equal to the base direction of the layout are inserted.
 The weak cursor location is the location where characters of the
 directionality opposite to the base direction of the layout are
 inserted. The first element of the typle is the strong position,
 the second the weak.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:CursorPos" class="def">CursorPos</a> <a href="src/Graphics-Rendering-Pango-Layout.html#CursorPos" class="link">Source</a> <a href="#t:CursorPos" class="selflink">#</a></p><div class="doc"><p>A new cursor position.</p><p>See <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutMoveCursorVisually">layoutMoveCursorVisually</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:CursorPosPrevPara" class="def">CursorPosPrevPara</a></td><td class="doc"><p>The cursor should move to the previous paragraph.</p></td></tr><tr><td class="src"><a id="v:CursorPos" class="def">CursorPos</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>The sum of the indices is the new cursor position.</p></td></tr><tr><td class="src"><a id="v:CursorPosNextPara" class="def">CursorPosNextPara</a></td><td class="doc"><p>The cursor should advance to the next paragraph.</p></td></tr></table></div></div><div class="top"><p class="src"><a id="v:layoutMoveCursorVisually" class="def">layoutMoveCursorVisually</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutMoveCursorVisually" class="link">Source</a> <a href="#v:layoutMoveCursorVisually" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>True</code> to create a strong cursor.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>The previous position.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>True</code> if the cursor should move right.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:CursorPos">CursorPos</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Move a cursor visually.</p><ul><li>Compute a new cursor position from a previous cursor position. A value
 of <code>True</code> for the direction will move it to the right, independant of
 the underlying direction. Hence the cursor position might jump if
 left-to-right text is mixed with right-to-left text.</li><li>The first flag should be <code>True</code> if this cursor is the strong cursor.
 The strong cursor is the cursor of the base direction of the current
 layout (see <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetAutoDir">layoutSetAutoDir</a></code>). The weak cursor is that of the
 opposite direction.</li><li>The previous cursor position is given by <code>idx</code>. If this text at this
 position is a cluster, the cursor will only move to the end or
 beginning of the cluster as opposed to past the next character.
 The return value is either <code><a href="Graphics-Rendering-Pango-Layout.html#v:CursorPosNextPara">CursorPosNextPara</a></code> if the cursor moved
 beyond this paragraph, it is <code><a href="Graphics-Rendering-Pango-Layout.html#v:CursorPosPrevPara">CursorPosPrevPara</a></code> if the cursor moved
 in front of this paragraph and it is <code><a href="Graphics-Rendering-Pango-Layout.html#t:CursorPos">CursorPos</a></code> <code>idx</code> <code>trail</code> to denote
 the new cursor position <code>idx</code>. Note that <code>idx</code> will always denote an
 insertion point, that is, <code>idx</code> will never point into the middle of
 a cluster. The <code>trail</code> value can contain a positive
 value if the current cursor position is at the end of the current line.
 In this case, <code>idx</code> points past the last character of this line while
 <code>trail</code> contains the number of characters that are reponsible for the
 line break such as newlines. The actual cursor position is always
 <code>idx+trail</code> where the visual cursor should be shown.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetExtents" class="def">layoutGetExtents</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetExtents" class="link">Source</a> <a href="#v:layoutGetExtents" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</td><td class="doc"><pre>(ink, logical)</pre></td></tr></table></div><div class="doc"><p>Computes the logical and ink extents of the <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code>.</p><p>Logical extents are usually what you want for positioning things. Note that
 both extents may have non-zero x and y. You may want to use those to offset
 where you render the layout. Not doing that is a very typical bug that
 shows up as right-to-left layouts not being correctly positioned in a
 layout with a set width.</p><p>Layout coordinates begin at the top left corner of the layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutGetPixelExtents" class="def">layoutGetPixelExtents</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetPixelExtents" class="link">Source</a> <a href="#v:layoutGetPixelExtents" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>, <a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>)</td><td class="doc"><pre>(ink, logical)</pre></td></tr></table></div><div class="doc"><p>Compute the physical size of the layout.</p><ul><li>Computes the ink and the logical size of the <code>Layout</code> in device units,
 that is, pixels for a screen. Identical to <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutGetExtents">layoutGetExtents</a></code> and
 converting the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></code>s in the <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a></code> to integers.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetLineCount" class="def">layoutGetLineCount</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetLineCount" class="link">Source</a> <a href="#v:layoutGetLineCount" class="selflink">#</a></p><div class="doc"><p>Ask for the number of lines in this layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutGetLine" class="def">layoutGetLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetLine" class="link">Source</a> <a href="#v:layoutGetLine" class="selflink">#</a></p><div class="doc"><p>Extract a single lines of the layout.</p><ul><li>The given index starts from 0. The function throws an
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Exception-Base.html#t:ArrayException">ArrayException</a></code> if the index is out of bounds.</li><li>The lines of each layout are regenerated if any attribute changes.
 Thus the returned list does not reflect the current state of lines
 after a change has been made.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutGetLines" class="def">layoutGetLines</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a>] <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetLines" class="link">Source</a> <a href="#v:layoutGetLines" class="selflink">#</a></p><div class="doc"><p>Extract the lines of the layout.</p><ul><li>The lines of each layout are regenerated if any attribute changes.
 Thus the returned list does not reflect the current state of lines
 after a change has been made.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LayoutIter" class="def">LayoutIter</a> <a href="src/Graphics-Rendering-Pango-BasicTypes.html#LayoutIter" class="link">Source</a> <a href="#t:LayoutIter" class="selflink">#</a></p><div class="doc"><p>An iterator to examine a layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutGetIter" class="def">layoutGetIter</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutGetIter" class="link">Source</a> <a href="#v:layoutGetIter" class="selflink">#</a></p><div class="doc"><p>Create an iterator to examine a layout.</p></div></div><div class="top"><p class="src"><a id="v:layoutIterNextItem" class="def">layoutIterNextItem</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterNextItem" class="link">Source</a> <a href="#v:layoutIterNextItem" class="selflink">#</a></p><div class="doc"><p>Move to the next <code><a href="Graphics-Rendering-Pango-Rendering.html#t:GlyphItem">GlyphItem</a></code>.</p><ul><li>Returns <code>False</code> if this was the last item in the layout.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterNextChar" class="def">layoutIterNextChar</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterNextChar" class="link">Source</a> <a href="#v:layoutIterNextChar" class="selflink">#</a></p><div class="doc"><p>Move to the next char.</p><ul><li>Returns <code>False</code> if this was the last char in the layout.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterNextCluster" class="def">layoutIterNextCluster</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterNextCluster" class="link">Source</a> <a href="#v:layoutIterNextCluster" class="selflink">#</a></p><div class="doc"><p>Move to the next cluster.</p><ul><li>Returns <code>False</code> if this was the last cluster in the layout.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterNextLine" class="def">layoutIterNextLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterNextLine" class="link">Source</a> <a href="#v:layoutIterNextLine" class="selflink">#</a></p><div class="doc"><p>Move to the next line.</p><ul><li>Returns <code>False</code> if this was the last line in the layout.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterAtLastLine" class="def">layoutIterAtLastLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterAtLastLine" class="link">Source</a> <a href="#v:layoutIterAtLastLine" class="selflink">#</a></p><div class="doc"><p>Check if the iterator is on the last line.</p><ul><li>Returns <code>True</code> if the iterator is on the last line of this
 paragraph.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetIndex" class="def">layoutIterGetIndex</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetIndex" class="link">Source</a> <a href="#v:layoutIterGetIndex" class="selflink">#</a></p><div class="doc"><p>Get the character index.</p><ul><li>Note that iterating forward by char moves in visual order, not
 logical order, so indexes may not be sequential. Also, the index
 may be equal to the length of the text in the layout.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetBaseline" class="def">layoutIterGetBaseline</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetBaseline" class="link">Source</a> <a href="#v:layoutIterGetBaseline" class="selflink">#</a></p><div class="doc"><p>Query the vertical position within the layout.</p><ul><li>Gets the y position of the current line's baseline (origin at top
 left of the entire layout).</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetItem" class="def">layoutIterGetItem</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Rendering.html#t:GlyphItem">GlyphItem</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetItem" class="link">Source</a> <a href="#v:layoutIterGetItem" class="selflink">#</a></p><div class="doc"><p>Retrieve the current <code><a href="Graphics-Rendering-Pango-Rendering.html#t:GlyphItem">GlyphItem</a></code> under the iterator.</p><ul><li>Each <code><a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></code> contains a list of <code><a href="Graphics-Rendering-Pango-Rendering.html#t:GlyphItem">GlyphItem</a></code>s. This function
 returns the <code><a href="Graphics-Rendering-Pango-Rendering.html#t:GlyphItem">GlyphItem</a></code> under the current iterator. If the iterator
 is positioned past the last charactor of the paragraph, the function
 returns <code>Nothing</code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetLine" class="def">layoutIterGetLine</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetLine" class="link">Source</a> <a href="#v:layoutIterGetLine" class="selflink">#</a></p><div class="doc"><p>Extract the line under the iterator.</p></div></div><div class="top"><p class="src"><a id="v:layoutIterGetCharExtents" class="def">layoutIterGetCharExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetCharExtents" class="link">Source</a> <a href="#v:layoutIterGetCharExtents" class="selflink">#</a></p><div class="doc"><p>Retrieve a rectangle surrounding a character.</p><ul><li>Get the extents of the current character
 (origin is the top left of the entire layout). Only logical extents
 can sensibly be obtained for characters; ink extents make sense only
 down to the level of clusters.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetClusterExtents" class="def">layoutIterGetClusterExtents</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetClusterExtents" class="link">Source</a> <a href="#v:layoutIterGetClusterExtents" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>)</td><td class="doc"><pre>(ink, logical)</pre></td></tr></table></div><div class="doc"><p>Compute the physical size of the cluster.</p><ul><li>Computes the ink and the logical size of the cluster pointed to by
 <code><a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a></code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetRunExtents" class="def">layoutIterGetRunExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetRunExtents" class="link">Source</a> <a href="#v:layoutIterGetRunExtents" class="selflink">#</a></p><div class="doc"><p>Compute the physical size of the run.</p><ul><li>Computes the ink and the logical size of the run pointed to by
 <code><a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a></code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetLineYRange" class="def">layoutIterGetLineYRange</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetLineYRange" class="link">Source</a> <a href="#v:layoutIterGetLineYRange" class="selflink">#</a></p><div class="doc"><p>Retrieve vertical extent of this line.</p><ul><li>Divides the vertical space in the <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code> being
 iterated over between the lines in the layout, and returns the
 space belonging to the current line. A line's range includes the
 line's logical extents, plus half of the spacing above and below
 the line, if <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutSetSpacing">layoutSetSpacing</a></code> has been called
 to set layout spacing. The y positions are in layout coordinates
 (origin at top left of the entire layout).</li><li>The first element in the returned tuple is the start, the second is
 the end of this line.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutIterGetLineExtents" class="def">layoutIterGetLineExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutIterGetLineExtents" class="link">Source</a> <a href="#v:layoutIterGetLineExtents" class="selflink">#</a></p><div class="doc"><p>Compute the physical size of the line.</p><ul><li>Computes the ink and the logical size of the line pointed to by
 <code><a href="Graphics-Rendering-Pango-Layout.html#t:LayoutIter">LayoutIter</a></code>. See <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutGetExtents">layoutGetExtents</a></code>.</li><li>Extents are in layout coordinates (origin is the top-left corner
 of the entire <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code>). Thus the extents returned
 by this function will be the same width/height but not at the
 same x/y as the extents returned from
 <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutLineGetExtents">layoutLineGetExtents</a></code>.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LayoutLine" class="def">LayoutLine</a> <a href="src/Graphics-Rendering-Pango-BasicTypes.html#LayoutLine" class="link">Source</a> <a href="#t:LayoutLine" class="selflink">#</a></p><div class="doc"><p>A single line in a <code><a href="Graphics-Rendering-Pango-Layout.html#t:PangoLayout">PangoLayout</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:layoutLineGetExtents" class="def">layoutLineGetExtents</a> :: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>, <a href="Graphics-Rendering-Pango-Layout.html#t:PangoRectangle">PangoRectangle</a>) <a href="src/Graphics-Rendering-Pango-Layout.html#layoutLineGetExtents" class="link">Source</a> <a href="#v:layoutLineGetExtents" class="selflink">#</a></p><div class="doc"><p>Compute the physical size of the line.</p><ul><li>Computes the ink and the logical size of the <code><a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></code>.
 See <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutGetExtents">layoutGetExtents</a></code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutLineGetPixelExtents" class="def">layoutLineGetPixelExtents</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutLineGetPixelExtents" class="link">Source</a> <a href="#v:layoutLineGetPixelExtents" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>, <a href="Graphics-Rendering-Pango-Enums.html#t:Rectangle">Rectangle</a>)</td><td class="doc"><p>(ink, logical)</p></td></tr></table></div><div class="doc"><p>Compute the physical size of the line.</p><ul><li>Computes the ink and the logical size of the <code><a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></code>.
 See <code><a href="Graphics-Rendering-Pango-Layout.html#v:layoutGetExtents">layoutGetExtents</a></code>. The returned values are in device units, that
 is, pixels for the screen and points for printers.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutLineIndexToX" class="def">layoutLineIndexToX</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutLineIndexToX" class="link">Source</a> <a href="#v:layoutLineIndexToX" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>the index into the string</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>return the beginning (<code>False</code>) or the end
 of the character</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Request the horizontal position of a character.</p></div></div><div class="top"><p class="src"><a id="v:layoutLineXToIndex" class="def">layoutLineXToIndex</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutLineXToIndex" class="link">Source</a> <a href="#v:layoutLineXToIndex" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>The <code>x</code> position.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Request the character index of a given horizontal position.</p><ul><li>Converts from an x offset to the index of the corresponding
 character within the text of the layout. If the <code>x</code> parameter is
 outside the line, a triple <code>(False, index, trailing)</code> is returned
 where <code>index</code> and <code>trailing</code> will point to the very
 first or very last position in the line. This notion of first and last
 position is based on the direction of the paragraph; for example,
 if the direction is right-to-left, then an <code>x</code> position to the
 right of the line results in 0 being returned for <code>index</code> and
 <code>trailing</code>. An <code>x</code> position to the left of the line results in
 <code>index</code> pointing to the (logical) last grapheme in the line and
 trailing pointing to the number of characters in that grapheme.
 The reverse is true for a left-to-right line. If the boolean flag in
 the result is <code>True</code> then <code>x</code> was within the layout line and
 <code>trailing</code> indicates where in a cluster the <code>x</code> position lay. It is
 0 for the trailing edge of the cluster.</li></ul></div></div><div class="top"><p class="src"><a id="v:layoutLineGetXRanges" class="def">layoutLineGetXRanges</a> <a href="src/Graphics-Rendering-Pango-Layout.html#layoutLineGetXRanges" class="link">Source</a> <a href="#v:layoutLineGetXRanges" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></td><td class="doc"><p>The line of interest.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>The index of the start character
 (counting from 0). If this value is
 less than the start index for the line,
 then the first range will extend all the
 way to the leading edge of the layout.
 Otherwise it will start at the leading
 edge of the first character.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>The index after the last character.
 If this value is greater than the end
 index for the line, then the last range
 will extend all the way to the trailing
 edge of the layout. Otherwise, it will end
 at the trailing edge of the last
 character.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)]</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Retrieve bounding boxes for a given piece of text contained in this
 <code><a href="Graphics-Rendering-Pango-Layout.html#t:LayoutLine">LayoutLine</a></code>.</p><ul><li>The result is a list to accommodate for mixed left-to-right and
 right-to-left text. Even if the text is not mixed, several
 ranges might be returned that are adjacent. The ranges are always
 sorted from left to right. The values are with respect to the left
 edge of the entire layout, not with respect to the line (which might
 be indented or not left aligned).</li></ul></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>