pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +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/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Layout Objects</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
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.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.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">
|
@@ -45,19 +45,20 @@
|
|
45
45
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-copy" title="pango_layout_copy ()">pango_layout_copy</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *src</code></em>);
|
46
46
|
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-context" title="pango_layout_get_context ()">pango_layout_get_context</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
47
47
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-context-changed" title="pango_layout_context_changed ()">pango_layout_context_changed</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
48
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-serial" title="pango_layout_get_serial ()">pango_layout_get_serial</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
48
49
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-text" title="pango_layout_set_text ()">pango_layout_set_text</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
49
50
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
50
51
|
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
51
52
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-text" title="pango_layout_get_text ()">pango_layout_get_text</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
52
|
-
<
|
53
|
+
<span class="returnvalue">gint</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
53
54
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup" title="pango_layout_set_markup ()">pango_layout_set_markup</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
54
55
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
55
56
|
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
56
57
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup-with-accel" title="pango_layout_set_markup_with_accel ()">pango_layout_set_markup_with_accel</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
57
58
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
58
59
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
59
|
-
<em class="parameter"><code><
|
60
|
-
<em class="parameter"><code><
|
60
|
+
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>);
|
61
62
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-attributes" title="pango_layout_set_attributes ()">pango_layout_set_attributes</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
62
63
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>);
|
63
64
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-attributes" title="pango_layout_get_attributes ()">pango_layout_get_attributes</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
@@ -74,13 +75,13 @@ const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="
|
|
74
75
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-wrap" title="pango_layout_set_wrap ()">pango_layout_set_wrap</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
75
76
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a> wrap</code></em>);
|
76
77
|
<a class="link" href="pango-Layout-Objects.html#PangoWrapMode"><span class="returnvalue">PangoWrapMode</span></a> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-wrap" title="pango_layout_get_wrap ()">pango_layout_get_wrap</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
77
|
-
<
|
78
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-is-wrapped" title="pango_layout_is_wrapped ()">pango_layout_is_wrapped</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
78
79
|
enum <a class="link" href="pango-Layout-Objects.html#PangoWrapMode-enum" title="enum PangoWrapMode">PangoWrapMode</a>;
|
79
80
|
#define <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-WRAP-MODE:CAPS" title="PANGO_TYPE_WRAP_MODE">PANGO_TYPE_WRAP_MODE</a>
|
80
81
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-ellipsize" title="pango_layout_set_ellipsize ()">pango_layout_set_ellipsize</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
81
82
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);
|
82
83
|
<a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-ellipsize" title="pango_layout_get_ellipsize ()">pango_layout_get_ellipsize</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
83
|
-
<
|
84
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-is-ellipsized" title="pango_layout_is_ellipsized ()">pango_layout_is_ellipsized</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
84
85
|
enum <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode-enum" title="enum PangoEllipsizeMode">PangoEllipsizeMode</a>;
|
85
86
|
#define <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE">PANGO_TYPE_ELLIPSIZE_MODE</a>
|
86
87
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-indent" title="pango_layout_set_indent ()">pango_layout_set_indent</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
@@ -90,11 +91,11 @@ enum <a class="link" href="pango-Layout-Objects.html#PangoEllipsi
|
|
90
91
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-spacing" title="pango_layout_set_spacing ()">pango_layout_set_spacing</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
91
92
|
<em class="parameter"><code><span class="type">int</span> spacing</code></em>);
|
92
93
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-justify" title="pango_layout_set_justify ()">pango_layout_set_justify</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
93
|
-
<em class="parameter"><code><
|
94
|
-
<
|
94
|
+
<em class="parameter"><code><span class="type">gboolean</span> justify</code></em>);
|
95
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-justify" title="pango_layout_get_justify ()">pango_layout_get_justify</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
95
96
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" title="pango_layout_set_auto_dir ()">pango_layout_set_auto_dir</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
96
|
-
<em class="parameter"><code><
|
97
|
-
<
|
97
|
+
<em class="parameter"><code><span class="type">gboolean</span> auto_dir</code></em>);
|
98
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
98
99
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-alignment" title="pango_layout_set_alignment ()">pango_layout_set_alignment</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
99
100
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="type">PangoAlignment</span></a> alignment</code></em>);
|
100
101
|
<a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="returnvalue">PangoAlignment</span></a> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-alignment" title="pango_layout_get_alignment ()">pango_layout_get_alignment</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
@@ -103,8 +104,8 @@ enum <a class="link" href="pango-Layout-Objects.html#PangoEllipsi
|
|
103
104
|
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-tabs" title="pango_layout_get_tabs ()">pango_layout_get_tabs</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
104
105
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-single-paragraph-mode" title="pango_layout_set_single_paragraph_mode ()">pango_layout_set_single_paragraph_mode</a>
|
105
106
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
106
|
-
<em class="parameter"><code><
|
107
|
-
<
|
107
|
+
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);
|
108
|
+
<span class="returnvalue">gboolean</span> <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>
|
108
109
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
109
110
|
enum <a class="link" href="pango-Layout-Objects.html#PangoAlignment-enum" title="enum PangoAlignment">PangoAlignment</a>;
|
110
111
|
#define <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ALIGNMENT:CAPS" title="PANGO_TYPE_ALIGNMENT">PANGO_TYPE_ALIGNMENT</a>
|
@@ -112,19 +113,19 @@ enum <a class="link" href="pango-Layout-Objects.html#PangoAlignme
|
|
112
113
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
113
114
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-log-attrs" title="pango_layout_get_log_attrs ()">pango_layout_get_log_attrs</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
114
115
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> **attrs</code></em>,
|
115
|
-
<em class="parameter"><code><
|
116
|
+
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);
|
116
117
|
const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="returnvalue">PangoLogAttr</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-log-attrs-readonly" title="pango_layout_get_log_attrs_readonly ()">pango_layout_get_log_attrs_readonly</a>
|
117
118
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
118
|
-
<em class="parameter"><code><
|
119
|
+
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);
|
119
120
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-index-to-pos" title="pango_layout_index_to_pos ()">pango_layout_index_to_pos</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
120
121
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
121
122
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *pos</code></em>);
|
122
123
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-index-to-line-x" title="pango_layout_index_to_line_x ()">pango_layout_index_to_line_x</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
123
124
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
124
|
-
<em class="parameter"><code><
|
125
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
125
126
|
<em class="parameter"><code><span class="type">int</span> *line</code></em>,
|
126
127
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);
|
127
|
-
<
|
128
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
128
129
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
129
130
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
130
131
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
@@ -134,7 +135,7 @@ const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="Pang
|
|
134
135
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *strong_pos</code></em>,
|
135
136
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *weak_pos</code></em>);
|
136
137
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-move-cursor-visually" title="pango_layout_move_cursor_visually ()">pango_layout_move_cursor_visually</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
137
|
-
<em class="parameter"><code><
|
138
|
+
<em class="parameter"><code><span class="type">gboolean</span> strong</code></em>,
|
138
139
|
<em class="parameter"><code><span class="type">int</span> old_index</code></em>,
|
139
140
|
<em class="parameter"><code><span class="type">int</span> old_trailing</code></em>,
|
140
141
|
<em class="parameter"><code><span class="type">int</span> direction</code></em>,
|
@@ -158,16 +159,16 @@ const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="Pang
|
|
158
159
|
<em class="parameter"><code><span class="type">int</span> line</code></em>);
|
159
160
|
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line-readonly" title="pango_layout_get_line_readonly ()">pango_layout_get_line_readonly</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
160
161
|
<em class="parameter"><code><span class="type">int</span> line</code></em>);
|
161
|
-
<
|
162
|
-
<
|
162
|
+
<span class="returnvalue">GSList</span> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines" title="pango_layout_get_lines ()">pango_layout_get_lines</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
163
|
+
<span class="returnvalue">GSList</span> * <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
163
164
|
<a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-iter" title="pango_layout_get_iter ()">pango_layout_get_iter</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
164
165
|
<a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-copy" title="pango_layout_iter_copy ()">pango_layout_iter_copy</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
165
166
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-free" title="pango_layout_iter_free ()">pango_layout_iter_free</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
166
|
-
<
|
167
|
-
<
|
168
|
-
<
|
169
|
-
<
|
170
|
-
<
|
167
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
168
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
169
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
170
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
171
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
171
172
|
<span class="returnvalue">int</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-index" title="pango_layout_iter_get_index ()">pango_layout_iter_get_index</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
172
173
|
<span class="returnvalue">int</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-baseline" title="pango_layout_iter_get_baseline ()">pango_layout_iter_get_baseline</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
173
174
|
<a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()">pango_layout_iter_get_run</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
@@ -207,9 +208,9 @@ typedef <a class="link" href="pango-Layout-Objects.html#PangoLayoutR
|
|
207
208
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);
|
208
209
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-index-to-x" title="pango_layout_line_index_to_x ()">pango_layout_line_index_to_x</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
209
210
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
210
|
-
<em class="parameter"><code><
|
211
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
211
212
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);
|
212
|
-
<
|
213
|
+
<span class="returnvalue">gboolean</span> <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> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
213
214
|
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
214
215
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
215
216
|
<em class="parameter"><code><span class="type">int</span> *trailing</code></em>);
|
@@ -223,7 +224,7 @@ typedef <a class="link" href="pango-Layout-Objects.html#PangoLayoutR
|
|
223
224
|
<div class="refsect1">
|
224
225
|
<a name="pango-Layout-Objects.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
225
226
|
<pre class="synopsis">
|
226
|
-
|
227
|
+
GObject
|
227
228
|
+----PangoLayout
|
228
229
|
</pre>
|
229
230
|
<pre class="synopsis">
|
@@ -308,8 +309,11 @@ has no user-visible fields.
|
|
308
309
|
Create a new <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> object with attributes initialized to
|
309
310
|
default values for a particular <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
310
311
|
</p>
|
311
|
-
<div class="variablelist"><table border="0">
|
312
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
313
|
+
<colgroup>
|
312
314
|
<col align="left" valign="top">
|
315
|
+
<col>
|
316
|
+
</colgroup>
|
313
317
|
<tbody>
|
314
318
|
<tr>
|
315
319
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
@@ -320,7 +324,7 @@ default values for a particular <a class="link" href="pango-Text-Processing.html
|
|
320
324
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
321
325
|
<td>the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, with a reference
|
322
326
|
count of one, which should be freed with
|
323
|
-
<
|
327
|
+
<code class="function">g_object_unref()</code>.</td>
|
324
328
|
</tr>
|
325
329
|
</tbody>
|
326
330
|
</table></div>
|
@@ -334,8 +338,11 @@ Does a deep copy-by-value of the <em class="parameter"><code>src</code></em> lay
|
|
334
338
|
tab array, and text from the original layout are all copied by
|
335
339
|
value.
|
336
340
|
</p>
|
337
|
-
<div class="variablelist"><table border="0">
|
341
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
342
|
+
<colgroup>
|
338
343
|
<col align="left" valign="top">
|
344
|
+
<col>
|
345
|
+
</colgroup>
|
339
346
|
<tbody>
|
340
347
|
<tr>
|
341
348
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
@@ -346,7 +353,7 @@ value.
|
|
346
353
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
347
354
|
<td>the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>,
|
348
355
|
with a reference count of one, which should be freed
|
349
|
-
with <
|
356
|
+
with <code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
350
357
|
</td>
|
351
358
|
</tr>
|
352
359
|
</tbody>
|
@@ -359,8 +366,11 @@ with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-O
|
|
359
366
|
<p>
|
360
367
|
Retrieves the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> used for this layout.
|
361
368
|
</p>
|
362
|
-
<div class="variablelist"><table border="0">
|
369
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
370
|
+
<colgroup>
|
363
371
|
<col align="left" valign="top">
|
372
|
+
<col>
|
373
|
+
</colgroup>
|
364
374
|
<tbody>
|
365
375
|
<tr>
|
366
376
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -371,7 +381,7 @@ Retrieves the <a class="link" href="pango-Text-Processing.html#PangoContext"><sp
|
|
371
381
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
372
382
|
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the layout.
|
373
383
|
This does not have an additional refcount added, so if you want to
|
374
|
-
keep a copy of this around, you must reference it yourself. <span class="annotation">[<
|
384
|
+
keep a copy of this around, you must reference it yourself. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
375
385
|
</td>
|
376
386
|
</tr>
|
377
387
|
</tbody>
|
@@ -387,8 +397,11 @@ might depend on the layout's context. This function should
|
|
387
397
|
be called if you make changes to the context subsequent
|
388
398
|
to creating the layout.
|
389
399
|
</p>
|
390
|
-
<div class="variablelist"><table border="0">
|
400
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
401
|
+
<colgroup>
|
391
402
|
<col align="left" valign="top">
|
403
|
+
<col>
|
404
|
+
</colgroup>
|
392
405
|
<tbody><tr>
|
393
406
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
394
407
|
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
@@ -398,6 +411,42 @@ to creating the layout.
|
|
398
411
|
</div>
|
399
412
|
<hr>
|
400
413
|
<div class="refsect2">
|
414
|
+
<a name="pango-layout-get-serial"></a><h3>pango_layout_get_serial ()</h3>
|
415
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> 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>
|
416
|
+
<p>
|
417
|
+
Returns the current serial number of <em class="parameter"><code>layout</code></em>. The serial number is
|
418
|
+
initialized to an small number larger than zero when a new layout
|
419
|
+
is created and is increased whenever the layout is changed using any
|
420
|
+
of the setter functions, or the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> it uses has changed.
|
421
|
+
The serial may wrap, but will never have the value 0. Since it
|
422
|
+
can wrap, never compare it with "less than", always use "not equals".
|
423
|
+
</p>
|
424
|
+
<p>
|
425
|
+
This can be used to automatically detect changes to a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, and
|
426
|
+
is useful for example to decide whether a layout needs redrawing.
|
427
|
+
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>.
|
428
|
+
</p>
|
429
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
430
|
+
<colgroup>
|
431
|
+
<col align="left" valign="top">
|
432
|
+
<col>
|
433
|
+
</colgroup>
|
434
|
+
<tbody>
|
435
|
+
<tr>
|
436
|
+
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
437
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
438
|
+
</td>
|
439
|
+
</tr>
|
440
|
+
<tr>
|
441
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
442
|
+
<td>The current serial number of <em class="parameter"><code>layout</code></em>.</td>
|
443
|
+
</tr>
|
444
|
+
</tbody>
|
445
|
+
</table></div>
|
446
|
+
<p class="since">Since 1.32.4</p>
|
447
|
+
</div>
|
448
|
+
<hr>
|
449
|
+
<div class="refsect2">
|
401
450
|
<a name="pango-layout-set-text"></a><h3>pango_layout_set_text ()</h3>
|
402
451
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_text (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
403
452
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
@@ -412,8 +461,11 @@ Note that if you have used
|
|
412
461
|
the attributes set on the layout from the markup as this function does not
|
413
462
|
clear attributes.
|
414
463
|
</p>
|
415
|
-
<div class="variablelist"><table border="0">
|
464
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
465
|
+
<colgroup>
|
416
466
|
<col align="left" valign="top">
|
467
|
+
<col>
|
468
|
+
</colgroup>
|
417
469
|
<tbody>
|
418
470
|
<tr>
|
419
471
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -443,8 +495,11 @@ positive.</td>
|
|
443
495
|
Gets the text in the layout. The returned text should not
|
444
496
|
be freed or modified.
|
445
497
|
</p>
|
446
|
-
<div class="variablelist"><table border="0">
|
498
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
499
|
+
<colgroup>
|
447
500
|
<col align="left" valign="top">
|
501
|
+
<col>
|
502
|
+
</colgroup>
|
448
503
|
<tbody>
|
449
504
|
<tr>
|
450
505
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -461,13 +516,16 @@ be freed or modified.
|
|
461
516
|
<hr>
|
462
517
|
<div class="refsect2">
|
463
518
|
<a name="pango-layout-get-character-count"></a><h3>pango_layout_get_character_count ()</h3>
|
464
|
-
<pre class="programlisting"><
|
519
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> 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>
|
465
520
|
<p>
|
466
521
|
Returns the number of Unicode characters in the
|
467
522
|
the text of <em class="parameter"><code>layout</code></em>.
|
468
523
|
</p>
|
469
|
-
<div class="variablelist"><table border="0">
|
524
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
525
|
+
<colgroup>
|
470
526
|
<col align="left" valign="top">
|
527
|
+
<col>
|
528
|
+
</colgroup>
|
471
529
|
<tbody>
|
472
530
|
<tr>
|
473
531
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -494,8 +552,11 @@ in the text of <em class="parameter"><code>layout</code></em>
|
|
494
552
|
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
|
495
553
|
the markup text isn't scanned for accelerators.
|
496
554
|
</p>
|
497
|
-
<div class="variablelist"><table border="0">
|
555
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
556
|
+
<colgroup>
|
498
557
|
<col align="left" valign="top">
|
558
|
+
<col>
|
559
|
+
</colgroup>
|
499
560
|
<tbody>
|
500
561
|
<tr>
|
501
562
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -520,11 +581,11 @@ null-terminated</td>
|
|
520
581
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
521
582
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
522
583
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
523
|
-
<em class="parameter"><code><
|
524
|
-
<em class="parameter"><code><
|
584
|
+
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
585
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>);</pre>
|
525
586
|
<p>
|
526
587
|
Sets the layout text and attribute list from marked-up text (see
|
527
|
-
<a
|
588
|
+
<a href="PangoMarkupFormat.html">markup format</a>). Replaces
|
528
589
|
the current text and attribute list.
|
529
590
|
</p>
|
530
591
|
<p>
|
@@ -536,8 +597,11 @@ and the first character so marked will be returned in <em class="parameter"><cod
|
|
536
597
|
Two <em class="parameter"><code>accel_marker</code></em> characters following each other produce a single
|
537
598
|
literal <em class="parameter"><code>accel_marker</code></em> character.
|
538
599
|
</p>
|
539
|
-
<div class="variablelist"><table border="0">
|
600
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
601
|
+
<colgroup>
|
540
602
|
<col align="left" valign="top">
|
603
|
+
<col>
|
604
|
+
</colgroup>
|
541
605
|
<tbody>
|
542
606
|
<tr>
|
543
607
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -547,7 +611,7 @@ literal <em class="parameter"><code>accel_marker</code></em> character.
|
|
547
611
|
<tr>
|
548
612
|
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
|
549
613
|
<td>marked-up text
|
550
|
-
(see <a
|
614
|
+
(see <a href="PangoMarkupFormat.html">markup format</a>)</td>
|
551
615
|
</tr>
|
552
616
|
<tr>
|
553
617
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
@@ -561,7 +625,7 @@ null-terminated</td>
|
|
561
625
|
<tr>
|
562
626
|
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
|
563
627
|
<td>return location
|
564
|
-
for first located accelerator, or <a href="/
|
628
|
+
for first located accelerator, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
565
629
|
</td>
|
566
630
|
</tr>
|
567
631
|
</tbody>
|
@@ -576,8 +640,11 @@ for first located accelerator, or <a href="/usr/share/gtk-doc/html/liboil/liboil
|
|
576
640
|
Sets the text attributes for a layout object.
|
577
641
|
References <em class="parameter"><code>attrs</code></em>, so the caller can unref its reference.
|
578
642
|
</p>
|
579
|
-
<div class="variablelist"><table border="0">
|
643
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
644
|
+
<colgroup>
|
580
645
|
<col align="left" valign="top">
|
646
|
+
<col>
|
647
|
+
</colgroup>
|
581
648
|
<tbody>
|
582
649
|
<tr>
|
583
650
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -586,7 +653,7 @@ References <em class="parameter"><code>attrs</code></em>, so the caller can unre
|
|
586
653
|
</tr>
|
587
654
|
<tr>
|
588
655
|
<td><p><span class="term"><em class="parameter"><code>attrs</code></em> :</span></p></td>
|
589
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, can be <a href="/
|
656
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, can be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
590
657
|
</td>
|
591
658
|
</tr>
|
592
659
|
</tbody>
|
@@ -599,8 +666,11 @@ References <em class="parameter"><code>attrs</code></em>, so the caller can unre
|
|
599
666
|
<p>
|
600
667
|
Gets the attribute list for the layout, if any.
|
601
668
|
</p>
|
602
|
-
<div class="variablelist"><table border="0">
|
669
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
670
|
+
<colgroup>
|
603
671
|
<col align="left" valign="top">
|
672
|
+
<col>
|
673
|
+
</colgroup>
|
604
674
|
<tbody>
|
605
675
|
<tr>
|
606
676
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -609,7 +679,8 @@ Gets the attribute list for the layout, if any.
|
|
609
679
|
</tr>
|
610
680
|
<tr>
|
611
681
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
612
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a
|
682
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
683
|
+
</td>
|
613
684
|
</tr>
|
614
685
|
</tbody>
|
615
686
|
</table></div>
|
@@ -624,8 +695,11 @@ Sets the default font description for the layout. If no font
|
|
624
695
|
description is set on the layout, the font description from
|
625
696
|
the layout's context is used.
|
626
697
|
</p>
|
627
|
-
<div class="variablelist"><table border="0">
|
698
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
699
|
+
<colgroup>
|
628
700
|
<col align="left" valign="top">
|
701
|
+
<col>
|
702
|
+
</colgroup>
|
629
703
|
<tbody>
|
630
704
|
<tr>
|
631
705
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -634,8 +708,8 @@ the layout's context is used.
|
|
634
708
|
</tr>
|
635
709
|
<tr>
|
636
710
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
637
|
-
<td>the new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="/
|
638
|
-
current font description. <span class="annotation">[<
|
711
|
+
<td>the new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to unset the
|
712
|
+
current font description. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
639
713
|
</td>
|
640
714
|
</tr>
|
641
715
|
</tbody>
|
@@ -649,8 +723,11 @@ current font description. <span class="annotation">[<a href="http://foldoc.org/a
|
|
649
723
|
<p>
|
650
724
|
Gets the font description for the layout, if any.
|
651
725
|
</p>
|
652
|
-
<div class="variablelist"><table border="0">
|
726
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
727
|
+
<colgroup>
|
653
728
|
<col align="left" valign="top">
|
729
|
+
<col>
|
730
|
+
</colgroup>
|
654
731
|
<tbody>
|
655
732
|
<tr>
|
656
733
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -660,7 +737,7 @@ Gets the font description for the layout, if any.
|
|
660
737
|
<tr>
|
661
738
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
662
739
|
<td>a pointer to the layout's font description,
|
663
|
-
or <a href="/
|
740
|
+
or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the font description from the layout's
|
664
741
|
context is inherited. This value is owned by the layout
|
665
742
|
and must not be modified or freed.</td>
|
666
743
|
</tr>
|
@@ -677,8 +754,11 @@ and must not be modified or freed.</td>
|
|
677
754
|
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
|
678
755
|
ellipsized. The default value is -1: no width set.
|
679
756
|
</p>
|
680
|
-
<div class="variablelist"><table border="0">
|
757
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
758
|
+
<colgroup>
|
681
759
|
<col align="left" valign="top">
|
760
|
+
<col>
|
761
|
+
</colgroup>
|
682
762
|
<tbody>
|
683
763
|
<tr>
|
684
764
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -699,8 +779,11 @@ wrapping or ellipsization should be performed.</td>
|
|
699
779
|
<p>
|
700
780
|
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.
|
701
781
|
</p>
|
702
|
-
<div class="variablelist"><table border="0">
|
782
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
783
|
+
<colgroup>
|
703
784
|
<col align="left" valign="top">
|
785
|
+
<col>
|
786
|
+
</colgroup>
|
704
787
|
<tbody>
|
705
788
|
<tr>
|
706
789
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -747,8 +830,11 @@ The behavior is undefined if a height other than -1 is set and
|
|
747
830
|
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
|
748
831
|
future.
|
749
832
|
</p>
|
750
|
-
<div class="variablelist"><table border="0">
|
833
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
834
|
+
<colgroup>
|
751
835
|
<col align="left" valign="top">
|
836
|
+
<col>
|
837
|
+
</colgroup>
|
752
838
|
<tbody>
|
753
839
|
<tr>
|
754
840
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -771,8 +857,11 @@ or desired number of lines if negative.</td>
|
|
771
857
|
Gets the height of layout used for ellipsization. See
|
772
858
|
<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.
|
773
859
|
</p>
|
774
|
-
<div class="variablelist"><table border="0">
|
860
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
861
|
+
<colgroup>
|
775
862
|
<col align="left" valign="top">
|
863
|
+
<col>
|
864
|
+
</colgroup>
|
776
865
|
<tbody>
|
777
866
|
<tr>
|
778
867
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -798,8 +887,11 @@ Sets the wrap mode; the wrap mode only has effect if a width
|
|
798
887
|
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>.
|
799
888
|
To turn off wrapping, set the width to -1.
|
800
889
|
</p>
|
801
|
-
<div class="variablelist"><table border="0">
|
890
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
891
|
+
<colgroup>
|
802
892
|
<col align="left" valign="top">
|
893
|
+
<col>
|
894
|
+
</colgroup>
|
803
895
|
<tbody>
|
804
896
|
<tr>
|
805
897
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -824,8 +916,11 @@ Gets the wrap mode for the layout.
|
|
824
916
|
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
|
825
917
|
were actually wrapped.
|
826
918
|
</p>
|
827
|
-
<div class="variablelist"><table border="0">
|
919
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
920
|
+
<colgroup>
|
828
921
|
<col align="left" valign="top">
|
922
|
+
<col>
|
923
|
+
</colgroup>
|
829
924
|
<tbody>
|
830
925
|
<tr>
|
831
926
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -842,18 +937,21 @@ were actually wrapped.
|
|
842
937
|
<hr>
|
843
938
|
<div class="refsect2">
|
844
939
|
<a name="pango-layout-is-wrapped"></a><h3>pango_layout_is_wrapped ()</h3>
|
845
|
-
<pre class="programlisting"><
|
940
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
846
941
|
<p>
|
847
942
|
Queries whether the layout had to wrap any paragraphs.
|
848
943
|
</p>
|
849
944
|
<p>
|
850
|
-
This returns <
|
945
|
+
This returns <code class="literal">TRUE</code> if a positive width is set on <em class="parameter"><code>layout</code></em>,
|
851
946
|
ellipsization mode of <em class="parameter"><code>layout</code></em> is set to <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>,
|
852
947
|
and there are paragraphs exceeding the layout width that have
|
853
948
|
to be wrapped.
|
854
949
|
</p>
|
855
|
-
<div class="variablelist"><table border="0">
|
950
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
951
|
+
<colgroup>
|
856
952
|
<col align="left" valign="top">
|
953
|
+
<col>
|
954
|
+
</colgroup>
|
857
955
|
<tbody>
|
858
956
|
<tr>
|
859
957
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -863,7 +961,7 @@ to be wrapped.
|
|
863
961
|
<tr>
|
864
962
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
865
963
|
<td>
|
866
|
-
<
|
964
|
+
<code class="literal">TRUE</code> if any paragraphs had to be wrapped, <code class="literal">FALSE</code>
|
867
965
|
otherwise.</td>
|
868
966
|
</tr>
|
869
967
|
</tbody>
|
@@ -882,8 +980,11 @@ otherwise.</td>
|
|
882
980
|
<p>
|
883
981
|
A <a class="link" href="pango-Layout-Objects.html#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.
|
884
982
|
</p>
|
885
|
-
<div class="variablelist"><table border="0">
|
983
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
984
|
+
<colgroup>
|
886
985
|
<col align="left" valign="top">
|
986
|
+
<col>
|
987
|
+
</colgroup>
|
887
988
|
<tbody>
|
888
989
|
<tr>
|
889
990
|
<td><p><a name="PANGO-WRAP-WORD:CAPS"></a><span class="term"><code class="literal">PANGO_WRAP_WORD</code></span></p></td>
|
@@ -907,10 +1008,10 @@ enough space for a full word.
|
|
907
1008
|
<hr>
|
908
1009
|
<div class="refsect2">
|
909
1010
|
<a name="PANGO-TYPE-WRAP-MODE:CAPS"></a><h3>PANGO_TYPE_WRAP_MODE</h3>
|
910
|
-
<pre class="programlisting">#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type())
|
1011
|
+
<pre class="programlisting">#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type ())
|
911
1012
|
</pre>
|
912
1013
|
<p>
|
913
|
-
The <
|
1014
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a>.
|
914
1015
|
</p>
|
915
1016
|
</div>
|
916
1017
|
<hr>
|
@@ -932,8 +1033,11 @@ each paragraph is ellipsized separately or the entire layout
|
|
932
1033
|
is ellipsized as a whole depends on the set height of the layout.
|
933
1034
|
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.
|
934
1035
|
</p>
|
935
|
-
<div class="variablelist"><table border="0">
|
1036
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1037
|
+
<colgroup>
|
936
1038
|
<col align="left" valign="top">
|
1039
|
+
<col>
|
1040
|
+
</colgroup>
|
937
1041
|
<tbody>
|
938
1042
|
<tr>
|
939
1043
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -957,8 +1061,11 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" tit
|
|
957
1061
|
Gets the type of ellipsization being performed for <em class="parameter"><code>layout</code></em>.
|
958
1062
|
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>
|
959
1063
|
</p>
|
960
|
-
<div class="variablelist"><table border="0">
|
1064
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1065
|
+
<colgroup>
|
961
1066
|
<col align="left" valign="top">
|
1067
|
+
<col>
|
1068
|
+
</colgroup>
|
962
1069
|
<tbody>
|
963
1070
|
<tr>
|
964
1071
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -978,18 +1085,21 @@ were actually ellipsized.</td>
|
|
978
1085
|
<hr>
|
979
1086
|
<div class="refsect2">
|
980
1087
|
<a name="pango-layout-is-ellipsized"></a><h3>pango_layout_is_ellipsized ()</h3>
|
981
|
-
<pre class="programlisting"><
|
1088
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
982
1089
|
<p>
|
983
1090
|
Queries whether the layout had to ellipsize any paragraphs.
|
984
1091
|
</p>
|
985
1092
|
<p>
|
986
|
-
This returns <
|
1093
|
+
This returns <code class="literal">TRUE</code> if the ellipsization mode for <em class="parameter"><code>layout</code></em>
|
987
1094
|
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>,
|
988
1095
|
and there are paragraphs exceeding that width that have to be
|
989
1096
|
ellipsized.
|
990
1097
|
</p>
|
991
|
-
<div class="variablelist"><table border="0">
|
1098
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1099
|
+
<colgroup>
|
992
1100
|
<col align="left" valign="top">
|
1101
|
+
<col>
|
1102
|
+
</colgroup>
|
993
1103
|
<tbody>
|
994
1104
|
<tr>
|
995
1105
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -999,7 +1109,7 @@ ellipsized.
|
|
999
1109
|
<tr>
|
1000
1110
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1001
1111
|
<td>
|
1002
|
-
<
|
1112
|
+
<code class="literal">TRUE</code> if any paragraphs had to be ellipsized, <code class="literal">FALSE</code>
|
1003
1113
|
otherwise.</td>
|
1004
1114
|
</tr>
|
1005
1115
|
</tbody>
|
@@ -1023,8 +1133,11 @@ the ellipsization process characters are removed from the
|
|
1023
1133
|
text in order to make it fit to a given width and replaced
|
1024
1134
|
with an ellipsis.
|
1025
1135
|
</p>
|
1026
|
-
<div class="variablelist"><table border="0">
|
1136
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1137
|
+
<colgroup>
|
1027
1138
|
<col align="left" valign="top">
|
1139
|
+
<col>
|
1140
|
+
</colgroup>
|
1028
1141
|
<tbody>
|
1029
1142
|
<tr>
|
1030
1143
|
<td><p><a name="PANGO-ELLIPSIZE-NONE:CAPS"></a><span class="term"><code class="literal">PANGO_ELLIPSIZE_NONE</code></span></p></td>
|
@@ -1052,10 +1165,10 @@ with an ellipsis.
|
|
1052
1165
|
<hr>
|
1053
1166
|
<div class="refsect2">
|
1054
1167
|
<a name="PANGO-TYPE-ELLIPSIZE-MODE:CAPS"></a><h3>PANGO_TYPE_ELLIPSIZE_MODE</h3>
|
1055
|
-
<pre class="programlisting">#define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type())
|
1168
|
+
<pre class="programlisting">#define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type ())
|
1056
1169
|
</pre>
|
1057
1170
|
<p>
|
1058
|
-
The <
|
1171
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a>.
|
1059
1172
|
</p>
|
1060
1173
|
</div>
|
1061
1174
|
<hr>
|
@@ -1073,8 +1186,11 @@ absolute value of <em class="parameter"><code>indent</code></em>.
|
|
1073
1186
|
The indent setting is ignored if layout alignment is set to
|
1074
1187
|
<a class="link" href="pango-Layout-Objects.html#PANGO-ALIGN-CENTER:CAPS"><code class="literal">PANGO_ALIGN_CENTER</code></a>.
|
1075
1188
|
</p>
|
1076
|
-
<div class="variablelist"><table border="0">
|
1189
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1190
|
+
<colgroup>
|
1077
1191
|
<col align="left" valign="top">
|
1192
|
+
<col>
|
1193
|
+
</colgroup>
|
1078
1194
|
<tbody>
|
1079
1195
|
<tr>
|
1080
1196
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1095,8 +1211,11 @@ The indent setting is ignored if layout alignment is set to
|
|
1095
1211
|
Gets the paragraph indent width in Pango units. A negative value
|
1096
1212
|
indicates a hanging indentation.
|
1097
1213
|
</p>
|
1098
|
-
<div class="variablelist"><table border="0">
|
1214
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1215
|
+
<colgroup>
|
1099
1216
|
<col align="left" valign="top">
|
1217
|
+
<col>
|
1218
|
+
</colgroup>
|
1100
1219
|
<tbody>
|
1101
1220
|
<tr>
|
1102
1221
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1117,8 +1236,11 @@ indicates a hanging indentation.
|
|
1117
1236
|
<p>
|
1118
1237
|
Gets the amount of spacing between the lines of the layout.
|
1119
1238
|
</p>
|
1120
|
-
<div class="variablelist"><table border="0">
|
1239
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1240
|
+
<colgroup>
|
1121
1241
|
<col align="left" valign="top">
|
1242
|
+
<col>
|
1243
|
+
</colgroup>
|
1122
1244
|
<tbody>
|
1123
1245
|
<tr>
|
1124
1246
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1141,8 +1263,11 @@ Gets the amount of spacing between the lines of the layout.
|
|
1141
1263
|
Sets the amount of spacing in Pango unit between the lines of the
|
1142
1264
|
layout.
|
1143
1265
|
</p>
|
1144
|
-
<div class="variablelist"><table border="0">
|
1266
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1267
|
+
<colgroup>
|
1145
1268
|
<col align="left" valign="top">
|
1269
|
+
<col>
|
1270
|
+
</colgroup>
|
1146
1271
|
<tbody>
|
1147
1272
|
<tr>
|
1148
1273
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1159,7 +1284,7 @@ layout.
|
|
1159
1284
|
<div class="refsect2">
|
1160
1285
|
<a name="pango-layout-set-justify"></a><h3>pango_layout_set_justify ()</h3>
|
1161
1286
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1162
|
-
<em class="parameter"><code><
|
1287
|
+
<em class="parameter"><code><span class="type">gboolean</span> justify</code></em>);</pre>
|
1163
1288
|
<p>
|
1164
1289
|
Sets whether each complete line should be stretched to
|
1165
1290
|
fill the entire width of the layout. This stretching is typically
|
@@ -1171,8 +1296,11 @@ the characters.
|
|
1171
1296
|
Note that this setting is not implemented and so is ignored in Pango
|
1172
1297
|
older than 1.18.
|
1173
1298
|
</p>
|
1174
|
-
<div class="variablelist"><table border="0">
|
1299
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1300
|
+
<colgroup>
|
1175
1301
|
<col align="left" valign="top">
|
1302
|
+
<col>
|
1303
|
+
</colgroup>
|
1176
1304
|
<tbody>
|
1177
1305
|
<tr>
|
1178
1306
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1189,13 +1317,16 @@ older than 1.18.
|
|
1189
1317
|
<hr>
|
1190
1318
|
<div class="refsect2">
|
1191
1319
|
<a name="pango-layout-get-justify"></a><h3>pango_layout_get_justify ()</h3>
|
1192
|
-
<pre class="programlisting"><
|
1320
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
1193
1321
|
<p>
|
1194
1322
|
Gets whether each complete line should be stretched to fill the entire
|
1195
1323
|
width of the layout.
|
1196
1324
|
</p>
|
1197
|
-
<div class="variablelist"><table border="0">
|
1325
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1326
|
+
<colgroup>
|
1198
1327
|
<col align="left" valign="top">
|
1328
|
+
<col>
|
1329
|
+
</colgroup>
|
1199
1330
|
<tbody>
|
1200
1331
|
<tr>
|
1201
1332
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1213,7 +1344,7 @@ width of the layout.
|
|
1213
1344
|
<div class="refsect2">
|
1214
1345
|
<a name="pango-layout-set-auto-dir"></a><h3>pango_layout_set_auto_dir ()</h3>
|
1215
1346
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1216
|
-
<em class="parameter"><code><
|
1347
|
+
<em class="parameter"><code><span class="type">gboolean</span> auto_dir</code></em>);</pre>
|
1217
1348
|
<p>
|
1218
1349
|
Sets whether to calculate the bidirectional base direction
|
1219
1350
|
for the layout according to the contents of the layout;
|
@@ -1225,7 +1356,7 @@ have left-to-right layout. Paragraphs with only neutral
|
|
1225
1356
|
characters get their direction from the surrounding paragraphs.
|
1226
1357
|
</p>
|
1227
1358
|
<p>
|
1228
|
-
When <
|
1359
|
+
When <code class="literal">FALSE</code>, the choice between left-to-right and
|
1229
1360
|
right-to-left layout is done according to the base direction
|
1230
1361
|
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>).
|
1231
1362
|
</p>
|
@@ -1234,8 +1365,11 @@ When the auto-computed direction of a paragraph differs from the
|
|
1234
1365
|
base direction of the context, the interpretation of
|
1235
1366
|
<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.
|
1236
1367
|
</p>
|
1237
|
-
<div class="variablelist"><table border="0">
|
1368
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1369
|
+
<colgroup>
|
1238
1370
|
<col align="left" valign="top">
|
1371
|
+
<col>
|
1372
|
+
</colgroup>
|
1239
1373
|
<tbody>
|
1240
1374
|
<tr>
|
1241
1375
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1244,7 +1378,7 @@ base direction of the context, the interpretation of
|
|
1244
1378
|
</tr>
|
1245
1379
|
<tr>
|
1246
1380
|
<td><p><span class="term"><em class="parameter"><code>auto_dir</code></em> :</span></p></td>
|
1247
|
-
<td>if <
|
1381
|
+
<td>if <code class="literal">TRUE</code>, compute the bidirectional base direction
|
1248
1382
|
from the layout's contents.</td>
|
1249
1383
|
</tr>
|
1250
1384
|
</tbody>
|
@@ -1254,14 +1388,17 @@ from the layout's contents.</td>
|
|
1254
1388
|
<hr>
|
1255
1389
|
<div class="refsect2">
|
1256
1390
|
<a name="pango-layout-get-auto-dir"></a><h3>pango_layout_get_auto_dir ()</h3>
|
1257
|
-
<pre class="programlisting"><
|
1391
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
1258
1392
|
<p>
|
1259
1393
|
Gets whether to calculate the bidirectional base direction
|
1260
1394
|
for the layout according to the contents of the layout.
|
1261
1395
|
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>.
|
1262
1396
|
</p>
|
1263
|
-
<div class="variablelist"><table border="0">
|
1397
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1398
|
+
<colgroup>
|
1264
1399
|
<col align="left" valign="top">
|
1400
|
+
<col>
|
1401
|
+
</colgroup>
|
1265
1402
|
<tbody>
|
1266
1403
|
<tr>
|
1267
1404
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1271,8 +1408,8 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" t
|
|
1271
1408
|
<tr>
|
1272
1409
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1273
1410
|
<td>
|
1274
|
-
<
|
1275
|
-
is computed from the layout's contents, <
|
1411
|
+
<code class="literal">TRUE</code> if the bidirectional base direction
|
1412
|
+
is computed from the layout's contents, <code class="literal">FALSE</code> otherwise.</td>
|
1276
1413
|
</tr>
|
1277
1414
|
</tbody>
|
1278
1415
|
</table></div>
|
@@ -1287,8 +1424,11 @@ is computed from the layout's contents, <a href="http://library.gnome.org/devel/
|
|
1287
1424
|
Sets the alignment for the layout: how partial lines are
|
1288
1425
|
positioned within the horizontal space available.
|
1289
1426
|
</p>
|
1290
|
-
<div class="variablelist"><table border="0">
|
1427
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1428
|
+
<colgroup>
|
1291
1429
|
<col align="left" valign="top">
|
1430
|
+
<col>
|
1431
|
+
</colgroup>
|
1292
1432
|
<tbody>
|
1293
1433
|
<tr>
|
1294
1434
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1310,8 +1450,11 @@ positioned within the horizontal space available.
|
|
1310
1450
|
Gets the alignment for the layout: how partial lines are
|
1311
1451
|
positioned within the horizontal space available.
|
1312
1452
|
</p>
|
1313
|
-
<div class="variablelist"><table border="0">
|
1453
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1454
|
+
<colgroup>
|
1314
1455
|
<col align="left" valign="top">
|
1456
|
+
<col>
|
1457
|
+
</colgroup>
|
1315
1458
|
<tbody>
|
1316
1459
|
<tr>
|
1317
1460
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1332,12 +1475,15 @@ positioned within the horizontal space available.
|
|
1332
1475
|
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tabs</code></em>);</pre>
|
1333
1476
|
<p>
|
1334
1477
|
Sets the tabs to use for <em class="parameter"><code>layout</code></em>, overriding the default tabs
|
1335
|
-
(by default, tabs are every 8 spaces). If <em class="parameter"><code>tabs</code></em> is <a href="/
|
1478
|
+
(by default, tabs are every 8 spaces). If <em class="parameter"><code>tabs</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, the default
|
1336
1479
|
tabs are reinstated. <em class="parameter"><code>tabs</code></em> is copied into the layout; you must
|
1337
1480
|
free your copy of <em class="parameter"><code>tabs</code></em> yourself.
|
1338
1481
|
</p>
|
1339
|
-
<div class="variablelist"><table border="0">
|
1482
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1483
|
+
<colgroup>
|
1340
1484
|
<col align="left" valign="top">
|
1485
|
+
<col>
|
1486
|
+
</colgroup>
|
1341
1487
|
<tbody>
|
1342
1488
|
<tr>
|
1343
1489
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1346,7 +1492,7 @@ free your copy of <em class="parameter"><code>tabs</code></em> yourself.
|
|
1346
1492
|
</tr>
|
1347
1493
|
<tr>
|
1348
1494
|
<td><p><span class="term"><em class="parameter"><code>tabs</code></em> :</span></p></td>
|
1349
|
-
<td>a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, or <a href="/
|
1495
|
+
<td>a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1350
1496
|
</td>
|
1351
1497
|
</tr>
|
1352
1498
|
</tbody>
|
@@ -1359,11 +1505,14 @@ free your copy of <em class="parameter"><code>tabs</code></em> yourself.
|
|
1359
1505
|
<p>
|
1360
1506
|
Gets the current <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> used by this layout. If no
|
1361
1507
|
<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
|
1362
|
-
and <a href="/
|
1508
|
+
and <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned. Default tabs are every 8 spaces.
|
1363
1509
|
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>.
|
1364
1510
|
</p>
|
1365
|
-
<div class="variablelist"><table border="0">
|
1511
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1512
|
+
<colgroup>
|
1366
1513
|
<col align="left" valign="top">
|
1514
|
+
<col>
|
1515
|
+
</colgroup>
|
1367
1516
|
<tbody>
|
1368
1517
|
<tr>
|
1369
1518
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1372,7 +1521,7 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
1372
1521
|
</tr>
|
1373
1522
|
<tr>
|
1374
1523
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1375
|
-
<td>a copy of the tabs for this layout, or <a href="/
|
1524
|
+
<td>a copy of the tabs for this layout, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
1376
1525
|
</tr>
|
1377
1526
|
</tbody>
|
1378
1527
|
</table></div>
|
@@ -1382,15 +1531,18 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
1382
1531
|
<a name="pango-layout-set-single-paragraph-mode"></a><h3>pango_layout_set_single_paragraph_mode ()</h3>
|
1383
1532
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_single_paragraph_mode
|
1384
1533
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1385
|
-
<em class="parameter"><code><
|
1534
|
+
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
|
1386
1535
|
<p>
|
1387
|
-
If <em class="parameter"><code>setting</code></em> is <
|
1536
|
+
If <em class="parameter"><code>setting</code></em> is <code class="literal">TRUE</code>, do not treat newlines and similar characters
|
1388
1537
|
as paragraph separators; instead, keep all text in a single paragraph,
|
1389
1538
|
and display a glyph for paragraph separator characters. Used when
|
1390
1539
|
you want to allow editing of newlines on a single text line.
|
1391
1540
|
</p>
|
1392
|
-
<div class="variablelist"><table border="0">
|
1541
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1542
|
+
<colgroup>
|
1393
1543
|
<col align="left" valign="top">
|
1544
|
+
<col>
|
1545
|
+
</colgroup>
|
1394
1546
|
<tbody>
|
1395
1547
|
<tr>
|
1396
1548
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1407,13 +1559,16 @@ you want to allow editing of newlines on a single text line.
|
|
1407
1559
|
<hr>
|
1408
1560
|
<div class="refsect2">
|
1409
1561
|
<a name="pango-layout-get-single-paragraph-mode"></a><h3>pango_layout_get_single_paragraph_mode ()</h3>
|
1410
|
-
<pre class="programlisting"><
|
1562
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_layout_get_single_paragraph_mode
|
1411
1563
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1412
1564
|
<p>
|
1413
1565
|
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>.
|
1414
1566
|
</p>
|
1415
|
-
<div class="variablelist"><table border="0">
|
1567
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1568
|
+
<colgroup>
|
1416
1569
|
<col align="left" valign="top">
|
1570
|
+
<col>
|
1571
|
+
</colgroup>
|
1417
1572
|
<tbody>
|
1418
1573
|
<tr>
|
1419
1574
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1423,8 +1578,8 @@ Obtains the value set by <a class="link" href="pango-Layout-Objects.html#pango-l
|
|
1423
1578
|
<tr>
|
1424
1579
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1425
1580
|
<td>
|
1426
|
-
<
|
1427
|
-
paragraph separator characters, <
|
1581
|
+
<code class="literal">TRUE</code> if the layout does not break paragraphs at
|
1582
|
+
paragraph separator characters, <code class="literal">FALSE</code> otherwise.</td>
|
1428
1583
|
</tr>
|
1429
1584
|
</tbody>
|
1430
1585
|
</table></div>
|
@@ -1443,8 +1598,11 @@ A <a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="t
|
|
1443
1598
|
available space. If the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is set to justify
|
1444
1599
|
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.
|
1445
1600
|
</p>
|
1446
|
-
<div class="variablelist"><table border="0">
|
1601
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1602
|
+
<colgroup>
|
1447
1603
|
<col align="left" valign="top">
|
1604
|
+
<col>
|
1605
|
+
</colgroup>
|
1448
1606
|
<tbody>
|
1449
1607
|
<tr>
|
1450
1608
|
<td><p><a name="PANGO-ALIGN-LEFT:CAPS"></a><span class="term"><code class="literal">PANGO_ALIGN_LEFT</code></span></p></td>
|
@@ -1467,10 +1625,10 @@ using <a class="link" href="pango-Layout-Objects.html#pango-layout-set-justify"
|
|
1467
1625
|
<hr>
|
1468
1626
|
<div class="refsect2">
|
1469
1627
|
<a name="PANGO-TYPE-ALIGNMENT:CAPS"></a><h3>PANGO_TYPE_ALIGNMENT</h3>
|
1470
|
-
<pre class="programlisting">#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type())
|
1628
|
+
<pre class="programlisting">#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type ())
|
1471
1629
|
</pre>
|
1472
1630
|
<p>
|
1473
|
-
The <
|
1631
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="type">PangoAlignment</span></a>.
|
1474
1632
|
</p>
|
1475
1633
|
</div>
|
1476
1634
|
<hr>
|
@@ -1489,8 +1647,11 @@ available to render all characters in a certain string, or when
|
|
1489
1647
|
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
|
1490
1648
|
certain font supports all the characters in the string.
|
1491
1649
|
</p>
|
1492
|
-
<div class="variablelist"><table border="0">
|
1650
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1651
|
+
<colgroup>
|
1493
1652
|
<col align="left" valign="top">
|
1653
|
+
<col>
|
1654
|
+
</colgroup>
|
1494
1655
|
<tbody>
|
1495
1656
|
<tr>
|
1496
1657
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1510,13 +1671,16 @@ certain font supports all the characters in the string.
|
|
1510
1671
|
<a name="pango-layout-get-log-attrs"></a><h3>pango_layout_get_log_attrs ()</h3>
|
1511
1672
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1512
1673
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> **attrs</code></em>,
|
1513
|
-
<em class="parameter"><code><
|
1674
|
+
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);</pre>
|
1514
1675
|
<p>
|
1515
1676
|
Retrieves an array of logical attributes for each character in
|
1516
1677
|
the <em class="parameter"><code>layout</code></em>.
|
1517
1678
|
</p>
|
1518
|
-
<div class="variablelist"><table border="0">
|
1679
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1680
|
+
<colgroup>
|
1519
1681
|
<col align="left" valign="top">
|
1682
|
+
<col>
|
1683
|
+
</colgroup>
|
1520
1684
|
<tbody>
|
1521
1685
|
<tr>
|
1522
1686
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1526,7 +1690,7 @@ the <em class="parameter"><code>layout</code></em>.
|
|
1526
1690
|
<tr>
|
1527
1691
|
<td><p><span class="term"><em class="parameter"><code>attrs</code></em> :</span></p></td>
|
1528
1692
|
<td>location to store a pointer to an array of logical attributes
|
1529
|
-
This value must be freed with <
|
1693
|
+
This value must be freed with <code class="function">g_free()</code>. <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>
|
1530
1694
|
</td>
|
1531
1695
|
</tr>
|
1532
1696
|
<tr>
|
@@ -1535,7 +1699,8 @@ This value must be freed with <a href="http://library.gnome.org/devel/glib/unsta
|
|
1535
1699
|
array. (The stored value will be one more than the total number
|
1536
1700
|
of characters in the layout, since there need to be attributes
|
1537
1701
|
corresponding to both the position before the first character
|
1538
|
-
and the position after the last character.)</
|
1702
|
+
and the position after the last character.). <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1703
|
+
</td>
|
1539
1704
|
</tr>
|
1540
1705
|
</tbody>
|
1541
1706
|
</table></div>
|
@@ -1545,7 +1710,7 @@ and the position after the last character.)</td>
|
|
1545
1710
|
<a name="pango-layout-get-log-attrs-readonly"></a><h3>pango_layout_get_log_attrs_readonly ()</h3>
|
1546
1711
|
<pre class="programlisting">const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="returnvalue">PangoLogAttr</span></a> * pango_layout_get_log_attrs_readonly
|
1547
1712
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1548
|
-
<em class="parameter"><code><
|
1713
|
+
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);</pre>
|
1549
1714
|
<p>
|
1550
1715
|
Retrieves an array of logical attributes for each character in
|
1551
1716
|
the <em class="parameter"><code>layout</code></em>.
|
@@ -1561,8 +1726,11 @@ than the total number of characters in the layout, since there
|
|
1561
1726
|
need to be attributes corresponding to both the position before
|
1562
1727
|
the first character and the position after the last character.
|
1563
1728
|
</p>
|
1564
|
-
<div class="variablelist"><table border="0">
|
1729
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1730
|
+
<colgroup>
|
1565
1731
|
<col align="left" valign="top">
|
1732
|
+
<col>
|
1733
|
+
</colgroup>
|
1566
1734
|
<tbody>
|
1567
1735
|
<tr>
|
1568
1736
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1571,11 +1739,14 @@ the first character and the position after the last character.
|
|
1571
1739
|
</tr>
|
1572
1740
|
<tr>
|
1573
1741
|
<td><p><span class="term"><em class="parameter"><code>n_attrs</code></em> :</span></p></td>
|
1574
|
-
<td>location to store the number of the attributes in
|
1742
|
+
<td>location to store the number of the attributes in
|
1743
|
+
the array. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1744
|
+
</td>
|
1575
1745
|
</tr>
|
1576
1746
|
<tr>
|
1577
1747
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1578
|
-
<td>an array of logical attributes</
|
1748
|
+
<td>an array of logical attributes. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_attrs]</span>
|
1749
|
+
</td>
|
1579
1750
|
</tr>
|
1580
1751
|
</tbody>
|
1581
1752
|
</table></div>
|
@@ -1595,8 +1766,11 @@ edge of the grapheme and <code class="literal">pos->x + pos->width</code>
|
|
1595
1766
|
edge of the grapheme. If the directionality of the grapheme is right-to-left,
|
1596
1767
|
then <code class="literal">pos->width</code> will be negative.
|
1597
1768
|
</p>
|
1598
|
-
<div class="variablelist"><table border="0">
|
1769
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1770
|
+
<colgroup>
|
1599
1771
|
<col align="left" valign="top">
|
1772
|
+
<col>
|
1773
|
+
</colgroup>
|
1600
1774
|
<tbody>
|
1601
1775
|
<tr>
|
1602
1776
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1610,7 +1784,7 @@ then <code class="literal">pos->width</code> will be negative.
|
|
1610
1784
|
</tr>
|
1611
1785
|
<tr>
|
1612
1786
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
1613
|
-
<td>rectangle in which to store the position of the grapheme. <span class="annotation">[<
|
1787
|
+
<td>rectangle in which to store the position of the grapheme. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1614
1788
|
</td>
|
1615
1789
|
</tr>
|
1616
1790
|
</tbody>
|
@@ -1621,15 +1795,18 @@ then <code class="literal">pos->width</code> will be negative.
|
|
1621
1795
|
<a name="pango-layout-index-to-line-x"></a><h3>pango_layout_index_to_line_x ()</h3>
|
1622
1796
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1623
1797
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
1624
|
-
<em class="parameter"><code><
|
1798
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
1625
1799
|
<em class="parameter"><code><span class="type">int</span> *line</code></em>,
|
1626
1800
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
1627
1801
|
<p>
|
1628
1802
|
Converts from byte <em class="parameter"><code>index_</code></em> within the <em class="parameter"><code>layout</code></em> to line and X position.
|
1629
1803
|
(X position is measured from the left edge of the line)
|
1630
1804
|
</p>
|
1631
|
-
<div class="variablelist"><table border="0">
|
1805
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1806
|
+
<colgroup>
|
1632
1807
|
<col align="left" valign="top">
|
1808
|
+
<col>
|
1809
|
+
</colgroup>
|
1633
1810
|
<tbody>
|
1634
1811
|
<tr>
|
1635
1812
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1649,13 +1826,13 @@ the leading of the grapheme.</td>
|
|
1649
1826
|
<tr>
|
1650
1827
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
1651
1828
|
<td>location to store resulting line index. (which will
|
1652
|
-
between 0 and pango_layout_get_line_count(layout) - 1), or <a href="/
|
1829
|
+
between 0 and pango_layout_get_line_count(layout) - 1), or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
1653
1830
|
</td>
|
1654
1831
|
</tr>
|
1655
1832
|
<tr>
|
1656
1833
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
1657
1834
|
<td>location to store resulting position within line
|
1658
|
-
(<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="/
|
1835
|
+
(<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="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
1659
1836
|
</td>
|
1660
1837
|
</tr>
|
1661
1838
|
</tbody>
|
@@ -1664,7 +1841,7 @@ between 0 and pango_layout_get_line_count(layout) - 1), or <a href="/usr/share/g
|
|
1664
1841
|
<hr>
|
1665
1842
|
<div class="refsect2">
|
1666
1843
|
<a name="pango-layout-xy-to-index"></a><h3>pango_layout_xy_to_index ()</h3>
|
1667
|
-
<pre class="programlisting"><
|
1844
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
|
1668
1845
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
1669
1846
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
1670
1847
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
@@ -1677,10 +1854,13 @@ Y position is not inside the layout, the closest position is chosen
|
|
1677
1854
|
X position is not within the layout, then the start or the
|
1678
1855
|
end of the line is chosen as described for <code class="function">pango_layout_x_to_index()</code>.
|
1679
1856
|
If either the X or Y positions were not inside the layout, then the
|
1680
|
-
function returns <
|
1857
|
+
function returns <code class="literal">FALSE</code>; on an exact hit, it returns <code class="literal">TRUE</code>.
|
1681
1858
|
</p>
|
1682
|
-
<div class="variablelist"><table border="0">
|
1859
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1860
|
+
<colgroup>
|
1683
1861
|
<col align="left" valign="top">
|
1862
|
+
<col>
|
1863
|
+
</colgroup>
|
1684
1864
|
<tbody>
|
1685
1865
|
<tr>
|
1686
1866
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1699,7 +1879,7 @@ from the top edge of the layout</td>
|
|
1699
1879
|
</tr>
|
1700
1880
|
<tr>
|
1701
1881
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
1702
|
-
<td>location to store calculated byte index. <span class="annotation">[<
|
1882
|
+
<td>location to store calculated byte index. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1703
1883
|
</td>
|
1704
1884
|
</tr>
|
1705
1885
|
<tr>
|
@@ -1707,13 +1887,13 @@ from the top edge of the layout</td>
|
|
1707
1887
|
<td>location to store a integer indicating where
|
1708
1888
|
in the grapheme the user clicked. It will either
|
1709
1889
|
be zero, or the number of characters in the
|
1710
|
-
grapheme. 0 represents the trailing edge of the grapheme. <span class="annotation">[<
|
1890
|
+
grapheme. 0 represents the trailing edge of the grapheme. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1711
1891
|
</td>
|
1712
1892
|
</tr>
|
1713
1893
|
<tr>
|
1714
1894
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1715
1895
|
<td>
|
1716
|
-
<
|
1896
|
+
<code class="literal">TRUE</code> if the coordinates were inside text, <code class="literal">FALSE</code> otherwise.</td>
|
1717
1897
|
</tr>
|
1718
1898
|
</tbody>
|
1719
1899
|
</table></div>
|
@@ -1735,8 +1915,11 @@ layout are inserted. The weak cursor location is the location
|
|
1735
1915
|
where characters of the directionality opposite to the base
|
1736
1916
|
direction of the layout are inserted.
|
1737
1917
|
</p>
|
1738
|
-
<div class="variablelist"><table border="0">
|
1918
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1919
|
+
<colgroup>
|
1739
1920
|
<col align="left" valign="top">
|
1921
|
+
<col>
|
1922
|
+
</colgroup>
|
1740
1923
|
<tbody>
|
1741
1924
|
<tr>
|
1742
1925
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1750,12 +1933,12 @@ direction of the layout are inserted.
|
|
1750
1933
|
<tr>
|
1751
1934
|
<td><p><span class="term"><em class="parameter"><code>strong_pos</code></em> :</span></p></td>
|
1752
1935
|
<td>location to store the strong cursor position
|
1753
|
-
(may be <a href="/
|
1936
|
+
(may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>). <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>
|
1754
1937
|
</td>
|
1755
1938
|
</tr>
|
1756
1939
|
<tr>
|
1757
1940
|
<td><p><span class="term"><em class="parameter"><code>weak_pos</code></em> :</span></p></td>
|
1758
|
-
<td>location to store the weak cursor position (may be <a href="/
|
1941
|
+
<td>location to store the weak cursor position (may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>). <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>
|
1759
1942
|
</td>
|
1760
1943
|
</tr>
|
1761
1944
|
</tbody>
|
@@ -1765,7 +1948,7 @@ direction of the layout are inserted.
|
|
1765
1948
|
<div class="refsect2">
|
1766
1949
|
<a name="pango-layout-move-cursor-visually"></a><h3>pango_layout_move_cursor_visually ()</h3>
|
1767
1950
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1768
|
-
<em class="parameter"><code><
|
1951
|
+
<em class="parameter"><code><span class="type">gboolean</span> strong</code></em>,
|
1769
1952
|
<em class="parameter"><code><span class="type">int</span> old_index</code></em>,
|
1770
1953
|
<em class="parameter"><code><span class="type">int</span> old_trailing</code></em>,
|
1771
1954
|
<em class="parameter"><code><span class="type">int</span> direction</code></em>,
|
@@ -1791,8 +1974,11 @@ single call to <a class="link" href="pango-Layout-Objects.html#pango-layout-move
|
|
1791
1974
|
cursor over multiple characters when multiple characters combine
|
1792
1975
|
to form a single grapheme.
|
1793
1976
|
</p>
|
1794
|
-
<div class="variablelist"><table border="0">
|
1977
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1978
|
+
<colgroup>
|
1795
1979
|
<col align="left" valign="top">
|
1980
|
+
<col>
|
1981
|
+
</colgroup>
|
1796
1982
|
<tbody>
|
1797
1983
|
<tr>
|
1798
1984
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1823,18 +2009,20 @@ value indicates motion to the left.</td>
|
|
1823
2009
|
<td><p><span class="term"><em class="parameter"><code>new_index</code></em> :</span></p></td>
|
1824
2010
|
<td>location to store the new cursor byte index. A value of -1
|
1825
2011
|
indicates that the cursor has been moved off the beginning
|
1826
|
-
of the layout. A value of <
|
1827
|
-
the cursor has been moved off the end of the layout. <span class="annotation">[<
|
2012
|
+
of the layout. A value of <code class="literal">G_MAXINT</code> indicates that
|
2013
|
+
the cursor has been moved off the end of the layout. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1828
2014
|
</td>
|
1829
2015
|
</tr>
|
1830
2016
|
<tr>
|
1831
2017
|
<td><p><span class="term"><em class="parameter"><code>new_trailing</code></em> :</span></p></td>
|
1832
|
-
<td>number of characters to move forward from the
|
1833
|
-
for <em class="parameter"><code>new_index</code></em> to get the position
|
1834
|
-
be displayed. This allows
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
2018
|
+
<td>number of characters to move forward from the
|
2019
|
+
location returned for <em class="parameter"><code>new_index</code></em> to get the position
|
2020
|
+
where the cursor should be displayed. This allows
|
2021
|
+
distinguishing the position at the beginning of one
|
2022
|
+
line from the position at the end of the preceding
|
2023
|
+
line. <em class="parameter"><code>new_index</code></em> is always on the line where the
|
2024
|
+
cursor should be displayed. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2025
|
+
</td>
|
1838
2026
|
</tr>
|
1839
2027
|
</tbody>
|
1840
2028
|
</table></div>
|
@@ -1857,8 +2045,11 @@ a set width.
|
|
1857
2045
|
The extents are given in layout coordinates and in Pango units; layout
|
1858
2046
|
coordinates begin at the top left corner of the layout.
|
1859
2047
|
</p>
|
1860
|
-
<div class="variablelist"><table border="0">
|
2048
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2049
|
+
<colgroup>
|
1861
2050
|
<col align="left" valign="top">
|
2051
|
+
<col>
|
2052
|
+
</colgroup>
|
1862
2053
|
<tbody>
|
1863
2054
|
<tr>
|
1864
2055
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1868,15 +2059,15 @@ coordinates begin at the top left corner of the layout.
|
|
1868
2059
|
<tr>
|
1869
2060
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1870
2061
|
<td>rectangle used to store the extents of the
|
1871
|
-
layout as drawn or <a href="/
|
1872
|
-
not needed. <span class="annotation">[<
|
2062
|
+
layout as drawn or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is
|
2063
|
+
not needed. <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>
|
1873
2064
|
</td>
|
1874
2065
|
</tr>
|
1875
2066
|
<tr>
|
1876
2067
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1877
2068
|
<td>rectangle used to store the logical
|
1878
|
-
extents of the layout or <a href="/
|
1879
|
-
result is not needed. <span class="annotation">[<
|
2069
|
+
extents of the layout or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the
|
2070
|
+
result is not needed. <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>
|
1880
2071
|
</td>
|
1881
2072
|
</tr>
|
1882
2073
|
</tbody>
|
@@ -1895,8 +2086,11 @@ two <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" titl
|
|
1895
2086
|
such that the rounded rectangles fully contain the unrounded one (that is,
|
1896
2087
|
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>).
|
1897
2088
|
</p>
|
1898
|
-
<div class="variablelist"><table border="0">
|
2089
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2090
|
+
<colgroup>
|
1899
2091
|
<col align="left" valign="top">
|
2092
|
+
<col>
|
2093
|
+
</colgroup>
|
1900
2094
|
<tbody>
|
1901
2095
|
<tr>
|
1902
2096
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1906,15 +2100,15 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
1906
2100
|
<tr>
|
1907
2101
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1908
2102
|
<td>rectangle used to store the extents of the
|
1909
|
-
layout as drawn or <a href="/
|
1910
|
-
not needed. <span class="annotation">[<
|
2103
|
+
layout as drawn or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is
|
2104
|
+
not needed. <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>
|
1911
2105
|
</td>
|
1912
2106
|
</tr>
|
1913
2107
|
<tr>
|
1914
2108
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1915
2109
|
<td>rectangle used to store the logical
|
1916
|
-
extents of the layout or <a href="/
|
1917
|
-
result is not needed. <span class="annotation">[<
|
2110
|
+
extents of the layout or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the
|
2111
|
+
result is not needed. <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>
|
1918
2112
|
</td>
|
1919
2113
|
</tr>
|
1920
2114
|
</tbody>
|
@@ -1931,8 +2125,11 @@ Determines the logical width and height of a <a class="link" href="pango-Layout-
|
|
1931
2125
|
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
|
1932
2126
|
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>.
|
1933
2127
|
</p>
|
1934
|
-
<div class="variablelist"><table border="0">
|
2128
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2129
|
+
<colgroup>
|
1935
2130
|
<col align="left" valign="top">
|
2131
|
+
<col>
|
2132
|
+
</colgroup>
|
1936
2133
|
<tbody>
|
1937
2134
|
<tr>
|
1938
2135
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1941,12 +2138,12 @@ is simply a convenience function around <a class="link" href="pango-Layout-Objec
|
|
1941
2138
|
</tr>
|
1942
2139
|
<tr>
|
1943
2140
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1944
|
-
<td>location to store the logical width, or <a href="/
|
2141
|
+
<td>location to store the logical width, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
1945
2142
|
</td>
|
1946
2143
|
</tr>
|
1947
2144
|
<tr>
|
1948
2145
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1949
|
-
<td>location to store the logical height, or <a href="/
|
2146
|
+
<td>location to store the logical height, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
1950
2147
|
</td>
|
1951
2148
|
</tr>
|
1952
2149
|
</tbody>
|
@@ -1965,8 +2162,11 @@ and height scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:
|
|
1965
2162
|
is simply a convenience function around
|
1966
2163
|
<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>.
|
1967
2164
|
</p>
|
1968
|
-
<div class="variablelist"><table border="0">
|
2165
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2166
|
+
<colgroup>
|
1969
2167
|
<col align="left" valign="top">
|
2168
|
+
<col>
|
2169
|
+
</colgroup>
|
1970
2170
|
<tbody>
|
1971
2171
|
<tr>
|
1972
2172
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -1975,12 +2175,12 @@ is simply a convenience function around
|
|
1975
2175
|
</tr>
|
1976
2176
|
<tr>
|
1977
2177
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1978
|
-
<td>location to store the logical width, or <a href="/
|
2178
|
+
<td>location to store the logical width, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
1979
2179
|
</td>
|
1980
2180
|
</tr>
|
1981
2181
|
<tr>
|
1982
2182
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1983
|
-
<td>location to store the logical height, or <a href="/
|
2183
|
+
<td>location to store the logical height, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
1984
2184
|
</td>
|
1985
2185
|
</tr>
|
1986
2186
|
</tbody>
|
@@ -1993,8 +2193,11 @@ is simply a convenience function around
|
|
1993
2193
|
<p>
|
1994
2194
|
Gets the Y position of baseline of the first line in <em class="parameter"><code>layout</code></em>.
|
1995
2195
|
</p>
|
1996
|
-
<div class="variablelist"><table border="0">
|
2196
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2197
|
+
<colgroup>
|
1997
2198
|
<col align="left" valign="top">
|
2199
|
+
<col>
|
2200
|
+
</colgroup>
|
1998
2201
|
<tbody>
|
1999
2202
|
<tr>
|
2000
2203
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -2016,8 +2219,11 @@ Gets the Y position of baseline of the first line in <em class="parameter"><code
|
|
2016
2219
|
<p>
|
2017
2220
|
Retrieves the count of lines for the <em class="parameter"><code>layout</code></em>.
|
2018
2221
|
</p>
|
2019
|
-
<div class="variablelist"><table border="0">
|
2222
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2223
|
+
<colgroup>
|
2020
2224
|
<col align="left" valign="top">
|
2225
|
+
<col>
|
2226
|
+
</colgroup>
|
2021
2227
|
<tbody>
|
2022
2228
|
<tr>
|
2023
2229
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -2042,8 +2248,11 @@ Retrieves a particular line from a <a class="link" href="pango-Layout-Objects.ht
|
|
2042
2248
|
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
|
2043
2249
|
to modify the contents of the line (glyphs, glyph widths, etc.).
|
2044
2250
|
</p>
|
2045
|
-
<div class="variablelist"><table border="0">
|
2251
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2252
|
+
<colgroup>
|
2046
2253
|
<col align="left" valign="top">
|
2254
|
+
<col>
|
2255
|
+
</colgroup>
|
2047
2256
|
<tbody>
|
2048
2257
|
<tr>
|
2049
2258
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -2057,10 +2266,11 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2057
2266
|
</tr>
|
2058
2267
|
<tr>
|
2059
2268
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2060
|
-
<td>the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="/
|
2269
|
+
<td>the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the
|
2061
2270
|
index is out of range. This layout line can
|
2062
2271
|
be ref'ed and retained, but will become invalid
|
2063
|
-
if changes are made to the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
2272
|
+
if changes are made to the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2273
|
+
</td>
|
2064
2274
|
</tr>
|
2065
2275
|
</tbody>
|
2066
2276
|
</table></div>
|
@@ -2078,8 +2288,11 @@ This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#
|
|
2078
2288
|
but the user is not expected
|
2079
2289
|
to modify the contents of the line (glyphs, glyph widths, etc.).
|
2080
2290
|
</p>
|
2081
|
-
<div class="variablelist"><table border="0">
|
2291
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2292
|
+
<colgroup>
|
2082
2293
|
<col align="left" valign="top">
|
2294
|
+
<col>
|
2295
|
+
</colgroup>
|
2083
2296
|
<tbody>
|
2084
2297
|
<tr>
|
2085
2298
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -2093,11 +2306,12 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2093
2306
|
</tr>
|
2094
2307
|
<tr>
|
2095
2308
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2096
|
-
<td>the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="/
|
2309
|
+
<td>the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the
|
2097
2310
|
index is out of range. This layout line can
|
2098
2311
|
be ref'ed and retained, but will become invalid
|
2099
2312
|
if changes are made to the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
2100
|
-
No changes should be made to the line
|
2313
|
+
No changes should be made to the line. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2314
|
+
</td>
|
2101
2315
|
</tr>
|
2102
2316
|
</tbody>
|
2103
2317
|
</table></div>
|
@@ -2106,7 +2320,7 @@ No changes should be made to the line.</td>
|
|
2106
2320
|
<hr>
|
2107
2321
|
<div class="refsect2">
|
2108
2322
|
<a name="pango-layout-get-lines"></a><h3>pango_layout_get_lines ()</h3>
|
2109
|
-
<pre class="programlisting"><
|
2323
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * 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>
|
2110
2324
|
<p>
|
2111
2325
|
Returns the lines of the <em class="parameter"><code>layout</code></em> as a list.
|
2112
2326
|
</p>
|
@@ -2114,8 +2328,11 @@ Returns the lines of the <em class="parameter"><code>layout</code></em> as a lis
|
|
2114
2328
|
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
|
2115
2329
|
to modify the contents of the lines (glyphs, glyph widths, etc.).
|
2116
2330
|
</p>
|
2117
|
-
<div class="variablelist"><table border="0">
|
2331
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2332
|
+
<colgroup>
|
2118
2333
|
<col align="left" valign="top">
|
2334
|
+
<col>
|
2335
|
+
</colgroup>
|
2119
2336
|
<tbody>
|
2120
2337
|
<tr>
|
2121
2338
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -2124,10 +2341,10 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).
|
|
2124
2341
|
</tr>
|
2125
2342
|
<tr>
|
2126
2343
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2127
|
-
<td>a <
|
2344
|
+
<td>a <span class="type">GSList</span> containing
|
2128
2345
|
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>
|
2129
2346
|
and must be used with care. It will become invalid on any change to the layout's
|
2130
|
-
text or properties. <span class="annotation">[<
|
2347
|
+
text or properties. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.LayoutLine][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2131
2348
|
</td>
|
2132
2349
|
</tr>
|
2133
2350
|
</tbody>
|
@@ -2136,7 +2353,7 @@ text or properties. <span class="annotation">[<a href="http://foldoc.org/element
|
|
2136
2353
|
<hr>
|
2137
2354
|
<div class="refsect2">
|
2138
2355
|
<a name="pango-layout-get-lines-readonly"></a><h3>pango_layout_get_lines_readonly ()</h3>
|
2139
|
-
<pre class="programlisting"><
|
2356
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * 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>
|
2140
2357
|
<p>
|
2141
2358
|
Returns the lines of the <em class="parameter"><code>layout</code></em> as a list.
|
2142
2359
|
</p>
|
@@ -2145,8 +2362,11 @@ This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#
|
|
2145
2362
|
but the user is not expected
|
2146
2363
|
to modify the contents of the lines (glyphs, glyph widths, etc.).
|
2147
2364
|
</p>
|
2148
|
-
<div class="variablelist"><table border="0">
|
2365
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2366
|
+
<colgroup>
|
2149
2367
|
<col align="left" valign="top">
|
2368
|
+
<col>
|
2369
|
+
</colgroup>
|
2150
2370
|
<tbody>
|
2151
2371
|
<tr>
|
2152
2372
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -2155,10 +2375,10 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).
|
|
2155
2375
|
</tr>
|
2156
2376
|
<tr>
|
2157
2377
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2158
|
-
<td>a <
|
2378
|
+
<td>a <span class="type">GSList</span> containing
|
2159
2379
|
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
|
2160
2380
|
must be used with care. It will become invalid on any change to the layout's
|
2161
|
-
text or properties. No changes should be made to the lines. <span class="annotation">[<
|
2381
|
+
text or properties. No changes should be made to the lines. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.LayoutLine][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2162
2382
|
</td>
|
2163
2383
|
</tr>
|
2164
2384
|
</tbody>
|
@@ -2172,8 +2392,11 @@ text or properties. No changes should be made to the lines. <span class="annota
|
|
2172
2392
|
<p>
|
2173
2393
|
Returns an iterator to iterate over the visual extents of the layout.
|
2174
2394
|
</p>
|
2175
|
-
<div class="variablelist"><table border="0">
|
2395
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2396
|
+
<colgroup>
|
2176
2397
|
<col align="left" valign="top">
|
2398
|
+
<col>
|
2399
|
+
</colgroup>
|
2177
2400
|
<tbody>
|
2178
2401
|
<tr>
|
2179
2402
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
@@ -2193,21 +2416,24 @@ Returns an iterator to iterate over the visual extents of the layout.
|
|
2193
2416
|
<a name="pango-layout-iter-copy"></a><h3>pango_layout_iter_copy ()</h3>
|
2194
2417
|
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> * 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>
|
2195
2418
|
<p>
|
2196
|
-
Copies a <span class="type">
|
2419
|
+
Copies a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>.
|
2197
2420
|
</p>
|
2198
|
-
<div class="variablelist"><table border="0">
|
2421
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2422
|
+
<colgroup>
|
2199
2423
|
<col align="left" valign="top">
|
2424
|
+
<col>
|
2425
|
+
</colgroup>
|
2200
2426
|
<tbody>
|
2201
2427
|
<tr>
|
2202
2428
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2203
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="/
|
2429
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2204
2430
|
</td>
|
2205
2431
|
</tr>
|
2206
2432
|
<tr>
|
2207
2433
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2208
2434
|
<td>the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, which should
|
2209
|
-
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>, or <a href="/
|
2210
|
-
<em class="parameter"><code>iter</code></em> was <a href="/
|
2435
|
+
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>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
|
2436
|
+
<em class="parameter"><code>iter</code></em> was <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
2211
2437
|
</tr>
|
2212
2438
|
</tbody>
|
2213
2439
|
</table></div>
|
@@ -2220,11 +2446,14 @@ be freed with <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-
|
|
2220
2446
|
<p>
|
2221
2447
|
Frees an iterator that's no longer in use.
|
2222
2448
|
</p>
|
2223
|
-
<div class="variablelist"><table border="0">
|
2449
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2450
|
+
<colgroup>
|
2224
2451
|
<col align="left" valign="top">
|
2452
|
+
<col>
|
2453
|
+
</colgroup>
|
2225
2454
|
<tbody><tr>
|
2226
2455
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2227
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="/
|
2456
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2228
2457
|
</td>
|
2229
2458
|
</tr></tbody>
|
2230
2459
|
</table></div>
|
@@ -2232,13 +2461,16 @@ Frees an iterator that's no longer in use.
|
|
2232
2461
|
<hr>
|
2233
2462
|
<div class="refsect2">
|
2234
2463
|
<a name="pango-layout-iter-next-run"></a><h3>pango_layout_iter_next_run ()</h3>
|
2235
|
-
<pre class="programlisting"><
|
2464
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
2236
2465
|
<p>
|
2237
2466
|
Moves <em class="parameter"><code>iter</code></em> forward to the next run in visual order. If <em class="parameter"><code>iter</code></em> was
|
2238
|
-
already at the end of the layout, returns <
|
2467
|
+
already at the end of the layout, returns <code class="literal">FALSE</code>.
|
2239
2468
|
</p>
|
2240
|
-
<div class="variablelist"><table border="0">
|
2469
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2470
|
+
<colgroup>
|
2241
2471
|
<col align="left" valign="top">
|
2472
|
+
<col>
|
2473
|
+
</colgroup>
|
2242
2474
|
<tbody>
|
2243
2475
|
<tr>
|
2244
2476
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2255,13 +2487,16 @@ already at the end of the layout, returns <a href="http://library.gnome.org/deve
|
|
2255
2487
|
<hr>
|
2256
2488
|
<div class="refsect2">
|
2257
2489
|
<a name="pango-layout-iter-next-char"></a><h3>pango_layout_iter_next_char ()</h3>
|
2258
|
-
<pre class="programlisting"><
|
2490
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
2259
2491
|
<p>
|
2260
2492
|
Moves <em class="parameter"><code>iter</code></em> forward to the next character in visual order. If <em class="parameter"><code>iter</code></em> was already at
|
2261
|
-
the end of the layout, returns <
|
2493
|
+
the end of the layout, returns <code class="literal">FALSE</code>.
|
2262
2494
|
</p>
|
2263
|
-
<div class="variablelist"><table border="0">
|
2495
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2496
|
+
<colgroup>
|
2264
2497
|
<col align="left" valign="top">
|
2498
|
+
<col>
|
2499
|
+
</colgroup>
|
2265
2500
|
<tbody>
|
2266
2501
|
<tr>
|
2267
2502
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2278,13 +2513,16 @@ the end of the layout, returns <a href="http://library.gnome.org/devel/glib/unst
|
|
2278
2513
|
<hr>
|
2279
2514
|
<div class="refsect2">
|
2280
2515
|
<a name="pango-layout-iter-next-cluster"></a><h3>pango_layout_iter_next_cluster ()</h3>
|
2281
|
-
<pre class="programlisting"><
|
2516
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
2282
2517
|
<p>
|
2283
2518
|
Moves <em class="parameter"><code>iter</code></em> forward to the next cluster in visual order. If <em class="parameter"><code>iter</code></em>
|
2284
|
-
was already at the end of the layout, returns <
|
2519
|
+
was already at the end of the layout, returns <code class="literal">FALSE</code>.
|
2285
2520
|
</p>
|
2286
|
-
<div class="variablelist"><table border="0">
|
2521
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2522
|
+
<colgroup>
|
2287
2523
|
<col align="left" valign="top">
|
2524
|
+
<col>
|
2525
|
+
</colgroup>
|
2288
2526
|
<tbody>
|
2289
2527
|
<tr>
|
2290
2528
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2301,13 +2539,16 @@ was already at the end of the layout, returns <a href="http://library.gnome.org/
|
|
2301
2539
|
<hr>
|
2302
2540
|
<div class="refsect2">
|
2303
2541
|
<a name="pango-layout-iter-next-line"></a><h3>pango_layout_iter_next_line ()</h3>
|
2304
|
-
<pre class="programlisting"><
|
2542
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
2305
2543
|
<p>
|
2306
2544
|
Moves <em class="parameter"><code>iter</code></em> forward to the start of the next line. If <em class="parameter"><code>iter</code></em> is
|
2307
|
-
already on the last line, returns <
|
2545
|
+
already on the last line, returns <code class="literal">FALSE</code>.
|
2308
2546
|
</p>
|
2309
|
-
<div class="variablelist"><table border="0">
|
2547
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2548
|
+
<colgroup>
|
2310
2549
|
<col align="left" valign="top">
|
2550
|
+
<col>
|
2551
|
+
</colgroup>
|
2311
2552
|
<tbody>
|
2312
2553
|
<tr>
|
2313
2554
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2324,12 +2565,15 @@ already on the last line, returns <a href="http://library.gnome.org/devel/glib/u
|
|
2324
2565
|
<hr>
|
2325
2566
|
<div class="refsect2">
|
2326
2567
|
<a name="pango-layout-iter-at-last-line"></a><h3>pango_layout_iter_at_last_line ()</h3>
|
2327
|
-
<pre class="programlisting"><
|
2568
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
2328
2569
|
<p>
|
2329
2570
|
Determines whether <em class="parameter"><code>iter</code></em> is on the last line of the layout.
|
2330
2571
|
</p>
|
2331
|
-
<div class="variablelist"><table border="0">
|
2572
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2573
|
+
<colgroup>
|
2332
2574
|
<col align="left" valign="top">
|
2575
|
+
<col>
|
2576
|
+
</colgroup>
|
2333
2577
|
<tbody>
|
2334
2578
|
<tr>
|
2335
2579
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2339,7 +2583,7 @@ Determines whether <em class="parameter"><code>iter</code></em> is on the last l
|
|
2339
2583
|
<tr>
|
2340
2584
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2341
2585
|
<td>
|
2342
|
-
<
|
2586
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> is on the last line.</td>
|
2343
2587
|
</tr>
|
2344
2588
|
</tbody>
|
2345
2589
|
</table></div>
|
@@ -2352,10 +2596,13 @@ Determines whether <em class="parameter"><code>iter</code></em> is on the last l
|
|
2352
2596
|
Gets the current byte index. Note that iterating forward by char
|
2353
2597
|
moves in visual order, not logical order, so indexes may not be
|
2354
2598
|
sequential. Also, the index may be equal to the length of the text
|
2355
|
-
in the layout, if on the <a href="/
|
2599
|
+
in the layout, if on the <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>).
|
2356
2600
|
</p>
|
2357
|
-
<div class="variablelist"><table border="0">
|
2601
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2602
|
+
<colgroup>
|
2358
2603
|
<col align="left" valign="top">
|
2604
|
+
<col>
|
2605
|
+
</colgroup>
|
2359
2606
|
<tbody>
|
2360
2607
|
<tr>
|
2361
2608
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2377,8 +2624,11 @@ in the layout, if on the <a href="/usr/share/gtk-doc/html/liboil/liboil-liboilju
|
|
2377
2624
|
Gets the Y position of the current line's baseline, in layout
|
2378
2625
|
coordinates (origin at top left of the entire layout).
|
2379
2626
|
</p>
|
2380
|
-
<div class="variablelist"><table border="0">
|
2627
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2628
|
+
<colgroup>
|
2381
2629
|
<col align="left" valign="top">
|
2630
|
+
<col>
|
2631
|
+
</colgroup>
|
2382
2632
|
<tbody>
|
2383
2633
|
<tr>
|
2384
2634
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2398,16 +2648,19 @@ coordinates (origin at top left of the entire layout).
|
|
2398
2648
|
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> * 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>
|
2399
2649
|
<p>
|
2400
2650
|
Gets the current run. When iterating by run, at the end of each
|
2401
|
-
line, there's a position with a <a href="/
|
2402
|
-
<a href="/
|
2651
|
+
line, there's a position with a <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> run, so this function can return
|
2652
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> run at the end of each line ensures that all lines have
|
2403
2653
|
at least one run, even lines consisting of only a newline.
|
2404
2654
|
</p>
|
2405
2655
|
<p>
|
2406
2656
|
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
|
2407
2657
|
to modify the contents of the run (glyphs, glyph widths, etc.).
|
2408
2658
|
</p>
|
2409
|
-
<div class="variablelist"><table border="0">
|
2659
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2660
|
+
<colgroup>
|
2410
2661
|
<col align="left" valign="top">
|
2662
|
+
<col>
|
2663
|
+
</colgroup>
|
2411
2664
|
<tbody>
|
2412
2665
|
<tr>
|
2413
2666
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2416,7 +2669,7 @@ to modify the contents of the run (glyphs, glyph widths, etc.).
|
|
2416
2669
|
</tr>
|
2417
2670
|
<tr>
|
2418
2671
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2419
|
-
<td>the current run. <span class="annotation">[<
|
2672
|
+
<td>the current run. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2420
2673
|
</td>
|
2421
2674
|
</tr>
|
2422
2675
|
</tbody>
|
@@ -2428,8 +2681,8 @@ to modify the contents of the run (glyphs, glyph widths, etc.).
|
|
2428
2681
|
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> * 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>
|
2429
2682
|
<p>
|
2430
2683
|
Gets the current run. When iterating by run, at the end of each
|
2431
|
-
line, there's a position with a <a href="/
|
2432
|
-
<a href="/
|
2684
|
+
line, there's a position with a <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> run, so this function can return
|
2685
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> run at the end of each line ensures that all lines have
|
2433
2686
|
at least one run, even lines consisting of only a newline.
|
2434
2687
|
</p>
|
2435
2688
|
<p>
|
@@ -2437,8 +2690,11 @@ This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#
|
|
2437
2690
|
but the user is not expected
|
2438
2691
|
to modify the contents of the run (glyphs, glyph widths, etc.).
|
2439
2692
|
</p>
|
2440
|
-
<div class="variablelist"><table border="0">
|
2693
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2694
|
+
<colgroup>
|
2441
2695
|
<col align="left" valign="top">
|
2696
|
+
<col>
|
2697
|
+
</colgroup>
|
2442
2698
|
<tbody>
|
2443
2699
|
<tr>
|
2444
2700
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2447,7 +2703,7 @@ to modify the contents of the run (glyphs, glyph widths, etc.).
|
|
2447
2703
|
</tr>
|
2448
2704
|
<tr>
|
2449
2705
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2450
|
-
<td>the current run, that should not be modified. <span class="annotation">[<
|
2706
|
+
<td>the current run, that should not be modified. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2451
2707
|
</td>
|
2452
2708
|
</tr>
|
2453
2709
|
</tbody>
|
@@ -2465,8 +2721,11 @@ Gets the current line.
|
|
2465
2721
|
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
|
2466
2722
|
to modify the contents of the line (glyphs, glyph widths, etc.).
|
2467
2723
|
</p>
|
2468
|
-
<div class="variablelist"><table border="0">
|
2724
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2725
|
+
<colgroup>
|
2469
2726
|
<col align="left" valign="top">
|
2727
|
+
<col>
|
2728
|
+
</colgroup>
|
2470
2729
|
<tbody>
|
2471
2730
|
<tr>
|
2472
2731
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2492,8 +2751,11 @@ This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#
|
|
2492
2751
|
but the user is not expected
|
2493
2752
|
to modify the contents of the line (glyphs, glyph widths, etc.).
|
2494
2753
|
</p>
|
2495
|
-
<div class="variablelist"><table border="0">
|
2754
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2755
|
+
<colgroup>
|
2496
2756
|
<col align="left" valign="top">
|
2757
|
+
<col>
|
2758
|
+
</colgroup>
|
2497
2759
|
<tbody>
|
2498
2760
|
<tr>
|
2499
2761
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2502,7 +2764,9 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2502
2764
|
</tr>
|
2503
2765
|
<tr>
|
2504
2766
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2505
|
-
<td>the current line, that should not be
|
2767
|
+
<td>the current line, that should not be
|
2768
|
+
modified. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2769
|
+
</td>
|
2506
2770
|
</tr>
|
2507
2771
|
</tbody>
|
2508
2772
|
</table></div>
|
@@ -2515,8 +2779,11 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2515
2779
|
<p>
|
2516
2780
|
Gets the layout associated with a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>.
|
2517
2781
|
</p>
|
2518
|
-
<div class="variablelist"><table border="0">
|
2782
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2783
|
+
<colgroup>
|
2519
2784
|
<col align="left" valign="top">
|
2785
|
+
<col>
|
2786
|
+
</colgroup>
|
2520
2787
|
<tbody>
|
2521
2788
|
<tr>
|
2522
2789
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2525,7 +2792,7 @@ Gets the layout associated with a <a class="link" href="pango-Layout-Objects.htm
|
|
2525
2792
|
</tr>
|
2526
2793
|
<tr>
|
2527
2794
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2528
|
-
<td>the layout associated with <em class="parameter"><code>iter</code></em>. <span class="annotation">[<
|
2795
|
+
<td>the layout associated with <em class="parameter"><code>iter</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2529
2796
|
</td>
|
2530
2797
|
</tr>
|
2531
2798
|
</tbody>
|
@@ -2543,8 +2810,11 @@ Gets the extents of the current character, in layout coordinates
|
|
2543
2810
|
can sensibly be obtained for characters; ink extents make sense only
|
2544
2811
|
down to the level of clusters.
|
2545
2812
|
</p>
|
2546
|
-
<div class="variablelist"><table border="0">
|
2813
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2814
|
+
<colgroup>
|
2547
2815
|
<col align="left" valign="top">
|
2816
|
+
<col>
|
2817
|
+
</colgroup>
|
2548
2818
|
<tbody>
|
2549
2819
|
<tr>
|
2550
2820
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2553,7 +2823,9 @@ down to the level of clusters.
|
|
2553
2823
|
</tr>
|
2554
2824
|
<tr>
|
2555
2825
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2556
|
-
<td>rectangle to fill with
|
2826
|
+
<td>rectangle to fill with
|
2827
|
+
logical extents. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
2828
|
+
</td>
|
2557
2829
|
</tr>
|
2558
2830
|
</tbody>
|
2559
2831
|
</table></div>
|
@@ -2569,8 +2841,11 @@ down to the level of clusters.
|
|
2569
2841
|
Gets the extents of the current cluster, in layout coordinates
|
2570
2842
|
(origin is the top left of the entire layout).
|
2571
2843
|
</p>
|
2572
|
-
<div class="variablelist"><table border="0">
|
2844
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2845
|
+
<colgroup>
|
2573
2846
|
<col align="left" valign="top">
|
2847
|
+
<col>
|
2848
|
+
</colgroup>
|
2574
2849
|
<tbody>
|
2575
2850
|
<tr>
|
2576
2851
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2579,12 +2854,12 @@ Gets the extents of the current cluster, in layout coordinates
|
|
2579
2854
|
</tr>
|
2580
2855
|
<tr>
|
2581
2856
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2582
|
-
<td>rectangle to fill with ink extents, or <a href="/
|
2857
|
+
<td>rectangle to fill with ink extents, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2583
2858
|
</td>
|
2584
2859
|
</tr>
|
2585
2860
|
<tr>
|
2586
2861
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2587
|
-
<td>rectangle to fill with logical extents, or <a href="/
|
2862
|
+
<td>rectangle to fill with logical extents, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2588
2863
|
</td>
|
2589
2864
|
</tr>
|
2590
2865
|
</tbody>
|
@@ -2600,8 +2875,11 @@ Gets the extents of the current cluster, in layout coordinates
|
|
2600
2875
|
Gets the extents of the current run in layout coordinates
|
2601
2876
|
(origin is the top left of the entire layout).
|
2602
2877
|
</p>
|
2603
|
-
<div class="variablelist"><table border="0">
|
2878
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2879
|
+
<colgroup>
|
2604
2880
|
<col align="left" valign="top">
|
2881
|
+
<col>
|
2882
|
+
</colgroup>
|
2605
2883
|
<tbody>
|
2606
2884
|
<tr>
|
2607
2885
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2610,12 +2888,12 @@ Gets the extents of the current run in layout coordinates
|
|
2610
2888
|
</tr>
|
2611
2889
|
<tr>
|
2612
2890
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2613
|
-
<td>rectangle to fill with ink extents, or <a href="/
|
2891
|
+
<td>rectangle to fill with ink extents, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2614
2892
|
</td>
|
2615
2893
|
</tr>
|
2616
2894
|
<tr>
|
2617
2895
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2618
|
-
<td>rectangle to fill with logical extents, or <a href="/
|
2896
|
+
<td>rectangle to fill with logical extents, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2619
2897
|
</td>
|
2620
2898
|
</tr>
|
2621
2899
|
</tbody>
|
@@ -2636,8 +2914,11 @@ extents, plus half of the spacing above and below the line, if
|
|
2636
2914
|
The Y positions are in layout coordinates (origin at top left of the
|
2637
2915
|
entire layout).
|
2638
2916
|
</p>
|
2639
|
-
<div class="variablelist"><table border="0">
|
2917
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2918
|
+
<colgroup>
|
2640
2919
|
<col align="left" valign="top">
|
2920
|
+
<col>
|
2921
|
+
</colgroup>
|
2641
2922
|
<tbody>
|
2642
2923
|
<tr>
|
2643
2924
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2646,12 +2927,12 @@ entire layout).
|
|
2646
2927
|
</tr>
|
2647
2928
|
<tr>
|
2648
2929
|
<td><p><span class="term"><em class="parameter"><code>y0_</code></em> :</span></p></td>
|
2649
|
-
<td>start of line, or <a href="/
|
2930
|
+
<td>start of line, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2650
2931
|
</td>
|
2651
2932
|
</tr>
|
2652
2933
|
<tr>
|
2653
2934
|
<td><p><span class="term"><em class="parameter"><code>y1_</code></em> :</span></p></td>
|
2654
|
-
<td>end of line, or <a href="/
|
2935
|
+
<td>end of line, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2655
2936
|
</td>
|
2656
2937
|
</tr>
|
2657
2938
|
</tbody>
|
@@ -2665,14 +2946,17 @@ entire layout).
|
|
2665
2946
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
|
2666
2947
|
<p>
|
2667
2948
|
Obtains the extents of the current line. <em class="parameter"><code>ink_rect</code></em> or <em class="parameter"><code>logical_rect</code></em>
|
2668
|
-
can be <a href="/
|
2949
|
+
can be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if you aren't interested in them. Extents are in layout
|
2669
2950
|
coordinates (origin is the top-left corner of the entire
|
2670
2951
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>). Thus the extents returned by this function will be
|
2671
2952
|
the same width/height but not at the same x/y as the extents
|
2672
2953
|
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>.
|
2673
2954
|
</p>
|
2674
|
-
<div class="variablelist"><table border="0">
|
2955
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2956
|
+
<colgroup>
|
2675
2957
|
<col align="left" valign="top">
|
2958
|
+
<col>
|
2959
|
+
</colgroup>
|
2676
2960
|
<tbody>
|
2677
2961
|
<tr>
|
2678
2962
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2681,12 +2965,12 @@ returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-
|
|
2681
2965
|
</tr>
|
2682
2966
|
<tr>
|
2683
2967
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2684
|
-
<td>rectangle to fill with ink extents, or <a href="/
|
2968
|
+
<td>rectangle to fill with ink extents, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2685
2969
|
</td>
|
2686
2970
|
</tr>
|
2687
2971
|
<tr>
|
2688
2972
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2689
|
-
<td>rectangle to fill with logical extents, or <a href="/
|
2973
|
+
<td>rectangle to fill with logical extents, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2690
2974
|
</td>
|
2691
2975
|
</tr>
|
2692
2976
|
</tbody>
|
@@ -2701,11 +2985,14 @@ returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-
|
|
2701
2985
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
|
2702
2986
|
<p>
|
2703
2987
|
Obtains the extents of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> being iterated
|
2704
|
-
over. <em class="parameter"><code>ink_rect</code></em> or <em class="parameter"><code>logical_rect</code></em> can be <a href="/
|
2988
|
+
over. <em class="parameter"><code>ink_rect</code></em> or <em class="parameter"><code>logical_rect</code></em> can be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if you
|
2705
2989
|
aren't interested in them.
|
2706
2990
|
</p>
|
2707
|
-
<div class="variablelist"><table border="0">
|
2991
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2992
|
+
<colgroup>
|
2708
2993
|
<col align="left" valign="top">
|
2994
|
+
<col>
|
2995
|
+
</colgroup>
|
2709
2996
|
<tbody>
|
2710
2997
|
<tr>
|
2711
2998
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -2715,13 +3002,13 @@ aren't interested in them.
|
|
2715
3002
|
<tr>
|
2716
3003
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2717
3004
|
<td>rectangle to fill with ink extents,
|
2718
|
-
or <a href="/
|
3005
|
+
or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2719
3006
|
</td>
|
2720
3007
|
</tr>
|
2721
3008
|
<tr>
|
2722
3009
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2723
3010
|
<td>rectangle to fill with logical
|
2724
|
-
extents, or <a href="/
|
3011
|
+
extents, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2725
3012
|
</td>
|
2726
3013
|
</tr>
|
2727
3014
|
</tbody>
|
@@ -2770,12 +3057,15 @@ See the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span cla
|
|
2770
3057
|
<p>
|
2771
3058
|
Increase the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> by one.
|
2772
3059
|
</p>
|
2773
|
-
<div class="variablelist"><table border="0">
|
3060
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3061
|
+
<colgroup>
|
2774
3062
|
<col align="left" valign="top">
|
3063
|
+
<col>
|
3064
|
+
</colgroup>
|
2775
3065
|
<tbody>
|
2776
3066
|
<tr>
|
2777
3067
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2778
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, may be <a href="/
|
3068
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2779
3069
|
</td>
|
2780
3070
|
</tr>
|
2781
3071
|
<tr>
|
@@ -2795,8 +3085,11 @@ Decrease the reference count of a <a class="link" href="pango-Layout-Objects.htm
|
|
2795
3085
|
If the result is zero, the line and all associated memory
|
2796
3086
|
will be freed.
|
2797
3087
|
</p>
|
2798
|
-
<div class="variablelist"><table border="0">
|
3088
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3089
|
+
<colgroup>
|
2799
3090
|
<col align="left" valign="top">
|
3091
|
+
<col>
|
3092
|
+
</colgroup>
|
2800
3093
|
<tbody><tr>
|
2801
3094
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2802
3095
|
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
@@ -2815,8 +3108,11 @@ Computes the logical and ink extents of a layout line. See
|
|
2815
3108
|
<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
|
2816
3109
|
of the rectangles.
|
2817
3110
|
</p>
|
2818
|
-
<div class="variablelist"><table border="0">
|
3111
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3112
|
+
<colgroup>
|
2819
3113
|
<col align="left" valign="top">
|
3114
|
+
<col>
|
3115
|
+
</colgroup>
|
2820
3116
|
<tbody>
|
2821
3117
|
<tr>
|
2822
3118
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
@@ -2826,13 +3122,13 @@ of the rectangles.
|
|
2826
3122
|
<tr>
|
2827
3123
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2828
3124
|
<td>rectangle used to store the extents of
|
2829
|
-
the glyph string as drawn, or <a href="/
|
3125
|
+
the glyph string as drawn, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2830
3126
|
</td>
|
2831
3127
|
</tr>
|
2832
3128
|
<tr>
|
2833
3129
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2834
3130
|
<td>rectangle used to store the logical
|
2835
|
-
extents of the glyph string, or <a href="/
|
3131
|
+
extents of the glyph string, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2836
3132
|
</td>
|
2837
3133
|
</tr>
|
2838
3134
|
</tbody>
|
@@ -2851,8 +3147,11 @@ two <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" titl
|
|
2851
3147
|
such that the rounded rectangles fully contain the unrounded one (that is,
|
2852
3148
|
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>).
|
2853
3149
|
</p>
|
2854
|
-
<div class="variablelist"><table border="0">
|
3150
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3151
|
+
<colgroup>
|
2855
3152
|
<col align="left" valign="top">
|
3153
|
+
<col>
|
3154
|
+
</colgroup>
|
2856
3155
|
<tbody>
|
2857
3156
|
<tr>
|
2858
3157
|
<td><p><span class="term"><em class="parameter"><code>layout_line</code></em> :</span></p></td>
|
@@ -2862,13 +3161,13 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
2862
3161
|
<tr>
|
2863
3162
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2864
3163
|
<td>rectangle used to store the extents of
|
2865
|
-
the glyph string as drawn, or <a href="/
|
3164
|
+
the glyph string as drawn, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2866
3165
|
</td>
|
2867
3166
|
</tr>
|
2868
3167
|
<tr>
|
2869
3168
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2870
3169
|
<td>rectangle used to store the logical
|
2871
|
-
extents of the glyph string, or <a href="/
|
3170
|
+
extents of the glyph string, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
|
2872
3171
|
</td>
|
2873
3172
|
</tr>
|
2874
3173
|
</tbody>
|
@@ -2879,13 +3178,16 @@ extents of the glyph string, or <a href="/usr/share/gtk-doc/html/liboil/liboil-l
|
|
2879
3178
|
<a name="pango-layout-line-index-to-x"></a><h3>pango_layout_line_index_to_x ()</h3>
|
2880
3179
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2881
3180
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
2882
|
-
<em class="parameter"><code><
|
3181
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
2883
3182
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
2884
3183
|
<p>
|
2885
3184
|
Converts an index within a line to a X position.
|
2886
3185
|
</p>
|
2887
|
-
<div class="variablelist"><table border="0">
|
3186
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3187
|
+
<colgroup>
|
2888
3188
|
<col align="left" valign="top">
|
3189
|
+
<col>
|
3190
|
+
</colgroup>
|
2889
3191
|
<tbody>
|
2890
3192
|
<tr>
|
2891
3193
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
@@ -2904,7 +3206,7 @@ if 0, the leading of the grapheme.</td>
|
|
2904
3206
|
</tr>
|
2905
3207
|
<tr>
|
2906
3208
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
2907
|
-
<td>location to store the x_offset (in Pango unit). <span class="annotation">[<
|
3209
|
+
<td>location to store the x_offset (in Pango unit). <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2908
3210
|
</td>
|
2909
3211
|
</tr>
|
2910
3212
|
</tbody>
|
@@ -2913,7 +3215,7 @@ if 0, the leading of the grapheme.</td>
|
|
2913
3215
|
<hr>
|
2914
3216
|
<div class="refsect2">
|
2915
3217
|
<a name="pango-layout-line-x-to-index"></a><h3>pango_layout_line_x_to_index ()</h3>
|
2916
|
-
<pre class="programlisting"><
|
3218
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
|
2917
3219
|
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
2918
3220
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
2919
3221
|
<em class="parameter"><code><span class="type">int</span> *trailing</code></em>);</pre>
|
@@ -2929,8 +3231,11 @@ left of the line results in <em class="parameter"><code>index_</code></em> point
|
|
2929
3231
|
grapheme in the line and <em class="parameter"><code>trailing</code></em> being set to the number of characters
|
2930
3232
|
in that grapheme. The reverse is true for a left-to-right line.
|
2931
3233
|
</p>
|
2932
|
-
<div class="variablelist"><table border="0">
|
3234
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3235
|
+
<colgroup>
|
2933
3236
|
<col align="left" valign="top">
|
3237
|
+
<col>
|
3238
|
+
</colgroup>
|
2934
3239
|
<tbody>
|
2935
3240
|
<tr>
|
2936
3241
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
@@ -2945,7 +3250,7 @@ from the left edge of the line.</td>
|
|
2945
3250
|
<tr>
|
2946
3251
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
2947
3252
|
<td>location to store calculated byte index for
|
2948
|
-
the grapheme in which the user clicked. <span class="annotation">[<
|
3253
|
+
the grapheme in which the user clicked. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2949
3254
|
</td>
|
2950
3255
|
</tr>
|
2951
3256
|
<tr>
|
@@ -2953,13 +3258,13 @@ the grapheme in which the user clicked. <span class="annotation">[<a href="http:
|
|
2953
3258
|
<td>location to store an integer indicating where
|
2954
3259
|
in the grapheme the user clicked. It will either
|
2955
3260
|
be zero, or the number of characters in the
|
2956
|
-
grapheme. 0 represents the leading edge of the grapheme. <span class="annotation">[<
|
3261
|
+
grapheme. 0 represents the leading edge of the grapheme. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2957
3262
|
</td>
|
2958
3263
|
</tr>
|
2959
3264
|
<tr>
|
2960
3265
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2961
3266
|
<td>
|
2962
|
-
<
|
3267
|
+
<code class="literal">FALSE</code> if <em class="parameter"><code>x_pos</code></em> was outside the line, <code class="literal">TRUE</code> if inside</td>
|
2963
3268
|
</tr>
|
2964
3269
|
</tbody>
|
2965
3270
|
</table></div>
|
@@ -2979,8 +3284,11 @@ ranges which are adjacent. The ranges will be sorted from left to
|
|
2979
3284
|
right. The ranges are with respect to the left edge of the entire
|
2980
3285
|
layout, not with respect to the line.
|
2981
3286
|
</p>
|
2982
|
-
<div class="variablelist"><table border="0">
|
3287
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3288
|
+
<colgroup>
|
2983
3289
|
<col align="left" valign="top">
|
3290
|
+
<col>
|
3291
|
+
</colgroup>
|
2984
3292
|
<tbody>
|
2985
3293
|
<tr>
|
2986
3294
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
@@ -3009,8 +3317,8 @@ trailing edge of the last character.</td>
|
|
3009
3317
|
The array will be of length <code class="literal">2*n_ranges</code>,
|
3010
3318
|
with each range starting at <code class="literal">(*ranges)[2*n]</code>
|
3011
3319
|
and of width <code class="literal">(*ranges)[2*n + 1] - (*ranges)[2*n]</code>.
|
3012
|
-
This array must be freed with <
|
3013
|
-
to the layout and are in Pango units. <span class="annotation">[<
|
3320
|
+
This array must be freed with <code class="function">g_free()</code>. The coordinates are relative
|
3321
|
+
to the layout and are in Pango units. <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>
|
3014
3322
|
</td>
|
3015
3323
|
</tr>
|
3016
3324
|
<tr>
|
@@ -3024,6 +3332,6 @@ to the layout and are in Pango units. <span class="annotation">[<a href="http://
|
|
3024
3332
|
</div>
|
3025
3333
|
<div class="footer">
|
3026
3334
|
<hr>
|
3027
|
-
Generated by GTK-Doc V1.18</div>
|
3335
|
+
Generated by GTK-Doc V1.18.1</div>
|
3028
3336
|
</body>
|
3029
3337
|
</html>
|