pango 3.0.8-x64-mingw32 → 3.0.9-x64-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/genrb.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/makeconv.exe +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/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="PangoMarkupFormat.html" title="Text Attribute Markup">
|
10
10
|
<link rel="next" href="pango-Scripts-and-Languages.html" title="Scripts and Languages">
|
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">
|
@@ -74,7 +74,7 @@
|
|
74
74
|
</tr>
|
75
75
|
<tr>
|
76
76
|
<td class="function_type">
|
77
|
-
<a href="
|
77
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
78
78
|
</td>
|
79
79
|
<td class="function_name">
|
80
80
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-serial" title="pango_layout_get_serial ()">pango_layout_get_serial</a> <span class="c_punctuation">()</span>
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
99
|
<td class="function_type">
|
100
|
-
<a href="
|
100
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
101
101
|
</td>
|
102
102
|
<td class="function_name">
|
103
103
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-character-count" title="pango_layout_get_character_count ()">pango_layout_get_character_count</a> <span class="c_punctuation">()</span>
|
@@ -200,17 +200,13 @@
|
|
200
200
|
</tr>
|
201
201
|
<tr>
|
202
202
|
<td class="function_type">
|
203
|
-
<a href="
|
203
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
204
204
|
</td>
|
205
205
|
<td class="function_name">
|
206
206
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-is-wrapped" title="pango_layout_is_wrapped ()">pango_layout_is_wrapped</a> <span class="c_punctuation">()</span>
|
207
207
|
</td>
|
208
208
|
</tr>
|
209
209
|
<tr>
|
210
|
-
<td class="define_keyword">#define</td>
|
211
|
-
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-WRAP-MODE:CAPS" title="PANGO_TYPE_WRAP_MODE">PANGO_TYPE_WRAP_MODE</a></td>
|
212
|
-
</tr>
|
213
|
-
<tr>
|
214
210
|
<td class="function_type">
|
215
211
|
<span class="returnvalue">void</span>
|
216
212
|
</td>
|
@@ -228,17 +224,13 @@
|
|
228
224
|
</tr>
|
229
225
|
<tr>
|
230
226
|
<td class="function_type">
|
231
|
-
<a href="
|
227
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
232
228
|
</td>
|
233
229
|
<td class="function_name">
|
234
230
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-is-ellipsized" title="pango_layout_is_ellipsized ()">pango_layout_is_ellipsized</a> <span class="c_punctuation">()</span>
|
235
231
|
</td>
|
236
232
|
</tr>
|
237
233
|
<tr>
|
238
|
-
<td class="define_keyword">#define</td>
|
239
|
-
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE">PANGO_TYPE_ELLIPSIZE_MODE</a></td>
|
240
|
-
</tr>
|
241
|
-
<tr>
|
242
234
|
<td class="function_type">
|
243
235
|
<span class="returnvalue">void</span>
|
244
236
|
</td>
|
@@ -280,7 +272,7 @@
|
|
280
272
|
</tr>
|
281
273
|
<tr>
|
282
274
|
<td class="function_type">
|
283
|
-
<a href="
|
275
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
284
276
|
</td>
|
285
277
|
<td class="function_name">
|
286
278
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-justify" title="pango_layout_get_justify ()">pango_layout_get_justify</a> <span class="c_punctuation">()</span>
|
@@ -296,7 +288,7 @@
|
|
296
288
|
</tr>
|
297
289
|
<tr>
|
298
290
|
<td class="function_type">
|
299
|
-
<a href="
|
291
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
300
292
|
</td>
|
301
293
|
<td class="function_name">
|
302
294
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-auto-dir" title="pango_layout_get_auto_dir ()">pango_layout_get_auto_dir</a> <span class="c_punctuation">()</span>
|
@@ -344,17 +336,13 @@
|
|
344
336
|
</tr>
|
345
337
|
<tr>
|
346
338
|
<td class="function_type">
|
347
|
-
<a href="
|
339
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
348
340
|
</td>
|
349
341
|
<td class="function_name">
|
350
342
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-single-paragraph-mode" title="pango_layout_get_single_paragraph_mode ()">pango_layout_get_single_paragraph_mode</a> <span class="c_punctuation">()</span>
|
351
343
|
</td>
|
352
344
|
</tr>
|
353
345
|
<tr>
|
354
|
-
<td class="define_keyword">#define</td>
|
355
|
-
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ALIGNMENT:CAPS" title="PANGO_TYPE_ALIGNMENT">PANGO_TYPE_ALIGNMENT</a></td>
|
356
|
-
</tr>
|
357
|
-
<tr>
|
358
346
|
<td class="function_type">
|
359
347
|
<span class="returnvalue">int</span>
|
360
348
|
</td>
|
@@ -395,7 +383,7 @@
|
|
395
383
|
</tr>
|
396
384
|
<tr>
|
397
385
|
<td class="function_type">
|
398
|
-
<a href="
|
386
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
399
387
|
</td>
|
400
388
|
<td class="function_name">
|
401
389
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-xy-to-index" title="pango_layout_xy_to_index ()">pango_layout_xy_to_index</a> <span class="c_punctuation">()</span>
|
@@ -483,7 +471,7 @@
|
|
483
471
|
</tr>
|
484
472
|
<tr>
|
485
473
|
<td class="function_type">
|
486
|
-
<a href="
|
474
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
487
475
|
</td>
|
488
476
|
<td class="function_name">
|
489
477
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines" title="pango_layout_get_lines ()">pango_layout_get_lines</a> <span class="c_punctuation">()</span>
|
@@ -491,7 +479,7 @@
|
|
491
479
|
</tr>
|
492
480
|
<tr>
|
493
481
|
<td class="function_type">
|
494
|
-
<a href="
|
482
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
495
483
|
</td>
|
496
484
|
<td class="function_name">
|
497
485
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines-readonly" title="pango_layout_get_lines_readonly ()">pango_layout_get_lines_readonly</a> <span class="c_punctuation">()</span>
|
@@ -523,7 +511,7 @@
|
|
523
511
|
</tr>
|
524
512
|
<tr>
|
525
513
|
<td class="function_type">
|
526
|
-
<a href="
|
514
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
527
515
|
</td>
|
528
516
|
<td class="function_name">
|
529
517
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-run" title="pango_layout_iter_next_run ()">pango_layout_iter_next_run</a> <span class="c_punctuation">()</span>
|
@@ -531,7 +519,7 @@
|
|
531
519
|
</tr>
|
532
520
|
<tr>
|
533
521
|
<td class="function_type">
|
534
|
-
<a href="
|
522
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
535
523
|
</td>
|
536
524
|
<td class="function_name">
|
537
525
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-char" title="pango_layout_iter_next_char ()">pango_layout_iter_next_char</a> <span class="c_punctuation">()</span>
|
@@ -539,7 +527,7 @@
|
|
539
527
|
</tr>
|
540
528
|
<tr>
|
541
529
|
<td class="function_type">
|
542
|
-
<a href="
|
530
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
543
531
|
</td>
|
544
532
|
<td class="function_name">
|
545
533
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-cluster" title="pango_layout_iter_next_cluster ()">pango_layout_iter_next_cluster</a> <span class="c_punctuation">()</span>
|
@@ -547,7 +535,7 @@
|
|
547
535
|
</tr>
|
548
536
|
<tr>
|
549
537
|
<td class="function_type">
|
550
|
-
<a href="
|
538
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
551
539
|
</td>
|
552
540
|
<td class="function_name">
|
553
541
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-line" title="pango_layout_iter_next_line ()">pango_layout_iter_next_line</a> <span class="c_punctuation">()</span>
|
@@ -555,7 +543,7 @@
|
|
555
543
|
</tr>
|
556
544
|
<tr>
|
557
545
|
<td class="function_type">
|
558
|
-
<a href="
|
546
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
559
547
|
</td>
|
560
548
|
<td class="function_name">
|
561
549
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-at-last-line" title="pango_layout_iter_at_last_line ()">pango_layout_iter_at_last_line</a> <span class="c_punctuation">()</span>
|
@@ -707,7 +695,7 @@
|
|
707
695
|
</tr>
|
708
696
|
<tr>
|
709
697
|
<td class="function_type">
|
710
|
-
<a href="
|
698
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
711
699
|
</td>
|
712
700
|
<td class="function_name">
|
713
701
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-line-x-to-index" title="pango_layout_line_x_to_index ()">pango_layout_line_x_to_index</a> <span class="c_punctuation">()</span>
|
@@ -745,14 +733,26 @@
|
|
745
733
|
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode">PangoWrapMode</a></td>
|
746
734
|
</tr>
|
747
735
|
<tr>
|
736
|
+
<td class="define_keyword">#define</td>
|
737
|
+
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-WRAP-MODE:CAPS" title="PANGO_TYPE_WRAP_MODE">PANGO_TYPE_WRAP_MODE</a></td>
|
738
|
+
</tr>
|
739
|
+
<tr>
|
748
740
|
<td class="datatype_keyword">enum</td>
|
749
741
|
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode">PangoEllipsizeMode</a></td>
|
750
742
|
</tr>
|
751
743
|
<tr>
|
744
|
+
<td class="define_keyword">#define</td>
|
745
|
+
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE">PANGO_TYPE_ELLIPSIZE_MODE</a></td>
|
746
|
+
</tr>
|
747
|
+
<tr>
|
752
748
|
<td class="datatype_keyword">enum</td>
|
753
749
|
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment">PangoAlignment</a></td>
|
754
750
|
</tr>
|
755
751
|
<tr>
|
752
|
+
<td class="define_keyword">#define</td>
|
753
|
+
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ALIGNMENT:CAPS" title="PANGO_TYPE_ALIGNMENT">PANGO_TYPE_ALIGNMENT</a></td>
|
754
|
+
</tr>
|
755
|
+
<tr>
|
756
756
|
<td class="datatype_keyword">struct</td>
|
757
757
|
<td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine-struct" title="struct PangoLayoutLine">PangoLayoutLine</a></td>
|
758
758
|
</tr>
|
@@ -765,14 +765,14 @@
|
|
765
765
|
</div>
|
766
766
|
<div class="refsect1">
|
767
767
|
<a name="pango-Layout-Objects.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
768
|
-
<pre class="screen"> <a href="
|
768
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
|
769
769
|
<span class="lineart">├──</span> PangoLayoutIter
|
770
770
|
<span class="lineart">╰──</span> PangoLayoutLine
|
771
|
-
<a href="
|
771
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
772
772
|
<span class="lineart">├──</span> PangoAlignment
|
773
773
|
<span class="lineart">├──</span> PangoEllipsizeMode
|
774
774
|
<span class="lineart">╰──</span> PangoWrapMode
|
775
|
-
<a href="
|
775
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
776
776
|
<span class="lineart">╰──</span> PangoLayout
|
777
777
|
</pre>
|
778
778
|
</div>
|
@@ -794,7 +794,7 @@ pango_layout_new (<em class="parameter"><code><a class="link" href="pango-Text-P
|
|
794
794
|
<p>Create a new <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> object with attributes initialized to
|
795
795
|
default values for a particular <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
796
796
|
<div class="refsect3">
|
797
|
-
<a name="
|
797
|
+
<a name="pango-layout-new.parameters"></a><h4>Parameters</h4>
|
798
798
|
<div class="informaltable"><table width="100%" border="0">
|
799
799
|
<colgroup>
|
800
800
|
<col width="150px" class="parameters_name">
|
@@ -809,10 +809,10 @@ default values for a particular <a class="link" href="pango-Text-Processing.html
|
|
809
809
|
</table></div>
|
810
810
|
</div>
|
811
811
|
<div class="refsect3">
|
812
|
-
<a name="
|
812
|
+
<a name="pango-layout-new.returns"></a><h4>Returns</h4>
|
813
813
|
<p> the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, with a reference
|
814
814
|
count of one, which should be freed with
|
815
|
-
<a href="
|
815
|
+
<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>
|
816
816
|
</div>
|
817
817
|
</div>
|
818
818
|
<hr>
|
@@ -825,7 +825,7 @@ pango_layout_copy (<em class="parameter"><code><a class="link" href="pango-Layou
|
|
825
825
|
tab array, and text from the original layout are all copied by
|
826
826
|
value.</p>
|
827
827
|
<div class="refsect3">
|
828
|
-
<a name="
|
828
|
+
<a name="pango-layout-copy.parameters"></a><h4>Parameters</h4>
|
829
829
|
<div class="informaltable"><table width="100%" border="0">
|
830
830
|
<colgroup>
|
831
831
|
<col width="150px" class="parameters_name">
|
@@ -840,10 +840,10 @@ value.</p>
|
|
840
840
|
</table></div>
|
841
841
|
</div>
|
842
842
|
<div class="refsect3">
|
843
|
-
<a name="
|
843
|
+
<a name="pango-layout-copy.returns"></a><h4>Returns</h4>
|
844
844
|
<p> the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>,
|
845
845
|
with a reference count of one, which should be freed
|
846
|
-
with <a href="
|
846
|
+
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>
|
847
847
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
848
848
|
</div>
|
849
849
|
</div>
|
@@ -854,7 +854,7 @@ with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/h
|
|
854
854
|
pango_layout_get_context (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
855
855
|
<p>Retrieves the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> used for this layout.</p>
|
856
856
|
<div class="refsect3">
|
857
|
-
<a name="
|
857
|
+
<a name="pango-layout-get-context.parameters"></a><h4>Parameters</h4>
|
858
858
|
<div class="informaltable"><table width="100%" border="0">
|
859
859
|
<colgroup>
|
860
860
|
<col width="150px" class="parameters_name">
|
@@ -869,7 +869,7 @@ pango_layout_get_context (<em class="parameter"><code><a class="link" href="pang
|
|
869
869
|
</table></div>
|
870
870
|
</div>
|
871
871
|
<div class="refsect3">
|
872
|
-
<a name="
|
872
|
+
<a name="pango-layout-get-context.returns"></a><h4>Returns</h4>
|
873
873
|
<p> the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the layout.
|
874
874
|
This does not have an additional refcount added, so if you want to
|
875
875
|
keep a copy of this around, you must reference it yourself. </p>
|
@@ -886,7 +886,7 @@ might depend on the layout's context. This function should
|
|
886
886
|
be called if you make changes to the context subsequent
|
887
887
|
to creating the layout.</p>
|
888
888
|
<div class="refsect3">
|
889
|
-
<a name="
|
889
|
+
<a name="pango-layout-context-changed.parameters"></a><h4>Parameters</h4>
|
890
890
|
<div class="informaltable"><table width="100%" border="0">
|
891
891
|
<colgroup>
|
892
892
|
<col width="150px" class="parameters_name">
|
@@ -904,7 +904,7 @@ to creating the layout.</p>
|
|
904
904
|
<hr>
|
905
905
|
<div class="refsect2">
|
906
906
|
<a name="pango-layout-get-serial"></a><h3>pango_layout_get_serial ()</h3>
|
907
|
-
<pre class="programlisting"><a href="
|
907
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
908
908
|
pango_layout_get_serial (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
909
909
|
<p>Returns the current serial number of <em class="parameter"><code>layout</code></em>
|
910
910
|
. The serial number is
|
@@ -917,7 +917,7 @@ can wrap, never compare it with "less than", always use "not equals".</p>
|
|
917
917
|
is useful for example to decide whether a layout needs redrawing.
|
918
918
|
To force the serial to be increased, use <a class="link" href="pango-Layout-Objects.html#pango-layout-context-changed" title="pango_layout_context_changed ()"><code class="function">pango_layout_context_changed()</code></a>.</p>
|
919
919
|
<div class="refsect3">
|
920
|
-
<a name="
|
920
|
+
<a name="pango-layout-get-serial.parameters"></a><h4>Parameters</h4>
|
921
921
|
<div class="informaltable"><table width="100%" border="0">
|
922
922
|
<colgroup>
|
923
923
|
<col width="150px" class="parameters_name">
|
@@ -932,7 +932,7 @@ To force the serial to be increased, use <a class="link" href="pango-Layout-Obje
|
|
932
932
|
</table></div>
|
933
933
|
</div>
|
934
934
|
<div class="refsect3">
|
935
|
-
<a name="
|
935
|
+
<a name="pango-layout-get-serial.returns"></a><h4>Returns</h4>
|
936
936
|
<p> The current serial number of <em class="parameter"><code>layout</code></em>
|
937
937
|
.</p>
|
938
938
|
</div>
|
@@ -953,7 +953,7 @@ pango_layout_set_text (<em class="parameter"><code><a class="link" href="pango-L
|
|
953
953
|
the attributes set on the layout from the markup as this function does not
|
954
954
|
clear attributes.</p>
|
955
955
|
<div class="refsect3">
|
956
|
-
<a name="
|
956
|
+
<a name="pango-layout-set-text.parameters"></a><h4>Parameters</h4>
|
957
957
|
<div class="informaltable"><table width="100%" border="0">
|
958
958
|
<colgroup>
|
959
959
|
<col width="150px" class="parameters_name">
|
@@ -994,7 +994,7 @@ pango_layout_get_text (<em class="parameter"><code><a class="link" href="pango-L
|
|
994
994
|
<p>Gets the text in the layout. The returned text should not
|
995
995
|
be freed or modified.</p>
|
996
996
|
<div class="refsect3">
|
997
|
-
<a name="
|
997
|
+
<a name="pango-layout-get-text.parameters"></a><h4>Parameters</h4>
|
998
998
|
<div class="informaltable"><table width="100%" border="0">
|
999
999
|
<colgroup>
|
1000
1000
|
<col width="150px" class="parameters_name">
|
@@ -1009,7 +1009,7 @@ be freed or modified.</p>
|
|
1009
1009
|
</table></div>
|
1010
1010
|
</div>
|
1011
1011
|
<div class="refsect3">
|
1012
|
-
<a name="
|
1012
|
+
<a name="pango-layout-get-text.returns"></a><h4>Returns</h4>
|
1013
1013
|
<p> the text in the <em class="parameter"><code>layout</code></em>
|
1014
1014
|
.</p>
|
1015
1015
|
</div>
|
@@ -1017,13 +1017,13 @@ be freed or modified.</p>
|
|
1017
1017
|
<hr>
|
1018
1018
|
<div class="refsect2">
|
1019
1019
|
<a name="pango-layout-get-character-count"></a><h3>pango_layout_get_character_count ()</h3>
|
1020
|
-
<pre class="programlisting"><a href="
|
1020
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1021
1021
|
pango_layout_get_character_count (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1022
1022
|
<p>Returns the number of Unicode characters in the
|
1023
1023
|
the text of <em class="parameter"><code>layout</code></em>
|
1024
1024
|
.</p>
|
1025
1025
|
<div class="refsect3">
|
1026
|
-
<a name="
|
1026
|
+
<a name="pango-layout-get-character-count.parameters"></a><h4>Parameters</h4>
|
1027
1027
|
<div class="informaltable"><table width="100%" border="0">
|
1028
1028
|
<colgroup>
|
1029
1029
|
<col width="150px" class="parameters_name">
|
@@ -1038,7 +1038,7 @@ the text of <em class="parameter"><code>layout</code></em>
|
|
1038
1038
|
</table></div>
|
1039
1039
|
</div>
|
1040
1040
|
<div class="refsect3">
|
1041
|
-
<a name="
|
1041
|
+
<a name="pango-layout-get-character-count.returns"></a><h4>Returns</h4>
|
1042
1042
|
<p> the number of Unicode characters
|
1043
1043
|
in the text of <em class="parameter"><code>layout</code></em>
|
1044
1044
|
</p>
|
@@ -1055,7 +1055,7 @@ pango_layout_set_markup (<em class="parameter"><code><a class="link" href="pango
|
|
1055
1055
|
<p>Same as <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup-with-accel" title="pango_layout_set_markup_with_accel ()"><code class="function">pango_layout_set_markup_with_accel()</code></a>, but
|
1056
1056
|
the markup text isn't scanned for accelerators.</p>
|
1057
1057
|
<div class="refsect3">
|
1058
|
-
<a name="
|
1058
|
+
<a name="pango-layout-set-markup.parameters"></a><h4>Parameters</h4>
|
1059
1059
|
<div class="informaltable"><table width="100%" border="0">
|
1060
1060
|
<colgroup>
|
1061
1061
|
<col width="150px" class="parameters_name">
|
@@ -1091,10 +1091,10 @@ null-terminated</p></td>
|
|
1091
1091
|
pango_layout_set_markup_with_accel (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1092
1092
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
1093
1093
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1094
|
-
<em class="parameter"><code><a href="
|
1095
|
-
<em class="parameter"><code><a href="
|
1094
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
|
1095
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>);</pre>
|
1096
1096
|
<p>Sets the layout text and attribute list from marked-up text (see</p>
|
1097
|
-
|
1097
|
+
markup format). Replaces
|
1098
1098
|
<p>the current text and attribute list.</p>
|
1099
1099
|
<p>If <em class="parameter"><code>accel_marker</code></em>
|
1100
1100
|
is nonzero, the given character will mark the
|
@@ -1109,7 +1109,7 @@ Two <em class="parameter"><code>accel_marker</code></em>
|
|
1109
1109
|
literal <em class="parameter"><code>accel_marker</code></em>
|
1110
1110
|
character.</p>
|
1111
1111
|
<div class="refsect3">
|
1112
|
-
<a name="
|
1112
|
+
<a name="pango-layout-set-markup-with-accel.parameters"></a><h4>Parameters</h4>
|
1113
1113
|
<div class="informaltable"><table width="100%" border="0">
|
1114
1114
|
<colgroup>
|
1115
1115
|
<col width="150px" class="parameters_name">
|
@@ -1125,7 +1125,7 @@ literal <em class="parameter"><code>accel_marker</code></em>
|
|
1125
1125
|
<tr>
|
1126
1126
|
<td class="parameter_name"><p>markup</p></td>
|
1127
1127
|
<td class="parameter_description"><p>marked-up text
|
1128
|
-
(see
|
1128
|
+
(see markup format)</p></td>
|
1129
1129
|
<td class="parameter_annotations"> </td>
|
1130
1130
|
</tr>
|
1131
1131
|
<tr>
|
@@ -1143,7 +1143,7 @@ null-terminated</p></td>
|
|
1143
1143
|
<tr>
|
1144
1144
|
<td class="parameter_name"><p>accel_char</p></td>
|
1145
1145
|
<td class="parameter_description"><p> return location
|
1146
|
-
for first located accelerator, or <a href="
|
1146
|
+
for first located accelerator, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1147
1147
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1148
1148
|
</tr>
|
1149
1149
|
</tbody>
|
@@ -1160,7 +1160,7 @@ pango_layout_set_attributes (<em class="parameter"><code><a class="link" href="p
|
|
1160
1160
|
References <em class="parameter"><code>attrs</code></em>
|
1161
1161
|
, so the caller can unref its reference.</p>
|
1162
1162
|
<div class="refsect3">
|
1163
|
-
<a name="
|
1163
|
+
<a name="pango-layout-set-attributes.parameters"></a><h4>Parameters</h4>
|
1164
1164
|
<div class="informaltable"><table width="100%" border="0">
|
1165
1165
|
<colgroup>
|
1166
1166
|
<col width="150px" class="parameters_name">
|
@@ -1175,7 +1175,7 @@ References <em class="parameter"><code>attrs</code></em>
|
|
1175
1175
|
</tr>
|
1176
1176
|
<tr>
|
1177
1177
|
<td class="parameter_name"><p>attrs</p></td>
|
1178
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, can be <a href="
|
1178
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1179
1179
|
<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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
1180
1180
|
</tr>
|
1181
1181
|
</tbody>
|
@@ -1189,7 +1189,7 @@ References <em class="parameter"><code>attrs</code></em>
|
|
1189
1189
|
pango_layout_get_attributes (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1190
1190
|
<p>Gets the attribute list for the layout, if any.</p>
|
1191
1191
|
<div class="refsect3">
|
1192
|
-
<a name="
|
1192
|
+
<a name="pango-layout-get-attributes.parameters"></a><h4>Parameters</h4>
|
1193
1193
|
<div class="informaltable"><table width="100%" border="0">
|
1194
1194
|
<colgroup>
|
1195
1195
|
<col width="150px" class="parameters_name">
|
@@ -1204,7 +1204,7 @@ pango_layout_get_attributes (<em class="parameter"><code><a class="link" href="p
|
|
1204
1204
|
</table></div>
|
1205
1205
|
</div>
|
1206
1206
|
<div class="refsect3">
|
1207
|
-
<a name="
|
1207
|
+
<a name="pango-layout-get-attributes.returns"></a><h4>Returns</h4>
|
1208
1208
|
<p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. </p>
|
1209
1209
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1210
1210
|
</div>
|
@@ -1219,7 +1219,7 @@ pango_layout_set_font_description (<em class="parameter"><code><a class="link" h
|
|
1219
1219
|
description is set on the layout, the font description from
|
1220
1220
|
the layout's context is used.</p>
|
1221
1221
|
<div class="refsect3">
|
1222
|
-
<a name="
|
1222
|
+
<a name="pango-layout-set-font-description.parameters"></a><h4>Parameters</h4>
|
1223
1223
|
<div class="informaltable"><table width="100%" border="0">
|
1224
1224
|
<colgroup>
|
1225
1225
|
<col width="150px" class="parameters_name">
|
@@ -1234,7 +1234,7 @@ the layout's context is used.</p>
|
|
1234
1234
|
</tr>
|
1235
1235
|
<tr>
|
1236
1236
|
<td class="parameter_name"><p>desc</p></td>
|
1237
|
-
<td class="parameter_description"><p> the new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="
|
1237
|
+
<td class="parameter_description"><p> the new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</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 the
|
1238
1238
|
current font description. </p></td>
|
1239
1239
|
<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>
|
1240
1240
|
</tr>
|
@@ -1249,7 +1249,7 @@ current font description. </p></td>
|
|
1249
1249
|
pango_layout_get_font_description (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1250
1250
|
<p>Gets the font description for the layout, if any.</p>
|
1251
1251
|
<div class="refsect3">
|
1252
|
-
<a name="
|
1252
|
+
<a name="pango-layout-get-font-description.parameters"></a><h4>Parameters</h4>
|
1253
1253
|
<div class="informaltable"><table width="100%" border="0">
|
1254
1254
|
<colgroup>
|
1255
1255
|
<col width="150px" class="parameters_name">
|
@@ -1264,9 +1264,9 @@ pango_layout_get_font_description (<em class="parameter"><code><a class="link" h
|
|
1264
1264
|
</table></div>
|
1265
1265
|
</div>
|
1266
1266
|
<div class="refsect3">
|
1267
|
-
<a name="
|
1267
|
+
<a name="pango-layout-get-font-description.returns"></a><h4>Returns</h4>
|
1268
1268
|
<p> a pointer to the layout's font
|
1269
|
-
description, or <a href="
|
1269
|
+
description, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the font description from the layout's
|
1270
1270
|
context is inherited. This value is owned by the layout and must
|
1271
1271
|
not be modified or freed. </p>
|
1272
1272
|
<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>
|
@@ -1282,7 +1282,7 @@ pango_layout_set_width (<em class="parameter"><code><a class="link" href="pango-
|
|
1282
1282
|
<p>Sets the width to which the lines of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> should wrap or
|
1283
1283
|
ellipsized. The default value is -1: no width set.</p>
|
1284
1284
|
<div class="refsect3">
|
1285
|
-
<a name="
|
1285
|
+
<a name="pango-layout-set-width.parameters"></a><h4>Parameters</h4>
|
1286
1286
|
<div class="informaltable"><table width="100%" border="0">
|
1287
1287
|
<colgroup>
|
1288
1288
|
<col width="150px" class="parameters_name">
|
@@ -1312,7 +1312,7 @@ wrapping or ellipsization should be performed.</p></td>
|
|
1312
1312
|
pango_layout_get_width (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1313
1313
|
<p>Gets the width to which the lines of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> should wrap.</p>
|
1314
1314
|
<div class="refsect3">
|
1315
|
-
<a name="
|
1315
|
+
<a name="pango-layout-get-width.parameters"></a><h4>Parameters</h4>
|
1316
1316
|
<div class="informaltable"><table width="100%" border="0">
|
1317
1317
|
<colgroup>
|
1318
1318
|
<col width="150px" class="parameters_name">
|
@@ -1327,7 +1327,7 @@ pango_layout_get_width (<em class="parameter"><code><a class="link" href="pango-
|
|
1327
1327
|
</table></div>
|
1328
1328
|
</div>
|
1329
1329
|
<div class="refsect3">
|
1330
|
-
<a name="
|
1330
|
+
<a name="pango-layout-get-width.returns"></a><h4>Returns</h4>
|
1331
1331
|
<p> the width in Pango units, or -1 if no width set.</p>
|
1332
1332
|
</div>
|
1333
1333
|
</div>
|
@@ -1363,7 +1363,7 @@ The behavior is undefined if a height other than -1 is set and
|
|
1363
1363
|
ellipsization mode is set to <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>, and may change in the
|
1364
1364
|
future.</p>
|
1365
1365
|
<div class="refsect3">
|
1366
|
-
<a name="
|
1366
|
+
<a name="pango-layout-set-height.parameters"></a><h4>Parameters</h4>
|
1367
1367
|
<div class="informaltable"><table width="100%" border="0">
|
1368
1368
|
<colgroup>
|
1369
1369
|
<col width="150px" class="parameters_name">
|
@@ -1395,7 +1395,7 @@ pango_layout_get_height (<em class="parameter"><code><a class="link" href="pango
|
|
1395
1395
|
<p>Gets the height of layout used for ellipsization. See
|
1396
1396
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" title="pango_layout_set_height ()"><code class="function">pango_layout_set_height()</code></a> for details.</p>
|
1397
1397
|
<div class="refsect3">
|
1398
|
-
<a name="
|
1398
|
+
<a name="pango-layout-get-height.parameters"></a><h4>Parameters</h4>
|
1399
1399
|
<div class="informaltable"><table width="100%" border="0">
|
1400
1400
|
<colgroup>
|
1401
1401
|
<col width="150px" class="parameters_name">
|
@@ -1410,7 +1410,7 @@ pango_layout_get_height (<em class="parameter"><code><a class="link" href="pango
|
|
1410
1410
|
</table></div>
|
1411
1411
|
</div>
|
1412
1412
|
<div class="refsect3">
|
1413
|
-
<a name="
|
1413
|
+
<a name="pango-layout-get-height.returns"></a><h4>Returns</h4>
|
1414
1414
|
<p> the height, in Pango units if positive, or
|
1415
1415
|
number of lines if negative.</p>
|
1416
1416
|
</div>
|
@@ -1426,7 +1426,7 @@ pango_layout_set_wrap (<em class="parameter"><code><a class="link" href="pango-L
|
|
1426
1426
|
is set on the layout with <a class="link" href="pango-Layout-Objects.html#pango-layout-set-width" title="pango_layout_set_width ()"><code class="function">pango_layout_set_width()</code></a>.
|
1427
1427
|
To turn off wrapping, set the width to -1.</p>
|
1428
1428
|
<div class="refsect3">
|
1429
|
-
<a name="
|
1429
|
+
<a name="pango-layout-set-wrap.parameters"></a><h4>Parameters</h4>
|
1430
1430
|
<div class="informaltable"><table width="100%" border="0">
|
1431
1431
|
<colgroup>
|
1432
1432
|
<col width="150px" class="parameters_name">
|
@@ -1457,7 +1457,7 @@ pango_layout_get_wrap (<em class="parameter"><code><a class="link" href="pango-L
|
|
1457
1457
|
<p>Use <a class="link" href="pango-Layout-Objects.html#pango-layout-is-wrapped" title="pango_layout_is_wrapped ()"><code class="function">pango_layout_is_wrapped()</code></a> to query whether any paragraphs
|
1458
1458
|
were actually wrapped.</p>
|
1459
1459
|
<div class="refsect3">
|
1460
|
-
<a name="
|
1460
|
+
<a name="pango-layout-get-wrap.parameters"></a><h4>Parameters</h4>
|
1461
1461
|
<div class="informaltable"><table width="100%" border="0">
|
1462
1462
|
<colgroup>
|
1463
1463
|
<col width="150px" class="parameters_name">
|
@@ -1472,24 +1472,24 @@ were actually wrapped.</p>
|
|
1472
1472
|
</table></div>
|
1473
1473
|
</div>
|
1474
1474
|
<div class="refsect3">
|
1475
|
-
<a name="
|
1475
|
+
<a name="pango-layout-get-wrap.returns"></a><h4>Returns</h4>
|
1476
1476
|
<p> active wrap mode.</p>
|
1477
1477
|
</div>
|
1478
1478
|
</div>
|
1479
1479
|
<hr>
|
1480
1480
|
<div class="refsect2">
|
1481
1481
|
<a name="pango-layout-is-wrapped"></a><h3>pango_layout_is_wrapped ()</h3>
|
1482
|
-
<pre class="programlisting"><a href="
|
1482
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1483
1483
|
pango_layout_is_wrapped (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1484
1484
|
<p>Queries whether the layout had to wrap any paragraphs.</p>
|
1485
|
-
<p>This returns <a href="
|
1485
|
+
<p>This returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a positive width is set on <em class="parameter"><code>layout</code></em>
|
1486
1486
|
,
|
1487
1487
|
ellipsization mode of <em class="parameter"><code>layout</code></em>
|
1488
1488
|
is set to <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>,
|
1489
1489
|
and there are paragraphs exceeding the layout width that have
|
1490
1490
|
to be wrapped.</p>
|
1491
1491
|
<div class="refsect3">
|
1492
|
-
<a name="
|
1492
|
+
<a name="pango-layout-is-wrapped.parameters"></a><h4>Parameters</h4>
|
1493
1493
|
<div class="informaltable"><table width="100%" border="0">
|
1494
1494
|
<colgroup>
|
1495
1495
|
<col width="150px" class="parameters_name">
|
@@ -1504,20 +1504,14 @@ to be wrapped.</p>
|
|
1504
1504
|
</table></div>
|
1505
1505
|
</div>
|
1506
1506
|
<div class="refsect3">
|
1507
|
-
<a name="
|
1508
|
-
<p> <a href="
|
1507
|
+
<a name="pango-layout-is-wrapped.returns"></a><h4>Returns</h4>
|
1508
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any paragraphs had to be wrapped, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
1509
1509
|
otherwise.</p>
|
1510
1510
|
</div>
|
1511
1511
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
1512
1512
|
</div>
|
1513
1513
|
<hr>
|
1514
1514
|
<div class="refsect2">
|
1515
|
-
<a name="PANGO-TYPE-WRAP-MODE:CAPS"></a><h3>PANGO_TYPE_WRAP_MODE</h3>
|
1516
|
-
<pre class="programlisting">#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type ())
|
1517
|
-
</pre>
|
1518
|
-
</div>
|
1519
|
-
<hr>
|
1520
|
-
<div class="refsect2">
|
1521
1515
|
<a name="pango-layout-set-ellipsize"></a><h3>pango_layout_set_ellipsize ()</h3>
|
1522
1516
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1523
1517
|
pango_layout_set_ellipsize (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
@@ -1535,7 +1529,7 @@ each paragraph is ellipsized separately or the entire layout
|
|
1535
1529
|
is ellipsized as a whole depends on the set height of the layout.
|
1536
1530
|
See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" title="pango_layout_set_height ()"><code class="function">pango_layout_set_height()</code></a> for details.</p>
|
1537
1531
|
<div class="refsect3">
|
1538
|
-
<a name="
|
1532
|
+
<a name="pango-layout-set-ellipsize.parameters"></a><h4>Parameters</h4>
|
1539
1533
|
<div class="informaltable"><table width="100%" border="0">
|
1540
1534
|
<colgroup>
|
1541
1535
|
<col width="150px" class="parameters_name">
|
@@ -1568,7 +1562,7 @@ pango_layout_get_ellipsize (<em class="parameter"><code><a class="link" href="pa
|
|
1568
1562
|
.
|
1569
1563
|
See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-ellipsize" title="pango_layout_set_ellipsize ()"><code class="function">pango_layout_set_ellipsize()</code></a></p>
|
1570
1564
|
<div class="refsect3">
|
1571
|
-
<a name="
|
1565
|
+
<a name="pango-layout-get-ellipsize.parameters"></a><h4>Parameters</h4>
|
1572
1566
|
<div class="informaltable"><table width="100%" border="0">
|
1573
1567
|
<colgroup>
|
1574
1568
|
<col width="150px" class="parameters_name">
|
@@ -1583,7 +1577,7 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-ellipsize"
|
|
1583
1577
|
</table></div>
|
1584
1578
|
</div>
|
1585
1579
|
<div class="refsect3">
|
1586
|
-
<a name="
|
1580
|
+
<a name="pango-layout-get-ellipsize.returns"></a><h4>Returns</h4>
|
1587
1581
|
<p> the current ellipsization mode for <em class="parameter"><code>layout</code></em>
|
1588
1582
|
.</p>
|
1589
1583
|
<p>Use <a class="link" href="pango-Layout-Objects.html#pango-layout-is-ellipsized" title="pango_layout_is_ellipsized ()"><code class="function">pango_layout_is_ellipsized()</code></a> to query whether any paragraphs
|
@@ -1594,17 +1588,17 @@ were actually ellipsized.</p>
|
|
1594
1588
|
<hr>
|
1595
1589
|
<div class="refsect2">
|
1596
1590
|
<a name="pango-layout-is-ellipsized"></a><h3>pango_layout_is_ellipsized ()</h3>
|
1597
|
-
<pre class="programlisting"><a href="
|
1591
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1598
1592
|
pango_layout_is_ellipsized (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1599
1593
|
<p>Queries whether the layout had to ellipsize any paragraphs.</p>
|
1600
|
-
<p>This returns <a href="
|
1594
|
+
<p>This returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the ellipsization mode for <em class="parameter"><code>layout</code></em>
|
1601
1595
|
|
1602
1596
|
is not <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>, a positive width is set on <em class="parameter"><code>layout</code></em>
|
1603
1597
|
,
|
1604
1598
|
and there are paragraphs exceeding that width that have to be
|
1605
1599
|
ellipsized.</p>
|
1606
1600
|
<div class="refsect3">
|
1607
|
-
<a name="
|
1601
|
+
<a name="pango-layout-is-ellipsized.parameters"></a><h4>Parameters</h4>
|
1608
1602
|
<div class="informaltable"><table width="100%" border="0">
|
1609
1603
|
<colgroup>
|
1610
1604
|
<col width="150px" class="parameters_name">
|
@@ -1619,20 +1613,14 @@ ellipsized.</p>
|
|
1619
1613
|
</table></div>
|
1620
1614
|
</div>
|
1621
1615
|
<div class="refsect3">
|
1622
|
-
<a name="
|
1623
|
-
<p> <a href="
|
1616
|
+
<a name="pango-layout-is-ellipsized.returns"></a><h4>Returns</h4>
|
1617
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any paragraphs had to be ellipsized, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
1624
1618
|
otherwise.</p>
|
1625
1619
|
</div>
|
1626
1620
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
1627
1621
|
</div>
|
1628
1622
|
<hr>
|
1629
1623
|
<div class="refsect2">
|
1630
|
-
<a name="PANGO-TYPE-ELLIPSIZE-MODE:CAPS"></a><h3>PANGO_TYPE_ELLIPSIZE_MODE</h3>
|
1631
|
-
<pre class="programlisting">#define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type ())
|
1632
|
-
</pre>
|
1633
|
-
</div>
|
1634
|
-
<hr>
|
1635
|
-
<div class="refsect2">
|
1636
1624
|
<a name="pango-layout-set-indent"></a><h3>pango_layout_set_indent ()</h3>
|
1637
1625
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1638
1626
|
pango_layout_set_indent (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
@@ -1646,7 +1634,7 @@ absolute value of <em class="parameter"><code>indent</code></em>
|
|
1646
1634
|
<p>The indent setting is ignored if layout alignment is set to
|
1647
1635
|
<a class="link" href="pango-Layout-Objects.html#PANGO-ALIGN-CENTER:CAPS"><code class="literal">PANGO_ALIGN_CENTER</code></a>.</p>
|
1648
1636
|
<div class="refsect3">
|
1649
|
-
<a name="
|
1637
|
+
<a name="pango-layout-set-indent.parameters"></a><h4>Parameters</h4>
|
1650
1638
|
<div class="informaltable"><table width="100%" border="0">
|
1651
1639
|
<colgroup>
|
1652
1640
|
<col width="150px" class="parameters_name">
|
@@ -1676,7 +1664,7 @@ pango_layout_get_indent (<em class="parameter"><code><a class="link" href="pango
|
|
1676
1664
|
<p>Gets the paragraph indent width in Pango units. A negative value
|
1677
1665
|
indicates a hanging indentation.</p>
|
1678
1666
|
<div class="refsect3">
|
1679
|
-
<a name="
|
1667
|
+
<a name="pango-layout-get-indent.parameters"></a><h4>Parameters</h4>
|
1680
1668
|
<div class="informaltable"><table width="100%" border="0">
|
1681
1669
|
<colgroup>
|
1682
1670
|
<col width="150px" class="parameters_name">
|
@@ -1691,7 +1679,7 @@ indicates a hanging indentation.</p>
|
|
1691
1679
|
</table></div>
|
1692
1680
|
</div>
|
1693
1681
|
<div class="refsect3">
|
1694
|
-
<a name="
|
1682
|
+
<a name="pango-layout-get-indent.returns"></a><h4>Returns</h4>
|
1695
1683
|
<p> the indent in Pango units.</p>
|
1696
1684
|
</div>
|
1697
1685
|
</div>
|
@@ -1702,7 +1690,7 @@ indicates a hanging indentation.</p>
|
|
1702
1690
|
pango_layout_get_spacing (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1703
1691
|
<p>Gets the amount of spacing between the lines of the layout.</p>
|
1704
1692
|
<div class="refsect3">
|
1705
|
-
<a name="
|
1693
|
+
<a name="pango-layout-get-spacing.parameters"></a><h4>Parameters</h4>
|
1706
1694
|
<div class="informaltable"><table width="100%" border="0">
|
1707
1695
|
<colgroup>
|
1708
1696
|
<col width="150px" class="parameters_name">
|
@@ -1717,7 +1705,7 @@ pango_layout_get_spacing (<em class="parameter"><code><a class="link" href="pang
|
|
1717
1705
|
</table></div>
|
1718
1706
|
</div>
|
1719
1707
|
<div class="refsect3">
|
1720
|
-
<a name="
|
1708
|
+
<a name="pango-layout-get-spacing.returns"></a><h4>Returns</h4>
|
1721
1709
|
<p> the spacing in Pango units.</p>
|
1722
1710
|
</div>
|
1723
1711
|
</div>
|
@@ -1730,7 +1718,7 @@ pango_layout_set_spacing (<em class="parameter"><code><a class="link" href="pang
|
|
1730
1718
|
<p>Sets the amount of spacing in Pango unit between the lines of the
|
1731
1719
|
layout.</p>
|
1732
1720
|
<div class="refsect3">
|
1733
|
-
<a name="
|
1721
|
+
<a name="pango-layout-set-spacing.parameters"></a><h4>Parameters</h4>
|
1734
1722
|
<div class="informaltable"><table width="100%" border="0">
|
1735
1723
|
<colgroup>
|
1736
1724
|
<col width="150px" class="parameters_name">
|
@@ -1757,7 +1745,7 @@ layout.</p>
|
|
1757
1745
|
<a name="pango-layout-set-justify"></a><h3>pango_layout_set_justify ()</h3>
|
1758
1746
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1759
1747
|
pango_layout_set_justify (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1760
|
-
<em class="parameter"><code><a href="
|
1748
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> justify</code></em>);</pre>
|
1761
1749
|
<p>Sets whether each complete line should be stretched to
|
1762
1750
|
fill the entire width of the layout. This stretching is typically
|
1763
1751
|
done by adding whitespace, but for some scripts (such as Arabic),
|
@@ -1766,7 +1754,7 @@ the characters.</p>
|
|
1766
1754
|
<p>Note that this setting is not implemented and so is ignored in Pango
|
1767
1755
|
older than 1.18.</p>
|
1768
1756
|
<div class="refsect3">
|
1769
|
-
<a name="
|
1757
|
+
<a name="pango-layout-set-justify.parameters"></a><h4>Parameters</h4>
|
1770
1758
|
<div class="informaltable"><table width="100%" border="0">
|
1771
1759
|
<colgroup>
|
1772
1760
|
<col width="150px" class="parameters_name">
|
@@ -1791,12 +1779,12 @@ older than 1.18.</p>
|
|
1791
1779
|
<hr>
|
1792
1780
|
<div class="refsect2">
|
1793
1781
|
<a name="pango-layout-get-justify"></a><h3>pango_layout_get_justify ()</h3>
|
1794
|
-
<pre class="programlisting"><a href="
|
1782
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1795
1783
|
pango_layout_get_justify (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1796
1784
|
<p>Gets whether each complete line should be stretched to fill the entire
|
1797
1785
|
width of the layout.</p>
|
1798
1786
|
<div class="refsect3">
|
1799
|
-
<a name="
|
1787
|
+
<a name="pango-layout-get-justify.parameters"></a><h4>Parameters</h4>
|
1800
1788
|
<div class="informaltable"><table width="100%" border="0">
|
1801
1789
|
<colgroup>
|
1802
1790
|
<col width="150px" class="parameters_name">
|
@@ -1811,7 +1799,7 @@ width of the layout.</p>
|
|
1811
1799
|
</table></div>
|
1812
1800
|
</div>
|
1813
1801
|
<div class="refsect3">
|
1814
|
-
<a name="
|
1802
|
+
<a name="pango-layout-get-justify.returns"></a><h4>Returns</h4>
|
1815
1803
|
<p> the justify.</p>
|
1816
1804
|
</div>
|
1817
1805
|
</div>
|
@@ -1820,7 +1808,7 @@ width of the layout.</p>
|
|
1820
1808
|
<a name="pango-layout-set-auto-dir"></a><h3>pango_layout_set_auto_dir ()</h3>
|
1821
1809
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1822
1810
|
pango_layout_set_auto_dir (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1823
|
-
<em class="parameter"><code><a href="
|
1811
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_dir</code></em>);</pre>
|
1824
1812
|
<p>Sets whether to calculate the bidirectional base direction
|
1825
1813
|
for the layout according to the contents of the layout;
|
1826
1814
|
when this flag is on (the default), then paragraphs in
|
@@ -1830,14 +1818,14 @@ when this flag is on (the default), then paragraphs in
|
|
1830
1818
|
layout, paragraphs with letters from other scripts will
|
1831
1819
|
have left-to-right layout. Paragraphs with only neutral
|
1832
1820
|
characters get their direction from the surrounding paragraphs.</p>
|
1833
|
-
<p>When <a href="
|
1821
|
+
<p>When <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the choice between left-to-right and
|
1834
1822
|
right-to-left layout is done according to the base direction
|
1835
1823
|
of the layout's <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. (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>).</p>
|
1836
1824
|
<p>When the auto-computed direction of a paragraph differs from the
|
1837
1825
|
base direction of the context, the interpretation of
|
1838
1826
|
<a class="link" href="pango-Layout-Objects.html#PANGO-ALIGN-LEFT:CAPS"><code class="literal">PANGO_ALIGN_LEFT</code></a> and <a class="link" href="pango-Layout-Objects.html#PANGO-ALIGN-RIGHT:CAPS"><code class="literal">PANGO_ALIGN_RIGHT</code></a> are swapped.</p>
|
1839
1827
|
<div class="refsect3">
|
1840
|
-
<a name="
|
1828
|
+
<a name="pango-layout-set-auto-dir.parameters"></a><h4>Parameters</h4>
|
1841
1829
|
<div class="informaltable"><table width="100%" border="0">
|
1842
1830
|
<colgroup>
|
1843
1831
|
<col width="150px" class="parameters_name">
|
@@ -1852,7 +1840,7 @@ base direction of the context, the interpretation of
|
|
1852
1840
|
</tr>
|
1853
1841
|
<tr>
|
1854
1842
|
<td class="parameter_name"><p>auto_dir</p></td>
|
1855
|
-
<td class="parameter_description"><p>if <a href="
|
1843
|
+
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, compute the bidirectional base direction
|
1856
1844
|
from the layout's contents.</p></td>
|
1857
1845
|
<td class="parameter_annotations"> </td>
|
1858
1846
|
</tr>
|
@@ -1864,13 +1852,13 @@ from the layout's contents.</p></td>
|
|
1864
1852
|
<hr>
|
1865
1853
|
<div class="refsect2">
|
1866
1854
|
<a name="pango-layout-get-auto-dir"></a><h3>pango_layout_get_auto_dir ()</h3>
|
1867
|
-
<pre class="programlisting"><a href="
|
1855
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1868
1856
|
pango_layout_get_auto_dir (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1869
1857
|
<p>Gets whether to calculate the bidirectional base direction
|
1870
1858
|
for the layout according to the contents of the layout.
|
1871
1859
|
See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" title="pango_layout_set_auto_dir ()"><code class="function">pango_layout_set_auto_dir()</code></a>.</p>
|
1872
1860
|
<div class="refsect3">
|
1873
|
-
<a name="
|
1861
|
+
<a name="pango-layout-get-auto-dir.parameters"></a><h4>Parameters</h4>
|
1874
1862
|
<div class="informaltable"><table width="100%" border="0">
|
1875
1863
|
<colgroup>
|
1876
1864
|
<col width="150px" class="parameters_name">
|
@@ -1885,9 +1873,9 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" t
|
|
1885
1873
|
</table></div>
|
1886
1874
|
</div>
|
1887
1875
|
<div class="refsect3">
|
1888
|
-
<a name="
|
1889
|
-
<p> <a href="
|
1890
|
-
is computed from the layout's contents, <a href="
|
1876
|
+
<a name="pango-layout-get-auto-dir.returns"></a><h4>Returns</h4>
|
1877
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the bidirectional base direction
|
1878
|
+
is computed from the layout's contents, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1891
1879
|
</div>
|
1892
1880
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
1893
1881
|
</div>
|
@@ -1900,7 +1888,7 @@ pango_layout_set_alignment (<em class="parameter"><code><a class="link" href="pa
|
|
1900
1888
|
<p>Sets the alignment for the layout: how partial lines are
|
1901
1889
|
positioned within the horizontal space available.</p>
|
1902
1890
|
<div class="refsect3">
|
1903
|
-
<a name="
|
1891
|
+
<a name="pango-layout-set-alignment.parameters"></a><h4>Parameters</h4>
|
1904
1892
|
<div class="informaltable"><table width="100%" border="0">
|
1905
1893
|
<colgroup>
|
1906
1894
|
<col width="150px" class="parameters_name">
|
@@ -1930,7 +1918,7 @@ pango_layout_get_alignment (<em class="parameter"><code><a class="link" href="pa
|
|
1930
1918
|
<p>Gets the alignment for the layout: how partial lines are
|
1931
1919
|
positioned within the horizontal space available.</p>
|
1932
1920
|
<div class="refsect3">
|
1933
|
-
<a name="
|
1921
|
+
<a name="pango-layout-get-alignment.parameters"></a><h4>Parameters</h4>
|
1934
1922
|
<div class="informaltable"><table width="100%" border="0">
|
1935
1923
|
<colgroup>
|
1936
1924
|
<col width="150px" class="parameters_name">
|
@@ -1945,7 +1933,7 @@ positioned within the horizontal space available.</p>
|
|
1945
1933
|
</table></div>
|
1946
1934
|
</div>
|
1947
1935
|
<div class="refsect3">
|
1948
|
-
<a name="
|
1936
|
+
<a name="pango-layout-get-alignment.returns"></a><h4>Returns</h4>
|
1949
1937
|
<p> the alignment.</p>
|
1950
1938
|
</div>
|
1951
1939
|
</div>
|
@@ -1958,13 +1946,13 @@ pango_layout_set_tabs (<em class="parameter"><code><a class="link" href="pango-L
|
|
1958
1946
|
<p>Sets the tabs to use for <em class="parameter"><code>layout</code></em>
|
1959
1947
|
, overriding the default tabs
|
1960
1948
|
(by default, tabs are every 8 spaces). If <em class="parameter"><code>tabs</code></em>
|
1961
|
-
is <a href="
|
1949
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default
|
1962
1950
|
tabs are reinstated. <em class="parameter"><code>tabs</code></em>
|
1963
1951
|
is copied into the layout; you must
|
1964
1952
|
free your copy of <em class="parameter"><code>tabs</code></em>
|
1965
1953
|
yourself.</p>
|
1966
1954
|
<div class="refsect3">
|
1967
|
-
<a name="
|
1955
|
+
<a name="pango-layout-set-tabs.parameters"></a><h4>Parameters</h4>
|
1968
1956
|
<div class="informaltable"><table width="100%" border="0">
|
1969
1957
|
<colgroup>
|
1970
1958
|
<col width="150px" class="parameters_name">
|
@@ -1979,7 +1967,7 @@ free your copy of <em class="parameter"><code>tabs</code></em>
|
|
1979
1967
|
</tr>
|
1980
1968
|
<tr>
|
1981
1969
|
<td class="parameter_name"><p>tabs</p></td>
|
1982
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, or <a href="
|
1970
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1983
1971
|
<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>
|
1984
1972
|
</tr>
|
1985
1973
|
</tbody>
|
@@ -1993,10 +1981,10 @@ free your copy of <em class="parameter"><code>tabs</code></em>
|
|
1993
1981
|
pango_layout_get_tabs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1994
1982
|
<p>Gets the current <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> used by this layout. If no
|
1995
1983
|
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> has been set, then the default tabs are in use
|
1996
|
-
and <a href="
|
1984
|
+
and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned. Default tabs are every 8 spaces.
|
1997
1985
|
The return value should be freed with <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" title="pango_tab_array_free ()"><code class="function">pango_tab_array_free()</code></a>.</p>
|
1998
1986
|
<div class="refsect3">
|
1999
|
-
<a name="
|
1987
|
+
<a name="pango-layout-get-tabs.parameters"></a><h4>Parameters</h4>
|
2000
1988
|
<div class="informaltable"><table width="100%" border="0">
|
2001
1989
|
<colgroup>
|
2002
1990
|
<col width="150px" class="parameters_name">
|
@@ -2011,9 +1999,9 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
2011
1999
|
</table></div>
|
2012
2000
|
</div>
|
2013
2001
|
<div class="refsect3">
|
2014
|
-
<a name="
|
2002
|
+
<a name="pango-layout-get-tabs.returns"></a><h4>Returns</h4>
|
2015
2003
|
<p> a copy of the tabs for this layout, or
|
2016
|
-
<a href="
|
2004
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2017
2005
|
<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>
|
2018
2006
|
</div>
|
2019
2007
|
</div>
|
@@ -2023,14 +2011,14 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
2023
2011
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2024
2012
|
pango_layout_set_single_paragraph_mode
|
2025
2013
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2026
|
-
<em class="parameter"><code><a href="
|
2014
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
2027
2015
|
<p>If <em class="parameter"><code>setting</code></em>
|
2028
|
-
is <a href="
|
2016
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, do not treat newlines and similar characters
|
2029
2017
|
as paragraph separators; instead, keep all text in a single paragraph,
|
2030
2018
|
and display a glyph for paragraph separator characters. Used when
|
2031
2019
|
you want to allow editing of newlines on a single text line.</p>
|
2032
2020
|
<div class="refsect3">
|
2033
|
-
<a name="
|
2021
|
+
<a name="pango-layout-set-single-paragraph-mode.parameters"></a><h4>Parameters</h4>
|
2034
2022
|
<div class="informaltable"><table width="100%" border="0">
|
2035
2023
|
<colgroup>
|
2036
2024
|
<col width="150px" class="parameters_name">
|
@@ -2055,12 +2043,12 @@ you want to allow editing of newlines on a single text line.</p>
|
|
2055
2043
|
<hr>
|
2056
2044
|
<div class="refsect2">
|
2057
2045
|
<a name="pango-layout-get-single-paragraph-mode"></a><h3>pango_layout_get_single_paragraph_mode ()</h3>
|
2058
|
-
<pre class="programlisting"><a href="
|
2046
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2059
2047
|
pango_layout_get_single_paragraph_mode
|
2060
2048
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2061
2049
|
<p>Obtains the value set by <a class="link" href="pango-Layout-Objects.html#pango-layout-set-single-paragraph-mode" title="pango_layout_set_single_paragraph_mode ()"><code class="function">pango_layout_set_single_paragraph_mode()</code></a>.</p>
|
2062
2050
|
<div class="refsect3">
|
2063
|
-
<a name="
|
2051
|
+
<a name="pango-layout-get-single-paragraph-mode.parameters"></a><h4>Parameters</h4>
|
2064
2052
|
<div class="informaltable"><table width="100%" border="0">
|
2065
2053
|
<colgroup>
|
2066
2054
|
<col width="150px" class="parameters_name">
|
@@ -2075,19 +2063,13 @@ pango_layout_get_single_paragraph_mode
|
|
2075
2063
|
</table></div>
|
2076
2064
|
</div>
|
2077
2065
|
<div class="refsect3">
|
2078
|
-
<a name="
|
2079
|
-
<p> <a href="
|
2080
|
-
paragraph separator characters, <a href="
|
2066
|
+
<a name="pango-layout-get-single-paragraph-mode.returns"></a><h4>Returns</h4>
|
2067
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout does not break paragraphs at
|
2068
|
+
paragraph separator characters, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2081
2069
|
</div>
|
2082
2070
|
</div>
|
2083
2071
|
<hr>
|
2084
2072
|
<div class="refsect2">
|
2085
|
-
<a name="PANGO-TYPE-ALIGNMENT:CAPS"></a><h3>PANGO_TYPE_ALIGNMENT</h3>
|
2086
|
-
<pre class="programlisting">#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type ())
|
2087
|
-
</pre>
|
2088
|
-
</div>
|
2089
|
-
<hr>
|
2090
|
-
<div class="refsect2">
|
2091
2073
|
<a name="pango-layout-get-unknown-glyphs-count"></a><h3>pango_layout_get_unknown_glyphs_count ()</h3>
|
2092
2074
|
<pre class="programlisting"><span class="returnvalue">int</span>
|
2093
2075
|
pango_layout_get_unknown_glyphs_count (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
@@ -2100,7 +2082,7 @@ available to render all characters in a certain string, or when
|
|
2100
2082
|
used in combination with <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-FALLBACK:CAPS"><code class="literal">PANGO_ATTR_FALLBACK</code></a>, to check if a
|
2101
2083
|
certain font supports all the characters in the string.</p>
|
2102
2084
|
<div class="refsect3">
|
2103
|
-
<a name="
|
2085
|
+
<a name="pango-layout-get-unknown-glyphs-count.parameters"></a><h4>Parameters</h4>
|
2104
2086
|
<div class="informaltable"><table width="100%" border="0">
|
2105
2087
|
<colgroup>
|
2106
2088
|
<col width="150px" class="parameters_name">
|
@@ -2115,7 +2097,7 @@ certain font supports all the characters in the string.</p>
|
|
2115
2097
|
</table></div>
|
2116
2098
|
</div>
|
2117
2099
|
<div class="refsect3">
|
2118
|
-
<a name="
|
2100
|
+
<a name="pango-layout-get-unknown-glyphs-count.returns"></a><h4>Returns</h4>
|
2119
2101
|
<p> The number of unknown glyphs in <em class="parameter"><code>layout</code></em>
|
2120
2102
|
.</p>
|
2121
2103
|
</div>
|
@@ -2127,12 +2109,12 @@ certain font supports all the characters in the string.</p>
|
|
2127
2109
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2128
2110
|
pango_layout_get_log_attrs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2129
2111
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> **attrs</code></em>,
|
2130
|
-
<em class="parameter"><code><a href="
|
2112
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);</pre>
|
2131
2113
|
<p>Retrieves an array of logical attributes for each character in
|
2132
2114
|
the <em class="parameter"><code>layout</code></em>
|
2133
2115
|
.</p>
|
2134
2116
|
<div class="refsect3">
|
2135
|
-
<a name="
|
2117
|
+
<a name="pango-layout-get-log-attrs.parameters"></a><h4>Parameters</h4>
|
2136
2118
|
<div class="informaltable"><table width="100%" border="0">
|
2137
2119
|
<colgroup>
|
2138
2120
|
<col width="150px" class="parameters_name">
|
@@ -2148,7 +2130,7 @@ the <em class="parameter"><code>layout</code></em>
|
|
2148
2130
|
<tr>
|
2149
2131
|
<td class="parameter_name"><p>attrs</p></td>
|
2150
2132
|
<td class="parameter_description"><p> location to store a pointer to an array of logical attributes
|
2151
|
-
This value must be freed with <a href="
|
2133
|
+
This value must be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
2152
2134
|
<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_attrs][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
|
2153
2135
|
</tr>
|
2154
2136
|
<tr>
|
@@ -2169,7 +2151,7 @@ and the position after the last character.). </p></td>
|
|
2169
2151
|
<a name="pango-layout-get-log-attrs-readonly"></a><h3>pango_layout_get_log_attrs_readonly ()</h3>
|
2170
2152
|
<pre class="programlisting">const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="returnvalue">PangoLogAttr</span></a> *
|
2171
2153
|
pango_layout_get_log_attrs_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2172
|
-
<em class="parameter"><code><a href="
|
2154
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);</pre>
|
2173
2155
|
<p>Retrieves an array of logical attributes for each character in
|
2174
2156
|
the <em class="parameter"><code>layout</code></em>
|
2175
2157
|
.</p>
|
@@ -2183,7 +2165,7 @@ than the total number of characters in the layout, since there
|
|
2183
2165
|
need to be attributes corresponding to both the position before
|
2184
2166
|
the first character and the position after the last character.</p>
|
2185
2167
|
<div class="refsect3">
|
2186
|
-
<a name="
|
2168
|
+
<a name="pango-layout-get-log-attrs-readonly.parameters"></a><h4>Parameters</h4>
|
2187
2169
|
<div class="informaltable"><table width="100%" border="0">
|
2188
2170
|
<colgroup>
|
2189
2171
|
<col width="150px" class="parameters_name">
|
@@ -2206,7 +2188,7 @@ the array. </p></td>
|
|
2206
2188
|
</table></div>
|
2207
2189
|
</div>
|
2208
2190
|
<div class="refsect3">
|
2209
|
-
<a name="
|
2191
|
+
<a name="pango-layout-get-log-attrs-readonly.returns"></a><h4>Returns</h4>
|
2210
2192
|
<p> an array of logical attributes. </p>
|
2211
2193
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_attrs]</span></p>
|
2212
2194
|
</div>
|
@@ -2226,7 +2208,7 @@ edge of the grapheme and <code class="literal">pos->x + pos->width</code>
|
|
2226
2208
|
edge of the grapheme. If the directionality of the grapheme is right-to-left,
|
2227
2209
|
then <code class="literal">pos->width</code> will be negative.</p>
|
2228
2210
|
<div class="refsect3">
|
2229
|
-
<a name="
|
2211
|
+
<a name="pango-layout-index-to-pos.parameters"></a><h4>Parameters</h4>
|
2230
2212
|
<div class="informaltable"><table width="100%" border="0">
|
2231
2213
|
<colgroup>
|
2232
2214
|
<col width="150px" class="parameters_name">
|
@@ -2260,7 +2242,7 @@ then <code class="literal">pos->width</code> will be negative.</p>
|
|
2260
2242
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2261
2243
|
pango_layout_index_to_line_x (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2262
2244
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
2263
|
-
<em class="parameter"><code><a href="
|
2245
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
|
2264
2246
|
<em class="parameter"><code><span class="type">int</span> *line</code></em>,
|
2265
2247
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
2266
2248
|
<p>Converts from byte <em class="parameter"><code>index_</code></em>
|
@@ -2268,7 +2250,7 @@ pango_layout_index_to_line_x (<em class="parameter"><code><a class="link" href="
|
|
2268
2250
|
to line and X position.
|
2269
2251
|
(X position is measured from the left edge of the line)</p>
|
2270
2252
|
<div class="refsect3">
|
2271
|
-
<a name="
|
2253
|
+
<a name="pango-layout-index-to-line-x.parameters"></a><h4>Parameters</h4>
|
2272
2254
|
<div class="informaltable"><table width="100%" border="0">
|
2273
2255
|
<colgroup>
|
2274
2256
|
<col width="150px" class="parameters_name">
|
@@ -2296,13 +2278,13 @@ the leading of the grapheme.</p></td>
|
|
2296
2278
|
<tr>
|
2297
2279
|
<td class="parameter_name"><p>line</p></td>
|
2298
2280
|
<td class="parameter_description"><p> location to store resulting line index. (which will
|
2299
|
-
between 0 and pango_layout_get_line_count(layout) - 1), or <a href="
|
2281
|
+
between 0 and pango_layout_get_line_count(layout) - 1), or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2300
2282
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2301
2283
|
</tr>
|
2302
2284
|
<tr>
|
2303
2285
|
<td class="parameter_name"><p>x_pos</p></td>
|
2304
2286
|
<td class="parameter_description"><p> location to store resulting position within line
|
2305
|
-
(<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> units per device unit), or <a href="
|
2287
|
+
(<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> units per device unit), or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2306
2288
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2307
2289
|
</tr>
|
2308
2290
|
</tbody>
|
@@ -2312,7 +2294,7 @@ between 0 and pango_layout_get_line_count(layout) - 1), or <a href="/home/vagran
|
|
2312
2294
|
<hr>
|
2313
2295
|
<div class="refsect2">
|
2314
2296
|
<a name="pango-layout-xy-to-index"></a><h3>pango_layout_xy_to_index ()</h3>
|
2315
|
-
<pre class="programlisting"><a href="
|
2297
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2316
2298
|
pango_layout_xy_to_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2317
2299
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
2318
2300
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
@@ -2325,9 +2307,9 @@ Y position is not inside the layout, the closest position is chosen
|
|
2325
2307
|
X position is not within the layout, then the start or the
|
2326
2308
|
end of the line is chosen as described for <a class="link" href="pango-Layout-Objects.html#pango-layout-line-x-to-index" title="pango_layout_line_x_to_index ()"><code class="function">pango_layout_line_x_to_index()</code></a>.
|
2327
2309
|
If either the X or Y positions were not inside the layout, then the
|
2328
|
-
function returns <a href="
|
2310
|
+
function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>; on an exact hit, it returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
2329
2311
|
<div class="refsect3">
|
2330
|
-
<a name="
|
2312
|
+
<a name="pango-layout-xy-to-index.parameters"></a><h4>Parameters</h4>
|
2331
2313
|
<div class="informaltable"><table width="100%" border="0">
|
2332
2314
|
<colgroup>
|
2333
2315
|
<col width="150px" class="parameters_name">
|
@@ -2369,8 +2351,8 @@ grapheme. 0 represents the leading edge of the grapheme. </p></td>
|
|
2369
2351
|
</table></div>
|
2370
2352
|
</div>
|
2371
2353
|
<div class="refsect3">
|
2372
|
-
<a name="
|
2373
|
-
<p> <a href="
|
2354
|
+
<a name="pango-layout-xy-to-index.returns"></a><h4>Returns</h4>
|
2355
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the coordinates were inside text, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2374
2356
|
</div>
|
2375
2357
|
</div>
|
2376
2358
|
<hr>
|
@@ -2390,7 +2372,7 @@ layout are inserted. The weak cursor location is the location
|
|
2390
2372
|
where characters of the directionality opposite to the base
|
2391
2373
|
direction of the layout are inserted.</p>
|
2392
2374
|
<div class="refsect3">
|
2393
|
-
<a name="
|
2375
|
+
<a name="pango-layout-get-cursor-pos.parameters"></a><h4>Parameters</h4>
|
2394
2376
|
<div class="informaltable"><table width="100%" border="0">
|
2395
2377
|
<colgroup>
|
2396
2378
|
<col width="150px" class="parameters_name">
|
@@ -2411,12 +2393,12 @@ direction of the layout are inserted.</p>
|
|
2411
2393
|
<tr>
|
2412
2394
|
<td class="parameter_name"><p>strong_pos</p></td>
|
2413
2395
|
<td class="parameter_description"><p> location to store the strong cursor position
|
2414
|
-
(may be <a href="
|
2396
|
+
(may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
|
2415
2397
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2416
2398
|
</tr>
|
2417
2399
|
<tr>
|
2418
2400
|
<td class="parameter_name"><p>weak_pos</p></td>
|
2419
|
-
<td class="parameter_description"><p> location to store the weak cursor position (may be <a href="
|
2401
|
+
<td class="parameter_description"><p> location to store the weak cursor position (may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
|
2420
2402
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2421
2403
|
</tr>
|
2422
2404
|
</tbody>
|
@@ -2428,7 +2410,7 @@ direction of the layout are inserted.</p>
|
|
2428
2410
|
<a name="pango-layout-move-cursor-visually"></a><h3>pango_layout_move_cursor_visually ()</h3>
|
2429
2411
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2430
2412
|
pango_layout_move_cursor_visually (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2431
|
-
<em class="parameter"><code><a href="
|
2413
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strong</code></em>,
|
2432
2414
|
<em class="parameter"><code><span class="type">int</span> old_index</code></em>,
|
2433
2415
|
<em class="parameter"><code><span class="type">int</span> old_trailing</code></em>,
|
2434
2416
|
<em class="parameter"><code><span class="type">int</span> direction</code></em>,
|
@@ -2451,7 +2433,7 @@ single call to <a class="link" href="pango-Layout-Objects.html#pango-layout-move
|
|
2451
2433
|
cursor over multiple characters when multiple characters combine
|
2452
2434
|
to form a single grapheme.</p>
|
2453
2435
|
<div class="refsect3">
|
2454
|
-
<a name="
|
2436
|
+
<a name="pango-layout-move-cursor-visually.parameters"></a><h4>Parameters</h4>
|
2455
2437
|
<div class="informaltable"><table width="100%" border="0">
|
2456
2438
|
<colgroup>
|
2457
2439
|
<col width="150px" class="parameters_name">
|
@@ -2494,7 +2476,7 @@ value indicates motion to the left.</p></td>
|
|
2494
2476
|
<td class="parameter_name"><p>new_index</p></td>
|
2495
2477
|
<td class="parameter_description"><p> location to store the new cursor byte index. A value of -1
|
2496
2478
|
indicates that the cursor has been moved off the beginning
|
2497
|
-
of the layout. A value of <a href="
|
2479
|
+
of the layout. A value of <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> indicates that
|
2498
2480
|
the cursor has been moved off the end of the layout. </p></td>
|
2499
2481
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
2500
2482
|
</tr>
|
@@ -2532,7 +2514,7 @@ a set width.</p>
|
|
2532
2514
|
<p>The extents are given in layout coordinates and in Pango units; layout
|
2533
2515
|
coordinates begin at the top left corner of the layout.</p>
|
2534
2516
|
<div class="refsect3">
|
2535
|
-
<a name="
|
2517
|
+
<a name="pango-layout-get-extents.parameters"></a><h4>Parameters</h4>
|
2536
2518
|
<div class="informaltable"><table width="100%" border="0">
|
2537
2519
|
<colgroup>
|
2538
2520
|
<col width="150px" class="parameters_name">
|
@@ -2548,14 +2530,14 @@ coordinates begin at the top left corner of the layout.</p>
|
|
2548
2530
|
<tr>
|
2549
2531
|
<td class="parameter_name"><p>ink_rect</p></td>
|
2550
2532
|
<td class="parameter_description"><p> rectangle used to store the extents of the
|
2551
|
-
layout as drawn or <a href="
|
2533
|
+
layout as drawn or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is
|
2552
2534
|
not needed. </p></td>
|
2553
2535
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2554
2536
|
</tr>
|
2555
2537
|
<tr>
|
2556
2538
|
<td class="parameter_name"><p>logical_rect</p></td>
|
2557
2539
|
<td class="parameter_description"><p>rectangle used to store the logical
|
2558
|
-
extents of the layout or <a href="
|
2540
|
+
extents of the layout or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the
|
2559
2541
|
result is not needed. </p></td>
|
2560
2542
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2561
2543
|
</tr>
|
@@ -2579,7 +2561,7 @@ two <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" titl
|
|
2579
2561
|
such that the rounded rectangles fully contain the unrounded one (that is,
|
2580
2562
|
passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a>).</p>
|
2581
2563
|
<div class="refsect3">
|
2582
|
-
<a name="
|
2564
|
+
<a name="pango-layout-get-pixel-extents.parameters"></a><h4>Parameters</h4>
|
2583
2565
|
<div class="informaltable"><table width="100%" border="0">
|
2584
2566
|
<colgroup>
|
2585
2567
|
<col width="150px" class="parameters_name">
|
@@ -2595,14 +2577,14 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
2595
2577
|
<tr>
|
2596
2578
|
<td class="parameter_name"><p>ink_rect</p></td>
|
2597
2579
|
<td class="parameter_description"><p> rectangle used to store the extents of the
|
2598
|
-
layout as drawn or <a href="
|
2580
|
+
layout as drawn or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is
|
2599
2581
|
not needed. </p></td>
|
2600
2582
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2601
2583
|
</tr>
|
2602
2584
|
<tr>
|
2603
2585
|
<td class="parameter_name"><p>logical_rect</p></td>
|
2604
2586
|
<td class="parameter_description"><p> rectangle used to store the logical
|
2605
|
-
extents of the layout or <a href="
|
2587
|
+
extents of the layout or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the
|
2606
2588
|
result is not needed. </p></td>
|
2607
2589
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2608
2590
|
</tr>
|
@@ -2621,7 +2603,7 @@ pango_layout_get_size (<em class="parameter"><code><a class="link" href="pango-L
|
|
2621
2603
|
in Pango units (device units scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>). This
|
2622
2604
|
is simply a convenience function around <a class="link" href="pango-Layout-Objects.html#pango-layout-get-extents" title="pango_layout_get_extents ()"><code class="function">pango_layout_get_extents()</code></a>.</p>
|
2623
2605
|
<div class="refsect3">
|
2624
|
-
<a name="
|
2606
|
+
<a name="pango-layout-get-size.parameters"></a><h4>Parameters</h4>
|
2625
2607
|
<div class="informaltable"><table width="100%" border="0">
|
2626
2608
|
<colgroup>
|
2627
2609
|
<col width="150px" class="parameters_name">
|
@@ -2636,12 +2618,12 @@ is simply a convenience function around <a class="link" href="pango-Layout-Objec
|
|
2636
2618
|
</tr>
|
2637
2619
|
<tr>
|
2638
2620
|
<td class="parameter_name"><p>width</p></td>
|
2639
|
-
<td class="parameter_description"><p> location to store the logical width, or <a href="
|
2621
|
+
<td class="parameter_description"><p> location to store the logical width, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2640
2622
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2641
2623
|
</tr>
|
2642
2624
|
<tr>
|
2643
2625
|
<td class="parameter_name"><p>height</p></td>
|
2644
|
-
<td class="parameter_description"><p> location to store the logical height, or <a href="
|
2626
|
+
<td class="parameter_description"><p> location to store the logical height, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2645
2627
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2646
2628
|
</tr>
|
2647
2629
|
</tbody>
|
@@ -2661,7 +2643,7 @@ and height scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:
|
|
2661
2643
|
is simply a convenience function around
|
2662
2644
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-pixel-extents" title="pango_layout_get_pixel_extents ()"><code class="function">pango_layout_get_pixel_extents()</code></a>.</p>
|
2663
2645
|
<div class="refsect3">
|
2664
|
-
<a name="
|
2646
|
+
<a name="pango-layout-get-pixel-size.parameters"></a><h4>Parameters</h4>
|
2665
2647
|
<div class="informaltable"><table width="100%" border="0">
|
2666
2648
|
<colgroup>
|
2667
2649
|
<col width="150px" class="parameters_name">
|
@@ -2676,12 +2658,12 @@ is simply a convenience function around
|
|
2676
2658
|
</tr>
|
2677
2659
|
<tr>
|
2678
2660
|
<td class="parameter_name"><p>width</p></td>
|
2679
|
-
<td class="parameter_description"><p> location to store the logical width, or <a href="
|
2661
|
+
<td class="parameter_description"><p> location to store the logical width, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2680
2662
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2681
2663
|
</tr>
|
2682
2664
|
<tr>
|
2683
2665
|
<td class="parameter_name"><p>height</p></td>
|
2684
|
-
<td class="parameter_description"><p> location to store the logical height, or <a href="
|
2666
|
+
<td class="parameter_description"><p> location to store the logical height, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2685
2667
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2686
2668
|
</tr>
|
2687
2669
|
</tbody>
|
@@ -2696,7 +2678,7 @@ pango_layout_get_baseline (<em class="parameter"><code><a class="link" href="pan
|
|
2696
2678
|
<p>Gets the Y position of baseline of the first line in <em class="parameter"><code>layout</code></em>
|
2697
2679
|
.</p>
|
2698
2680
|
<div class="refsect3">
|
2699
|
-
<a name="
|
2681
|
+
<a name="pango-layout-get-baseline.parameters"></a><h4>Parameters</h4>
|
2700
2682
|
<div class="informaltable"><table width="100%" border="0">
|
2701
2683
|
<colgroup>
|
2702
2684
|
<col width="150px" class="parameters_name">
|
@@ -2711,7 +2693,7 @@ pango_layout_get_baseline (<em class="parameter"><code><a class="link" href="pan
|
|
2711
2693
|
</table></div>
|
2712
2694
|
</div>
|
2713
2695
|
<div class="refsect3">
|
2714
|
-
<a name="
|
2696
|
+
<a name="pango-layout-get-baseline.returns"></a><h4>Returns</h4>
|
2715
2697
|
<p> baseline of first line, from top of <em class="parameter"><code>layout</code></em>
|
2716
2698
|
.</p>
|
2717
2699
|
</div>
|
@@ -2725,7 +2707,7 @@ pango_layout_get_line_count (<em class="parameter"><code><a class="link" href="p
|
|
2725
2707
|
<p>Retrieves the count of lines for the <em class="parameter"><code>layout</code></em>
|
2726
2708
|
.</p>
|
2727
2709
|
<div class="refsect3">
|
2728
|
-
<a name="
|
2710
|
+
<a name="pango-layout-get-line-count.parameters"></a><h4>Parameters</h4>
|
2729
2711
|
<div class="informaltable"><table width="100%" border="0">
|
2730
2712
|
<colgroup>
|
2731
2713
|
<col width="150px" class="parameters_name">
|
@@ -2740,7 +2722,7 @@ pango_layout_get_line_count (<em class="parameter"><code><a class="link" href="p
|
|
2740
2722
|
</table></div>
|
2741
2723
|
</div>
|
2742
2724
|
<div class="refsect3">
|
2743
|
-
<a name="
|
2725
|
+
<a name="pango-layout-get-line-count.returns"></a><h4>Returns</h4>
|
2744
2726
|
<p> the line count.</p>
|
2745
2727
|
</div>
|
2746
2728
|
</div>
|
@@ -2754,7 +2736,7 @@ pango_layout_get_line (<em class="parameter"><code><a class="link" href="pango-L
|
|
2754
2736
|
<p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line-readonly" title="pango_layout_get_line_readonly ()"><code class="function">pango_layout_get_line_readonly()</code></a> if you do not plan
|
2755
2737
|
to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
2756
2738
|
<div class="refsect3">
|
2757
|
-
<a name="
|
2739
|
+
<a name="pango-layout-get-line.parameters"></a><h4>Parameters</h4>
|
2758
2740
|
<div class="informaltable"><table width="100%" border="0">
|
2759
2741
|
<colgroup>
|
2760
2742
|
<col width="150px" class="parameters_name">
|
@@ -2777,9 +2759,9 @@ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
|
2777
2759
|
</table></div>
|
2778
2760
|
</div>
|
2779
2761
|
<div class="refsect3">
|
2780
|
-
<a name="
|
2762
|
+
<a name="pango-layout-get-line.returns"></a><h4>Returns</h4>
|
2781
2763
|
<p> the requested
|
2782
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="
|
2764
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the index is out of
|
2783
2765
|
range. This layout line can be ref'ed and retained,
|
2784
2766
|
but will become invalid if changes are made to the
|
2785
2767
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. </p>
|
@@ -2797,7 +2779,7 @@ pango_layout_get_line_readonly (<em class="parameter"><code><a class="link" href
|
|
2797
2779
|
but the user is not expected
|
2798
2780
|
to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
2799
2781
|
<div class="refsect3">
|
2800
|
-
<a name="
|
2782
|
+
<a name="pango-layout-get-line-readonly.parameters"></a><h4>Parameters</h4>
|
2801
2783
|
<div class="informaltable"><table width="100%" border="0">
|
2802
2784
|
<colgroup>
|
2803
2785
|
<col width="150px" class="parameters_name">
|
@@ -2820,9 +2802,9 @@ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
|
2820
2802
|
</table></div>
|
2821
2803
|
</div>
|
2822
2804
|
<div class="refsect3">
|
2823
|
-
<a name="
|
2805
|
+
<a name="pango-layout-get-line-readonly.returns"></a><h4>Returns</h4>
|
2824
2806
|
<p> the requested
|
2825
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="
|
2807
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the index is out of
|
2826
2808
|
range. This layout line can be ref'ed and retained,
|
2827
2809
|
but will become invalid if changes are made to the
|
2828
2810
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. No changes should be made to the line. </p>
|
@@ -2833,14 +2815,14 @@ but will become invalid if changes are made to the
|
|
2833
2815
|
<hr>
|
2834
2816
|
<div class="refsect2">
|
2835
2817
|
<a name="pango-layout-get-lines"></a><h3>pango_layout_get_lines ()</h3>
|
2836
|
-
<pre class="programlisting"><a href="
|
2818
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
2837
2819
|
pango_layout_get_lines (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2838
2820
|
<p>Returns the lines of the <em class="parameter"><code>layout</code></em>
|
2839
2821
|
as a list.</p>
|
2840
2822
|
<p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines-readonly" title="pango_layout_get_lines_readonly ()"><code class="function">pango_layout_get_lines_readonly()</code></a> if you do not plan
|
2841
2823
|
to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
|
2842
2824
|
<div class="refsect3">
|
2843
|
-
<a name="
|
2825
|
+
<a name="pango-layout-get-lines.parameters"></a><h4>Parameters</h4>
|
2844
2826
|
<div class="informaltable"><table width="100%" border="0">
|
2845
2827
|
<colgroup>
|
2846
2828
|
<col width="150px" class="parameters_name">
|
@@ -2855,8 +2837,8 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
|
|
2855
2837
|
</table></div>
|
2856
2838
|
</div>
|
2857
2839
|
<div class="refsect3">
|
2858
|
-
<a name="
|
2859
|
-
<p> a <a href="
|
2840
|
+
<a name="pango-layout-get-lines.returns"></a><h4>Returns</h4>
|
2841
|
+
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing
|
2860
2842
|
the lines in the layout. This points to internal data of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
2861
2843
|
and must be used with care. It will become invalid on any change to the layout's
|
2862
2844
|
text or properties. </p>
|
@@ -2866,7 +2848,7 @@ text or properties. </p>
|
|
2866
2848
|
<hr>
|
2867
2849
|
<div class="refsect2">
|
2868
2850
|
<a name="pango-layout-get-lines-readonly"></a><h3>pango_layout_get_lines_readonly ()</h3>
|
2869
|
-
<pre class="programlisting"><a href="
|
2851
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
2870
2852
|
pango_layout_get_lines_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2871
2853
|
<p>Returns the lines of the <em class="parameter"><code>layout</code></em>
|
2872
2854
|
as a list.</p>
|
@@ -2874,7 +2856,7 @@ pango_layout_get_lines_readonly (<em class="parameter"><code><a class="link" hre
|
|
2874
2856
|
but the user is not expected
|
2875
2857
|
to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
|
2876
2858
|
<div class="refsect3">
|
2877
|
-
<a name="
|
2859
|
+
<a name="pango-layout-get-lines-readonly.parameters"></a><h4>Parameters</h4>
|
2878
2860
|
<div class="informaltable"><table width="100%" border="0">
|
2879
2861
|
<colgroup>
|
2880
2862
|
<col width="150px" class="parameters_name">
|
@@ -2889,8 +2871,8 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
|
|
2889
2871
|
</table></div>
|
2890
2872
|
</div>
|
2891
2873
|
<div class="refsect3">
|
2892
|
-
<a name="
|
2893
|
-
<p> a <a href="
|
2874
|
+
<a name="pango-layout-get-lines-readonly.returns"></a><h4>Returns</h4>
|
2875
|
+
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing
|
2894
2876
|
the lines in the layout. This points to internal data of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> and
|
2895
2877
|
must be used with care. It will become invalid on any change to the layout's
|
2896
2878
|
text or properties. No changes should be made to the lines. </p>
|
@@ -2905,7 +2887,7 @@ text or properties. No changes should be made to the lines. </p>
|
|
2905
2887
|
pango_layout_get_iter (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2906
2888
|
<p>Returns an iterator to iterate over the visual extents of the layout.</p>
|
2907
2889
|
<div class="refsect3">
|
2908
|
-
<a name="
|
2890
|
+
<a name="pango-layout-get-iter.parameters"></a><h4>Parameters</h4>
|
2909
2891
|
<div class="informaltable"><table width="100%" border="0">
|
2910
2892
|
<colgroup>
|
2911
2893
|
<col width="150px" class="parameters_name">
|
@@ -2920,7 +2902,7 @@ pango_layout_get_iter (<em class="parameter"><code><a class="link" href="pango-L
|
|
2920
2902
|
</table></div>
|
2921
2903
|
</div>
|
2922
2904
|
<div class="refsect3">
|
2923
|
-
<a name="
|
2905
|
+
<a name="pango-layout-get-iter.returns"></a><h4>Returns</h4>
|
2924
2906
|
<p> the new <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> that should be freed using
|
2925
2907
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-free" title="pango_layout_iter_free ()"><code class="function">pango_layout_iter_free()</code></a>.</p>
|
2926
2908
|
</div>
|
@@ -2932,7 +2914,7 @@ pango_layout_get_iter (<em class="parameter"><code><a class="link" href="pango-L
|
|
2932
2914
|
pango_layout_iter_copy (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2933
2915
|
<p>Copies a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>.</p>
|
2934
2916
|
<div class="refsect3">
|
2935
|
-
<a name="
|
2917
|
+
<a name="pango-layout-iter-copy.parameters"></a><h4>Parameters</h4>
|
2936
2918
|
<div class="informaltable"><table width="100%" border="0">
|
2937
2919
|
<colgroup>
|
2938
2920
|
<col width="150px" class="parameters_name">
|
@@ -2941,17 +2923,17 @@ pango_layout_iter_copy (<em class="parameter"><code><a class="link" href="pango-
|
|
2941
2923
|
</colgroup>
|
2942
2924
|
<tbody><tr>
|
2943
2925
|
<td class="parameter_name"><p>iter</p></td>
|
2944
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="
|
2926
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</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>
|
2945
2927
|
<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>
|
2946
2928
|
</tr></tbody>
|
2947
2929
|
</table></div>
|
2948
2930
|
</div>
|
2949
2931
|
<div class="refsect3">
|
2950
|
-
<a name="
|
2932
|
+
<a name="pango-layout-iter-copy.returns"></a><h4>Returns</h4>
|
2951
2933
|
<p> the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>,
|
2952
2934
|
which should be freed with <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-free" title="pango_layout_iter_free ()"><code class="function">pango_layout_iter_free()</code></a>,
|
2953
|
-
or <a href="
|
2954
|
-
was <a href="
|
2935
|
+
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>iter</code></em>
|
2936
|
+
was <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2955
2937
|
<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>
|
2956
2938
|
</div>
|
2957
2939
|
<p class="since">Since: <a class="link" href="api-index-1-20.html#api-index-1.20">1.20</a></p>
|
@@ -2963,7 +2945,7 @@ was <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/ht
|
|
2963
2945
|
pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2964
2946
|
<p>Frees an iterator that's no longer in use.</p>
|
2965
2947
|
<div class="refsect3">
|
2966
|
-
<a name="
|
2948
|
+
<a name="pango-layout-iter-free.parameters"></a><h4>Parameters</h4>
|
2967
2949
|
<div class="informaltable"><table width="100%" border="0">
|
2968
2950
|
<colgroup>
|
2969
2951
|
<col width="150px" class="parameters_name">
|
@@ -2972,7 +2954,7 @@ pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-
|
|
2972
2954
|
</colgroup>
|
2973
2955
|
<tbody><tr>
|
2974
2956
|
<td class="parameter_name"><p>iter</p></td>
|
2975
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="
|
2957
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</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>
|
2976
2958
|
<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>
|
2977
2959
|
</tr></tbody>
|
2978
2960
|
</table></div>
|
@@ -2981,14 +2963,14 @@ pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-
|
|
2981
2963
|
<hr>
|
2982
2964
|
<div class="refsect2">
|
2983
2965
|
<a name="pango-layout-iter-next-run"></a><h3>pango_layout_iter_next_run ()</h3>
|
2984
|
-
<pre class="programlisting"><a href="
|
2966
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2985
2967
|
pango_layout_iter_next_run (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2986
2968
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
2987
2969
|
forward to the next run in visual order. If <em class="parameter"><code>iter</code></em>
|
2988
2970
|
was
|
2989
|
-
already at the end of the layout, returns <a href="
|
2971
|
+
already at the end of the layout, returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
2990
2972
|
<div class="refsect3">
|
2991
|
-
<a name="
|
2973
|
+
<a name="pango-layout-iter-next-run.parameters"></a><h4>Parameters</h4>
|
2992
2974
|
<div class="informaltable"><table width="100%" border="0">
|
2993
2975
|
<colgroup>
|
2994
2976
|
<col width="150px" class="parameters_name">
|
@@ -3003,21 +2985,21 @@ already at the end of the layout, returns <a href="/home/vagrant/ruby-gnome2.win
|
|
3003
2985
|
</table></div>
|
3004
2986
|
</div>
|
3005
2987
|
<div class="refsect3">
|
3006
|
-
<a name="
|
2988
|
+
<a name="pango-layout-iter-next-run.returns"></a><h4>Returns</h4>
|
3007
2989
|
<p> whether motion was possible.</p>
|
3008
2990
|
</div>
|
3009
2991
|
</div>
|
3010
2992
|
<hr>
|
3011
2993
|
<div class="refsect2">
|
3012
2994
|
<a name="pango-layout-iter-next-char"></a><h3>pango_layout_iter_next_char ()</h3>
|
3013
|
-
<pre class="programlisting"><a href="
|
2995
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3014
2996
|
pango_layout_iter_next_char (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3015
2997
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
3016
2998
|
forward to the next character in visual order. If <em class="parameter"><code>iter</code></em>
|
3017
2999
|
was already at
|
3018
|
-
the end of the layout, returns <a href="
|
3000
|
+
the end of the layout, returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
3019
3001
|
<div class="refsect3">
|
3020
|
-
<a name="
|
3002
|
+
<a name="pango-layout-iter-next-char.parameters"></a><h4>Parameters</h4>
|
3021
3003
|
<div class="informaltable"><table width="100%" border="0">
|
3022
3004
|
<colgroup>
|
3023
3005
|
<col width="150px" class="parameters_name">
|
@@ -3032,21 +3014,21 @@ the end of the layout, returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/ve
|
|
3032
3014
|
</table></div>
|
3033
3015
|
</div>
|
3034
3016
|
<div class="refsect3">
|
3035
|
-
<a name="
|
3017
|
+
<a name="pango-layout-iter-next-char.returns"></a><h4>Returns</h4>
|
3036
3018
|
<p> whether motion was possible.</p>
|
3037
3019
|
</div>
|
3038
3020
|
</div>
|
3039
3021
|
<hr>
|
3040
3022
|
<div class="refsect2">
|
3041
3023
|
<a name="pango-layout-iter-next-cluster"></a><h3>pango_layout_iter_next_cluster ()</h3>
|
3042
|
-
<pre class="programlisting"><a href="
|
3024
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3043
3025
|
pango_layout_iter_next_cluster (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3044
3026
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
3045
3027
|
forward to the next cluster in visual order. If <em class="parameter"><code>iter</code></em>
|
3046
3028
|
|
3047
|
-
was already at the end of the layout, returns <a href="
|
3029
|
+
was already at the end of the layout, returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
3048
3030
|
<div class="refsect3">
|
3049
|
-
<a name="
|
3031
|
+
<a name="pango-layout-iter-next-cluster.parameters"></a><h4>Parameters</h4>
|
3050
3032
|
<div class="informaltable"><table width="100%" border="0">
|
3051
3033
|
<colgroup>
|
3052
3034
|
<col width="150px" class="parameters_name">
|
@@ -3061,21 +3043,21 @@ was already at the end of the layout, returns <a href="/home/vagrant/ruby-gnome2
|
|
3061
3043
|
</table></div>
|
3062
3044
|
</div>
|
3063
3045
|
<div class="refsect3">
|
3064
|
-
<a name="
|
3046
|
+
<a name="pango-layout-iter-next-cluster.returns"></a><h4>Returns</h4>
|
3065
3047
|
<p> whether motion was possible.</p>
|
3066
3048
|
</div>
|
3067
3049
|
</div>
|
3068
3050
|
<hr>
|
3069
3051
|
<div class="refsect2">
|
3070
3052
|
<a name="pango-layout-iter-next-line"></a><h3>pango_layout_iter_next_line ()</h3>
|
3071
|
-
<pre class="programlisting"><a href="
|
3053
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3072
3054
|
pango_layout_iter_next_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3073
3055
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
3074
3056
|
forward to the start of the next line. If <em class="parameter"><code>iter</code></em>
|
3075
3057
|
is
|
3076
|
-
already on the last line, returns <a href="
|
3058
|
+
already on the last line, returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
3077
3059
|
<div class="refsect3">
|
3078
|
-
<a name="
|
3060
|
+
<a name="pango-layout-iter-next-line.parameters"></a><h4>Parameters</h4>
|
3079
3061
|
<div class="informaltable"><table width="100%" border="0">
|
3080
3062
|
<colgroup>
|
3081
3063
|
<col width="150px" class="parameters_name">
|
@@ -3090,19 +3072,19 @@ already on the last line, returns <a href="/home/vagrant/ruby-gnome2.win64/glib2
|
|
3090
3072
|
</table></div>
|
3091
3073
|
</div>
|
3092
3074
|
<div class="refsect3">
|
3093
|
-
<a name="
|
3075
|
+
<a name="pango-layout-iter-next-line.returns"></a><h4>Returns</h4>
|
3094
3076
|
<p> whether motion was possible.</p>
|
3095
3077
|
</div>
|
3096
3078
|
</div>
|
3097
3079
|
<hr>
|
3098
3080
|
<div class="refsect2">
|
3099
3081
|
<a name="pango-layout-iter-at-last-line"></a><h3>pango_layout_iter_at_last_line ()</h3>
|
3100
|
-
<pre class="programlisting"><a href="
|
3082
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3101
3083
|
pango_layout_iter_at_last_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3102
3084
|
<p>Determines whether <em class="parameter"><code>iter</code></em>
|
3103
3085
|
is on the last line of the layout.</p>
|
3104
3086
|
<div class="refsect3">
|
3105
|
-
<a name="
|
3087
|
+
<a name="pango-layout-iter-at-last-line.parameters"></a><h4>Parameters</h4>
|
3106
3088
|
<div class="informaltable"><table width="100%" border="0">
|
3107
3089
|
<colgroup>
|
3108
3090
|
<col width="150px" class="parameters_name">
|
@@ -3117,8 +3099,8 @@ pango_layout_iter_at_last_line (<em class="parameter"><code><a class="link" href
|
|
3117
3099
|
</table></div>
|
3118
3100
|
</div>
|
3119
3101
|
<div class="refsect3">
|
3120
|
-
<a name="
|
3121
|
-
<p> <a href="
|
3102
|
+
<a name="pango-layout-iter-at-last-line.returns"></a><h4>Returns</h4>
|
3103
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
3122
3104
|
is on the last line.</p>
|
3123
3105
|
</div>
|
3124
3106
|
</div>
|
@@ -3130,9 +3112,9 @@ pango_layout_iter_get_index (<em class="parameter"><code><a class="link" href="p
|
|
3130
3112
|
<p>Gets the current byte index. Note that iterating forward by char
|
3131
3113
|
moves in visual order, not logical order, so indexes may not be
|
3132
3114
|
sequential. Also, the index may be equal to the length of the text
|
3133
|
-
in the layout, if on the <a href="
|
3115
|
+
in the layout, if on the <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run (see <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()"><code class="function">pango_layout_iter_get_run()</code></a>).</p>
|
3134
3116
|
<div class="refsect3">
|
3135
|
-
<a name="
|
3117
|
+
<a name="pango-layout-iter-get-index.parameters"></a><h4>Parameters</h4>
|
3136
3118
|
<div class="informaltable"><table width="100%" border="0">
|
3137
3119
|
<colgroup>
|
3138
3120
|
<col width="150px" class="parameters_name">
|
@@ -3147,7 +3129,7 @@ in the layout, if on the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/l
|
|
3147
3129
|
</table></div>
|
3148
3130
|
</div>
|
3149
3131
|
<div class="refsect3">
|
3150
|
-
<a name="
|
3132
|
+
<a name="pango-layout-iter-get-index.returns"></a><h4>Returns</h4>
|
3151
3133
|
<p> current byte index.</p>
|
3152
3134
|
</div>
|
3153
3135
|
</div>
|
@@ -3159,7 +3141,7 @@ pango_layout_iter_get_baseline (<em class="parameter"><code><a class="link" href
|
|
3159
3141
|
<p>Gets the Y position of the current line's baseline, in layout
|
3160
3142
|
coordinates (origin at top left of the entire layout).</p>
|
3161
3143
|
<div class="refsect3">
|
3162
|
-
<a name="
|
3144
|
+
<a name="pango-layout-iter-get-baseline.parameters"></a><h4>Parameters</h4>
|
3163
3145
|
<div class="informaltable"><table width="100%" border="0">
|
3164
3146
|
<colgroup>
|
3165
3147
|
<col width="150px" class="parameters_name">
|
@@ -3174,7 +3156,7 @@ coordinates (origin at top left of the entire layout).</p>
|
|
3174
3156
|
</table></div>
|
3175
3157
|
</div>
|
3176
3158
|
<div class="refsect3">
|
3177
|
-
<a name="
|
3159
|
+
<a name="pango-layout-iter-get-baseline.returns"></a><h4>Returns</h4>
|
3178
3160
|
<p> baseline of current line.</p>
|
3179
3161
|
</div>
|
3180
3162
|
</div>
|
@@ -3184,13 +3166,13 @@ coordinates (origin at top left of the entire layout).</p>
|
|
3184
3166
|
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
|
3185
3167
|
pango_layout_iter_get_run (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3186
3168
|
<p>Gets the current run. When iterating by run, at the end of each
|
3187
|
-
line, there's a position with a <a href="
|
3188
|
-
<a href="
|
3169
|
+
line, there's a position with a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run, so this function can return
|
3170
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run at the end of each line ensures that all lines have
|
3189
3171
|
at least one run, even lines consisting of only a newline.</p>
|
3190
3172
|
<p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run-readonly" title="pango_layout_iter_get_run_readonly ()"><code class="function">pango_layout_iter_get_run_readonly()</code></a> if you do not plan
|
3191
3173
|
to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
3192
3174
|
<div class="refsect3">
|
3193
|
-
<a name="
|
3175
|
+
<a name="pango-layout-iter-get-run.parameters"></a><h4>Parameters</h4>
|
3194
3176
|
<div class="informaltable"><table width="100%" border="0">
|
3195
3177
|
<colgroup>
|
3196
3178
|
<col width="150px" class="parameters_name">
|
@@ -3205,7 +3187,7 @@ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
|
3205
3187
|
</table></div>
|
3206
3188
|
</div>
|
3207
3189
|
<div class="refsect3">
|
3208
|
-
<a name="
|
3190
|
+
<a name="pango-layout-iter-get-run.returns"></a><h4>Returns</h4>
|
3209
3191
|
<p> the current run. </p>
|
3210
3192
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</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>
|
3211
3193
|
</div>
|
@@ -3216,14 +3198,14 @@ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
|
3216
3198
|
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
|
3217
3199
|
pango_layout_iter_get_run_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3218
3200
|
<p>Gets the current run. When iterating by run, at the end of each
|
3219
|
-
line, there's a position with a <a href="
|
3220
|
-
<a href="
|
3201
|
+
line, there's a position with a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run, so this function can return
|
3202
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run at the end of each line ensures that all lines have
|
3221
3203
|
at least one run, even lines consisting of only a newline.</p>
|
3222
3204
|
<p>This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()"><code class="function">pango_layout_iter_get_run()</code></a>,
|
3223
3205
|
but the user is not expected
|
3224
3206
|
to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
3225
3207
|
<div class="refsect3">
|
3226
|
-
<a name="
|
3208
|
+
<a name="pango-layout-iter-get-run-readonly.parameters"></a><h4>Parameters</h4>
|
3227
3209
|
<div class="informaltable"><table width="100%" border="0">
|
3228
3210
|
<colgroup>
|
3229
3211
|
<col width="150px" class="parameters_name">
|
@@ -3238,7 +3220,7 @@ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
|
3238
3220
|
</table></div>
|
3239
3221
|
</div>
|
3240
3222
|
<div class="refsect3">
|
3241
|
-
<a name="
|
3223
|
+
<a name="pango-layout-iter-get-run-readonly.returns"></a><h4>Returns</h4>
|
3242
3224
|
<p> the current run, that
|
3243
3225
|
should not be modified. </p>
|
3244
3226
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</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>
|
@@ -3254,7 +3236,7 @@ pango_layout_iter_get_line (<em class="parameter"><code><a class="link" href="pa
|
|
3254
3236
|
<p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-readonly" title="pango_layout_iter_get_line_readonly ()"><code class="function">pango_layout_iter_get_line_readonly()</code></a> if you do not plan
|
3255
3237
|
to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
3256
3238
|
<div class="refsect3">
|
3257
|
-
<a name="
|
3239
|
+
<a name="pango-layout-iter-get-line.parameters"></a><h4>Parameters</h4>
|
3258
3240
|
<div class="informaltable"><table width="100%" border="0">
|
3259
3241
|
<colgroup>
|
3260
3242
|
<col width="150px" class="parameters_name">
|
@@ -3269,7 +3251,7 @@ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
|
3269
3251
|
</table></div>
|
3270
3252
|
</div>
|
3271
3253
|
<div class="refsect3">
|
3272
|
-
<a name="
|
3254
|
+
<a name="pango-layout-iter-get-line.returns"></a><h4>Returns</h4>
|
3273
3255
|
<p> the current line.</p>
|
3274
3256
|
</div>
|
3275
3257
|
</div>
|
@@ -3283,7 +3265,7 @@ pango_layout_iter_get_line_readonly (<em class="parameter"><code><a class="link"
|
|
3283
3265
|
but the user is not expected
|
3284
3266
|
to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
3285
3267
|
<div class="refsect3">
|
3286
|
-
<a name="
|
3268
|
+
<a name="pango-layout-iter-get-line-readonly.parameters"></a><h4>Parameters</h4>
|
3287
3269
|
<div class="informaltable"><table width="100%" border="0">
|
3288
3270
|
<colgroup>
|
3289
3271
|
<col width="150px" class="parameters_name">
|
@@ -3298,7 +3280,7 @@ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
|
3298
3280
|
</table></div>
|
3299
3281
|
</div>
|
3300
3282
|
<div class="refsect3">
|
3301
|
-
<a name="
|
3283
|
+
<a name="pango-layout-iter-get-line-readonly.returns"></a><h4>Returns</h4>
|
3302
3284
|
<p> the current line, that should not be
|
3303
3285
|
modified. </p>
|
3304
3286
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -3312,7 +3294,7 @@ modified. </p>
|
|
3312
3294
|
pango_layout_iter_get_layout (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3313
3295
|
<p>Gets the layout associated with a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>.</p>
|
3314
3296
|
<div class="refsect3">
|
3315
|
-
<a name="
|
3297
|
+
<a name="pango-layout-iter-get-layout.parameters"></a><h4>Parameters</h4>
|
3316
3298
|
<div class="informaltable"><table width="100%" border="0">
|
3317
3299
|
<colgroup>
|
3318
3300
|
<col width="150px" class="parameters_name">
|
@@ -3327,7 +3309,7 @@ pango_layout_iter_get_layout (<em class="parameter"><code><a class="link" href="
|
|
3327
3309
|
</table></div>
|
3328
3310
|
</div>
|
3329
3311
|
<div class="refsect3">
|
3330
|
-
<a name="
|
3312
|
+
<a name="pango-layout-iter-get-layout.returns"></a><h4>Returns</h4>
|
3331
3313
|
<p> the layout associated with <em class="parameter"><code>iter</code></em>
|
3332
3314
|
. </p>
|
3333
3315
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -3345,7 +3327,7 @@ pango_layout_iter_get_char_extents (<em class="parameter"><code><a class="link"
|
|
3345
3327
|
can sensibly be obtained for characters; ink extents make sense only
|
3346
3328
|
down to the level of clusters.</p>
|
3347
3329
|
<div class="refsect3">
|
3348
|
-
<a name="
|
3330
|
+
<a name="pango-layout-iter-get-char-extents.parameters"></a><h4>Parameters</h4>
|
3349
3331
|
<div class="informaltable"><table width="100%" border="0">
|
3350
3332
|
<colgroup>
|
3351
3333
|
<col width="150px" class="parameters_name">
|
@@ -3378,7 +3360,7 @@ pango_layout_iter_get_cluster_extents (<em class="parameter"><code><a class="lin
|
|
3378
3360
|
<p>Gets the extents of the current cluster, in layout coordinates
|
3379
3361
|
(origin is the top left of the entire layout).</p>
|
3380
3362
|
<div class="refsect3">
|
3381
|
-
<a name="
|
3363
|
+
<a name="pango-layout-iter-get-cluster-extents.parameters"></a><h4>Parameters</h4>
|
3382
3364
|
<div class="informaltable"><table width="100%" border="0">
|
3383
3365
|
<colgroup>
|
3384
3366
|
<col width="150px" class="parameters_name">
|
@@ -3393,12 +3375,12 @@ pango_layout_iter_get_cluster_extents (<em class="parameter"><code><a class="lin
|
|
3393
3375
|
</tr>
|
3394
3376
|
<tr>
|
3395
3377
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3396
|
-
<td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="
|
3378
|
+
<td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3397
3379
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3398
3380
|
</tr>
|
3399
3381
|
<tr>
|
3400
3382
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3401
|
-
<td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="
|
3383
|
+
<td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3402
3384
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3403
3385
|
</tr>
|
3404
3386
|
</tbody>
|
@@ -3415,7 +3397,7 @@ pango_layout_iter_get_run_extents (<em class="parameter"><code><a class="link" h
|
|
3415
3397
|
<p>Gets the extents of the current run in layout coordinates
|
3416
3398
|
(origin is the top left of the entire layout).</p>
|
3417
3399
|
<div class="refsect3">
|
3418
|
-
<a name="
|
3400
|
+
<a name="pango-layout-iter-get-run-extents.parameters"></a><h4>Parameters</h4>
|
3419
3401
|
<div class="informaltable"><table width="100%" border="0">
|
3420
3402
|
<colgroup>
|
3421
3403
|
<col width="150px" class="parameters_name">
|
@@ -3430,12 +3412,12 @@ pango_layout_iter_get_run_extents (<em class="parameter"><code><a class="link" h
|
|
3430
3412
|
</tr>
|
3431
3413
|
<tr>
|
3432
3414
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3433
|
-
<td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="
|
3415
|
+
<td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3434
3416
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3435
3417
|
</tr>
|
3436
3418
|
<tr>
|
3437
3419
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3438
|
-
<td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="
|
3420
|
+
<td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3439
3421
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3440
3422
|
</tr>
|
3441
3423
|
</tbody>
|
@@ -3457,7 +3439,7 @@ extents, plus half of the spacing above and below the line, if
|
|
3457
3439
|
The Y positions are in layout coordinates (origin at top left of the
|
3458
3440
|
entire layout).</p>
|
3459
3441
|
<div class="refsect3">
|
3460
|
-
<a name="
|
3442
|
+
<a name="pango-layout-iter-get-line-yrange.parameters"></a><h4>Parameters</h4>
|
3461
3443
|
<div class="informaltable"><table width="100%" border="0">
|
3462
3444
|
<colgroup>
|
3463
3445
|
<col width="150px" class="parameters_name">
|
@@ -3472,12 +3454,12 @@ entire layout).</p>
|
|
3472
3454
|
</tr>
|
3473
3455
|
<tr>
|
3474
3456
|
<td class="parameter_name"><p>y0_</p></td>
|
3475
|
-
<td class="parameter_description"><p> start of line, or <a href="
|
3457
|
+
<td class="parameter_description"><p> start of line, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3476
3458
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3477
3459
|
</tr>
|
3478
3460
|
<tr>
|
3479
3461
|
<td class="parameter_name"><p>y1_</p></td>
|
3480
|
-
<td class="parameter_description"><p> end of line, or <a href="
|
3462
|
+
<td class="parameter_description"><p> end of line, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3481
3463
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3482
3464
|
</tr>
|
3483
3465
|
</tbody>
|
@@ -3494,13 +3476,13 @@ pango_layout_iter_get_line_extents (<em class="parameter"><code><a class="link"
|
|
3494
3476
|
<p>Obtains the extents of the current line. <em class="parameter"><code>ink_rect</code></em>
|
3495
3477
|
or <em class="parameter"><code>logical_rect</code></em>
|
3496
3478
|
|
3497
|
-
can be <a href="
|
3479
|
+
can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you aren't interested in them. Extents are in layout
|
3498
3480
|
coordinates (origin is the top-left corner of the entire
|
3499
3481
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>). Thus the extents returned by this function will be
|
3500
3482
|
the same width/height but not at the same x/y as the extents
|
3501
3483
|
returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-extents" title="pango_layout_line_get_extents ()"><code class="function">pango_layout_line_get_extents()</code></a>.</p>
|
3502
3484
|
<div class="refsect3">
|
3503
|
-
<a name="
|
3485
|
+
<a name="pango-layout-iter-get-line-extents.parameters"></a><h4>Parameters</h4>
|
3504
3486
|
<div class="informaltable"><table width="100%" border="0">
|
3505
3487
|
<colgroup>
|
3506
3488
|
<col width="150px" class="parameters_name">
|
@@ -3515,12 +3497,12 @@ returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-
|
|
3515
3497
|
</tr>
|
3516
3498
|
<tr>
|
3517
3499
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3518
|
-
<td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="
|
3500
|
+
<td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3519
3501
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3520
3502
|
</tr>
|
3521
3503
|
<tr>
|
3522
3504
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3523
|
-
<td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="
|
3505
|
+
<td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3524
3506
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3525
3507
|
</tr>
|
3526
3508
|
</tbody>
|
@@ -3537,10 +3519,10 @@ pango_layout_iter_get_layout_extents (<em class="parameter"><code><a class="link
|
|
3537
3519
|
<p>Obtains the extents of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> being iterated
|
3538
3520
|
over. <em class="parameter"><code>ink_rect</code></em>
|
3539
3521
|
or <em class="parameter"><code>logical_rect</code></em>
|
3540
|
-
can be <a href="
|
3522
|
+
can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you
|
3541
3523
|
aren't interested in them.</p>
|
3542
3524
|
<div class="refsect3">
|
3543
|
-
<a name="
|
3525
|
+
<a name="pango-layout-iter-get-layout-extents.parameters"></a><h4>Parameters</h4>
|
3544
3526
|
<div class="informaltable"><table width="100%" border="0">
|
3545
3527
|
<colgroup>
|
3546
3528
|
<col width="150px" class="parameters_name">
|
@@ -3556,13 +3538,13 @@ aren't interested in them.</p>
|
|
3556
3538
|
<tr>
|
3557
3539
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3558
3540
|
<td class="parameter_description"><p> rectangle to fill with ink extents,
|
3559
|
-
or <a href="
|
3541
|
+
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3560
3542
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3561
3543
|
</tr>
|
3562
3544
|
<tr>
|
3563
3545
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3564
3546
|
<td class="parameter_description"><p> rectangle to fill with logical
|
3565
|
-
extents, or <a href="
|
3547
|
+
extents, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3566
3548
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3567
3549
|
</tr>
|
3568
3550
|
</tbody>
|
@@ -3576,7 +3558,7 @@ extents, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gt
|
|
3576
3558
|
pango_layout_line_ref (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
3577
3559
|
<p>Increase the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> by one.</p>
|
3578
3560
|
<div class="refsect3">
|
3579
|
-
<a name="
|
3561
|
+
<a name="pango-layout-line-ref.parameters"></a><h4>Parameters</h4>
|
3580
3562
|
<div class="informaltable"><table width="100%" border="0">
|
3581
3563
|
<colgroup>
|
3582
3564
|
<col width="150px" class="parameters_name">
|
@@ -3585,13 +3567,13 @@ pango_layout_line_ref (<em class="parameter"><code><a class="link" href="pango-L
|
|
3585
3567
|
</colgroup>
|
3586
3568
|
<tbody><tr>
|
3587
3569
|
<td class="parameter_name"><p>line</p></td>
|
3588
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, may be <a href="
|
3570
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</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>
|
3589
3571
|
<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>
|
3590
3572
|
</tr></tbody>
|
3591
3573
|
</table></div>
|
3592
3574
|
</div>
|
3593
3575
|
<div class="refsect3">
|
3594
|
-
<a name="
|
3576
|
+
<a name="pango-layout-line-ref.returns"></a><h4>Returns</h4>
|
3595
3577
|
<p> the line passed in.</p>
|
3596
3578
|
</div>
|
3597
3579
|
<p class="since">Since: <a class="link" href="api-index-1-10.html#api-index-1.10">1.10</a></p>
|
@@ -3605,7 +3587,7 @@ pango_layout_line_unref (<em class="parameter"><code><a class="link" href="pango
|
|
3605
3587
|
If the result is zero, the line and all associated memory
|
3606
3588
|
will be freed.</p>
|
3607
3589
|
<div class="refsect3">
|
3608
|
-
<a name="
|
3590
|
+
<a name="pango-layout-line-unref.parameters"></a><h4>Parameters</h4>
|
3609
3591
|
<div class="informaltable"><table width="100%" border="0">
|
3610
3592
|
<colgroup>
|
3611
3593
|
<col width="150px" class="parameters_name">
|
@@ -3631,7 +3613,7 @@ pango_layout_line_get_extents (<em class="parameter"><code><a class="link" href=
|
|
3631
3613
|
<a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()"><code class="function">pango_font_get_glyph_extents()</code></a> for details about the interpretation
|
3632
3614
|
of the rectangles.</p>
|
3633
3615
|
<div class="refsect3">
|
3634
|
-
<a name="
|
3616
|
+
<a name="pango-layout-line-get-extents.parameters"></a><h4>Parameters</h4>
|
3635
3617
|
<div class="informaltable"><table width="100%" border="0">
|
3636
3618
|
<colgroup>
|
3637
3619
|
<col width="150px" class="parameters_name">
|
@@ -3647,13 +3629,13 @@ of the rectangles.</p>
|
|
3647
3629
|
<tr>
|
3648
3630
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3649
3631
|
<td class="parameter_description"><p> rectangle used to store the extents of
|
3650
|
-
the glyph string as drawn, or <a href="
|
3632
|
+
the glyph string as drawn, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3651
3633
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3652
3634
|
</tr>
|
3653
3635
|
<tr>
|
3654
3636
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3655
3637
|
<td class="parameter_description"><p>rectangle used to store the logical
|
3656
|
-
extents of the glyph string, or <a href="
|
3638
|
+
extents of the glyph string, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3657
3639
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3658
3640
|
</tr>
|
3659
3641
|
</tbody>
|
@@ -3676,7 +3658,7 @@ two <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" titl
|
|
3676
3658
|
such that the rounded rectangles fully contain the unrounded one (that is,
|
3677
3659
|
passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a>).</p>
|
3678
3660
|
<div class="refsect3">
|
3679
|
-
<a name="
|
3661
|
+
<a name="pango-layout-line-get-pixel-extents.parameters"></a><h4>Parameters</h4>
|
3680
3662
|
<div class="informaltable"><table width="100%" border="0">
|
3681
3663
|
<colgroup>
|
3682
3664
|
<col width="150px" class="parameters_name">
|
@@ -3692,13 +3674,13 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
3692
3674
|
<tr>
|
3693
3675
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3694
3676
|
<td class="parameter_description"><p> rectangle used to store the extents of
|
3695
|
-
the glyph string as drawn, or <a href="
|
3677
|
+
the glyph string as drawn, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3696
3678
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3697
3679
|
</tr>
|
3698
3680
|
<tr>
|
3699
3681
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3700
3682
|
<td class="parameter_description"><p> rectangle used to store the logical
|
3701
|
-
extents of the glyph string, or <a href="
|
3683
|
+
extents of the glyph string, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3702
3684
|
<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="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3703
3685
|
</tr>
|
3704
3686
|
</tbody>
|
@@ -3711,11 +3693,11 @@ extents of the glyph string, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/v
|
|
3711
3693
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3712
3694
|
pango_layout_line_index_to_x (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
3713
3695
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
3714
|
-
<em class="parameter"><code><a href="
|
3696
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
|
3715
3697
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
3716
3698
|
<p>Converts an index within a line to a X position.</p>
|
3717
3699
|
<div class="refsect3">
|
3718
|
-
<a name="
|
3700
|
+
<a name="pango-layout-line-index-to-x.parameters"></a><h4>Parameters</h4>
|
3719
3701
|
<div class="informaltable"><table width="100%" border="0">
|
3720
3702
|
<colgroup>
|
3721
3703
|
<col width="150px" class="parameters_name">
|
@@ -3752,7 +3734,7 @@ if 0, the leading of the grapheme.</p></td>
|
|
3752
3734
|
<hr>
|
3753
3735
|
<div class="refsect2">
|
3754
3736
|
<a name="pango-layout-line-x-to-index"></a><h3>pango_layout_line_x_to_index ()</h3>
|
3755
|
-
<pre class="programlisting"><a href="
|
3737
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3756
3738
|
pango_layout_line_x_to_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
3757
3739
|
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
3758
3740
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
@@ -3775,7 +3757,7 @@ grapheme in the line and <em class="parameter"><code>trailing</code></em>
|
|
3775
3757
|
being set to the number of characters
|
3776
3758
|
in that grapheme. The reverse is true for a left-to-right line.</p>
|
3777
3759
|
<div class="refsect3">
|
3778
|
-
<a name="
|
3760
|
+
<a name="pango-layout-line-x-to-index.parameters"></a><h4>Parameters</h4>
|
3779
3761
|
<div class="informaltable"><table width="100%" border="0">
|
3780
3762
|
<colgroup>
|
3781
3763
|
<col width="150px" class="parameters_name">
|
@@ -3812,9 +3794,9 @@ grapheme. 0 represents the leading edge of the grapheme. </p></td>
|
|
3812
3794
|
</table></div>
|
3813
3795
|
</div>
|
3814
3796
|
<div class="refsect3">
|
3815
|
-
<a name="
|
3816
|
-
<p> <a href="
|
3817
|
-
was outside the line, <a href="
|
3797
|
+
<a name="pango-layout-line-x-to-index.returns"></a><h4>Returns</h4>
|
3798
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>x_pos</code></em>
|
3799
|
+
was outside the line, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if inside</p>
|
3818
3800
|
</div>
|
3819
3801
|
</div>
|
3820
3802
|
<hr>
|
@@ -3832,7 +3814,7 @@ ranges which are adjacent. The ranges will be sorted from left to
|
|
3832
3814
|
right. The ranges are with respect to the left edge of the entire
|
3833
3815
|
layout, not with respect to the line.</p>
|
3834
3816
|
<div class="refsect3">
|
3835
|
-
<a name="
|
3817
|
+
<a name="pango-layout-line-get-x-ranges.parameters"></a><h4>Parameters</h4>
|
3836
3818
|
<div class="informaltable"><table width="100%" border="0">
|
3837
3819
|
<colgroup>
|
3838
3820
|
<col width="150px" class="parameters_name">
|
@@ -3869,7 +3851,7 @@ trailing edge of the last character.</p></td>
|
|
3869
3851
|
The array will be of length <code class="literal">2*n_ranges</code>,
|
3870
3852
|
with each range starting at <code class="literal">(*ranges)[2*n]</code>
|
3871
3853
|
and of width <code class="literal">(*ranges)[2*n + 1] - (*ranges)[2*n]</code>.
|
3872
|
-
This array must be freed with <a href="
|
3854
|
+
This array must be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. The coordinates are relative
|
3873
3855
|
to the layout and are in Pango units. </p></td>
|
3874
3856
|
<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_ranges][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
3875
3857
|
</tr>
|
@@ -3921,7 +3903,7 @@ has no user-visible fields.</p>
|
|
3921
3903
|
<a name="PangoWrapMode"></a><h3>enum PangoWrapMode</h3>
|
3922
3904
|
<p>A <a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode"><span class="type">PangoWrapMode</span></a> describes how to wrap the lines of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> to the desired width.</p>
|
3923
3905
|
<div class="refsect3">
|
3924
|
-
<a name="
|
3906
|
+
<a name="PangoWrapMode.members"></a><h4>Members</h4>
|
3925
3907
|
<div class="informaltable"><table width="100%" border="0">
|
3926
3908
|
<colgroup>
|
3927
3909
|
<col width="300px" class="enum_members_name">
|
@@ -3957,6 +3939,12 @@ enough space for a full word.</p>
|
|
3957
3939
|
</div>
|
3958
3940
|
<hr>
|
3959
3941
|
<div class="refsect2">
|
3942
|
+
<a name="PANGO-TYPE-WRAP-MODE:CAPS"></a><h3>PANGO_TYPE_WRAP_MODE</h3>
|
3943
|
+
<pre class="programlisting">#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type ())
|
3944
|
+
</pre>
|
3945
|
+
</div>
|
3946
|
+
<hr>
|
3947
|
+
<div class="refsect2">
|
3960
3948
|
<a name="PangoEllipsizeMode"></a><h3>enum PangoEllipsizeMode</h3>
|
3961
3949
|
<p>The <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> type describes what sort of (if any)
|
3962
3950
|
ellipsization should be applied to a line of text. In
|
@@ -3964,7 +3952,7 @@ the ellipsization process characters are removed from the
|
|
3964
3952
|
text in order to make it fit to a given width and replaced
|
3965
3953
|
with an ellipsis.</p>
|
3966
3954
|
<div class="refsect3">
|
3967
|
-
<a name="
|
3955
|
+
<a name="PangoEllipsizeMode.members"></a><h4>Members</h4>
|
3968
3956
|
<div class="informaltable"><table width="100%" border="0">
|
3969
3957
|
<colgroup>
|
3970
3958
|
<col width="300px" class="enum_members_name">
|
@@ -4006,12 +3994,18 @@ with an ellipsis.</p>
|
|
4006
3994
|
</div>
|
4007
3995
|
<hr>
|
4008
3996
|
<div class="refsect2">
|
3997
|
+
<a name="PANGO-TYPE-ELLIPSIZE-MODE:CAPS"></a><h3>PANGO_TYPE_ELLIPSIZE_MODE</h3>
|
3998
|
+
<pre class="programlisting">#define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type ())
|
3999
|
+
</pre>
|
4000
|
+
</div>
|
4001
|
+
<hr>
|
4002
|
+
<div class="refsect2">
|
4009
4003
|
<a name="PangoAlignment"></a><h3>enum PangoAlignment</h3>
|
4010
4004
|
<p>A <a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment"><span class="type">PangoAlignment</span></a> describes how to align the lines of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> within the
|
4011
4005
|
available space. If the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is set to justify
|
4012
4006
|
using <a class="link" href="pango-Layout-Objects.html#pango-layout-set-justify" title="pango_layout_set_justify ()"><code class="function">pango_layout_set_justify()</code></a>, this only has effect for partial lines.</p>
|
4013
4007
|
<div class="refsect3">
|
4014
|
-
<a name="
|
4008
|
+
<a name="PangoAlignment.members"></a><h4>Members</h4>
|
4015
4009
|
<div class="informaltable"><table width="100%" border="0">
|
4016
4010
|
<colgroup>
|
4017
4011
|
<col width="300px" class="enum_members_name">
|
@@ -4046,6 +4040,12 @@ using <a class="link" href="pango-Layout-Objects.html#pango-layout-set-justify"
|
|
4046
4040
|
</div>
|
4047
4041
|
<hr>
|
4048
4042
|
<div class="refsect2">
|
4043
|
+
<a name="PANGO-TYPE-ALIGNMENT:CAPS"></a><h3>PANGO_TYPE_ALIGNMENT</h3>
|
4044
|
+
<pre class="programlisting">#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type ())
|
4045
|
+
</pre>
|
4046
|
+
</div>
|
4047
|
+
<hr>
|
4048
|
+
<div class="refsect2">
|
4049
4049
|
<a name="PangoLayoutLine-struct"></a><h3>struct PangoLayoutLine</h3>
|
4050
4050
|
<pre class="programlisting">struct PangoLayoutLine {
|
4051
4051
|
PangoLayout *layout;
|
@@ -4064,7 +4064,7 @@ parent <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class=
|
|
4064
4064
|
<p>Routines for rendering PangoLayout objects are provided in
|
4065
4065
|
code specific to each rendering system.</p>
|
4066
4066
|
<div class="refsect3">
|
4067
|
-
<a name="
|
4067
|
+
<a name="PangoLayoutLine.members"></a><h4>Members</h4>
|
4068
4068
|
<div class="informaltable"><table width="100%" border="0">
|
4069
4069
|
<colgroup>
|
4070
4070
|
<col width="300px" class="struct_members_name">
|
@@ -4074,32 +4074,32 @@ code specific to each rendering system.</p>
|
|
4074
4074
|
<tbody>
|
4075
4075
|
<tr>
|
4076
4076
|
<td class="struct_member_name"><p><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *<em class="structfield"><code><a name="PangoLayoutLine-struct.layout"></a>layout</code></em>;</p></td>
|
4077
|
-
<td class="struct_member_description"><p> the layout this line belongs to, might be <a href="
|
4077
|
+
<td class="struct_member_description"><p> the layout this line belongs to, might be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
4078
4078
|
<td class="struct_member_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
4079
4079
|
</tr>
|
4080
4080
|
<tr>
|
4081
|
-
<td class="struct_member_name"><p><a href="
|
4081
|
+
<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="PangoLayoutLine-struct.start-index"></a>start_index</code></em>;</p></td>
|
4082
4082
|
<td class="struct_member_description"><p>start of line as byte index into layout->text</p></td>
|
4083
4083
|
<td class="struct_member_annotations"> </td>
|
4084
4084
|
</tr>
|
4085
4085
|
<tr>
|
4086
|
-
<td class="struct_member_name"><p><a href="
|
4086
|
+
<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="PangoLayoutLine-struct.length"></a>length</code></em>;</p></td>
|
4087
4087
|
<td class="struct_member_description"><p>length of line in bytes</p></td>
|
4088
4088
|
<td class="struct_member_annotations"> </td>
|
4089
4089
|
</tr>
|
4090
4090
|
<tr>
|
4091
|
-
<td class="struct_member_name"><p><a href="
|
4091
|
+
<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="PangoLayoutLine-struct.runs"></a>runs</code></em>;</p></td>
|
4092
4092
|
<td class="struct_member_description"><p> list of runs in the
|
4093
4093
|
line, from left to right. </p></td>
|
4094
4094
|
<td class="struct_member_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym>]</span></td>
|
4095
4095
|
</tr>
|
4096
4096
|
<tr>
|
4097
|
-
<td class="struct_member_name"><p><a href="
|
4098
|
-
<td class="struct_member_description"><p><a href="
|
4097
|
+
<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="PangoLayoutLine-struct.is-paragraph-start"></a>is_paragraph_start</code></em> : 1;</p></td>
|
4098
|
+
<td class="struct_member_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if this is the first line of the paragraph</p></td>
|
4099
4099
|
<td class="struct_member_annotations"> </td>
|
4100
4100
|
</tr>
|
4101
4101
|
<tr>
|
4102
|
-
<td class="struct_member_name"><p><a href="
|
4102
|
+
<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="PangoLayoutLine-struct.resolved-dir"></a>resolved_dir</code></em> : 3;</p></td>
|
4103
4103
|
<td class="struct_member_description"><p><span class="type">Resolved</span> PangoDirection of line</p></td>
|
4104
4104
|
<td class="struct_member_annotations"> </td>
|
4105
4105
|
</tr>
|
@@ -4120,6 +4120,6 @@ See the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span cla
|
|
4120
4120
|
</div>
|
4121
4121
|
</div>
|
4122
4122
|
<div class="footer">
|
4123
|
-
<hr>Generated by GTK-Doc V1.
|
4123
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
4124
4124
|
</body>
|
4125
4125
|
</html>
|