65
65
#define <a class="link" href="pango-Text-Processing.html#PANGO-TYPE-DIRECTION--CAPS" title="PANGO_TYPE_DIRECTION">PANGO_TYPE_DIRECTION</a>
68
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
68
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
69
69
>GList</a> * <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()">pango_itemize</a> (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
73
73
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList">PangoAttrList</a> *attrs,
74
74
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator">PangoAttrIterator</a> *cached_iter);
76
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
76
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
77
77
>GList</a> * <a class="link" href="pango-Text-Processing.html#pango-itemize-with-base-dir" title="pango_itemize_with_base_dir ()">pango_itemize_with_base_dir</a> (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
78
78
<a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection">PangoDirection</a> base_dir,
91
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
91
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
92
92
>GList</a> * <a class="link" href="pango-Text-Processing.html#pango-reorder-items" title="pango_reorder_items ()">pango_reorder_items</a> (<a
93
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
93
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
94
94
>GList</a> *logical_items);
96
96
<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> * <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()">pango_context_new</a> (void);
133
133
void <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()">pango_break</a> (const <a
134
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
134
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
135
135
>gchar</a> *text,
137
137
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
144
144
<a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a> *log_attrs,
146
146
void <a class="link" href="pango-Text-Processing.html#pango-find-paragraph-boundary" title="pango_find_paragraph_boundary ()">pango_find_paragraph_boundary</a> (const <a
147
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
147
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
148
148
>gchar</a> *text,
150
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
150
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
151
151
>gint</a> length,
153
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
153
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
154
154
>gint</a> *paragraph_delimiter_index,
156
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
156
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
157
157
>gint</a> *next_paragraph_start);
158
158
void <a class="link" href="pango-Text-Processing.html#pango-default-break" title="pango_default_break ()">pango_default_break</a> (const <a
159
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
159
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
160
160
>gchar</a> *text,
162
162
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
165
165
<a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a>;
167
167
void <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()">pango_shape</a> (const <a
168
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
168
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
169
169
>gchar</a> *text,
171
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
171
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
172
172
>gint</a> length,
173
173
const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
174
174
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString">PangoGlyphString</a> *glyphs);
223
223
<td><p><span class="term"><a
224
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
224
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
225
225
>gint</a> <em class="structfield"><code>offset</code></em>;</span></p></td>
226
226
<td>the offset of the segment from the beginning of the
231
231
<td><p><span class="term"><a
232
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
232
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
233
233
>gint</a> <em class="structfield"><code>length</code></em>;</span></p></td>
234
234
<td>the length of the segment in bytes.
238
238
<td><p><span class="term"><a
239
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
239
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
240
240
>gint</a> <em class="structfield"><code>num_chars</code></em>;</span></p></td>
241
241
<td>the length of the segment in characters.
294
294
<td><p><span class="term"><a
295
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
295
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
296
296
>guint8</a> <em class="structfield"><code>level</code></em>;</span></p></td>
297
297
<td>the bidirectional level for this segment.
301
301
<td><p><span class="term"><a
302
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
302
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
303
303
>guint8</a> <em class="structfield"><code>gravity</code></em>;</span></p></td>
304
304
<td>the glyph orientation for this segment (A <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a>).
308
308
<td><p><span class="term"><a
309
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
309
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
310
310
>guint8</a> <em class="structfield"><code>flags</code></em>;</span></p></td>
311
311
<td>boolean flags for this segment (currently only one) (Since: 1.16).
315
315
<td><p><span class="term"><a
316
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
316
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
317
317
>guint8</a> <em class="structfield"><code>script</code></em>;</span></p></td>
318
318
<td>the detected script for this segment (A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>) (Since: 1.18).
327
327
<td><p><span class="term"><a
328
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
328
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
329
329
>GSList</a> *<em class="structfield"><code>extra_attrs</code></em>;</span></p></td>
330
330
<td>extra attributes for this segment.
359
359
<div class="refsect2" lang="en">
360
360
<a name="pango-itemize"></a><h3>pango_itemize ()</h3>
361
361
<pre class="programlisting"><a
362
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
362
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
363
363
>GList</a> * pango_itemize (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
364
364
const char *text,
415
415
<td><p><span class="term"><em class="parameter"><code>cached_iter</code></em> :</span></p></td>
416
416
<td> Cached attribute iterator, or <a
417
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
417
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
418
418
><code class="literal">NULL</code></a>
422
422
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
424
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
424
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
425
425
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> structures.
432
432
<div class="refsect2" lang="en">
433
433
<a name="pango-itemize-with-base-dir"></a><h3>pango_itemize_with_base_dir ()</h3>
434
434
<pre class="programlisting"><a
435
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
435
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
436
436
>GList</a> * pango_itemize_with_base_dir (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
437
437
<a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection">PangoDirection</a> base_dir,
438
438
const char *text,
486
486
<td><p><span class="term"><em class="parameter"><code>cached_iter</code></em> :</span></p></td>
487
487
<td> Cached attribute iterator, or <a
488
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
488
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
489
489
><code class="literal">NULL</code></a>
493
493
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
495
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
495
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
496
496
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> structures. The items should be
497
497
freed using <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a> probably in combination with <a
498
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-foreach"
498
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"
499
499
><code class="function">g_list_foreach()</code></a>,
500
500
and the list itself using <a
501
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"
501
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"
502
502
><code class="function">g_list_free()</code></a>.
521
521
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
522
522
<td> a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>, may be <a
523
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
523
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
524
524
><code class="literal">NULL</code></a>
541
541
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
542
542
<td> a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>, may be <a
543
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
543
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
544
544
><code class="literal">NULL</code></a>
548
548
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
549
549
<td> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>, which should
550
550
be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>, or <a
551
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
551
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
552
552
><code class="literal">NULL</code></a> if
553
553
<em class="parameter"><code>item</code></em> was NULL.
624
624
<div class="refsect2" lang="en">
625
625
<a name="pango-reorder-items"></a><h3>pango_reorder_items ()</h3>
626
626
<pre class="programlisting"><a
627
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
627
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
628
628
>GList</a> * pango_reorder_items (<a
629
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
629
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
630
630
>GList</a> *logical_items);</pre>
632
632
From a list of items in logical order and the associated
641
641
<td><p><span class="term"><em class="parameter"><code>logical_items</code></em> :</span></p></td>
643
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
643
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
644
644
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> in logical order.
648
648
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
650
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
650
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
651
651
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> structures in visual order.
653
653
(Please open a bug if you use this function.
689
689
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
690
690
<td> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, which should
692
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
692
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"
693
693
><code class="function">g_object_unref()</code></a>.
1073
1073
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1074
1074
<td> the matrix, or <a
1075
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
1075
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1076
1076
><code class="literal">NULL</code></a> if no matrix has been set
1077
1077
(which is the same as the identity matrix). The returned
1078
1078
matrix is owned by Pango and must not be modified or
1110
1110
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
1111
1111
<td> a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a
1112
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
1112
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1113
1113
><code class="literal">NULL</code></a> to unset any existing matrix.
1114
1114
(No matrix set is the same as setting the identity matrix.)
1145
1145
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1146
1146
<td> the font loaded, or <a
1147
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
1147
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1148
1148
><code class="literal">NULL</code></a> if no font matched.
1184
1184
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1185
1185
<td> the fontset, or <a
1186
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
1186
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1187
1187
><code class="literal">NULL</code></a> if no font matched.
1224
1224
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
1225
1225
<td> a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure. <a
1226
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
1226
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1227
1227
><code class="literal">NULL</code></a> means that the font
1228
1228
description from the context will be used.
1232
1232
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
1233
1233
<td> language tag used to determine which script to get the metrics
1235
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
1235
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1236
1236
><code class="literal">NULL</code></a> means that the language tag from the context will
1237
1237
be used. If no language tag is set on the context, metrics
1238
1238
for the default language (as determined by
1270
1270
<td><p><span class="term"><em class="parameter"><code>families</code></em> :</span></p></td>
1271
1271
<td> location to store a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *.
1272
1272
This array should be freed with <a
1273
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
1273
href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"
1274
1274
><code class="function">g_free()</code></a>.
1286
1286
<div class="refsect2" lang="en">
1287
1287
<a name="pango-break"></a><h3>pango_break ()</h3>
1288
1288
<pre class="programlisting">void pango_break (const <a
1289
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1289
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1290
1290
>gchar</a> *text,
1292
1292
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
1388
1388
<div class="refsect2" lang="en">
1389
1389
<a name="pango-find-paragraph-boundary"></a><h3>pango_find_paragraph_boundary ()</h3>
1390
1390
<pre class="programlisting">void pango_find_paragraph_boundary (const <a
1391
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1391
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1392
1392
>gchar</a> *text,
1394
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
1394
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1395
1395
>gint</a> length,
1397
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
1397
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1398
1398
>gint</a> *paragraph_delimiter_index,
1400
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
1400
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1401
1401
>gint</a> *next_paragraph_start);</pre>
1403
1403
Locates a paragraph boundary in <em class="parameter"><code>text</code></em>. A boundary is caused by
1443
1443
<div class="refsect2" lang="en">
1444
1444
<a name="pango-default-break"></a><h3>pango_default_break ()</h3>
1445
1445
<pre class="programlisting">void pango_default_break (const <a
1446
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1446
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1447
1447
>gchar</a> *text,
1449
1449
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
1454
1454
engine overrides it. Normally you should use <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>
1455
1455
instead. Unlike <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
1456
1456
<em class="parameter"><code>analysis</code></em> can be <a
1457
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
1457
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1458
1458
><code class="literal">NULL</code></a>, but only do that if you know what
1459
1459
you're doing. If you need an analysis to pass to <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
1460
1460
you need to <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>. In most cases however you should
1554
1554
<td><p><span class="term"><a
1555
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1555
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1556
1556
>guint</a> <em class="structfield"><code>is_line_break</code></em> : 1;</span></p></td>
1557
1557
<td>if set, can break line in front of character
1561
1561
<td><p><span class="term"><a
1562
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1562
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1563
1563
>guint</a> <em class="structfield"><code>is_mandatory_break</code></em> : 1;</span></p></td>
1564
1564
<td>if set, must break line in front of character
1568
1568
<td><p><span class="term"><a
1569
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1569
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1570
1570
>guint</a> <em class="structfield"><code>is_char_break</code></em> : 1;</span></p></td>
1571
1571
<td>if set, can break here when doing character wrapping
1575
1575
<td><p><span class="term"><a
1576
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1576
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1577
1577
>guint</a> <em class="structfield"><code>is_white</code></em> : 1;</span></p></td>
1578
1578
<td>is whitespace character
1582
1582
<td><p><span class="term"><a
1583
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1583
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1584
1584
>guint</a> <em class="structfield"><code>is_cursor_position</code></em> : 1;</span></p></td>
1585
1585
<td>if set, cursor can appear in front of character.
1586
1586
i.e. this is a grapheme boundary, or the first character
1594
1594
<td><p><span class="term"><a
1595
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1595
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1596
1596
>guint</a> <em class="structfield"><code>is_word_start</code></em> : 1;</span></p></td>
1597
1597
<td>is first character in a word
1601
1601
<td><p><span class="term"><a
1602
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1602
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1603
1603
>guint</a> <em class="structfield"><code>is_word_end</code></em> : 1;</span></p></td>
1604
1604
<td>is first non-word char after a word
1605
1605
Note that in degenerate cases, you could have both <em class="parameter"><code>is_word_start</code></em>
1610
1610
<td><p><span class="term"><a
1611
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1611
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1612
1612
>guint</a> <em class="structfield"><code>is_sentence_boundary</code></em> : 1;</span></p></td>
1613
1613
<td>is a sentence boundary.
1614
1614
There are two ways to divide sentences. The first assigns all
1624
1624
<td><p><span class="term"><a
1625
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1625
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1626
1626
>guint</a> <em class="structfield"><code>is_sentence_start</code></em> : 1;</span></p></td>
1627
1627
<td>is first character in a sentence
1631
1631
<td><p><span class="term"><a
1632
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1632
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1633
1633
>guint</a> <em class="structfield"><code>is_sentence_end</code></em> : 1;</span></p></td>
1634
1634
<td>is first char after a sentence.
1635
1635
Note that in degenerate cases, you could have both <em class="parameter"><code>is_sentence_start</code></em>
1641
1641
<td><p><span class="term"><a
1642
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1642
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1643
1643
>guint</a> <em class="structfield"><code>backspace_deletes_character</code></em> : 1;</span></p></td>
1644
1644
<td>if set, backspace deletes one character
1645
1645
rather than the entire grapheme cluster. This
1659
1659
<td><p><span class="term"><a
1660
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1660
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1661
1661
>guint</a> <em class="structfield"><code>is_expandable_space</code></em> : 1;</span></p></td>
1662
1662
<td>is a whitespace character that can possibly be
1663
1663
expanded for justification purposes. (Since: 1.18)
1667
1667
<td><p><span class="term"><a
1668
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1668
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1669
1669
>guint</a> <em class="structfield"><code>is_word_boundary</code></em> : 1;</span></p></td>
1670
1670
<td>is a word boundary.
1671
1671
More specifically, means that this is not a position in the middle
1685
1685
<div class="refsect2" lang="en">
1686
1686
<a name="pango-shape"></a><h3>pango_shape ()</h3>
1687
1687
<pre class="programlisting">void pango_shape (const <a
1688
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
1688
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1689
1689
>gchar</a> *text,
1691
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
1691
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1692
1692
>gint</a> length,
1693
1693
const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
1694
1694
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString">PangoGlyphString</a> *glyphs);</pre>