pango 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -3
- data/ext/pango/rbpangoattribute.c +7 -0
- data/ext/pango/rbpangoattrlist.c +2 -2
- data/ext/pango/rbpangocontext.c +49 -14
- data/ext/pango/rbpangoglyphinfo.c +5 -5
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/test/test-context.rb +113 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +16 -6
- data/vendor/local/include/harfbuzz/hb-unicode.h +0 -15
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt57.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +3 -3
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +7 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +32 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch07.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +27 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +17 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +10 -9
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +43 -12
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +11 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +61 -54
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +7 -261
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +601 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +6 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +142 -160
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +27 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +53 -53
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +107 -107
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +31 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +380 -390
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +37 -37
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +219 -219
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +295 -295
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +108 -108
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +142 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +63 -63
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +340 -340
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +163 -163
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +54 -54
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +7 -7
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +200 -41
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +7 -6
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +0 -1204
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango.html" title="Basic Pango Interfaces">
|
10
10
|
<link rel="next" href="pango-Glyph-Storage.html" title="Glyph Storage">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -41,20 +41,8 @@
|
|
41
41
|
</colgroup>
|
42
42
|
<tbody>
|
43
43
|
<tr>
|
44
|
-
<td class="define_keyword">#define</td>
|
45
|
-
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS" title="PANGO_ANALYSIS_FLAG_CENTERED_BASELINE">PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</a></td>
|
46
|
-
</tr>
|
47
|
-
<tr>
|
48
|
-
<td class="define_keyword">#define</td>
|
49
|
-
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-ANALYSIS-FLAG-IS-ELLIPSIS:CAPS" title="PANGO_ANALYSIS_FLAG_IS_ELLIPSIS">PANGO_ANALYSIS_FLAG_IS_ELLIPSIS</a></td>
|
50
|
-
</tr>
|
51
|
-
<tr>
|
52
|
-
<td class="define_keyword">#define</td>
|
53
|
-
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-TYPE-DIRECTION:CAPS" title="PANGO_TYPE_DIRECTION">PANGO_TYPE_DIRECTION</a></td>
|
54
|
-
</tr>
|
55
|
-
<tr>
|
56
44
|
<td class="function_type">
|
57
|
-
<a href="
|
45
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
58
46
|
</td>
|
59
47
|
<td class="function_name">
|
60
48
|
<a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()">pango_itemize</a> <span class="c_punctuation">()</span>
|
@@ -62,7 +50,7 @@
|
|
62
50
|
</tr>
|
63
51
|
<tr>
|
64
52
|
<td class="function_type">
|
65
|
-
<a href="
|
53
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
66
54
|
</td>
|
67
55
|
<td class="function_name">
|
68
56
|
<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> <span class="c_punctuation">()</span>
|
@@ -102,7 +90,7 @@
|
|
102
90
|
</tr>
|
103
91
|
<tr>
|
104
92
|
<td class="function_type">
|
105
|
-
<a href="
|
93
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
106
94
|
</td>
|
107
95
|
<td class="function_name">
|
108
96
|
<a class="link" href="pango-Text-Processing.html#pango-reorder-items" title="pango_reorder_items ()">pango_reorder_items</a> <span class="c_punctuation">()</span>
|
@@ -126,7 +114,7 @@
|
|
126
114
|
</tr>
|
127
115
|
<tr>
|
128
116
|
<td class="function_type">
|
129
|
-
<a href="
|
117
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
130
118
|
</td>
|
131
119
|
<td class="function_name">
|
132
120
|
<a class="link" href="pango-Text-Processing.html#pango-context-get-serial" title="pango_context_get_serial ()">pango_context_get_serial</a> <span class="c_punctuation">()</span>
|
@@ -355,6 +343,18 @@
|
|
355
343
|
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis">PangoAnalysis</a></td>
|
356
344
|
</tr>
|
357
345
|
<tr>
|
346
|
+
<td class="define_keyword">#define</td>
|
347
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS" title="PANGO_ANALYSIS_FLAG_CENTERED_BASELINE">PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</a></td>
|
348
|
+
</tr>
|
349
|
+
<tr>
|
350
|
+
<td class="define_keyword">#define</td>
|
351
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-ANALYSIS-FLAG-IS-ELLIPSIS:CAPS" title="PANGO_ANALYSIS_FLAG_IS_ELLIPSIS">PANGO_ANALYSIS_FLAG_IS_ELLIPSIS</a></td>
|
352
|
+
</tr>
|
353
|
+
<tr>
|
354
|
+
<td class="define_keyword">#define</td>
|
355
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-TYPE-DIRECTION:CAPS" title="PANGO_TYPE_DIRECTION">PANGO_TYPE_DIRECTION</a></td>
|
356
|
+
</tr>
|
357
|
+
<tr>
|
358
358
|
<td class="datatype_keyword"> </td>
|
359
359
|
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a></td>
|
360
360
|
</tr>
|
@@ -363,9 +363,9 @@
|
|
363
363
|
</div>
|
364
364
|
<div class="refsect1">
|
365
365
|
<a name="pango-Text-Processing.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
366
|
-
<pre class="screen"> <a href="
|
366
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
|
367
367
|
<span class="lineart">╰──</span> PangoItem
|
368
|
-
<a href="
|
368
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
369
369
|
<span class="lineart">╰──</span> PangoContext
|
370
370
|
</pre>
|
371
371
|
</div>
|
@@ -379,32 +379,8 @@ various steps of this process.</p>
|
|
379
379
|
<div class="refsect1">
|
380
380
|
<a name="pango-Text-Processing.functions_details"></a><h2>Functions</h2>
|
381
381
|
<div class="refsect2">
|
382
|
-
<a name="PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS"></a><h3>PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</h3>
|
383
|
-
<pre class="programlisting">#define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 << 0)
|
384
|
-
</pre>
|
385
|
-
<p>Whether the segment should be shifted to center around the baseline.
|
386
|
-
Used in vertical writing directions mostly.</p>
|
387
|
-
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
388
|
-
</div>
|
389
|
-
<hr>
|
390
|
-
<div class="refsect2">
|
391
|
-
<a name="PANGO-ANALYSIS-FLAG-IS-ELLIPSIS:CAPS"></a><h3>PANGO_ANALYSIS_FLAG_IS_ELLIPSIS</h3>
|
392
|
-
<pre class="programlisting">#define PANGO_ANALYSIS_FLAG_IS_ELLIPSIS (1 << 1)
|
393
|
-
</pre>
|
394
|
-
<p>This flag is used to mark runs that hold ellipsized text,
|
395
|
-
in an ellipsized layout.</p>
|
396
|
-
<p class="since">Since: 1.36.7</p>
|
397
|
-
</div>
|
398
|
-
<hr>
|
399
|
-
<div class="refsect2">
|
400
|
-
<a name="PANGO-TYPE-DIRECTION:CAPS"></a><h3>PANGO_TYPE_DIRECTION</h3>
|
401
|
-
<pre class="programlisting">#define PANGO_TYPE_DIRECTION (pango_direction_get_type ())
|
402
|
-
</pre>
|
403
|
-
</div>
|
404
|
-
<hr>
|
405
|
-
<div class="refsect2">
|
406
382
|
<a name="pango-itemize"></a><h3>pango_itemize ()</h3>
|
407
|
-
<pre class="programlisting"><a href="
|
383
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
408
384
|
pango_itemize (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
409
385
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
410
386
|
<em class="parameter"><code><span class="type">int</span> start_index</code></em>,
|
@@ -429,7 +405,7 @@ the range covering the position just after <em class="parameter"><code>start_ind
|
|
429
405
|
(i.e. if itemizing in a loop, just keep passing in the same <em class="parameter"><code>cached_iter</code></em>
|
430
406
|
).</p>
|
431
407
|
<div class="refsect3">
|
432
|
-
<a name="
|
408
|
+
<a name="pango-itemize.parameters"></a><h4>Parameters</h4>
|
433
409
|
<div class="informaltable"><table width="100%" border="0">
|
434
410
|
<colgroup>
|
435
411
|
<col width="150px" class="parameters_name">
|
@@ -470,25 +446,25 @@ This must be >= 0.</p></td>
|
|
470
446
|
</tr>
|
471
447
|
<tr>
|
472
448
|
<td class="parameter_name"><p>cached_iter</p></td>
|
473
|
-
<td class="parameter_description"><p> Cached attribute iterator, or <a href="
|
449
|
+
<td class="parameter_description"><p> Cached attribute iterator, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
474
450
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
475
451
|
</tr>
|
476
452
|
</tbody>
|
477
453
|
</table></div>
|
478
454
|
</div>
|
479
455
|
<div class="refsect3">
|
480
|
-
<a name="
|
481
|
-
<p> a <a href="
|
456
|
+
<a name="pango-itemize.returns"></a><h4>Returns</h4>
|
457
|
+
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>
|
482
458
|
structures. The items should be 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>
|
483
|
-
probably in combination with <a href="
|
484
|
-
using <a href="
|
459
|
+
probably in combination with <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself
|
460
|
+
using <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. </p>
|
485
461
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
|
486
462
|
</div>
|
487
463
|
</div>
|
488
464
|
<hr>
|
489
465
|
<div class="refsect2">
|
490
466
|
<a name="pango-itemize-with-base-dir"></a><h3>pango_itemize_with_base_dir ()</h3>
|
491
|
-
<pre class="programlisting"><a href="
|
467
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
492
468
|
pango_itemize_with_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
493
469
|
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> base_dir</code></em>,
|
494
470
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
@@ -500,7 +476,7 @@ pango_itemize_with_base_dir (<em class="parameter"><code><a class="link" href="p
|
|
500
476
|
computing bidirectional levels (see <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>),
|
501
477
|
is specified explicitly rather than gotten from the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
502
478
|
<div class="refsect3">
|
503
|
-
<a name="
|
479
|
+
<a name="pango-itemize-with-base-dir.parameters"></a><h4>Parameters</h4>
|
504
480
|
<div class="informaltable"><table width="100%" border="0">
|
505
481
|
<colgroup>
|
506
482
|
<col width="150px" class="parameters_name">
|
@@ -545,18 +521,18 @@ after <em class="parameter"><code>start_index</code></em>
|
|
545
521
|
</tr>
|
546
522
|
<tr>
|
547
523
|
<td class="parameter_name"><p>cached_iter</p></td>
|
548
|
-
<td class="parameter_description"><p> Cached attribute iterator, or <a href="
|
524
|
+
<td class="parameter_description"><p> Cached attribute iterator, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
549
525
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
550
526
|
</tr>
|
551
527
|
</tbody>
|
552
528
|
</table></div>
|
553
529
|
</div>
|
554
530
|
<div class="refsect3">
|
555
|
-
<a name="
|
556
|
-
<p> a <a href="
|
531
|
+
<a name="pango-itemize-with-base-dir.returns"></a><h4>Returns</h4>
|
532
|
+
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
|
557
533
|
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structures. The items should be freed using
|
558
534
|
<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
|
559
|
-
<a href="
|
535
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself using <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. </p>
|
560
536
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
|
561
537
|
</div>
|
562
538
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
@@ -568,7 +544,7 @@ after <em class="parameter"><code>start_index</code></em>
|
|
568
544
|
pango_item_free (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
|
569
545
|
<p>Free a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> and all associated memory.</p>
|
570
546
|
<div class="refsect3">
|
571
|
-
<a name="
|
547
|
+
<a name="pango-item-free.parameters"></a><h4>Parameters</h4>
|
572
548
|
<div class="informaltable"><table width="100%" border="0">
|
573
549
|
<colgroup>
|
574
550
|
<col width="150px" class="parameters_name">
|
@@ -577,7 +553,7 @@ pango_item_free (<em class="parameter"><code><a class="link" href="pango-Text-Pr
|
|
577
553
|
</colgroup>
|
578
554
|
<tbody><tr>
|
579
555
|
<td class="parameter_name"><p>item</p></td>
|
580
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="
|
556
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
581
557
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
582
558
|
</tr></tbody>
|
583
559
|
</table></div>
|
@@ -590,7 +566,7 @@ pango_item_free (<em class="parameter"><code><a class="link" href="pango-Text-Pr
|
|
590
566
|
pango_item_copy (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
|
591
567
|
<p>Copy an existing <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure.</p>
|
592
568
|
<div class="refsect3">
|
593
|
-
<a name="
|
569
|
+
<a name="pango-item-copy.parameters"></a><h4>Parameters</h4>
|
594
570
|
<div class="informaltable"><table width="100%" border="0">
|
595
571
|
<colgroup>
|
596
572
|
<col width="150px" class="parameters_name">
|
@@ -599,17 +575,17 @@ pango_item_copy (<em class="parameter"><code><a class="link" href="pango-Text-Pr
|
|
599
575
|
</colgroup>
|
600
576
|
<tbody><tr>
|
601
577
|
<td class="parameter_name"><p>item</p></td>
|
602
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="
|
578
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
603
579
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
604
580
|
</tr></tbody>
|
605
581
|
</table></div>
|
606
582
|
</div>
|
607
583
|
<div class="refsect3">
|
608
|
-
<a name="
|
584
|
+
<a name="pango-item-copy.returns"></a><h4>Returns</h4>
|
609
585
|
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, which
|
610
|
-
should 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 href="
|
586
|
+
should 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 href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
611
587
|
<em class="parameter"><code>item</code></em>
|
612
|
-
was <a href="
|
588
|
+
was <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
613
589
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
614
590
|
</div>
|
615
591
|
</div>
|
@@ -620,7 +596,7 @@ was <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/ht
|
|
620
596
|
pango_item_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
621
597
|
<p>Creates a new <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure initialized to default values.</p>
|
622
598
|
<div class="refsect3">
|
623
|
-
<a name="
|
599
|
+
<a name="pango-item-new.returns"></a><h4>Returns</h4>
|
624
600
|
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, which should
|
625
601
|
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>.</p>
|
626
602
|
</div>
|
@@ -651,7 +627,7 @@ chars, and must be provided because the text used to generate the
|
|
651
627
|
item isn't available, so <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()"><code class="function">pango_item_split()</code></a> can't count the char
|
652
628
|
length of the split items itself.</p>
|
653
629
|
<div class="refsect3">
|
654
|
-
<a name="
|
630
|
+
<a name="pango-item-split.parameters"></a><h4>Parameters</h4>
|
655
631
|
<div class="informaltable"><table width="100%" border="0">
|
656
632
|
<colgroup>
|
657
633
|
<col width="150px" class="parameters_name">
|
@@ -680,7 +656,7 @@ and <em class="parameter"><code>split_index</code></em>
|
|
680
656
|
</table></div>
|
681
657
|
</div>
|
682
658
|
<div class="refsect3">
|
683
|
-
<a name="
|
659
|
+
<a name="pango-item-split.returns"></a><h4>Returns</h4>
|
684
660
|
<p> new item representing text before <em class="parameter"><code>split_index</code></em>
|
685
661
|
, which
|
686
662
|
should 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>.</p>
|
@@ -689,13 +665,13 @@ should be freed with <a class="link" href="pango-Text-Processing.html#pango-item
|
|
689
665
|
<hr>
|
690
666
|
<div class="refsect2">
|
691
667
|
<a name="pango-reorder-items"></a><h3>pango_reorder_items ()</h3>
|
692
|
-
<pre class="programlisting"><a href="
|
693
|
-
pango_reorder_items (<em class="parameter"><code><a href="
|
668
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
669
|
+
pango_reorder_items (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *logical_items</code></em>);</pre>
|
694
670
|
<p>From a list of items in logical order and the associated
|
695
671
|
directional levels, produce a list in visual order.
|
696
672
|
The original list is unmodified.</p>
|
697
673
|
<div class="refsect3">
|
698
|
-
<a name="
|
674
|
+
<a name="pango-reorder-items.parameters"></a><h4>Parameters</h4>
|
699
675
|
<div class="informaltable"><table width="100%" border="0">
|
700
676
|
<colgroup>
|
701
677
|
<col width="150px" class="parameters_name">
|
@@ -704,14 +680,14 @@ The original list is unmodified.</p>
|
|
704
680
|
</colgroup>
|
705
681
|
<tbody><tr>
|
706
682
|
<td class="parameter_name"><p>logical_items</p></td>
|
707
|
-
<td class="parameter_description"><p> a <a href="
|
683
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> in logical order. </p></td>
|
708
684
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></td>
|
709
685
|
</tr></tbody>
|
710
686
|
</table></div>
|
711
687
|
</div>
|
712
688
|
<div class="refsect3">
|
713
|
-
<a name="
|
714
|
-
<p> a <a href="
|
689
|
+
<a name="pango-reorder-items.returns"></a><h4>Returns</h4>
|
690
|
+
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>
|
715
691
|
of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structures in visual order.</p>
|
716
692
|
<p>(Please open a bug if you use this function.
|
717
693
|
It is not a particularly convenient interface, and the code
|
@@ -732,12 +708,12 @@ together and hence users are recommended to use that.</p>
|
|
732
708
|
<p>If you are using Pango as part of a higher-level system,
|
733
709
|
that system may have it's own way of create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
734
710
|
For instance, the GTK+ toolkit has, among others,
|
735
|
-
<a href="
|
736
|
-
<a href="
|
711
|
+
<a href="http://developer.gnome.org/gdk3/gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
|
712
|
+
<a href="http://developer.gnome.org/gtk3/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>. Use those instead.</p>
|
737
713
|
<div class="refsect3">
|
738
|
-
<a name="
|
714
|
+
<a name="pango-context-new.returns"></a><h4>Returns</h4>
|
739
715
|
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, which should
|
740
|
-
be freed with <a href="
|
716
|
+
be freed with <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
741
717
|
</div>
|
742
718
|
</div>
|
743
719
|
<hr>
|
@@ -752,7 +728,7 @@ for Pango, something applications won't do. Backends should
|
|
752
728
|
call this function if they have attached extra data to the context
|
753
729
|
and such data is changed.</p>
|
754
730
|
<div class="refsect3">
|
755
|
-
<a name="
|
731
|
+
<a name="pango-context-changed.parameters"></a><h4>Parameters</h4>
|
756
732
|
<div class="informaltable"><table width="100%" border="0">
|
757
733
|
<colgroup>
|
758
734
|
<col width="150px" class="parameters_name">
|
@@ -771,7 +747,7 @@ and such data is changed.</p>
|
|
771
747
|
<hr>
|
772
748
|
<div class="refsect2">
|
773
749
|
<a name="pango-context-get-serial"></a><h3>pango_context_get_serial ()</h3>
|
774
|
-
<pre class="programlisting"><a href="
|
750
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
775
751
|
pango_context_get_serial (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
776
752
|
<p>Returns the current serial number of <em class="parameter"><code>context</code></em>
|
777
753
|
. The serial number is
|
@@ -784,7 +760,7 @@ can wrap, never compare it with "less than", always use "not equals".</p>
|
|
784
760
|
is only useful when implementing objects that need update when their
|
785
761
|
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> changes, like <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
|
786
762
|
<div class="refsect3">
|
787
|
-
<a name="
|
763
|
+
<a name="pango-context-get-serial.parameters"></a><h4>Parameters</h4>
|
788
764
|
<div class="informaltable"><table width="100%" border="0">
|
789
765
|
<colgroup>
|
790
766
|
<col width="150px" class="parameters_name">
|
@@ -799,7 +775,7 @@ is only useful when implementing objects that need update when their
|
|
799
775
|
</table></div>
|
800
776
|
</div>
|
801
777
|
<div class="refsect3">
|
802
|
-
<a name="
|
778
|
+
<a name="pango-context-get-serial.returns"></a><h4>Returns</h4>
|
803
779
|
<p> The current serial number of <em class="parameter"><code>context</code></em>
|
804
780
|
.</p>
|
805
781
|
</div>
|
@@ -815,7 +791,7 @@ pango_context_set_font_map (<em class="parameter"><code><a class="link" href="pa
|
|
815
791
|
This is only for internal use by Pango backends, a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> obtained
|
816
792
|
via one of the recommended methods should already have a suitable font map.</p>
|
817
793
|
<div class="refsect3">
|
818
|
-
<a name="
|
794
|
+
<a name="pango-context-set-font-map.parameters"></a><h4>Parameters</h4>
|
819
795
|
<div class="informaltable"><table width="100%" border="0">
|
820
796
|
<colgroup>
|
821
797
|
<col width="150px" class="parameters_name">
|
@@ -844,7 +820,7 @@ via one of the recommended methods should already have a suitable font map.</p>
|
|
844
820
|
pango_context_get_font_map (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
845
821
|
<p>Gets the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> used to look up fonts for this context.</p>
|
846
822
|
<div class="refsect3">
|
847
|
-
<a name="
|
823
|
+
<a name="pango-context-get-font-map.parameters"></a><h4>Parameters</h4>
|
848
824
|
<div class="informaltable"><table width="100%" border="0">
|
849
825
|
<colgroup>
|
850
826
|
<col width="150px" class="parameters_name">
|
@@ -859,7 +835,7 @@ pango_context_get_font_map (<em class="parameter"><code><a class="link" href="pa
|
|
859
835
|
</table></div>
|
860
836
|
</div>
|
861
837
|
<div class="refsect3">
|
862
|
-
<a name="
|
838
|
+
<a name="pango-context-get-font-map.returns"></a><h4>Returns</h4>
|
863
839
|
<p> the font map for the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
864
840
|
This value is owned by Pango and should not be unreferenced. </p>
|
865
841
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -873,7 +849,7 @@ This value is owned by Pango and should not be unreferenced. </p>
|
|
873
849
|
pango_context_get_font_description (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
874
850
|
<p>Retrieve the default font description for the context.</p>
|
875
851
|
<div class="refsect3">
|
876
|
-
<a name="
|
852
|
+
<a name="pango-context-get-font-description.parameters"></a><h4>Parameters</h4>
|
877
853
|
<div class="informaltable"><table width="100%" border="0">
|
878
854
|
<colgroup>
|
879
855
|
<col width="150px" class="parameters_name">
|
@@ -888,7 +864,7 @@ pango_context_get_font_description (<em class="parameter"><code><a class="link"
|
|
888
864
|
</table></div>
|
889
865
|
</div>
|
890
866
|
<div class="refsect3">
|
891
|
-
<a name="
|
867
|
+
<a name="pango-context-get-font-description.returns"></a><h4>Returns</h4>
|
892
868
|
<p> a pointer to the context's default font
|
893
869
|
description. This value must not be modified or freed. </p>
|
894
870
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -902,7 +878,7 @@ pango_context_set_font_description (<em class="parameter"><code><a class="link"
|
|
902
878
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
903
879
|
<p>Set the default font description for the context</p>
|
904
880
|
<div class="refsect3">
|
905
|
-
<a name="
|
881
|
+
<a name="pango-context-set-font-description.parameters"></a><h4>Parameters</h4>
|
906
882
|
<div class="informaltable"><table width="100%" border="0">
|
907
883
|
<colgroup>
|
908
884
|
<col width="150px" class="parameters_name">
|
@@ -931,7 +907,7 @@ pango_context_set_font_description (<em class="parameter"><code><a class="link"
|
|
931
907
|
pango_context_get_language (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
932
908
|
<p>Retrieves the global language tag for the context.</p>
|
933
909
|
<div class="refsect3">
|
934
|
-
<a name="
|
910
|
+
<a name="pango-context-get-language.parameters"></a><h4>Parameters</h4>
|
935
911
|
<div class="informaltable"><table width="100%" border="0">
|
936
912
|
<colgroup>
|
937
913
|
<col width="150px" class="parameters_name">
|
@@ -946,7 +922,7 @@ pango_context_get_language (<em class="parameter"><code><a class="link" href="pa
|
|
946
922
|
</table></div>
|
947
923
|
</div>
|
948
924
|
<div class="refsect3">
|
949
|
-
<a name="
|
925
|
+
<a name="pango-context-get-language.returns"></a><h4>Returns</h4>
|
950
926
|
<p> the global language tag.</p>
|
951
927
|
</div>
|
952
928
|
</div>
|
@@ -960,7 +936,7 @@ pango_context_set_language (<em class="parameter"><code><a class="link" href="pa
|
|
960
936
|
for the locale of the running process can be found using
|
961
937
|
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a>.</p>
|
962
938
|
<div class="refsect3">
|
963
|
-
<a name="
|
939
|
+
<a name="pango-context-set-language.parameters"></a><h4>Parameters</h4>
|
964
940
|
<div class="informaltable"><table width="100%" border="0">
|
965
941
|
<colgroup>
|
966
942
|
<col width="150px" class="parameters_name">
|
@@ -990,7 +966,7 @@ pango_context_get_base_dir (<em class="parameter"><code><a class="link" href="pa
|
|
990
966
|
<p>Retrieves the base direction for the context. See
|
991
967
|
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>.</p>
|
992
968
|
<div class="refsect3">
|
993
|
-
<a name="
|
969
|
+
<a name="pango-context-get-base-dir.parameters"></a><h4>Parameters</h4>
|
994
970
|
<div class="informaltable"><table width="100%" border="0">
|
995
971
|
<colgroup>
|
996
972
|
<col width="150px" class="parameters_name">
|
@@ -1005,7 +981,7 @@ pango_context_get_base_dir (<em class="parameter"><code><a class="link" href="pa
|
|
1005
981
|
</table></div>
|
1006
982
|
</div>
|
1007
983
|
<div class="refsect3">
|
1008
|
-
<a name="
|
984
|
+
<a name="pango-context-get-base-dir.returns"></a><h4>Returns</h4>
|
1009
985
|
<p> the base direction for the context.</p>
|
1010
986
|
</div>
|
1011
987
|
</div>
|
@@ -1024,7 +1000,7 @@ direction in the Unicode bidirectional algorithm. A value of
|
|
1024
1000
|
<a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-LTR:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_LTR</code></a> or <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-RTL:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_RTL</code></a> is used only
|
1025
1001
|
for paragraphs that do not contain any strong characters themselves.</p>
|
1026
1002
|
<div class="refsect3">
|
1027
|
-
<a name="
|
1003
|
+
<a name="pango-context-set-base-dir.parameters"></a><h4>Parameters</h4>
|
1028
1004
|
<div class="informaltable"><table width="100%" border="0">
|
1029
1005
|
<colgroup>
|
1030
1006
|
<col width="150px" class="parameters_name">
|
@@ -1054,7 +1030,7 @@ pango_context_get_base_gravity (<em class="parameter"><code><a class="link" href
|
|
1054
1030
|
<p>Retrieves the base gravity for the context. See
|
1055
1031
|
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a>.</p>
|
1056
1032
|
<div class="refsect3">
|
1057
|
-
<a name="
|
1033
|
+
<a name="pango-context-get-base-gravity.parameters"></a><h4>Parameters</h4>
|
1058
1034
|
<div class="informaltable"><table width="100%" border="0">
|
1059
1035
|
<colgroup>
|
1060
1036
|
<col width="150px" class="parameters_name">
|
@@ -1069,7 +1045,7 @@ pango_context_get_base_gravity (<em class="parameter"><code><a class="link" href
|
|
1069
1045
|
</table></div>
|
1070
1046
|
</div>
|
1071
1047
|
<div class="refsect3">
|
1072
|
-
<a name="
|
1048
|
+
<a name="pango-context-get-base-gravity.returns"></a><h4>Returns</h4>
|
1073
1049
|
<p> the base gravity for the context.</p>
|
1074
1050
|
</div>
|
1075
1051
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
@@ -1083,7 +1059,7 @@ pango_context_set_base_gravity (<em class="parameter"><code><a class="link" href
|
|
1083
1059
|
<p>Sets the base gravity for the context.</p>
|
1084
1060
|
<p>The base gravity is used in laying vertical text out.</p>
|
1085
1061
|
<div class="refsect3">
|
1086
|
-
<a name="
|
1062
|
+
<a name="pango-context-set-base-gravity.parameters"></a><h4>Parameters</h4>
|
1087
1063
|
<div class="informaltable"><table width="100%" border="0">
|
1088
1064
|
<colgroup>
|
1089
1065
|
<col width="150px" class="parameters_name">
|
@@ -1116,7 +1092,7 @@ pango_context_get_gravity (<em class="parameter"><code><a class="link" href="pan
|
|
1116
1092
|
is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> for which <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()"><code class="function">pango_gravity_get_for_matrix()</code></a> is used
|
1117
1093
|
to return the gravity from the current context matrix.</p>
|
1118
1094
|
<div class="refsect3">
|
1119
|
-
<a name="
|
1095
|
+
<a name="pango-context-get-gravity.parameters"></a><h4>Parameters</h4>
|
1120
1096
|
<div class="informaltable"><table width="100%" border="0">
|
1121
1097
|
<colgroup>
|
1122
1098
|
<col width="150px" class="parameters_name">
|
@@ -1131,7 +1107,7 @@ to return the gravity from the current context matrix.</p>
|
|
1131
1107
|
</table></div>
|
1132
1108
|
</div>
|
1133
1109
|
<div class="refsect3">
|
1134
|
-
<a name="
|
1110
|
+
<a name="pango-context-get-gravity.returns"></a><h4>Returns</h4>
|
1135
1111
|
<p> the resolved gravity for the context.</p>
|
1136
1112
|
</div>
|
1137
1113
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
@@ -1144,7 +1120,7 @@ pango_context_get_gravity_hint (<em class="parameter"><code><a class="link" href
|
|
1144
1120
|
<p>Retrieves the gravity hint for the context. See
|
1145
1121
|
<a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()"><code class="function">pango_context_set_gravity_hint()</code></a> for details.</p>
|
1146
1122
|
<div class="refsect3">
|
1147
|
-
<a name="
|
1123
|
+
<a name="pango-context-get-gravity-hint.parameters"></a><h4>Parameters</h4>
|
1148
1124
|
<div class="informaltable"><table width="100%" border="0">
|
1149
1125
|
<colgroup>
|
1150
1126
|
<col width="150px" class="parameters_name">
|
@@ -1159,7 +1135,7 @@ pango_context_get_gravity_hint (<em class="parameter"><code><a class="link" href
|
|
1159
1135
|
</table></div>
|
1160
1136
|
</div>
|
1161
1137
|
<div class="refsect3">
|
1162
|
-
<a name="
|
1138
|
+
<a name="pango-context-get-gravity-hint.returns"></a><h4>Returns</h4>
|
1163
1139
|
<p> the gravity hint for the context.</p>
|
1164
1140
|
</div>
|
1165
1141
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
@@ -1175,7 +1151,7 @@ pango_context_set_gravity_hint (<em class="parameter"><code><a class="link" href
|
|
1175
1151
|
if gravity of the context as returned by <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()"><code class="function">pango_context_get_gravity()</code></a>
|
1176
1152
|
is set <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-EAST:CAPS"><code class="literal">PANGO_GRAVITY_EAST</code></a> or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-WEST:CAPS"><code class="literal">PANGO_GRAVITY_WEST</code></a>.</p>
|
1177
1153
|
<div class="refsect3">
|
1178
|
-
<a name="
|
1154
|
+
<a name="pango-context-set-gravity-hint.parameters"></a><h4>Parameters</h4>
|
1179
1155
|
<div class="informaltable"><table width="100%" border="0">
|
1180
1156
|
<colgroup>
|
1181
1157
|
<col width="150px" class="parameters_name">
|
@@ -1206,7 +1182,7 @@ pango_context_get_matrix (<em class="parameter"><code><a class="link" href="pang
|
|
1206
1182
|
<p>Gets the transformation matrix that will be applied when
|
1207
1183
|
rendering with this context. See <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()"><code class="function">pango_context_set_matrix()</code></a>.</p>
|
1208
1184
|
<div class="refsect3">
|
1209
|
-
<a name="
|
1185
|
+
<a name="pango-context-get-matrix.parameters"></a><h4>Parameters</h4>
|
1210
1186
|
<div class="informaltable"><table width="100%" border="0">
|
1211
1187
|
<colgroup>
|
1212
1188
|
<col width="150px" class="parameters_name">
|
@@ -1221,8 +1197,8 @@ rendering with this context. See <a class="link" href="pango-Text-Processing.htm
|
|
1221
1197
|
</table></div>
|
1222
1198
|
</div>
|
1223
1199
|
<div class="refsect3">
|
1224
|
-
<a name="
|
1225
|
-
<p> the matrix, or <a href="
|
1200
|
+
<a name="pango-context-get-matrix.returns"></a><h4>Returns</h4>
|
1201
|
+
<p> the matrix, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no matrix has
|
1226
1202
|
been set (which is the same as the identity matrix). The returned
|
1227
1203
|
matrix is owned by Pango and must not be modified or freed. </p>
|
1228
1204
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
@@ -1242,7 +1218,7 @@ coordinates after the application of the matrix. So, they don't scale
|
|
1242
1218
|
with the matrix, though they may change slightly for different
|
1243
1219
|
matrices, depending on how the text is fit to the pixel grid.</p>
|
1244
1220
|
<div class="refsect3">
|
1245
|
-
<a name="
|
1221
|
+
<a name="pango-context-set-matrix.parameters"></a><h4>Parameters</h4>
|
1246
1222
|
<div class="informaltable"><table width="100%" border="0">
|
1247
1223
|
<colgroup>
|
1248
1224
|
<col width="150px" class="parameters_name">
|
@@ -1257,7 +1233,7 @@ matrices, depending on how the text is fit to the pixel grid.</p>
|
|
1257
1233
|
</tr>
|
1258
1234
|
<tr>
|
1259
1235
|
<td class="parameter_name"><p>matrix</p></td>
|
1260
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="
|
1236
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any existing
|
1261
1237
|
matrix. (No matrix set is the same as setting the identity matrix.). </p></td>
|
1262
1238
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1263
1239
|
</tr>
|
@@ -1276,7 +1252,7 @@ pango_context_load_font (<em class="parameter"><code><a class="link" href="pango
|
|
1276
1252
|
that is the closest match for <em class="parameter"><code>desc</code></em>
|
1277
1253
|
.</p>
|
1278
1254
|
<div class="refsect3">
|
1279
|
-
<a name="
|
1255
|
+
<a name="pango-context-load-font.parameters"></a><h4>Parameters</h4>
|
1280
1256
|
<div class="informaltable"><table width="100%" border="0">
|
1281
1257
|
<colgroup>
|
1282
1258
|
<col width="150px" class="parameters_name">
|
@@ -1298,9 +1274,9 @@ that is the closest match for <em class="parameter"><code>desc</code></em>
|
|
1298
1274
|
</table></div>
|
1299
1275
|
</div>
|
1300
1276
|
<div class="refsect3">
|
1301
|
-
<a name="
|
1277
|
+
<a name="pango-context-load-font.returns"></a><h4>Returns</h4>
|
1302
1278
|
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
1303
|
-
that was loaded, or <a href="
|
1279
|
+
that was loaded, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
1304
1280
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
1305
1281
|
</div>
|
1306
1282
|
</div>
|
@@ -1315,7 +1291,7 @@ pango_context_load_fontset (<em class="parameter"><code><a class="link" href="pa
|
|
1315
1291
|
a font matching <em class="parameter"><code>desc</code></em>
|
1316
1292
|
.</p>
|
1317
1293
|
<div class="refsect3">
|
1318
|
-
<a name="
|
1294
|
+
<a name="pango-context-load-fontset.parameters"></a><h4>Parameters</h4>
|
1319
1295
|
<div class="informaltable"><table width="100%" border="0">
|
1320
1296
|
<colgroup>
|
1321
1297
|
<col width="150px" class="parameters_name">
|
@@ -1342,9 +1318,9 @@ a font matching <em class="parameter"><code>desc</code></em>
|
|
1342
1318
|
</table></div>
|
1343
1319
|
</div>
|
1344
1320
|
<div class="refsect3">
|
1345
|
-
<a name="
|
1321
|
+
<a name="pango-context-load-fontset.returns"></a><h4>Returns</h4>
|
1346
1322
|
<p> the newly allocated
|
1347
|
-
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> loaded, or <a href="
|
1323
|
+
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> loaded, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
1348
1324
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
1349
1325
|
</div>
|
1350
1326
|
</div>
|
@@ -1367,7 +1343,7 @@ would be used to render the string, then the returned fonts would
|
|
1367
1343
|
be a composite of the metrics for the fonts loaded for the
|
1368
1344
|
individual families.</p>
|
1369
1345
|
<div class="refsect3">
|
1370
|
-
<a name="
|
1346
|
+
<a name="pango-context-get-metrics.parameters"></a><h4>Parameters</h4>
|
1371
1347
|
<div class="informaltable"><table width="100%" border="0">
|
1372
1348
|
<colgroup>
|
1373
1349
|
<col width="150px" class="parameters_name">
|
@@ -1382,14 +1358,14 @@ individual families.</p>
|
|
1382
1358
|
</tr>
|
1383
1359
|
<tr>
|
1384
1360
|
<td class="parameter_name"><p>desc</p></td>
|
1385
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure. <a href="
|
1361
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure. <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means that the
|
1386
1362
|
font description from the context will be used. </p></td>
|
1387
1363
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1388
1364
|
</tr>
|
1389
1365
|
<tr>
|
1390
1366
|
<td class="parameter_name"><p>language</p></td>
|
1391
1367
|
<td class="parameter_description"><p> language tag used to determine which script to get
|
1392
|
-
the metrics for. <a href="
|
1368
|
+
the metrics for. <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means that the language tag from the context
|
1393
1369
|
will be used. If no language tag is set on the context, metrics
|
1394
1370
|
for the default language (as determined by <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a>)
|
1395
1371
|
will be returned. </p></td>
|
@@ -1399,7 +1375,7 @@ will be returned. </p></td>
|
|
1399
1375
|
</table></div>
|
1400
1376
|
</div>
|
1401
1377
|
<div class="refsect3">
|
1402
|
-
<a name="
|
1378
|
+
<a name="pango-context-get-metrics.returns"></a><h4>Returns</h4>
|
1403
1379
|
<p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
1404
1380
|
when finished using the object.</p>
|
1405
1381
|
</div>
|
@@ -1413,7 +1389,7 @@ pango_context_list_families (<em class="parameter"><code><a class="link" href="p
|
|
1413
1389
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
1414
1390
|
<p>List all families for a context.</p>
|
1415
1391
|
<div class="refsect3">
|
1416
|
-
<a name="
|
1392
|
+
<a name="pango-context-list-families.parameters"></a><h4>Parameters</h4>
|
1417
1393
|
<div class="informaltable"><table width="100%" border="0">
|
1418
1394
|
<colgroup>
|
1419
1395
|
<col width="150px" class="parameters_name">
|
@@ -1430,7 +1406,7 @@ pango_context_list_families (<em class="parameter"><code><a class="link" href="p
|
|
1430
1406
|
<td class="parameter_name"><p>families</p></td>
|
1431
1407
|
<td class="parameter_description"><p> location to store a pointer to
|
1432
1408
|
an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *. This array should be freed
|
1433
|
-
with <a href="
|
1409
|
+
with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
1434
1410
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_families][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
|
1435
1411
|
</tr>
|
1436
1412
|
<tr>
|
@@ -1447,7 +1423,7 @@ with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/h
|
|
1447
1423
|
<div class="refsect2">
|
1448
1424
|
<a name="pango-break"></a><h3>pango_break ()</h3>
|
1449
1425
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1450
|
-
pango_break (<em class="parameter"><code>const <a href="
|
1426
|
+
pango_break (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1451
1427
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1452
1428
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1453
1429
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
|
@@ -1456,7 +1432,7 @@ pango_break (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome
|
|
1456
1432
|
for a string of Unicode text with a single analysis. For most
|
1457
1433
|
purposes you may want to use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
|
1458
1434
|
<div class="refsect3">
|
1459
|
-
<a name="
|
1435
|
+
<a name="pango-break.parameters"></a><h4>Parameters</h4>
|
1460
1436
|
<div class="informaltable"><table width="100%" border="0">
|
1461
1437
|
<colgroup>
|
1462
1438
|
<col width="150px" class="parameters_name">
|
@@ -1520,7 +1496,7 @@ paragraph; logical attributes can't be computed without context
|
|
1520
1496
|
(for example you need to see spaces on either side of a word to know
|
1521
1497
|
the word is a word).</p>
|
1522
1498
|
<div class="refsect3">
|
1523
|
-
<a name="
|
1499
|
+
<a name="pango-get-log-attrs.parameters"></a><h4>Parameters</h4>
|
1524
1500
|
<div class="informaltable"><table width="100%" border="0">
|
1525
1501
|
<colgroup>
|
1526
1502
|
<col width="150px" class="parameters_name">
|
@@ -1570,10 +1546,10 @@ array</p></td>
|
|
1570
1546
|
<div class="refsect2">
|
1571
1547
|
<a name="pango-find-paragraph-boundary"></a><h3>pango_find_paragraph_boundary ()</h3>
|
1572
1548
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1573
|
-
pango_find_paragraph_boundary (<em class="parameter"><code>const <a href="
|
1574
|
-
<em class="parameter"><code><a href="
|
1575
|
-
<em class="parameter"><code><a href="
|
1576
|
-
<em class="parameter"><code><a href="
|
1549
|
+
pango_find_paragraph_boundary (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1550
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
1551
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *paragraph_delimiter_index</code></em>,
|
1552
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *next_paragraph_start</code></em>);</pre>
|
1577
1553
|
<p>Locates a paragraph boundary in <em class="parameter"><code>text</code></em>
|
1578
1554
|
. A boundary is caused by
|
1579
1555
|
delimiter characters, such as a newline, carriage return, carriage
|
@@ -1590,7 +1566,7 @@ index of the run of delimiters is returned in
|
|
1590
1566
|
(an index one
|
1591
1567
|
off the end).</p>
|
1592
1568
|
<div class="refsect3">
|
1593
|
-
<a name="
|
1569
|
+
<a name="pango-find-paragraph-boundary.parameters"></a><h4>Parameters</h4>
|
1594
1570
|
<div class="informaltable"><table width="100%" border="0">
|
1595
1571
|
<colgroup>
|
1596
1572
|
<col width="150px" class="parameters_name">
|
@@ -1629,7 +1605,7 @@ paragraph. </p></td>
|
|
1629
1605
|
<div class="refsect2">
|
1630
1606
|
<a name="pango-default-break"></a><h3>pango_default_break ()</h3>
|
1631
1607
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1632
|
-
pango_default_break (<em class="parameter"><code>const <a href="
|
1608
|
+
pango_default_break (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1633
1609
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1634
1610
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1635
1611
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
|
@@ -1638,12 +1614,12 @@ pango_default_break (<em class="parameter"><code>const <a href="/home/vagrant/ru
|
|
1638
1614
|
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>
|
1639
1615
|
instead. Unlike <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
|
1640
1616
|
<em class="parameter"><code>analysis</code></em>
|
1641
|
-
can be <a href="
|
1617
|
+
can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, but only do that if you know what
|
1642
1618
|
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>,
|
1643
1619
|
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
|
1644
1620
|
simply use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
|
1645
1621
|
<div class="refsect3">
|
1646
|
-
<a name="
|
1622
|
+
<a name="pango-default-break.parameters"></a><h4>Parameters</h4>
|
1647
1623
|
<div class="informaltable"><table width="100%" border="0">
|
1648
1624
|
<colgroup>
|
1649
1625
|
<col width="150px" class="parameters_name">
|
@@ -1687,8 +1663,8 @@ is nul-terminated)</p></td>
|
|
1687
1663
|
<div class="refsect2">
|
1688
1664
|
<a name="pango-shape"></a><h3>pango_shape ()</h3>
|
1689
1665
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1690
|
-
pango_shape (<em class="parameter"><code>const <a href="
|
1691
|
-
<em class="parameter"><code><a href="
|
1666
|
+
pango_shape (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1667
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
1692
1668
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1693
1669
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1694
1670
|
<p>Given a segment of text and the corresponding
|
@@ -1699,7 +1675,7 @@ in only a substring of the item from <a class="link" href="pango-Text-Processing
|
|
1699
1675
|
that API allows for shaping interaction happening across text item
|
1700
1676
|
boundaries.</p>
|
1701
1677
|
<div class="refsect3">
|
1702
|
-
<a name="
|
1678
|
+
<a name="pango-shape.parameters"></a><h4>Parameters</h4>
|
1703
1679
|
<div class="informaltable"><table width="100%" border="0">
|
1704
1680
|
<colgroup>
|
1705
1681
|
<col width="150px" class="parameters_name">
|
@@ -1736,10 +1712,10 @@ boundaries.</p>
|
|
1736
1712
|
<div class="refsect2">
|
1737
1713
|
<a name="pango-shape-full"></a><h3>pango_shape_full ()</h3>
|
1738
1714
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1739
|
-
pango_shape_full (<em class="parameter"><code>const <a href="
|
1740
|
-
<em class="parameter"><code><a href="
|
1741
|
-
<em class="parameter"><code>const <a href="
|
1742
|
-
<em class="parameter"><code><a href="
|
1715
|
+
pango_shape_full (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item_text</code></em>,
|
1716
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_length</code></em>,
|
1717
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *paragraph_text</code></em>,
|
1718
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> paragraph_length</code></em>,
|
1743
1719
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1744
1720
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1745
1721
|
<p>Given a segment of text and the corresponding
|
@@ -1753,9 +1729,9 @@ text of which <em class="parameter"><code>item_text</code></em>
|
|
1753
1729
|
is part of, provide the broader text as
|
1754
1730
|
<em class="parameter"><code>paragraph_text</code></em>
|
1755
1731
|
. If <em class="parameter"><code>paragraph_text</code></em>
|
1756
|
-
is <a href="
|
1732
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, item text is used instead.</p>
|
1757
1733
|
<div class="refsect3">
|
1758
|
-
<a name="
|
1734
|
+
<a name="pango-shape-full.parameters"></a><h4>Parameters</h4>
|
1759
1735
|
<div class="informaltable"><table width="100%" border="0">
|
1760
1736
|
<colgroup>
|
1761
1737
|
<col width="150px" class="parameters_name">
|
@@ -1776,7 +1752,7 @@ text of which <em class="parameter"><code>item_text</code></em>
|
|
1776
1752
|
</tr>
|
1777
1753
|
<tr>
|
1778
1754
|
<td class="parameter_name"><p>paragraph_text</p></td>
|
1779
|
-
<td class="parameter_description"><p> text of the paragraph (see details). May be <a href="
|
1755
|
+
<td class="parameter_description"><p> text of the paragraph (see details). May be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1780
1756
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1781
1757
|
</tr>
|
1782
1758
|
<tr>
|
@@ -1821,7 +1797,7 @@ used to control the itemization process.</p>
|
|
1821
1797
|
</pre>
|
1822
1798
|
<p>The <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure stores information about a segment of text.</p>
|
1823
1799
|
<div class="refsect3">
|
1824
|
-
<a name="
|
1800
|
+
<a name="PangoItem.members"></a><h4>Members</h4>
|
1825
1801
|
<div class="informaltable"><table width="100%" border="0">
|
1826
1802
|
<colgroup>
|
1827
1803
|
<col width="300px" class="struct_members_name">
|
@@ -1830,17 +1806,17 @@ used to control the itemization process.</p>
|
|
1830
1806
|
</colgroup>
|
1831
1807
|
<tbody>
|
1832
1808
|
<tr>
|
1833
|
-
<td class="struct_member_name"><p><a href="
|
1809
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="PangoItem-struct.offset"></a>offset</code></em>;</p></td>
|
1834
1810
|
<td class="struct_member_description"><p>byte offset of the start of this item in text.</p></td>
|
1835
1811
|
<td class="struct_member_annotations"> </td>
|
1836
1812
|
</tr>
|
1837
1813
|
<tr>
|
1838
|
-
<td class="struct_member_name"><p><a href="
|
1814
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="PangoItem-struct.length"></a>length</code></em>;</p></td>
|
1839
1815
|
<td class="struct_member_description"><p>length of this item in bytes.</p></td>
|
1840
1816
|
<td class="struct_member_annotations"> </td>
|
1841
1817
|
</tr>
|
1842
1818
|
<tr>
|
1843
|
-
<td class="struct_member_name"><p><a href="
|
1819
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="PangoItem-struct.num-chars"></a>num_chars</code></em>;</p></td>
|
1844
1820
|
<td class="struct_member_description"><p>number of Unicode characters in the item.</p></td>
|
1845
1821
|
<td class="struct_member_annotations"> </td>
|
1846
1822
|
</tr>
|
@@ -1874,7 +1850,7 @@ used to control the itemization process.</p>
|
|
1874
1850
|
<p>The <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure stores information about
|
1875
1851
|
the properties of a segment of text.</p>
|
1876
1852
|
<div class="refsect3">
|
1877
|
-
<a name="
|
1853
|
+
<a name="PangoAnalysis.members"></a><h4>Members</h4>
|
1878
1854
|
<div class="informaltable"><table width="100%" border="0">
|
1879
1855
|
<colgroup>
|
1880
1856
|
<col width="300px" class="struct_members_name">
|
@@ -1898,22 +1874,22 @@ the properties of a segment of text.</p>
|
|
1898
1874
|
<td class="struct_member_annotations"> </td>
|
1899
1875
|
</tr>
|
1900
1876
|
<tr>
|
1901
|
-
<td class="struct_member_name"><p><a href="
|
1877
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.level"></a>level</code></em>;</p></td>
|
1902
1878
|
<td class="struct_member_description"><p>the bidirectional level for this segment.</p></td>
|
1903
1879
|
<td class="struct_member_annotations"> </td>
|
1904
1880
|
</tr>
|
1905
1881
|
<tr>
|
1906
|
-
<td class="struct_member_name"><p><a href="
|
1882
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.gravity"></a>gravity</code></em>;</p></td>
|
1907
1883
|
<td class="struct_member_description"><p>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>).</p></td>
|
1908
1884
|
<td class="struct_member_annotations"> </td>
|
1909
1885
|
</tr>
|
1910
1886
|
<tr>
|
1911
|
-
<td class="struct_member_name"><p><a href="
|
1887
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.flags"></a>flags</code></em>;</p></td>
|
1912
1888
|
<td class="struct_member_description"><p>boolean flags for this segment (currently only one) (Since: 1.16).</p></td>
|
1913
1889
|
<td class="struct_member_annotations"> </td>
|
1914
1890
|
</tr>
|
1915
1891
|
<tr>
|
1916
|
-
<td class="struct_member_name"><p><a href="
|
1892
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.script"></a>script</code></em>;</p></td>
|
1917
1893
|
<td class="struct_member_description"><p>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).</p></td>
|
1918
1894
|
<td class="struct_member_annotations"> </td>
|
1919
1895
|
</tr>
|
@@ -1923,7 +1899,7 @@ the properties of a segment of text.</p>
|
|
1923
1899
|
<td class="struct_member_annotations"> </td>
|
1924
1900
|
</tr>
|
1925
1901
|
<tr>
|
1926
|
-
<td class="struct_member_name"><p><a href="
|
1902
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="PangoAnalysis.extra-attrs"></a>extra_attrs</code></em>;</p></td>
|
1927
1903
|
<td class="struct_member_description"><p>extra attributes for this segment.</p></td>
|
1928
1904
|
<td class="struct_member_annotations"> </td>
|
1929
1905
|
</tr>
|
@@ -1933,6 +1909,30 @@ the properties of a segment of text.</p>
|
|
1933
1909
|
</div>
|
1934
1910
|
<hr>
|
1935
1911
|
<div class="refsect2">
|
1912
|
+
<a name="PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS"></a><h3>PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</h3>
|
1913
|
+
<pre class="programlisting">#define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 << 0)
|
1914
|
+
</pre>
|
1915
|
+
<p>Whether the segment should be shifted to center around the baseline.
|
1916
|
+
Used in vertical writing directions mostly.</p>
|
1917
|
+
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
1918
|
+
</div>
|
1919
|
+
<hr>
|
1920
|
+
<div class="refsect2">
|
1921
|
+
<a name="PANGO-ANALYSIS-FLAG-IS-ELLIPSIS:CAPS"></a><h3>PANGO_ANALYSIS_FLAG_IS_ELLIPSIS</h3>
|
1922
|
+
<pre class="programlisting">#define PANGO_ANALYSIS_FLAG_IS_ELLIPSIS (1 << 1)
|
1923
|
+
</pre>
|
1924
|
+
<p>This flag is used to mark runs that hold ellipsized text,
|
1925
|
+
in an ellipsized layout.</p>
|
1926
|
+
<p class="since">Since: 1.36.7</p>
|
1927
|
+
</div>
|
1928
|
+
<hr>
|
1929
|
+
<div class="refsect2">
|
1930
|
+
<a name="PANGO-TYPE-DIRECTION:CAPS"></a><h3>PANGO_TYPE_DIRECTION</h3>
|
1931
|
+
<pre class="programlisting">#define PANGO_TYPE_DIRECTION (pango_direction_get_type ())
|
1932
|
+
</pre>
|
1933
|
+
</div>
|
1934
|
+
<hr>
|
1935
|
+
<div class="refsect2">
|
1936
1936
|
<a name="PangoLogAttr"></a><h3>PangoLogAttr</h3>
|
1937
1937
|
<pre class="programlisting">typedef struct {
|
1938
1938
|
guint is_line_break : 1; /* Can break line in front of character */
|
@@ -1985,7 +1985,7 @@ the properties of a segment of text.</p>
|
|
1985
1985
|
<p>The <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> structure stores information
|
1986
1986
|
about the attributes of a single character.</p>
|
1987
1987
|
<div class="refsect3">
|
1988
|
-
<a name="
|
1988
|
+
<a name="PangoLogAttr.members"></a><h4>Members</h4>
|
1989
1989
|
<div class="informaltable"><table width="100%" border="0">
|
1990
1990
|
<colgroup>
|
1991
1991
|
<col width="300px" class="struct_members_name">
|
@@ -1994,27 +1994,27 @@ about the attributes of a single character.</p>
|
|
1994
1994
|
</colgroup>
|
1995
1995
|
<tbody>
|
1996
1996
|
<tr>
|
1997
|
-
<td class="struct_member_name"><p><a href="
|
1997
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-line-break"></a>is_line_break</code></em> : 1;</p></td>
|
1998
1998
|
<td class="struct_member_description"><p>if set, can break line in front of character</p></td>
|
1999
1999
|
<td class="struct_member_annotations"> </td>
|
2000
2000
|
</tr>
|
2001
2001
|
<tr>
|
2002
|
-
<td class="struct_member_name"><p><a href="
|
2002
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-mandatory-break"></a>is_mandatory_break</code></em> : 1;</p></td>
|
2003
2003
|
<td class="struct_member_description"><p>if set, must break line in front of character</p></td>
|
2004
2004
|
<td class="struct_member_annotations"> </td>
|
2005
2005
|
</tr>
|
2006
2006
|
<tr>
|
2007
|
-
<td class="struct_member_name"><p><a href="
|
2007
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-char-break"></a>is_char_break</code></em> : 1;</p></td>
|
2008
2008
|
<td class="struct_member_description"><p>if set, can break here when doing character wrapping</p></td>
|
2009
2009
|
<td class="struct_member_annotations"> </td>
|
2010
2010
|
</tr>
|
2011
2011
|
<tr>
|
2012
|
-
<td class="struct_member_name"><p><a href="
|
2012
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-white"></a>is_white</code></em> : 1;</p></td>
|
2013
2013
|
<td class="struct_member_description"><p>is whitespace character</p></td>
|
2014
2014
|
<td class="struct_member_annotations"> </td>
|
2015
2015
|
</tr>
|
2016
2016
|
<tr>
|
2017
|
-
<td class="struct_member_name"><p><a href="
|
2017
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-cursor-position"></a>is_cursor_position</code></em> : 1;</p></td>
|
2018
2018
|
<td class="struct_member_description">
|
2019
2019
|
<p>if set, cursor can appear in front of character.
|
2020
2020
|
i.e. this is a grapheme boundary, or the first character
|
@@ -2025,12 +2025,12 @@ Cluster Boundaries</a> semantics.</td>
|
|
2025
2025
|
<td class="struct_member_annotations"> </td>
|
2026
2026
|
</tr>
|
2027
2027
|
<tr>
|
2028
|
-
<td class="struct_member_name"><p><a href="
|
2028
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-word-start"></a>is_word_start</code></em> : 1;</p></td>
|
2029
2029
|
<td class="struct_member_description"><p>is first character in a word</p></td>
|
2030
2030
|
<td class="struct_member_annotations"> </td>
|
2031
2031
|
</tr>
|
2032
2032
|
<tr>
|
2033
|
-
<td class="struct_member_name"><p><a href="
|
2033
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-word-end"></a>is_word_end</code></em> : 1;</p></td>
|
2034
2034
|
<td class="struct_member_description"><p>is first non-word char after a word
|
2035
2035
|
Note that in degenerate cases, you could have both <em class="parameter"><code>is_word_start</code></em>
|
2036
2036
|
and <em class="parameter"><code>is_word_end</code></em>
|
@@ -2038,7 +2038,7 @@ set for some character.</p></td>
|
|
2038
2038
|
<td class="struct_member_annotations"> </td>
|
2039
2039
|
</tr>
|
2040
2040
|
<tr>
|
2041
|
-
<td class="struct_member_name"><p><a href="
|
2041
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-sentence-boundary"></a>is_sentence_boundary</code></em> : 1;</p></td>
|
2042
2042
|
<td class="struct_member_description"><p>is a sentence boundary.
|
2043
2043
|
There are two ways to divide sentences. The first assigns all
|
2044
2044
|
inter-sentence whitespace/control/format chars to some sentence,
|
@@ -2052,12 +2052,12 @@ mark the boundaries of those sentences.</p></td>
|
|
2052
2052
|
<td class="struct_member_annotations"> </td>
|
2053
2053
|
</tr>
|
2054
2054
|
<tr>
|
2055
|
-
<td class="struct_member_name"><p><a href="
|
2055
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-sentence-start"></a>is_sentence_start</code></em> : 1;</p></td>
|
2056
2056
|
<td class="struct_member_description"><p>is first character in a sentence</p></td>
|
2057
2057
|
<td class="struct_member_annotations"> </td>
|
2058
2058
|
</tr>
|
2059
2059
|
<tr>
|
2060
|
-
<td class="struct_member_name"><p><a href="
|
2060
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-sentence-end"></a>is_sentence_end</code></em> : 1;</p></td>
|
2061
2061
|
<td class="struct_member_description"><p>is first char after a sentence.
|
2062
2062
|
Note that in degenerate cases, you could have both <em class="parameter"><code>is_sentence_start</code></em>
|
2063
2063
|
and <em class="parameter"><code>is_sentence_end</code></em>
|
@@ -2066,7 +2066,7 @@ period, so the next sentence starts right away)</p></td>
|
|
2066
2066
|
<td class="struct_member_annotations"> </td>
|
2067
2067
|
</tr>
|
2068
2068
|
<tr>
|
2069
|
-
<td class="struct_member_name"><p><a href="
|
2069
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.backspace-deletes-character"></a>backspace_deletes_character</code></em> : 1;</p></td>
|
2070
2070
|
<td class="struct_member_description"><p>if set, backspace deletes one character
|
2071
2071
|
rather than the entire grapheme cluster. This
|
2072
2072
|
field is only meaningful on grapheme
|
@@ -2082,13 +2082,13 @@ those following Latin, Cyrillic or Greek base characters.</p></td>
|
|
2082
2082
|
<td class="struct_member_annotations"> </td>
|
2083
2083
|
</tr>
|
2084
2084
|
<tr>
|
2085
|
-
<td class="struct_member_name"><p><a href="
|
2085
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-expandable-space"></a>is_expandable_space</code></em> : 1;</p></td>
|
2086
2086
|
<td class="struct_member_description"><p>is a whitespace character that can possibly be
|
2087
2087
|
expanded for justification purposes. (Since: 1.18)</p></td>
|
2088
2088
|
<td class="struct_member_annotations"> </td>
|
2089
2089
|
</tr>
|
2090
2090
|
<tr>
|
2091
|
-
<td class="struct_member_name"><p><a href="
|
2091
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-word-boundary"></a>is_word_boundary</code></em> : 1;</p></td>
|
2092
2092
|
<td class="struct_member_description">
|
2093
2093
|
<p>is a word boundary.
|
2094
2094
|
More specifically, means that this is not a position in the middle
|
@@ -2107,6 +2107,6 @@ Boundaries</a> semantics. (Since: 1.22)</td>
|
|
2107
2107
|
</div>
|
2108
2108
|
</div>
|
2109
2109
|
<div class="footer">
|
2110
|
-
<hr>Generated by GTK-Doc V1.
|
2110
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
2111
2111
|
</body>
|
2112
2112
|
</html>
|