pango 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/pango/extconf.rb +3 -0
- data/ext/pango/rbpango.c +312 -12
- data/ext/pango/rbpango.h +33 -22
- data/ext/pango/rbpangoanalysis.c +98 -58
- data/ext/pango/rbpangoattribute.c +94 -85
- data/ext/pango/rbpangoattriterator.c +39 -28
- data/ext/pango/rbpangoattrlist.c +42 -32
- data/ext/pango/rbpangocairo.c +38 -172
- data/ext/pango/rbpangocairocontext.c +151 -0
- data/ext/pango/rbpangocolor.c +49 -38
- data/ext/pango/rbpangocontext.c +109 -102
- data/ext/pango/rbpangoconversions.h +111 -0
- data/ext/pango/rbpangocoverage.c +45 -37
- data/ext/pango/rbpangoengine.c +22 -12
- data/ext/pango/rbpangofont.c +52 -43
- data/ext/pango/rbpangofontdescription.c +102 -91
- data/ext/pango/rbpangofontface.c +32 -21
- data/ext/pango/rbpangofontfamily.c +31 -20
- data/ext/pango/rbpangofontmap.c +44 -36
- data/ext/pango/rbpangofontmetrics.c +41 -30
- data/ext/pango/rbpangofontset.c +32 -21
- data/ext/pango/rbpangofontsetsimple.c +34 -24
- data/ext/pango/rbpangoglyphinfo.c +48 -35
- data/ext/pango/rbpangoglyphitem.c +43 -33
- data/ext/pango/rbpangoglyphstring.c +59 -59
- data/ext/pango/rbpangogravity.c +34 -23
- data/ext/pango/rbpangoitem.c +43 -34
- data/ext/pango/rbpangolanguage.c +44 -34
- data/ext/pango/rbpangolayout.c +167 -160
- data/ext/pango/rbpangolayoutiter.c +70 -59
- data/ext/pango/rbpangolayoutline.c +106 -71
- data/ext/pango/rbpangologattr.c +42 -31
- data/ext/pango/rbpangomatrix.c +47 -35
- data/ext/pango/rbpangoprivate.h +53 -0
- data/ext/pango/rbpangorectangle.c +58 -49
- data/ext/pango/rbpangorenderer.c +81 -70
- data/ext/pango/rbpangoscript.c +37 -27
- data/ext/pango/rbpangoscriptiter.c +32 -22
- data/ext/pango/rbpangotabarray.c +48 -37
- 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/libpangoft2-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 +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-context.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-language.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +6 -1
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-script.h +6 -6
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +6 -6
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +2 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +1 -1
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/manifest/{pango-dev_1.28.3-1_win32.mft → pango-dev_1.29.4-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.3-1_win32.mft → pango_1.29.4-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{pango-1.28.3 → pango-1.29.4}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.3 → pango-dev-1.29.4}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +25 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +19 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +42 -60
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +97 -147
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +3 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +8 -11
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +38 -0
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +38 -40
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.html +6 -5
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +71 -34
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +4 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +52 -50
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +217 -278
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +40 -41
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +37 -49
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +481 -628
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +76 -118
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +302 -452
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +492 -517
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +134 -164
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +34 -45
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +244 -359
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +117 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +112 -120
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +394 -523
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +269 -364
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +26 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +72 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +97 -145
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +114 -188
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +114 -176
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +42 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +106 -150
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +35 -35
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -3
- data/vendor/local/share/man/man1/pango-querymodules.1 +12 -3
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +806 -0
- data/vendor/local/src/{tml/packaging/pango_1.28.3-1_win32.sh → dieterv/packaging/pango_1.29.4-1_win32.sh} +7 -7
- metadata +19 -19
- data/ChangeLog +0 -721
- data/ext/pango/rbpangoinits.c +0 -72
- data/ext/pango/rbpangomain.c +0 -202
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +0 -799
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.log +0 -950
@@ -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.76.1">
|
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.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -39,8 +39,8 @@
|
|
39
39
|
</tr></table></div>
|
40
40
|
<div class="refsynopsisdiv">
|
41
41
|
<a name="pango-Layout-Objects.synopsis"></a><h2>Synopsis</h2>
|
42
|
-
<a name="PangoLayout"></a><pre class="synopsis"> <a class="link" href="pango-Layout-Objects.html#PangoLayout-struct" title="PangoLayout">PangoLayout</a>;
|
43
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutIter" title="PangoLayoutIter">PangoLayoutIter</a>;
|
42
|
+
<a name="PangoLayout"></a><a name="PangoLayoutIter"></a><a name="PangoWrapMode"></a><a name="PangoEllipsizeMode"></a><a name="PangoAlignment"></a><a name="PangoLayoutLine"></a><pre class="synopsis"> <a class="link" href="pango-Layout-Objects.html#PangoLayout-struct" title="PangoLayout">PangoLayout</a>;
|
43
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayoutIter-struct" title="PangoLayoutIter">PangoLayoutIter</a>;
|
44
44
|
<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-new" title="pango_layout_new ()">pango_layout_new</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
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>);
|
@@ -49,20 +49,21 @@
|
|
49
49
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
50
50
|
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
51
51
|
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
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <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>);
|
52
53
|
<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>,
|
53
54
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
54
55
|
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
55
56
|
<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>,
|
56
57
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
57
58
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
59
|
-
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>);
|
59
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
|
60
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>);
|
60
61
|
<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>,
|
61
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
62
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
62
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>);
|
63
|
+
<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>);
|
63
64
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-font-description" title="pango_layout_set_font_description ()">pango_layout_set_font_description</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
64
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
65
|
-
const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
65
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
66
|
+
const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Layout-Objects.html#pango-layout-get-font-description" title="pango_layout_get_font_description ()">pango_layout_get_font_description</a>
|
66
67
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
67
68
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-width" title="pango_layout_set_width ()">pango_layout_set_width</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
68
69
|
<em class="parameter"><code><span class="type">int</span> width</code></em>);
|
@@ -71,16 +72,16 @@ const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoF
|
|
71
72
|
<em class="parameter"><code><span class="type">int</span> height</code></em>);
|
72
73
|
<span class="returnvalue">int</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-height" title="pango_layout_get_height ()">pango_layout_get_height</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
73
74
|
<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>,
|
74
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoWrapMode"
|
75
|
-
<a class="link" href="pango-Layout-Objects.html#PangoWrapMode"
|
76
|
-
<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>);
|
77
|
-
enum <a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode">PangoWrapMode</a>;
|
75
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a> wrap</code></em>);
|
76
|
+
<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
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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
|
+
enum <a class="link" href="pango-Layout-Objects.html#PangoWrapMode-enum" title="enum PangoWrapMode">PangoWrapMode</a>;
|
78
79
|
#define <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-WRAP-MODE:CAPS" title="PANGO_TYPE_WRAP_MODE">PANGO_TYPE_WRAP_MODE</a>
|
79
80
|
<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>,
|
80
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"
|
81
|
-
<a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"
|
82
|
-
<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>);
|
83
|
-
enum <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode">PangoEllipsizeMode</a>;
|
81
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);
|
82
|
+
<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
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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
|
+
enum <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode-enum" title="enum PangoEllipsizeMode">PangoEllipsizeMode</a>;
|
84
85
|
#define <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE">PANGO_TYPE_ELLIPSIZE_MODE</a>
|
85
86
|
<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>,
|
86
87
|
<em class="parameter"><code><span class="type">int</span> indent</code></em>);
|
@@ -89,38 +90,41 @@ enum <a class="link" href="pango-Layout-Objects.html#PangoEllipsi
|
|
89
90
|
<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>,
|
90
91
|
<em class="parameter"><code><span class="type">int</span> spacing</code></em>);
|
91
92
|
<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>,
|
92
|
-
<em class="parameter"><code><span class="type">gboolean</span> justify</code></em>);
|
93
|
-
<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>);
|
93
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> justify</code></em>);
|
94
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>);
|
94
95
|
<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>,
|
95
|
-
<em class="parameter"><code><span class="type">gboolean</span> auto_dir</code></em>);
|
96
|
-
<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>);
|
96
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_dir</code></em>);
|
97
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>);
|
97
98
|
<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>,
|
98
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoAlignment"
|
99
|
-
<a class="link" href="pango-Layout-Objects.html#PangoAlignment"
|
99
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="type">PangoAlignment</span></a> alignment</code></em>);
|
100
|
+
<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>);
|
100
101
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-set-tabs" title="pango_layout_set_tabs ()">pango_layout_set_tabs</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
101
|
-
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"
|
102
|
-
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"
|
102
|
+
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tabs</code></em>);
|
103
|
+
<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>);
|
103
104
|
<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>
|
104
105
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
105
|
-
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);
|
106
|
-
<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>
|
106
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
|
107
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>
|
107
108
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
108
|
-
enum <a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment">PangoAlignment</a>;
|
109
|
+
enum <a class="link" href="pango-Layout-Objects.html#PangoAlignment-enum" title="enum PangoAlignment">PangoAlignment</a>;
|
109
110
|
#define <a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ALIGNMENT:CAPS" title="PANGO_TYPE_ALIGNMENT">PANGO_TYPE_ALIGNMENT</a>
|
110
111
|
<span class="returnvalue">int</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-unknown-glyphs-count" title="pango_layout_get_unknown_glyphs_count ()">pango_layout_get_unknown_glyphs_count</a>
|
111
112
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
112
113
|
<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>,
|
113
114
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> **attrs</code></em>,
|
114
|
-
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);
|
115
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);
|
116
|
+
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
|
+
(<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><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);
|
115
119
|
<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>,
|
116
120
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
117
121
|
<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>);
|
118
122
|
<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>,
|
119
123
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
120
|
-
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
124
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
|
121
125
|
<em class="parameter"><code><span class="type">int</span> *line</code></em>,
|
122
126
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);
|
123
|
-
<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>,
|
127
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>,
|
124
128
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
125
129
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
126
130
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
@@ -130,7 +134,7 @@ enum <a class="link" href="pango-Layout-Objects.html#PangoAlignme
|
|
130
134
|
<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>,
|
131
135
|
<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>);
|
132
136
|
<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>,
|
133
|
-
<em class="parameter"><code><span class="type">gboolean</span> strong</code></em>,
|
137
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strong</code></em>,
|
134
138
|
<em class="parameter"><code><span class="type">int</span> old_index</code></em>,
|
135
139
|
<em class="parameter"><code><span class="type">int</span> old_trailing</code></em>,
|
136
140
|
<em class="parameter"><code><span class="type">int</span> direction</code></em>,
|
@@ -150,66 +154,66 @@ enum <a class="link" href="pango-Layout-Objects.html#PangoAlignme
|
|
150
154
|
<em class="parameter"><code><span class="type">int</span> *height</code></em>);
|
151
155
|
<span class="returnvalue">int</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-baseline" title="pango_layout_get_baseline ()">pango_layout_get_baseline</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
152
156
|
<span class="returnvalue">int</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line-count" title="pango_layout_get_line_count ()">pango_layout_get_line_count</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
|
153
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
157
|
+
<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" title="pango_layout_get_line ()">pango_layout_get_line</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
154
158
|
<em class="parameter"><code><span class="type">int</span> line</code></em>);
|
155
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
159
|
+
<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>,
|
156
160
|
<em class="parameter"><code><span class="type">int</span> line</code></em>);
|
157
|
-
<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>);
|
158
|
-
<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>);
|
159
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
160
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
161
|
-
<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"
|
162
|
-
<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"
|
163
|
-
<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"
|
164
|
-
<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"
|
165
|
-
<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"
|
166
|
-
<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"
|
167
|
-
<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"
|
168
|
-
<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"
|
169
|
-
<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"
|
170
|
-
<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-readonly" title="pango_layout_iter_get_run_readonly ()">pango_layout_iter_get_run_readonly</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
171
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
172
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
173
|
-
<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-iter-get-layout" title="pango_layout_iter_get_layout ()">pango_layout_iter_get_layout</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
174
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-char-extents" title="pango_layout_iter_get_char_extents ()">pango_layout_iter_get_char_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
161
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <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>);
|
162
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <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
|
+
<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
|
+
<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
|
+
<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
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>);
|
167
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>);
|
168
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>);
|
169
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>);
|
170
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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
|
+
<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
|
+
<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
|
+
<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>);
|
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-readonly" title="pango_layout_iter_get_run_readonly ()">pango_layout_iter_get_run_readonly</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
175
|
+
<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-iter-get-line" title="pango_layout_iter_get_line ()">pango_layout_iter_get_line</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
176
|
+
<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-iter-get-line-readonly" title="pango_layout_iter_get_line_readonly ()">pango_layout_iter_get_line_readonly</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
177
|
+
<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-iter-get-layout" title="pango_layout_iter_get_layout ()">pango_layout_iter_get_layout</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);
|
178
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-char-extents" title="pango_layout_iter_get_char_extents ()">pango_layout_iter_get_char_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
175
179
|
<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>);
|
176
180
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-cluster-extents" title="pango_layout_iter_get_cluster_extents ()">pango_layout_iter_get_cluster_extents</a>
|
177
|
-
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
181
|
+
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
178
182
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
179
183
|
<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>);
|
180
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run-extents" title="pango_layout_iter_get_run_extents ()">pango_layout_iter_get_run_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
184
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run-extents" title="pango_layout_iter_get_run_extents ()">pango_layout_iter_get_run_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
181
185
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
182
186
|
<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>);
|
183
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-yrange" title="pango_layout_iter_get_line_yrange ()">pango_layout_iter_get_line_yrange</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
187
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-yrange" title="pango_layout_iter_get_line_yrange ()">pango_layout_iter_get_line_yrange</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
184
188
|
<em class="parameter"><code><span class="type">int</span> *y0_</code></em>,
|
185
189
|
<em class="parameter"><code><span class="type">int</span> *y1_</code></em>);
|
186
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-extents" title="pango_layout_iter_get_line_extents ()">pango_layout_iter_get_line_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
190
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-extents" title="pango_layout_iter_get_line_extents ()">pango_layout_iter_get_line_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
187
191
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
188
192
|
<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>);
|
189
193
|
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-layout-extents" title="pango_layout_iter_get_layout_extents ()">pango_layout_iter_get_layout_extents</a>
|
190
|
-
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
194
|
+
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
191
195
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
192
196
|
<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>);
|
193
197
|
|
194
|
-
struct <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine">PangoLayoutLine</a>;
|
198
|
+
struct <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine-struct" title="struct PangoLayoutLine">PangoLayoutLine</a>;
|
195
199
|
typedef <a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun">PangoLayoutRun</a>;
|
196
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
197
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-unref" title="pango_layout_line_unref ()">pango_layout_line_unref</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
198
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-extents" title="pango_layout_line_get_extents ()">pango_layout_line_get_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
200
|
+
<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-line-ref" title="pango_layout_line_ref ()">pango_layout_line_ref</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);
|
201
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-unref" title="pango_layout_line_unref ()">pango_layout_line_unref</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);
|
202
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-extents" title="pango_layout_line_get_extents ()">pango_layout_line_get_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
199
203
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
200
204
|
<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>);
|
201
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-pixel-extents" title="pango_layout_line_get_pixel_extents ()">pango_layout_line_get_pixel_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
205
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-pixel-extents" title="pango_layout_line_get_pixel_extents ()">pango_layout_line_get_pixel_extents</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *layout_line</code></em>,
|
202
206
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
203
207
|
<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>);
|
204
|
-
<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"
|
208
|
+
<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>,
|
205
209
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
206
|
-
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
210
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
|
207
211
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);
|
208
|
-
<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"
|
212
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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>,
|
209
213
|
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
210
214
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
211
215
|
<em class="parameter"><code><span class="type">int</span> *trailing</code></em>);
|
212
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-x-ranges" title="pango_layout_line_get_x_ranges ()">pango_layout_line_get_x_ranges</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
216
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-x-ranges" title="pango_layout_line_get_x_ranges ()">pango_layout_line_get_x_ranges</a> (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
213
217
|
<em class="parameter"><code><span class="type">int</span> start_index</code></em>,
|
214
218
|
<em class="parameter"><code><span class="type">int</span> end_index</code></em>,
|
215
219
|
<em class="parameter"><code><span class="type">int</span> **ranges</code></em>,
|
@@ -219,9 +223,29 @@ typedef <a class="link" href="pango-Layout-Objects.html#PangoLayoutR
|
|
219
223
|
<div class="refsect1">
|
220
224
|
<a name="pango-Layout-Objects.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
221
225
|
<pre class="synopsis">
|
222
|
-
GObject
|
226
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
223
227
|
+----PangoLayout
|
224
228
|
</pre>
|
229
|
+
<pre class="synopsis">
|
230
|
+
GBoxed
|
231
|
+
+----PangoLayoutIter
|
232
|
+
</pre>
|
233
|
+
<pre class="synopsis">
|
234
|
+
GEnum
|
235
|
+
+----PangoWrapMode
|
236
|
+
</pre>
|
237
|
+
<pre class="synopsis">
|
238
|
+
GEnum
|
239
|
+
+----PangoEllipsizeMode
|
240
|
+
</pre>
|
241
|
+
<pre class="synopsis">
|
242
|
+
GEnum
|
243
|
+
+----PangoAlignment
|
244
|
+
</pre>
|
245
|
+
<pre class="synopsis">
|
246
|
+
GBoxed
|
247
|
+
+----PangoLayoutLine
|
248
|
+
</pre>
|
225
249
|
</div>
|
226
250
|
<div class="refsect1">
|
227
251
|
<a name="pango-Layout-Objects.description"></a><h2>Description</h2>
|
@@ -265,14 +289,14 @@ fields.
|
|
265
289
|
</div>
|
266
290
|
<hr>
|
267
291
|
<div class="refsect2">
|
268
|
-
<a name="PangoLayoutIter"></a><h3>PangoLayoutIter</h3>
|
292
|
+
<a name="PangoLayoutIter-struct"></a><h3>PangoLayoutIter</h3>
|
269
293
|
<pre class="programlisting">typedef struct _PangoLayoutIter PangoLayoutIter;</pre>
|
270
294
|
<p>
|
271
|
-
A <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
295
|
+
A <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> structure can be used to
|
272
296
|
iterate over the visual extents of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
273
297
|
</p>
|
274
298
|
<p>
|
275
|
-
The <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
299
|
+
The <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> structure is opaque, and
|
276
300
|
has no user-visible fields.
|
277
301
|
</p>
|
278
302
|
</div>
|
@@ -294,10 +318,9 @@ default values for a particular <a class="link" href="pango-Text-Processing.html
|
|
294
318
|
</tr>
|
295
319
|
<tr>
|
296
320
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
297
|
-
<td>
|
298
|
-
|
299
|
-
|
300
|
-
</td>
|
321
|
+
<td>the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, with a reference
|
322
|
+
count of one, which should be freed with
|
323
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
301
324
|
</tr>
|
302
325
|
</tbody>
|
303
326
|
</table></div>
|
@@ -321,9 +344,9 @@ value.
|
|
321
344
|
</tr>
|
322
345
|
<tr>
|
323
346
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
324
|
-
<td>
|
325
|
-
|
326
|
-
|
347
|
+
<td>the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>,
|
348
|
+
with a reference count of one, which should be freed
|
349
|
+
with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
327
350
|
</td>
|
328
351
|
</tr>
|
329
352
|
</tbody>
|
@@ -346,9 +369,9 @@ Retrieves the <a class="link" href="pango-Text-Processing.html#PangoContext"><sp
|
|
346
369
|
</tr>
|
347
370
|
<tr>
|
348
371
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
349
|
-
<td>
|
350
|
-
have an additional refcount added, so if you want to
|
351
|
-
a copy of this around, you must reference it yourself.
|
372
|
+
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the layout.
|
373
|
+
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">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
352
375
|
</td>
|
353
376
|
</tr>
|
354
377
|
</tbody>
|
@@ -399,17 +422,15 @@ clear attributes.
|
|
399
422
|
</tr>
|
400
423
|
<tr>
|
401
424
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
402
|
-
<td>a valid UTF-8 string
|
403
|
-
</td>
|
425
|
+
<td>a valid UTF-8 string</td>
|
404
426
|
</tr>
|
405
427
|
<tr>
|
406
428
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
407
429
|
<td>maximum length of <em class="parameter"><code>text</code></em>, in bytes. -1 indicates that
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
</td>
|
430
|
+
the string is nul-terminated and the length should be
|
431
|
+
calculated. The text will also be truncated on
|
432
|
+
encountering a nul-termination even when <em class="parameter"><code>length</code></em> is
|
433
|
+
positive.</td>
|
413
434
|
</tr>
|
414
435
|
</tbody>
|
415
436
|
</table></div>
|
@@ -432,11 +453,36 @@ be freed or modified.
|
|
432
453
|
</tr>
|
433
454
|
<tr>
|
434
455
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
435
|
-
<td>
|
456
|
+
<td>the text in the <em class="parameter"><code>layout</code></em>.</td>
|
457
|
+
</tr>
|
458
|
+
</tbody>
|
459
|
+
</table></div>
|
460
|
+
</div>
|
461
|
+
<hr>
|
462
|
+
<div class="refsect2">
|
463
|
+
<a name="pango-layout-get-character-count"></a><h3>pango_layout_get_character_count ()</h3>
|
464
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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
|
+
<p>
|
466
|
+
Returns the number of Unicode characters in the
|
467
|
+
the text of <em class="parameter"><code>layout</code></em>.
|
468
|
+
</p>
|
469
|
+
<div class="variablelist"><table border="0">
|
470
|
+
<col align="left" valign="top">
|
471
|
+
<tbody>
|
472
|
+
<tr>
|
473
|
+
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
474
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
475
|
+
</td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
479
|
+
<td>the number of Unicode characters
|
480
|
+
in the text of <em class="parameter"><code>layout</code></em>
|
436
481
|
</td>
|
437
482
|
</tr>
|
438
483
|
</tbody>
|
439
484
|
</table></div>
|
485
|
+
<p class="since">Since 1.30</p>
|
440
486
|
</div>
|
441
487
|
<hr>
|
442
488
|
<div class="refsect2">
|
@@ -458,14 +504,12 @@ the markup text isn't scanned for accelerators.
|
|
458
504
|
</tr>
|
459
505
|
<tr>
|
460
506
|
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
|
461
|
-
<td>marked-up text
|
462
|
-
</td>
|
507
|
+
<td>marked-up text</td>
|
463
508
|
</tr>
|
464
509
|
<tr>
|
465
510
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
466
511
|
<td>length of marked-up text in bytes, or -1 if <em class="parameter"><code>markup</code></em> is
|
467
|
-
|
468
|
-
</td>
|
512
|
+
null-terminated</td>
|
469
513
|
</tr>
|
470
514
|
</tbody>
|
471
515
|
</table></div>
|
@@ -476,8 +520,8 @@ nul-terminated
|
|
476
520
|
<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>,
|
477
521
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
478
522
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
479
|
-
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
480
|
-
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>);</pre>
|
523
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
|
524
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>);</pre>
|
481
525
|
<p>
|
482
526
|
Sets the layout text and attribute list from marked-up text (see
|
483
527
|
<a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>). Replaces
|
@@ -503,23 +547,21 @@ literal <em class="parameter"><code>accel_marker</code></em> character.
|
|
503
547
|
<tr>
|
504
548
|
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
|
505
549
|
<td>marked-up text
|
506
|
-
(see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)
|
507
|
-
</td>
|
550
|
+
(see <a class="link" href="PangoMarkupFormat.html" title="Text Attribute Markup">markup format</a>)</td>
|
508
551
|
</tr>
|
509
552
|
<tr>
|
510
553
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
511
554
|
<td>length of marked-up text in bytes, or -1 if <em class="parameter"><code>markup</code></em> is
|
512
|
-
|
513
|
-
</td>
|
555
|
+
null-terminated</td>
|
514
556
|
</tr>
|
515
557
|
<tr>
|
516
558
|
<td><p><span class="term"><em class="parameter"><code>accel_marker</code></em> :</span></p></td>
|
517
|
-
<td>marker for accelerators in the text
|
518
|
-
</td>
|
559
|
+
<td>marker for accelerators in the text</td>
|
519
560
|
</tr>
|
520
561
|
<tr>
|
521
562
|
<td><p><span class="term"><em class="parameter"><code>accel_char</code></em> :</span></p></td>
|
522
|
-
<td>return location
|
563
|
+
<td>return location
|
564
|
+
for first located accelerator, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a> caller-allocates][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
523
565
|
</td>
|
524
566
|
</tr>
|
525
567
|
</tbody>
|
@@ -529,7 +571,7 @@ nul-terminated
|
|
529
571
|
<div class="refsect2">
|
530
572
|
<a name="pango-layout-set-attributes"></a><h3>pango_layout_set_attributes ()</h3>
|
531
573
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_attributes (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
532
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
574
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>);</pre>
|
533
575
|
<p>
|
534
576
|
Sets the text attributes for a layout object.
|
535
577
|
References <em class="parameter"><code>attrs</code></em>, so the caller can unref its reference.
|
@@ -544,7 +586,7 @@ References <em class="parameter"><code>attrs</code></em>, so the caller can unre
|
|
544
586
|
</tr>
|
545
587
|
<tr>
|
546
588
|
<td><p><span class="term"><em class="parameter"><code>attrs</code></em> :</span></p></td>
|
547
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
589
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, can be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
548
590
|
</td>
|
549
591
|
</tr>
|
550
592
|
</tbody>
|
@@ -553,7 +595,7 @@ References <em class="parameter"><code>attrs</code></em>, so the caller can unre
|
|
553
595
|
<hr>
|
554
596
|
<div class="refsect2">
|
555
597
|
<a name="pango-layout-get-attributes"></a><h3>pango_layout_get_attributes ()</h3>
|
556
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
598
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> * pango_layout_get_attributes (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
557
599
|
<p>
|
558
600
|
Gets the attribute list for the layout, if any.
|
559
601
|
</p>
|
@@ -567,8 +609,7 @@ Gets the attribute list for the layout, if any.
|
|
567
609
|
</tr>
|
568
610
|
<tr>
|
569
611
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
570
|
-
<td>
|
571
|
-
</td>
|
612
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>.</td>
|
572
613
|
</tr>
|
573
614
|
</tbody>
|
574
615
|
</table></div>
|
@@ -577,7 +618,7 @@ Gets the attribute list for the layout, if any.
|
|
577
618
|
<div class="refsect2">
|
578
619
|
<a name="pango-layout-set-font-description"></a><h3>pango_layout_set_font_description ()</h3>
|
579
620
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_font_description (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
580
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
621
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
581
622
|
<p>
|
582
623
|
Sets the default font description for the layout. If no font
|
583
624
|
description is set on the layout, the font description from
|
@@ -593,8 +634,8 @@ the layout's context is used.
|
|
593
634
|
</tr>
|
594
635
|
<tr>
|
595
636
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
596
|
-
<td>the new <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
597
|
-
|
637
|
+
<td>the new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the
|
638
|
+
current font description. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
598
639
|
</td>
|
599
640
|
</tr>
|
600
641
|
</tbody>
|
@@ -603,7 +644,7 @@ the layout's context is used.
|
|
603
644
|
<hr>
|
604
645
|
<div class="refsect2">
|
605
646
|
<a name="pango-layout-get-font-description"></a><h3>pango_layout_get_font_description ()</h3>
|
606
|
-
<pre class="programlisting">const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
647
|
+
<pre class="programlisting">const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_layout_get_font_description
|
607
648
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
608
649
|
<p>
|
609
650
|
Gets the font description for the layout, if any.
|
@@ -618,12 +659,10 @@ Gets the font description for the layout, if any.
|
|
618
659
|
</tr>
|
619
660
|
<tr>
|
620
661
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
621
|
-
<td>
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
</td>
|
662
|
+
<td>a pointer to the layout's font description,
|
663
|
+
or <a href="/usr/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
|
+
context is inherited. This value is owned by the layout
|
665
|
+
and must not be modified or freed.</td>
|
627
666
|
</tr>
|
628
667
|
</tbody>
|
629
668
|
</table></div>
|
@@ -643,14 +682,12 @@ ellipsized. The default value is -1: no width set.
|
|
643
682
|
<tbody>
|
644
683
|
<tr>
|
645
684
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
646
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
647
|
-
</td>
|
685
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</td>
|
648
686
|
</tr>
|
649
687
|
<tr>
|
650
688
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
651
689
|
<td>the desired width in Pango units, or -1 to indicate that no
|
652
|
-
|
653
|
-
</td>
|
690
|
+
wrapping or ellipsization should be performed.</td>
|
654
691
|
</tr>
|
655
692
|
</tbody>
|
656
693
|
</table></div>
|
@@ -672,8 +709,7 @@ Gets the width to which the lines of the <a class="link" href="pango-Layout-Obje
|
|
672
709
|
</tr>
|
673
710
|
<tr>
|
674
711
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
675
|
-
<td>
|
676
|
-
</td>
|
712
|
+
<td>the width in Pango units, or -1 if no width set.</td>
|
677
713
|
</tr>
|
678
714
|
</tbody>
|
679
715
|
</table></div>
|
@@ -716,14 +752,12 @@ future.
|
|
716
752
|
<tbody>
|
717
753
|
<tr>
|
718
754
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
719
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
720
|
-
</td>
|
755
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</td>
|
721
756
|
</tr>
|
722
757
|
<tr>
|
723
758
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
724
759
|
<td>the desired height of the layout in Pango units if positive,
|
725
|
-
|
726
|
-
</td>
|
760
|
+
or desired number of lines if negative.</td>
|
727
761
|
</tr>
|
728
762
|
</tbody>
|
729
763
|
</table></div>
|
@@ -747,10 +781,8 @@ Gets the height of layout used for ellipsization. See
|
|
747
781
|
</tr>
|
748
782
|
<tr>
|
749
783
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
750
|
-
<td>
|
751
|
-
number of lines if negative
|
752
|
-
|
753
|
-
</td>
|
784
|
+
<td>the height, in Pango units if positive, or
|
785
|
+
number of lines if negative.</td>
|
754
786
|
</tr>
|
755
787
|
</tbody>
|
756
788
|
</table></div>
|
@@ -760,7 +792,7 @@ number of lines if negative.
|
|
760
792
|
<div class="refsect2">
|
761
793
|
<a name="pango-layout-set-wrap"></a><h3>pango_layout_set_wrap ()</h3>
|
762
794
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_wrap (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
763
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoWrapMode"
|
795
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a> wrap</code></em>);</pre>
|
764
796
|
<p>
|
765
797
|
Sets the wrap mode; the wrap mode only has effect if a width
|
766
798
|
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>.
|
@@ -776,8 +808,7 @@ To turn off wrapping, set the width to -1.
|
|
776
808
|
</tr>
|
777
809
|
<tr>
|
778
810
|
<td><p><span class="term"><em class="parameter"><code>wrap</code></em> :</span></p></td>
|
779
|
-
<td>the wrap mode
|
780
|
-
</td>
|
811
|
+
<td>the wrap mode</td>
|
781
812
|
</tr>
|
782
813
|
</tbody>
|
783
814
|
</table></div>
|
@@ -785,7 +816,7 @@ To turn off wrapping, set the width to -1.
|
|
785
816
|
<hr>
|
786
817
|
<div class="refsect2">
|
787
818
|
<a name="pango-layout-get-wrap"></a><h3>pango_layout_get_wrap ()</h3>
|
788
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoWrapMode"
|
819
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoWrapMode"><span class="returnvalue">PangoWrapMode</span></a> pango_layout_get_wrap (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
789
820
|
<p>
|
790
821
|
Gets the wrap mode for the layout.
|
791
822
|
</p>
|
@@ -803,8 +834,7 @@ were actually wrapped.
|
|
803
834
|
</tr>
|
804
835
|
<tr>
|
805
836
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
806
|
-
<td>
|
807
|
-
</td>
|
837
|
+
<td>active wrap mode.</td>
|
808
838
|
</tr>
|
809
839
|
</tbody>
|
810
840
|
</table></div>
|
@@ -812,12 +842,12 @@ were actually wrapped.
|
|
812
842
|
<hr>
|
813
843
|
<div class="refsect2">
|
814
844
|
<a name="pango-layout-is-wrapped"></a><h3>pango_layout_is_wrapped ()</h3>
|
815
|
-
<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>
|
845
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
816
846
|
<p>
|
817
847
|
Queries whether the layout had to wrap any paragraphs.
|
818
848
|
</p>
|
819
849
|
<p>
|
820
|
-
This returns <code class="literal">TRUE</code> if a positive width is set on <em class="parameter"><code>layout</code></em>,
|
850
|
+
This returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a positive width is set on <em class="parameter"><code>layout</code></em>,
|
821
851
|
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>,
|
822
852
|
and there are paragraphs exceeding the layout width that have
|
823
853
|
to be wrapped.
|
@@ -832,10 +862,9 @@ to be wrapped.
|
|
832
862
|
</tr>
|
833
863
|
<tr>
|
834
864
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
835
|
-
<td>
|
836
|
-
|
837
|
-
|
838
|
-
</td>
|
865
|
+
<td>
|
866
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any paragraphs had to be wrapped, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
867
|
+
otherwise.</td>
|
839
868
|
</tr>
|
840
869
|
</tbody>
|
841
870
|
</table></div>
|
@@ -843,7 +872,7 @@ otherwise.
|
|
843
872
|
</div>
|
844
873
|
<hr>
|
845
874
|
<div class="refsect2">
|
846
|
-
<a name="PangoWrapMode"></a><h3>enum PangoWrapMode</h3>
|
875
|
+
<a name="PangoWrapMode-enum"></a><h3>enum PangoWrapMode</h3>
|
847
876
|
<pre class="programlisting">typedef enum {
|
848
877
|
PANGO_WRAP_WORD,
|
849
878
|
PANGO_WRAP_CHAR,
|
@@ -851,7 +880,7 @@ otherwise.
|
|
851
880
|
} PangoWrapMode;
|
852
881
|
</pre>
|
853
882
|
<p>
|
854
|
-
A <a class="link" href="pango-Layout-Objects.html#PangoWrapMode"
|
883
|
+
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.
|
855
884
|
</p>
|
856
885
|
<div class="variablelist"><table border="0">
|
857
886
|
<col align="left" valign="top">
|
@@ -881,14 +910,14 @@ enough space for a full word.
|
|
881
910
|
<pre class="programlisting">#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type())
|
882
911
|
</pre>
|
883
912
|
<p>
|
884
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Layout-Objects.html#PangoWrapMode"
|
913
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a>.
|
885
914
|
</p>
|
886
915
|
</div>
|
887
916
|
<hr>
|
888
917
|
<div class="refsect2">
|
889
918
|
<a name="pango-layout-set-ellipsize"></a><h3>pango_layout_set_ellipsize ()</h3>
|
890
919
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_ellipsize (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
891
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"
|
920
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);</pre>
|
892
921
|
<p>
|
893
922
|
Sets the type of ellipsization being performed for <em class="parameter"><code>layout</code></em>.
|
894
923
|
Depending on the ellipsization mode <em class="parameter"><code>ellipsize</code></em> text is
|
@@ -923,7 +952,7 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" tit
|
|
923
952
|
<hr>
|
924
953
|
<div class="refsect2">
|
925
954
|
<a name="pango-layout-get-ellipsize"></a><h3>pango_layout_get_ellipsize ()</h3>
|
926
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"
|
955
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a> pango_layout_get_ellipsize (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
927
956
|
<p>
|
928
957
|
Gets the type of ellipsization being performed for <em class="parameter"><code>layout</code></em>.
|
929
958
|
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>
|
@@ -938,12 +967,9 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-ellipsize"
|
|
938
967
|
</tr>
|
939
968
|
<tr>
|
940
969
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
941
|
-
<td>
|
942
|
-
|
970
|
+
<td>the current ellipsization mode for <em class="parameter"><code>layout</code></em>.
|
943
971
|
Use <a class="link" href="pango-Layout-Objects.html#pango-layout-is-ellipsized" title="pango_layout_is_ellipsized ()"><code class="function">pango_layout_is_ellipsized()</code></a> to query whether any paragraphs
|
944
|
-
were actually ellipsized
|
945
|
-
|
946
|
-
</td>
|
972
|
+
were actually ellipsized.</td>
|
947
973
|
</tr>
|
948
974
|
</tbody>
|
949
975
|
</table></div>
|
@@ -952,12 +978,12 @@ were actually ellipsized.
|
|
952
978
|
<hr>
|
953
979
|
<div class="refsect2">
|
954
980
|
<a name="pango-layout-is-ellipsized"></a><h3>pango_layout_is_ellipsized ()</h3>
|
955
|
-
<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>
|
981
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
956
982
|
<p>
|
957
983
|
Queries whether the layout had to ellipsize any paragraphs.
|
958
984
|
</p>
|
959
985
|
<p>
|
960
|
-
This returns <code class="literal">TRUE</code> if the ellipsization mode for <em class="parameter"><code>layout</code></em>
|
986
|
+
This returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the ellipsization mode for <em class="parameter"><code>layout</code></em>
|
961
987
|
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>,
|
962
988
|
and there are paragraphs exceeding that width that have to be
|
963
989
|
ellipsized.
|
@@ -972,10 +998,9 @@ ellipsized.
|
|
972
998
|
</tr>
|
973
999
|
<tr>
|
974
1000
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
975
|
-
<td>
|
976
|
-
|
977
|
-
|
978
|
-
</td>
|
1001
|
+
<td>
|
1002
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any paragraphs had to be ellipsized, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
1003
|
+
otherwise.</td>
|
979
1004
|
</tr>
|
980
1005
|
</tbody>
|
981
1006
|
</table></div>
|
@@ -983,7 +1008,7 @@ otherwise.
|
|
983
1008
|
</div>
|
984
1009
|
<hr>
|
985
1010
|
<div class="refsect2">
|
986
|
-
<a name="PangoEllipsizeMode"></a><h3>enum PangoEllipsizeMode</h3>
|
1011
|
+
<a name="PangoEllipsizeMode-enum"></a><h3>enum PangoEllipsizeMode</h3>
|
987
1012
|
<pre class="programlisting">typedef enum {
|
988
1013
|
PANGO_ELLIPSIZE_NONE,
|
989
1014
|
PANGO_ELLIPSIZE_START,
|
@@ -992,7 +1017,7 @@ otherwise.
|
|
992
1017
|
} PangoEllipsizeMode;
|
993
1018
|
</pre>
|
994
1019
|
<p>
|
995
|
-
The <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"
|
1020
|
+
The <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> type describes what sort of (if any)
|
996
1021
|
ellipsization should be applied to a line of text. In
|
997
1022
|
the ellipsization process characters are removed from the
|
998
1023
|
text in order to make it fit to a given width and replaced
|
@@ -1030,7 +1055,7 @@ with an ellipsis.
|
|
1030
1055
|
<pre class="programlisting">#define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type())
|
1031
1056
|
</pre>
|
1032
1057
|
<p>
|
1033
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"
|
1058
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a>.
|
1034
1059
|
</p>
|
1035
1060
|
</div>
|
1036
1061
|
<hr>
|
@@ -1053,13 +1078,11 @@ The indent setting is ignored if layout alignment is set to
|
|
1053
1078
|
<tbody>
|
1054
1079
|
<tr>
|
1055
1080
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
1056
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
1057
|
-
</td>
|
1081
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</td>
|
1058
1082
|
</tr>
|
1059
1083
|
<tr>
|
1060
1084
|
<td><p><span class="term"><em class="parameter"><code>indent</code></em> :</span></p></td>
|
1061
|
-
<td>the amount by which to indent
|
1062
|
-
</td>
|
1085
|
+
<td>the amount by which to indent.</td>
|
1063
1086
|
</tr>
|
1064
1087
|
</tbody>
|
1065
1088
|
</table></div>
|
@@ -1082,8 +1105,7 @@ indicates a hanging indentation.
|
|
1082
1105
|
</tr>
|
1083
1106
|
<tr>
|
1084
1107
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1085
|
-
<td>
|
1086
|
-
</td>
|
1108
|
+
<td>the indent in Pango units.</td>
|
1087
1109
|
</tr>
|
1088
1110
|
</tbody>
|
1089
1111
|
</table></div>
|
@@ -1105,8 +1127,7 @@ Gets the amount of spacing between the lines of the layout.
|
|
1105
1127
|
</tr>
|
1106
1128
|
<tr>
|
1107
1129
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1108
|
-
<td>
|
1109
|
-
</td>
|
1130
|
+
<td>the spacing in Pango units.</td>
|
1110
1131
|
</tr>
|
1111
1132
|
</tbody>
|
1112
1133
|
</table></div>
|
@@ -1125,13 +1146,11 @@ layout.
|
|
1125
1146
|
<tbody>
|
1126
1147
|
<tr>
|
1127
1148
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
1128
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
1129
|
-
</td>
|
1149
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</td>
|
1130
1150
|
</tr>
|
1131
1151
|
<tr>
|
1132
1152
|
<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td>
|
1133
|
-
<td>the amount of spacing
|
1134
|
-
</td>
|
1153
|
+
<td>the amount of spacing</td>
|
1135
1154
|
</tr>
|
1136
1155
|
</tbody>
|
1137
1156
|
</table></div>
|
@@ -1140,7 +1159,7 @@ layout.
|
|
1140
1159
|
<div class="refsect2">
|
1141
1160
|
<a name="pango-layout-set-justify"></a><h3>pango_layout_set_justify ()</h3>
|
1142
1161
|
<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>,
|
1143
|
-
<em class="parameter"><code><span class="type">gboolean</span> justify</code></em>);</pre>
|
1162
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> justify</code></em>);</pre>
|
1144
1163
|
<p>
|
1145
1164
|
Sets whether each complete line should be stretched to
|
1146
1165
|
fill the entire width of the layout. This stretching is typically
|
@@ -1162,8 +1181,7 @@ older than 1.18.
|
|
1162
1181
|
</tr>
|
1163
1182
|
<tr>
|
1164
1183
|
<td><p><span class="term"><em class="parameter"><code>justify</code></em> :</span></p></td>
|
1165
|
-
<td>whether the lines in the layout should be justified
|
1166
|
-
</td>
|
1184
|
+
<td>whether the lines in the layout should be justified.</td>
|
1167
1185
|
</tr>
|
1168
1186
|
</tbody>
|
1169
1187
|
</table></div>
|
@@ -1171,7 +1189,7 @@ older than 1.18.
|
|
1171
1189
|
<hr>
|
1172
1190
|
<div class="refsect2">
|
1173
1191
|
<a name="pango-layout-get-justify"></a><h3>pango_layout_get_justify ()</h3>
|
1174
|
-
<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>
|
1192
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
1175
1193
|
<p>
|
1176
1194
|
Gets whether each complete line should be stretched to fill the entire
|
1177
1195
|
width of the layout.
|
@@ -1186,8 +1204,7 @@ width of the layout.
|
|
1186
1204
|
</tr>
|
1187
1205
|
<tr>
|
1188
1206
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1189
|
-
<td>
|
1190
|
-
</td>
|
1207
|
+
<td>the justify.</td>
|
1191
1208
|
</tr>
|
1192
1209
|
</tbody>
|
1193
1210
|
</table></div>
|
@@ -1196,7 +1213,7 @@ width of the layout.
|
|
1196
1213
|
<div class="refsect2">
|
1197
1214
|
<a name="pango-layout-set-auto-dir"></a><h3>pango_layout_set_auto_dir ()</h3>
|
1198
1215
|
<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>,
|
1199
|
-
<em class="parameter"><code><span class="type">gboolean</span> auto_dir</code></em>);</pre>
|
1216
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_dir</code></em>);</pre>
|
1200
1217
|
<p>
|
1201
1218
|
Sets whether to calculate the bidirectional base direction
|
1202
1219
|
for the layout according to the contents of the layout;
|
@@ -1208,7 +1225,7 @@ have left-to-right layout. Paragraphs with only neutral
|
|
1208
1225
|
characters get their direction from the surrounding paragraphs.
|
1209
1226
|
</p>
|
1210
1227
|
<p>
|
1211
|
-
When <code class="literal">FALSE</code>, the choice between left-to-right and
|
1228
|
+
When <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the choice between left-to-right and
|
1212
1229
|
right-to-left layout is done according to the base direction
|
1213
1230
|
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>).
|
1214
1231
|
</p>
|
@@ -1227,9 +1244,8 @@ base direction of the context, the interpretation of
|
|
1227
1244
|
</tr>
|
1228
1245
|
<tr>
|
1229
1246
|
<td><p><span class="term"><em class="parameter"><code>auto_dir</code></em> :</span></p></td>
|
1230
|
-
<td>if <code class="literal">TRUE</code>, compute the bidirectional base direction
|
1231
|
-
|
1232
|
-
</td>
|
1247
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, compute the bidirectional base direction
|
1248
|
+
from the layout's contents.</td>
|
1233
1249
|
</tr>
|
1234
1250
|
</tbody>
|
1235
1251
|
</table></div>
|
@@ -1238,7 +1254,7 @@ base direction of the context, the interpretation of
|
|
1238
1254
|
<hr>
|
1239
1255
|
<div class="refsect2">
|
1240
1256
|
<a name="pango-layout-get-auto-dir"></a><h3>pango_layout_get_auto_dir ()</h3>
|
1241
|
-
<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>
|
1257
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
1242
1258
|
<p>
|
1243
1259
|
Gets whether to calculate the bidirectional base direction
|
1244
1260
|
for the layout according to the contents of the layout.
|
@@ -1254,10 +1270,9 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" t
|
|
1254
1270
|
</tr>
|
1255
1271
|
<tr>
|
1256
1272
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1257
|
-
<td>
|
1258
|
-
|
1259
|
-
|
1260
|
-
</td>
|
1273
|
+
<td>
|
1274
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the bidirectional base direction
|
1275
|
+
is computed from the layout's contents, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1261
1276
|
</tr>
|
1262
1277
|
</tbody>
|
1263
1278
|
</table></div>
|
@@ -1267,7 +1282,7 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" t
|
|
1267
1282
|
<div class="refsect2">
|
1268
1283
|
<a name="pango-layout-set-alignment"></a><h3>pango_layout_set_alignment ()</h3>
|
1269
1284
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_alignment (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1270
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoAlignment"
|
1285
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="type">PangoAlignment</span></a> alignment</code></em>);</pre>
|
1271
1286
|
<p>
|
1272
1287
|
Sets the alignment for the layout: how partial lines are
|
1273
1288
|
positioned within the horizontal space available.
|
@@ -1282,8 +1297,7 @@ positioned within the horizontal space available.
|
|
1282
1297
|
</tr>
|
1283
1298
|
<tr>
|
1284
1299
|
<td><p><span class="term"><em class="parameter"><code>alignment</code></em> :</span></p></td>
|
1285
|
-
<td>the alignment
|
1286
|
-
</td>
|
1300
|
+
<td>the alignment</td>
|
1287
1301
|
</tr>
|
1288
1302
|
</tbody>
|
1289
1303
|
</table></div>
|
@@ -1291,7 +1305,7 @@ positioned within the horizontal space available.
|
|
1291
1305
|
<hr>
|
1292
1306
|
<div class="refsect2">
|
1293
1307
|
<a name="pango-layout-get-alignment"></a><h3>pango_layout_get_alignment ()</h3>
|
1294
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoAlignment"
|
1308
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="returnvalue">PangoAlignment</span></a> pango_layout_get_alignment (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1295
1309
|
<p>
|
1296
1310
|
Gets the alignment for the layout: how partial lines are
|
1297
1311
|
positioned within the horizontal space available.
|
@@ -1306,8 +1320,7 @@ positioned within the horizontal space available.
|
|
1306
1320
|
</tr>
|
1307
1321
|
<tr>
|
1308
1322
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1309
|
-
<td>
|
1310
|
-
</td>
|
1323
|
+
<td>the alignment.</td>
|
1311
1324
|
</tr>
|
1312
1325
|
</tbody>
|
1313
1326
|
</table></div>
|
@@ -1316,10 +1329,10 @@ positioned within the horizontal space available.
|
|
1316
1329
|
<div class="refsect2">
|
1317
1330
|
<a name="pango-layout-set-tabs"></a><h3>pango_layout_set_tabs ()</h3>
|
1318
1331
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_tabs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1319
|
-
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"
|
1332
|
+
<em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tabs</code></em>);</pre>
|
1320
1333
|
<p>
|
1321
1334
|
Sets the tabs to use for <em class="parameter"><code>layout</code></em>, overriding the default tabs
|
1322
|
-
(by default, tabs are every 8 spaces). If <em class="parameter"><code>tabs</code></em> is <a href="/
|
1335
|
+
(by default, tabs are every 8 spaces). If <em class="parameter"><code>tabs</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default
|
1323
1336
|
tabs are reinstated. <em class="parameter"><code>tabs</code></em> is copied into the layout; you must
|
1324
1337
|
free your copy of <em class="parameter"><code>tabs</code></em> yourself.
|
1325
1338
|
</p>
|
@@ -1333,7 +1346,7 @@ free your copy of <em class="parameter"><code>tabs</code></em> yourself.
|
|
1333
1346
|
</tr>
|
1334
1347
|
<tr>
|
1335
1348
|
<td><p><span class="term"><em class="parameter"><code>tabs</code></em> :</span></p></td>
|
1336
|
-
<td>a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"
|
1349
|
+
<td>a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1337
1350
|
</td>
|
1338
1351
|
</tr>
|
1339
1352
|
</tbody>
|
@@ -1342,11 +1355,11 @@ free your copy of <em class="parameter"><code>tabs</code></em> yourself.
|
|
1342
1355
|
<hr>
|
1343
1356
|
<div class="refsect2">
|
1344
1357
|
<a name="pango-layout-get-tabs"></a><h3>pango_layout_get_tabs ()</h3>
|
1345
|
-
<pre class="programlisting"><a class="link" href="pango-Tab-Stops.html#PangoTabArray"
|
1358
|
+
<pre class="programlisting"><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> * pango_layout_get_tabs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1346
1359
|
<p>
|
1347
|
-
Gets the current <a class="link" href="pango-Tab-Stops.html#PangoTabArray"
|
1348
|
-
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"
|
1349
|
-
and <a href="/
|
1360
|
+
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
|
+
<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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned. Default tabs are every 8 spaces.
|
1350
1363
|
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>.
|
1351
1364
|
</p>
|
1352
1365
|
<div class="variablelist"><table border="0">
|
@@ -1359,8 +1372,7 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
1359
1372
|
</tr>
|
1360
1373
|
<tr>
|
1361
1374
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1362
|
-
<td>
|
1363
|
-
</td>
|
1375
|
+
<td>a copy of the tabs for this layout, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1364
1376
|
</tr>
|
1365
1377
|
</tbody>
|
1366
1378
|
</table></div>
|
@@ -1370,9 +1382,9 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
1370
1382
|
<a name="pango-layout-set-single-paragraph-mode"></a><h3>pango_layout_set_single_paragraph_mode ()</h3>
|
1371
1383
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_set_single_paragraph_mode
|
1372
1384
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1373
|
-
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
|
1385
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
1374
1386
|
<p>
|
1375
|
-
If <em class="parameter"><code>setting</code></em> is <code class="literal">TRUE</code>, do not treat newlines and similar characters
|
1387
|
+
If <em class="parameter"><code>setting</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, do not treat newlines and similar characters
|
1376
1388
|
as paragraph separators; instead, keep all text in a single paragraph,
|
1377
1389
|
and display a glyph for paragraph separator characters. Used when
|
1378
1390
|
you want to allow editing of newlines on a single text line.
|
@@ -1387,8 +1399,7 @@ you want to allow editing of newlines on a single text line.
|
|
1387
1399
|
</tr>
|
1388
1400
|
<tr>
|
1389
1401
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1390
|
-
<td>new setting
|
1391
|
-
</td>
|
1402
|
+
<td>new setting</td>
|
1392
1403
|
</tr>
|
1393
1404
|
</tbody>
|
1394
1405
|
</table></div>
|
@@ -1396,7 +1407,7 @@ you want to allow editing of newlines on a single text line.
|
|
1396
1407
|
<hr>
|
1397
1408
|
<div class="refsect2">
|
1398
1409
|
<a name="pango-layout-get-single-paragraph-mode"></a><h3>pango_layout_get_single_paragraph_mode ()</h3>
|
1399
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_layout_get_single_paragraph_mode
|
1410
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_layout_get_single_paragraph_mode
|
1400
1411
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1401
1412
|
<p>
|
1402
1413
|
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>.
|
@@ -1411,16 +1422,16 @@ Obtains the value set by <a class="link" href="pango-Layout-Objects.html#pango-l
|
|
1411
1422
|
</tr>
|
1412
1423
|
<tr>
|
1413
1424
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1414
|
-
<td>
|
1415
|
-
|
1416
|
-
</td>
|
1425
|
+
<td>
|
1426
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout does not break paragraphs at
|
1427
|
+
paragraph separator characters, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1417
1428
|
</tr>
|
1418
1429
|
</tbody>
|
1419
1430
|
</table></div>
|
1420
1431
|
</div>
|
1421
1432
|
<hr>
|
1422
1433
|
<div class="refsect2">
|
1423
|
-
<a name="PangoAlignment"></a><h3>enum PangoAlignment</h3>
|
1434
|
+
<a name="PangoAlignment-enum"></a><h3>enum PangoAlignment</h3>
|
1424
1435
|
<pre class="programlisting">typedef enum {
|
1425
1436
|
PANGO_ALIGN_LEFT,
|
1426
1437
|
PANGO_ALIGN_CENTER,
|
@@ -1428,7 +1439,7 @@ paragraph separator characters, <code class="literal">FALSE</code> otherwise.
|
|
1428
1439
|
} PangoAlignment;
|
1429
1440
|
</pre>
|
1430
1441
|
<p>
|
1431
|
-
A <a class="link" href="pango-Layout-Objects.html#PangoAlignment"
|
1442
|
+
A <a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="type">PangoAlignment</span></a> describes how to align the lines of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> within the
|
1432
1443
|
available space. If the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is set to justify
|
1433
1444
|
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.
|
1434
1445
|
</p>
|
@@ -1459,7 +1470,7 @@ using <a class="link" href="pango-Layout-Objects.html#pango-layout-set-justify"
|
|
1459
1470
|
<pre class="programlisting">#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type())
|
1460
1471
|
</pre>
|
1461
1472
|
<p>
|
1462
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Layout-Objects.html#PangoAlignment"
|
1473
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Layout-Objects.html#PangoAlignment"><span class="type">PangoAlignment</span></a>.
|
1463
1474
|
</p>
|
1464
1475
|
</div>
|
1465
1476
|
<hr>
|
@@ -1488,9 +1499,7 @@ certain font supports all the characters in the string.
|
|
1488
1499
|
</tr>
|
1489
1500
|
<tr>
|
1490
1501
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1491
|
-
<td>
|
1492
|
-
|
1493
|
-
</td>
|
1502
|
+
<td>The number of unknown glyphs in <em class="parameter"><code>layout</code></em>.</td>
|
1494
1503
|
</tr>
|
1495
1504
|
</tbody>
|
1496
1505
|
</table></div>
|
@@ -1501,7 +1510,7 @@ certain font supports all the characters in the string.
|
|
1501
1510
|
<a name="pango-layout-get-log-attrs"></a><h3>pango_layout_get_log_attrs ()</h3>
|
1502
1511
|
<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>,
|
1503
1512
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> **attrs</code></em>,
|
1504
|
-
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);</pre>
|
1513
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);</pre>
|
1505
1514
|
<p>
|
1506
1515
|
Retrieves an array of logical attributes for each character in
|
1507
1516
|
the <em class="parameter"><code>layout</code></em>.
|
@@ -1517,20 +1526,60 @@ the <em class="parameter"><code>layout</code></em>.
|
|
1517
1526
|
<tr>
|
1518
1527
|
<td><p><span class="term"><em class="parameter"><code>attrs</code></em> :</span></p></td>
|
1519
1528
|
<td>location to store a pointer to an array of logical attributes
|
1520
|
-
|
1529
|
+
This value must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=n_attrs][<a href="http://foldoc.org/transfer%20container"><span class="acronym">transfer container</span></a>]</span>
|
1521
1530
|
</td>
|
1522
1531
|
</tr>
|
1523
1532
|
<tr>
|
1524
1533
|
<td><p><span class="term"><em class="parameter"><code>n_attrs</code></em> :</span></p></td>
|
1525
1534
|
<td>location to store the number of the attributes in the
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1535
|
+
array. (The stored value will be one more than the total number
|
1536
|
+
of characters in the layout, since there need to be attributes
|
1537
|
+
corresponding to both the position before the first character
|
1538
|
+
and the position after the last character.)</td>
|
1539
|
+
</tr>
|
1540
|
+
</tbody>
|
1541
|
+
</table></div>
|
1542
|
+
</div>
|
1543
|
+
<hr>
|
1544
|
+
<div class="refsect2">
|
1545
|
+
<a name="pango-layout-get-log-attrs-readonly"></a><h3>pango_layout_get_log_attrs_readonly ()</h3>
|
1546
|
+
<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
|
+
(<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><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);</pre>
|
1549
|
+
<p>
|
1550
|
+
Retrieves an array of logical attributes for each character in
|
1551
|
+
the <em class="parameter"><code>layout</code></em>.
|
1552
|
+
</p>
|
1553
|
+
<p>
|
1554
|
+
This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-get-log-attrs" title="pango_layout_get_log_attrs ()"><code class="function">pango_layout_get_log_attrs()</code></a>.
|
1555
|
+
The returned array is part of <em class="parameter"><code>layout</code></em> and must not be modified.
|
1556
|
+
Modifying the layout will invalidate the returned array.
|
1557
|
+
</p>
|
1558
|
+
<p>
|
1559
|
+
The number of attributes returned in <em class="parameter"><code>n_attrs</code></em> will be one more
|
1560
|
+
than the total number of characters in the layout, since there
|
1561
|
+
need to be attributes corresponding to both the position before
|
1562
|
+
the first character and the position after the last character.
|
1563
|
+
</p>
|
1564
|
+
<div class="variablelist"><table border="0">
|
1565
|
+
<col align="left" valign="top">
|
1566
|
+
<tbody>
|
1567
|
+
<tr>
|
1568
|
+
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
1569
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
1530
1570
|
</td>
|
1531
1571
|
</tr>
|
1572
|
+
<tr>
|
1573
|
+
<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 the array</td>
|
1575
|
+
</tr>
|
1576
|
+
<tr>
|
1577
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1578
|
+
<td>an array of logical attributes</td>
|
1579
|
+
</tr>
|
1532
1580
|
</tbody>
|
1533
1581
|
</table></div>
|
1582
|
+
<p class="since">Since 1.30</p>
|
1534
1583
|
</div>
|
1535
1584
|
<hr>
|
1536
1585
|
<div class="refsect2">
|
@@ -1561,7 +1610,7 @@ then <code class="literal">pos->width</code> will be negative.
|
|
1561
1610
|
</tr>
|
1562
1611
|
<tr>
|
1563
1612
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
1564
|
-
<td>rectangle in which to store the position of the grapheme
|
1613
|
+
<td>rectangle in which to store the position of the grapheme. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
1565
1614
|
</td>
|
1566
1615
|
</tr>
|
1567
1616
|
</tbody>
|
@@ -1572,7 +1621,7 @@ then <code class="literal">pos->width</code> will be negative.
|
|
1572
1621
|
<a name="pango-layout-index-to-line-x"></a><h3>pango_layout_index_to_line_x ()</h3>
|
1573
1622
|
<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>,
|
1574
1623
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
1575
|
-
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
1624
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
|
1576
1625
|
<em class="parameter"><code><span class="type">int</span> *line</code></em>,
|
1577
1626
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
1578
1627
|
<p>
|
@@ -1589,26 +1638,24 @@ Converts from byte <em class="parameter"><code>index_</code></em> within the <em
|
|
1589
1638
|
</tr>
|
1590
1639
|
<tr>
|
1591
1640
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
1592
|
-
<td>the byte index of a grapheme within the layout
|
1593
|
-
</td>
|
1641
|
+
<td>the byte index of a grapheme within the layout.</td>
|
1594
1642
|
</tr>
|
1595
1643
|
<tr>
|
1596
1644
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
1597
1645
|
<td>an integer indicating the edge of the grapheme to retrieve the
|
1598
|
-
|
1599
|
-
|
1600
|
-
</td>
|
1646
|
+
position of. If 0, the trailing edge of the grapheme, if > 0,
|
1647
|
+
the leading of the grapheme.</td>
|
1601
1648
|
</tr>
|
1602
1649
|
<tr>
|
1603
1650
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
1604
1651
|
<td>location to store resulting line index. (which will
|
1605
|
-
|
1652
|
+
between 0 and pango_layout_get_line_count(layout) - 1), or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1606
1653
|
</td>
|
1607
1654
|
</tr>
|
1608
1655
|
<tr>
|
1609
1656
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
1610
1657
|
<td>location to store resulting position within line
|
1611
|
-
|
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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1612
1659
|
</td>
|
1613
1660
|
</tr>
|
1614
1661
|
</tbody>
|
@@ -1617,7 +1664,7 @@ Converts from byte <em class="parameter"><code>index_</code></em> within the <em
|
|
1617
1664
|
<hr>
|
1618
1665
|
<div class="refsect2">
|
1619
1666
|
<a name="pango-layout-xy-to-index"></a><h3>pango_layout_xy_to_index ()</h3>
|
1620
|
-
<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>,
|
1667
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
1621
1668
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
1622
1669
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
1623
1670
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
@@ -1630,7 +1677,7 @@ Y position is not inside the layout, the closest position is chosen
|
|
1630
1677
|
X position is not within the layout, then the start or the
|
1631
1678
|
end of the line is chosen as described for <code class="function">pango_layout_x_to_index()</code>.
|
1632
1679
|
If either the X or Y positions were not inside the layout, then the
|
1633
|
-
function returns <code class="literal">FALSE</code>; on an exact hit, it returns <code class="literal">TRUE</code>.
|
1680
|
+
function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>; on an exact hit, it returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1634
1681
|
</p>
|
1635
1682
|
<div class="variablelist"><table border="0">
|
1636
1683
|
<col align="left" valign="top">
|
@@ -1643,32 +1690,30 @@ function returns <code class="literal">FALSE</code>; on an exact hit, it returns
|
|
1643
1690
|
<tr>
|
1644
1691
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1645
1692
|
<td>the X offset (in Pango units)
|
1646
|
-
|
1647
|
-
</td>
|
1693
|
+
from the left edge of the layout.</td>
|
1648
1694
|
</tr>
|
1649
1695
|
<tr>
|
1650
1696
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1651
1697
|
<td>the Y offset (in Pango units)
|
1652
|
-
|
1653
|
-
</td>
|
1698
|
+
from the top edge of the layout</td>
|
1654
1699
|
</tr>
|
1655
1700
|
<tr>
|
1656
1701
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
1657
|
-
<td>location to store calculated byte index
|
1702
|
+
<td>location to store calculated byte index. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
1658
1703
|
</td>
|
1659
1704
|
</tr>
|
1660
1705
|
<tr>
|
1661
1706
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
1662
1707
|
<td>location to store a integer indicating where
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1708
|
+
in the grapheme the user clicked. It will either
|
1709
|
+
be zero, or the number of characters in the
|
1710
|
+
grapheme. 0 represents the trailing edge of the grapheme. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
1666
1711
|
</td>
|
1667
1712
|
</tr>
|
1668
1713
|
<tr>
|
1669
1714
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1670
|
-
<td>
|
1671
|
-
</td>
|
1715
|
+
<td>
|
1716
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the coordinates were inside text, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1672
1717
|
</tr>
|
1673
1718
|
</tbody>
|
1674
1719
|
</table></div>
|
@@ -1700,17 +1745,17 @@ direction of the layout are inserted.
|
|
1700
1745
|
</tr>
|
1701
1746
|
<tr>
|
1702
1747
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
1703
|
-
<td>the byte index of the cursor
|
1704
|
-
</td>
|
1748
|
+
<td>the byte index of the cursor</td>
|
1705
1749
|
</tr>
|
1706
1750
|
<tr>
|
1707
1751
|
<td><p><span class="term"><em class="parameter"><code>strong_pos</code></em> :</span></p></td>
|
1708
|
-
<td>location to store the strong cursor position
|
1752
|
+
<td>location to store the strong cursor position
|
1753
|
+
(may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>). <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1709
1754
|
</td>
|
1710
1755
|
</tr>
|
1711
1756
|
<tr>
|
1712
1757
|
<td><p><span class="term"><em class="parameter"><code>weak_pos</code></em> :</span></p></td>
|
1713
|
-
<td>location to store the weak cursor position (may be <a href="/
|
1758
|
+
<td>location to store the weak cursor position (may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>). <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1714
1759
|
</td>
|
1715
1760
|
</tr>
|
1716
1761
|
</tbody>
|
@@ -1720,7 +1765,7 @@ direction of the layout are inserted.
|
|
1720
1765
|
<div class="refsect2">
|
1721
1766
|
<a name="pango-layout-move-cursor-visually"></a><h3>pango_layout_move_cursor_visually ()</h3>
|
1722
1767
|
<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>,
|
1723
|
-
<em class="parameter"><code><span class="type">gboolean</span> strong</code></em>,
|
1768
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strong</code></em>,
|
1724
1769
|
<em class="parameter"><code><span class="type">int</span> old_index</code></em>,
|
1725
1770
|
<em class="parameter"><code><span class="type">int</span> old_trailing</code></em>,
|
1726
1771
|
<em class="parameter"><code><span class="type">int</span> direction</code></em>,
|
@@ -1751,51 +1796,45 @@ to form a single grapheme.
|
|
1751
1796
|
<tbody>
|
1752
1797
|
<tr>
|
1753
1798
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
1754
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
1755
|
-
</td>
|
1799
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</td>
|
1756
1800
|
</tr>
|
1757
1801
|
<tr>
|
1758
1802
|
<td><p><span class="term"><em class="parameter"><code>strong</code></em> :</span></p></td>
|
1759
1803
|
<td>whether the moving cursor is the strong cursor or the
|
1760
|
-
|
1761
|
-
|
1762
|
-
</td>
|
1804
|
+
weak cursor. The strong cursor is the cursor corresponding
|
1805
|
+
to text insertion in the base direction for the layout.</td>
|
1763
1806
|
</tr>
|
1764
1807
|
<tr>
|
1765
1808
|
<td><p><span class="term"><em class="parameter"><code>old_index</code></em> :</span></p></td>
|
1766
|
-
<td>the byte index of the grapheme for the old index
|
1767
|
-
</td>
|
1809
|
+
<td>the byte index of the grapheme for the old index</td>
|
1768
1810
|
</tr>
|
1769
1811
|
<tr>
|
1770
1812
|
<td><p><span class="term"><em class="parameter"><code>old_trailing</code></em> :</span></p></td>
|
1771
1813
|
<td>if 0, the cursor was at the trailing edge of the
|
1772
|
-
|
1773
|
-
|
1774
|
-
</td>
|
1814
|
+
grapheme indicated by <em class="parameter"><code>old_index</code></em>, if > 0, the cursor
|
1815
|
+
was at the leading edge.</td>
|
1775
1816
|
</tr>
|
1776
1817
|
<tr>
|
1777
1818
|
<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td>
|
1778
1819
|
<td>direction to move cursor. A negative
|
1779
|
-
|
1780
|
-
</td>
|
1820
|
+
value indicates motion to the left.</td>
|
1781
1821
|
</tr>
|
1782
1822
|
<tr>
|
1783
1823
|
<td><p><span class="term"><em class="parameter"><code>new_index</code></em> :</span></p></td>
|
1784
1824
|
<td>location to store the new cursor byte index. A value of -1
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1825
|
+
indicates that the cursor has been moved off the beginning
|
1826
|
+
of the layout. A value of <a href="http://library.gnome.org/devel/glib/unstable/glib-Limits-of-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> indicates that
|
1827
|
+
the cursor has been moved off the end of the layout. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
1788
1828
|
</td>
|
1789
1829
|
</tr>
|
1790
1830
|
<tr>
|
1791
1831
|
<td><p><span class="term"><em class="parameter"><code>new_trailing</code></em> :</span></p></td>
|
1792
1832
|
<td>number of characters to move forward from the location returned
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
</td>
|
1833
|
+
for <em class="parameter"><code>new_index</code></em> to get the position where the cursor should
|
1834
|
+
be displayed. This allows distinguishing the position at
|
1835
|
+
the beginning of one line from the position at the end
|
1836
|
+
of the preceding line. <em class="parameter"><code>new_index</code></em> is always on the line
|
1837
|
+
where the cursor should be displayed.</td>
|
1799
1838
|
</tr>
|
1800
1839
|
</tbody>
|
1801
1840
|
</table></div>
|
@@ -1828,14 +1867,16 @@ coordinates begin at the top left corner of the layout.
|
|
1828
1867
|
</tr>
|
1829
1868
|
<tr>
|
1830
1869
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1831
|
-
<td>rectangle used to store the extents of the
|
1832
|
-
|
1870
|
+
<td>rectangle used to store the extents of the
|
1871
|
+
layout as drawn or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is
|
1872
|
+
not needed. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1833
1873
|
</td>
|
1834
1874
|
</tr>
|
1835
1875
|
<tr>
|
1836
1876
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1837
|
-
<td>rectangle used to store the logical
|
1838
|
-
|
1877
|
+
<td>rectangle used to store the logical
|
1878
|
+
extents of the layout or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the
|
1879
|
+
result is not needed. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1839
1880
|
</td>
|
1840
1881
|
</tr>
|
1841
1882
|
</tbody>
|
@@ -1864,14 +1905,16 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
1864
1905
|
</tr>
|
1865
1906
|
<tr>
|
1866
1907
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1867
|
-
<td>rectangle used to store the extents of the
|
1868
|
-
|
1908
|
+
<td>rectangle used to store the extents of the
|
1909
|
+
layout as drawn or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is
|
1910
|
+
not needed. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1869
1911
|
</td>
|
1870
1912
|
</tr>
|
1871
1913
|
<tr>
|
1872
1914
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1873
|
-
<td>rectangle used to store the logical
|
1874
|
-
|
1915
|
+
<td>rectangle used to store the logical
|
1916
|
+
extents of the layout or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the
|
1917
|
+
result is not needed. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1875
1918
|
</td>
|
1876
1919
|
</tr>
|
1877
1920
|
</tbody>
|
@@ -1898,12 +1941,12 @@ is simply a convenience function around <a class="link" href="pango-Layout-Objec
|
|
1898
1941
|
</tr>
|
1899
1942
|
<tr>
|
1900
1943
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1901
|
-
<td>location to store the logical width, or <a href="/
|
1944
|
+
<td>location to store the logical width, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a> caller-allocates][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1902
1945
|
</td>
|
1903
1946
|
</tr>
|
1904
1947
|
<tr>
|
1905
1948
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1906
|
-
<td>location to store the logical height, or <a href="/
|
1949
|
+
<td>location to store the logical height, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a> caller-allocates][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1907
1950
|
</td>
|
1908
1951
|
</tr>
|
1909
1952
|
</tbody>
|
@@ -1932,12 +1975,12 @@ is simply a convenience function around
|
|
1932
1975
|
</tr>
|
1933
1976
|
<tr>
|
1934
1977
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1935
|
-
<td>location to store the logical width, or <a href="/
|
1978
|
+
<td>location to store the logical width, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1936
1979
|
</td>
|
1937
1980
|
</tr>
|
1938
1981
|
<tr>
|
1939
1982
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1940
|
-
<td>location to store the logical height, or <a href="/
|
1983
|
+
<td>location to store the logical height, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1941
1984
|
</td>
|
1942
1985
|
</tr>
|
1943
1986
|
</tbody>
|
@@ -1960,9 +2003,7 @@ Gets the Y position of baseline of the first line in <em class="parameter"><code
|
|
1960
2003
|
</tr>
|
1961
2004
|
<tr>
|
1962
2005
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1963
|
-
<td>
|
1964
|
-
|
1965
|
-
</td>
|
2006
|
+
<td>baseline of first line, from top of <em class="parameter"><code>layout</code></em>.</td>
|
1966
2007
|
</tr>
|
1967
2008
|
</tbody>
|
1968
2009
|
</table></div>
|
@@ -1980,14 +2021,11 @@ Retrieves the count of lines for the <em class="parameter"><code>layout</code></
|
|
1980
2021
|
<tbody>
|
1981
2022
|
<tr>
|
1982
2023
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
1983
|
-
<td>
|
1984
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
1985
|
-
</td>
|
2024
|
+
<td><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></td>
|
1986
2025
|
</tr>
|
1987
2026
|
<tr>
|
1988
2027
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1989
|
-
<td>
|
1990
|
-
</td>
|
2028
|
+
<td>the line count.</td>
|
1991
2029
|
</tr>
|
1992
2030
|
</tbody>
|
1993
2031
|
</table></div>
|
@@ -1995,7 +2033,7 @@ Retrieves the count of lines for the <em class="parameter"><code>layout</code></
|
|
1995
2033
|
<hr>
|
1996
2034
|
<div class="refsect2">
|
1997
2035
|
<a name="pango-layout-get-line"></a><h3>pango_layout_get_line ()</h3>
|
1998
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2036
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * pango_layout_get_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1999
2037
|
<em class="parameter"><code><span class="type">int</span> line</code></em>);</pre>
|
2000
2038
|
<p>
|
2001
2039
|
Retrieves a particular line from a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
@@ -2015,16 +2053,14 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2015
2053
|
<tr>
|
2016
2054
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2017
2055
|
<td>the index of a line, which must be between 0 and
|
2018
|
-
|
2019
|
-
</td>
|
2056
|
+
<code class="literal">pango_layout_get_line_count(layout) - 1</code>, inclusive.</td>
|
2020
2057
|
</tr>
|
2021
2058
|
<tr>
|
2022
2059
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2023
|
-
<td>
|
2024
|
-
|
2025
|
-
|
2026
|
-
|
2027
|
-
</td>
|
2060
|
+
<td>the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
2061
|
+
index is out of range. This layout line can
|
2062
|
+
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>.</td>
|
2028
2064
|
</tr>
|
2029
2065
|
</tbody>
|
2030
2066
|
</table></div>
|
@@ -2032,7 +2068,7 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2032
2068
|
<hr>
|
2033
2069
|
<div class="refsect2">
|
2034
2070
|
<a name="pango-layout-get-line-readonly"></a><h3>pango_layout_get_line_readonly ()</h3>
|
2035
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2071
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * pango_layout_get_line_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2036
2072
|
<em class="parameter"><code><span class="type">int</span> line</code></em>);</pre>
|
2037
2073
|
<p>
|
2038
2074
|
Retrieves a particular line from a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
@@ -2053,18 +2089,15 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2053
2089
|
<tr>
|
2054
2090
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2055
2091
|
<td>the index of a line, which must be between 0 and
|
2056
|
-
|
2057
|
-
</td>
|
2092
|
+
<code class="literal">pango_layout_get_line_count(layout) - 1</code>, inclusive.</td>
|
2058
2093
|
</tr>
|
2059
2094
|
<tr>
|
2060
2095
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2061
|
-
<td>
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
</td>
|
2096
|
+
<td>the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
|
2097
|
+
index is out of range. This layout line can
|
2098
|
+
be ref'ed and retained, but will become invalid
|
2099
|
+
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.</td>
|
2068
2101
|
</tr>
|
2069
2102
|
</tbody>
|
2070
2103
|
</table></div>
|
@@ -2073,7 +2106,7 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2073
2106
|
<hr>
|
2074
2107
|
<div class="refsect2">
|
2075
2108
|
<a name="pango-layout-get-lines"></a><h3>pango_layout_get_lines ()</h3>
|
2076
|
-
<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>
|
2109
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * 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>
|
2077
2110
|
<p>
|
2078
2111
|
Returns the lines of the <em class="parameter"><code>layout</code></em> as a list.
|
2079
2112
|
</p>
|
@@ -2091,10 +2124,10 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).
|
|
2091
2124
|
</tr>
|
2092
2125
|
<tr>
|
2093
2126
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2094
|
-
<td>
|
2127
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing
|
2095
2128
|
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>
|
2096
2129
|
and must be used with care. It will become invalid on any change to the layout's
|
2097
|
-
text or properties. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.LayoutLine]</span>
|
2130
|
+
text or properties. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.LayoutLine][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
2098
2131
|
</td>
|
2099
2132
|
</tr>
|
2100
2133
|
</tbody>
|
@@ -2103,7 +2136,7 @@ text or properties. <span class="annotation">[<a href="http://foldoc.org/element
|
|
2103
2136
|
<hr>
|
2104
2137
|
<div class="refsect2">
|
2105
2138
|
<a name="pango-layout-get-lines-readonly"></a><h3>pango_layout_get_lines_readonly ()</h3>
|
2106
|
-
<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>
|
2139
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * 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>
|
2107
2140
|
<p>
|
2108
2141
|
Returns the lines of the <em class="parameter"><code>layout</code></em> as a list.
|
2109
2142
|
</p>
|
@@ -2122,10 +2155,10 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).
|
|
2122
2155
|
</tr>
|
2123
2156
|
<tr>
|
2124
2157
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2125
|
-
<td>
|
2158
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing
|
2126
2159
|
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
|
2127
2160
|
must be used with care. It will become invalid on any change to the layout's
|
2128
|
-
text or properties. No changes should be made to the lines. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.LayoutLine]</span>
|
2161
|
+
text or properties. No changes should be made to the lines. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Pango.LayoutLine][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
2129
2162
|
</td>
|
2130
2163
|
</tr>
|
2131
2164
|
</tbody>
|
@@ -2135,7 +2168,7 @@ text or properties. No changes should be made to the lines. <span class="annota
|
|
2135
2168
|
<hr>
|
2136
2169
|
<div class="refsect2">
|
2137
2170
|
<a name="pango-layout-get-iter"></a><h3>pango_layout_get_iter ()</h3>
|
2138
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2171
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> * pango_layout_get_iter (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2139
2172
|
<p>
|
2140
2173
|
Returns an iterator to iterate over the visual extents of the layout.
|
2141
2174
|
</p>
|
@@ -2149,9 +2182,8 @@ Returns an iterator to iterate over the visual extents of the layout.
|
|
2149
2182
|
</tr>
|
2150
2183
|
<tr>
|
2151
2184
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2152
|
-
<td>
|
2153
|
-
|
2154
|
-
</td>
|
2185
|
+
<td>the new <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> that should be freed using
|
2186
|
+
<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>.</td>
|
2155
2187
|
</tr>
|
2156
2188
|
</tbody>
|
2157
2189
|
</table></div>
|
@@ -2159,7 +2191,7 @@ Returns an iterator to iterate over the visual extents of the layout.
|
|
2159
2191
|
<hr>
|
2160
2192
|
<div class="refsect2">
|
2161
2193
|
<a name="pango-layout-iter-copy"></a><h3>pango_layout_iter_copy ()</h3>
|
2162
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2194
|
+
<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>
|
2163
2195
|
<p>
|
2164
2196
|
Copies a <span class="type">PangLayoutIter</span>.
|
2165
2197
|
</p>
|
@@ -2168,16 +2200,14 @@ Copies a <span class="type">PangLayoutIter</span>.
|
|
2168
2200
|
<tbody>
|
2169
2201
|
<tr>
|
2170
2202
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2171
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2203
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2172
2204
|
</td>
|
2173
2205
|
</tr>
|
2174
2206
|
<tr>
|
2175
2207
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2176
|
-
<td>
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
</td>
|
2208
|
+
<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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
2210
|
+
<em class="parameter"><code>iter</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
2181
2211
|
</tr>
|
2182
2212
|
</tbody>
|
2183
2213
|
</table></div>
|
@@ -2186,7 +2216,7 @@ Copies a <span class="type">PangLayoutIter</span>.
|
|
2186
2216
|
<hr>
|
2187
2217
|
<div class="refsect2">
|
2188
2218
|
<a name="pango-layout-iter-free"></a><h3>pango_layout_iter_free ()</h3>
|
2189
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2219
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2190
2220
|
<p>
|
2191
2221
|
Frees an iterator that's no longer in use.
|
2192
2222
|
</p>
|
@@ -2194,7 +2224,7 @@ Frees an iterator that's no longer in use.
|
|
2194
2224
|
<col align="left" valign="top">
|
2195
2225
|
<tbody><tr>
|
2196
2226
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2197
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2227
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2198
2228
|
</td>
|
2199
2229
|
</tr></tbody>
|
2200
2230
|
</table></div>
|
@@ -2202,23 +2232,22 @@ Frees an iterator that's no longer in use.
|
|
2202
2232
|
<hr>
|
2203
2233
|
<div class="refsect2">
|
2204
2234
|
<a name="pango-layout-iter-next-run"></a><h3>pango_layout_iter_next_run ()</h3>
|
2205
|
-
<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"
|
2235
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
2206
2236
|
<p>
|
2207
2237
|
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
|
2208
|
-
already at the end of the layout, returns <code class="literal">FALSE</code>.
|
2238
|
+
already at the end of the layout, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
|
2209
2239
|
</p>
|
2210
2240
|
<div class="variablelist"><table border="0">
|
2211
2241
|
<col align="left" valign="top">
|
2212
2242
|
<tbody>
|
2213
2243
|
<tr>
|
2214
2244
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2215
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2245
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2216
2246
|
</td>
|
2217
2247
|
</tr>
|
2218
2248
|
<tr>
|
2219
2249
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2220
|
-
<td>
|
2221
|
-
</td>
|
2250
|
+
<td>whether motion was possible.</td>
|
2222
2251
|
</tr>
|
2223
2252
|
</tbody>
|
2224
2253
|
</table></div>
|
@@ -2226,23 +2255,22 @@ already at the end of the layout, returns <code class="literal">FALSE</code>.
|
|
2226
2255
|
<hr>
|
2227
2256
|
<div class="refsect2">
|
2228
2257
|
<a name="pango-layout-iter-next-char"></a><h3>pango_layout_iter_next_char ()</h3>
|
2229
|
-
<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"
|
2258
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
2230
2259
|
<p>
|
2231
2260
|
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
|
2232
|
-
the end of the layout, returns <code class="literal">FALSE</code>.
|
2261
|
+
the end of the layout, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
|
2233
2262
|
</p>
|
2234
2263
|
<div class="variablelist"><table border="0">
|
2235
2264
|
<col align="left" valign="top">
|
2236
2265
|
<tbody>
|
2237
2266
|
<tr>
|
2238
2267
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2239
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2268
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2240
2269
|
</td>
|
2241
2270
|
</tr>
|
2242
2271
|
<tr>
|
2243
2272
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2244
|
-
<td>
|
2245
|
-
</td>
|
2273
|
+
<td>whether motion was possible.</td>
|
2246
2274
|
</tr>
|
2247
2275
|
</tbody>
|
2248
2276
|
</table></div>
|
@@ -2250,23 +2278,22 @@ the end of the layout, returns <code class="literal">FALSE</code>.
|
|
2250
2278
|
<hr>
|
2251
2279
|
<div class="refsect2">
|
2252
2280
|
<a name="pango-layout-iter-next-cluster"></a><h3>pango_layout_iter_next_cluster ()</h3>
|
2253
|
-
<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"
|
2281
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
2254
2282
|
<p>
|
2255
2283
|
Moves <em class="parameter"><code>iter</code></em> forward to the next cluster in visual order. If <em class="parameter"><code>iter</code></em>
|
2256
|
-
was already at the end of the layout, returns <code class="literal">FALSE</code>.
|
2284
|
+
was already at the end of the layout, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
|
2257
2285
|
</p>
|
2258
2286
|
<div class="variablelist"><table border="0">
|
2259
2287
|
<col align="left" valign="top">
|
2260
2288
|
<tbody>
|
2261
2289
|
<tr>
|
2262
2290
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2263
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2291
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2264
2292
|
</td>
|
2265
2293
|
</tr>
|
2266
2294
|
<tr>
|
2267
2295
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2268
|
-
<td>
|
2269
|
-
</td>
|
2296
|
+
<td>whether motion was possible.</td>
|
2270
2297
|
</tr>
|
2271
2298
|
</tbody>
|
2272
2299
|
</table></div>
|
@@ -2274,23 +2301,22 @@ was already at the end of the layout, returns <code class="literal">FALSE</code>
|
|
2274
2301
|
<hr>
|
2275
2302
|
<div class="refsect2">
|
2276
2303
|
<a name="pango-layout-iter-next-line"></a><h3>pango_layout_iter_next_line ()</h3>
|
2277
|
-
<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"
|
2304
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
2278
2305
|
<p>
|
2279
2306
|
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
|
2280
|
-
already on the last line, returns <code class="literal">FALSE</code>.
|
2307
|
+
already on the last line, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
|
2281
2308
|
</p>
|
2282
2309
|
<div class="variablelist"><table border="0">
|
2283
2310
|
<col align="left" valign="top">
|
2284
2311
|
<tbody>
|
2285
2312
|
<tr>
|
2286
2313
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2287
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2314
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2288
2315
|
</td>
|
2289
2316
|
</tr>
|
2290
2317
|
<tr>
|
2291
2318
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2292
|
-
<td>
|
2293
|
-
</td>
|
2319
|
+
<td>whether motion was possible.</td>
|
2294
2320
|
</tr>
|
2295
2321
|
</tbody>
|
2296
2322
|
</table></div>
|
@@ -2298,7 +2324,7 @@ already on the last line, returns <code class="literal">FALSE</code>.
|
|
2298
2324
|
<hr>
|
2299
2325
|
<div class="refsect2">
|
2300
2326
|
<a name="pango-layout-iter-at-last-line"></a><h3>pango_layout_iter_at_last_line ()</h3>
|
2301
|
-
<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"
|
2327
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
2302
2328
|
<p>
|
2303
2329
|
Determines whether <em class="parameter"><code>iter</code></em> is on the last line of the layout.
|
2304
2330
|
</p>
|
@@ -2307,13 +2333,13 @@ Determines whether <em class="parameter"><code>iter</code></em> is on the last l
|
|
2307
2333
|
<tbody>
|
2308
2334
|
<tr>
|
2309
2335
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2310
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2336
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2311
2337
|
</td>
|
2312
2338
|
</tr>
|
2313
2339
|
<tr>
|
2314
2340
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2315
|
-
<td>
|
2316
|
-
</td>
|
2341
|
+
<td>
|
2342
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em> is on the last line.</td>
|
2317
2343
|
</tr>
|
2318
2344
|
</tbody>
|
2319
2345
|
</table></div>
|
@@ -2321,25 +2347,24 @@ Determines whether <em class="parameter"><code>iter</code></em> is on the last l
|
|
2321
2347
|
<hr>
|
2322
2348
|
<div class="refsect2">
|
2323
2349
|
<a name="pango-layout-iter-get-index"></a><h3>pango_layout_iter_get_index ()</h3>
|
2324
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_layout_iter_get_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2350
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_layout_iter_get_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2325
2351
|
<p>
|
2326
2352
|
Gets the current byte index. Note that iterating forward by char
|
2327
2353
|
moves in visual order, not logical order, so indexes may not be
|
2328
2354
|
sequential. Also, the index may be equal to the length of the text
|
2329
|
-
in the layout, if on the <a href="/
|
2355
|
+
in the layout, if on the <a href="/usr/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>).
|
2330
2356
|
</p>
|
2331
2357
|
<div class="variablelist"><table border="0">
|
2332
2358
|
<col align="left" valign="top">
|
2333
2359
|
<tbody>
|
2334
2360
|
<tr>
|
2335
2361
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2336
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2362
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2337
2363
|
</td>
|
2338
2364
|
</tr>
|
2339
2365
|
<tr>
|
2340
2366
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2341
|
-
<td>
|
2342
|
-
</td>
|
2367
|
+
<td>current byte index.</td>
|
2343
2368
|
</tr>
|
2344
2369
|
</tbody>
|
2345
2370
|
</table></div>
|
@@ -2347,7 +2372,7 @@ in the layout, if on the <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-li
|
|
2347
2372
|
<hr>
|
2348
2373
|
<div class="refsect2">
|
2349
2374
|
<a name="pango-layout-iter-get-baseline"></a><h3>pango_layout_iter_get_baseline ()</h3>
|
2350
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_layout_iter_get_baseline (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2375
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_layout_iter_get_baseline (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2351
2376
|
<p>
|
2352
2377
|
Gets the Y position of the current line's baseline, in layout
|
2353
2378
|
coordinates (origin at top left of the entire layout).
|
@@ -2357,13 +2382,12 @@ coordinates (origin at top left of the entire layout).
|
|
2357
2382
|
<tbody>
|
2358
2383
|
<tr>
|
2359
2384
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2360
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2385
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2361
2386
|
</td>
|
2362
2387
|
</tr>
|
2363
2388
|
<tr>
|
2364
2389
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2365
|
-
<td>
|
2366
|
-
</td>
|
2390
|
+
<td>baseline of current line.</td>
|
2367
2391
|
</tr>
|
2368
2392
|
</tbody>
|
2369
2393
|
</table></div>
|
@@ -2371,11 +2395,11 @@ coordinates (origin at top left of the entire layout).
|
|
2371
2395
|
<hr>
|
2372
2396
|
<div class="refsect2">
|
2373
2397
|
<a name="pango-layout-iter-get-run"></a><h3>pango_layout_iter_get_run ()</h3>
|
2374
|
-
<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"
|
2398
|
+
<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>
|
2375
2399
|
<p>
|
2376
2400
|
Gets the current run. When iterating by run, at the end of each
|
2377
|
-
line, there's a position with a <a href="/
|
2378
|
-
<a href="/
|
2401
|
+
line, there's a position with a <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> run, so this function can return
|
2402
|
+
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. The <a href="/usr/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
|
2379
2403
|
at least one run, even lines consisting of only a newline.
|
2380
2404
|
</p>
|
2381
2405
|
<p>
|
@@ -2387,12 +2411,12 @@ to modify the contents of the run (glyphs, glyph widths, etc.).
|
|
2387
2411
|
<tbody>
|
2388
2412
|
<tr>
|
2389
2413
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2390
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2414
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2391
2415
|
</td>
|
2392
2416
|
</tr>
|
2393
2417
|
<tr>
|
2394
2418
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2395
|
-
<td>
|
2419
|
+
<td>the current run. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
2396
2420
|
</td>
|
2397
2421
|
</tr>
|
2398
2422
|
</tbody>
|
@@ -2401,11 +2425,11 @@ to modify the contents of the run (glyphs, glyph widths, etc.).
|
|
2401
2425
|
<hr>
|
2402
2426
|
<div class="refsect2">
|
2403
2427
|
<a name="pango-layout-iter-get-run-readonly"></a><h3>pango_layout_iter_get_run_readonly ()</h3>
|
2404
|
-
<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"
|
2428
|
+
<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>
|
2405
2429
|
<p>
|
2406
2430
|
Gets the current run. When iterating by run, at the end of each
|
2407
|
-
line, there's a position with a <a href="/
|
2408
|
-
<a href="/
|
2431
|
+
line, there's a position with a <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> run, so this function can return
|
2432
|
+
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. The <a href="/usr/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
|
2409
2433
|
at least one run, even lines consisting of only a newline.
|
2410
2434
|
</p>
|
2411
2435
|
<p>
|
@@ -2418,13 +2442,12 @@ to modify the contents of the run (glyphs, glyph widths, etc.).
|
|
2418
2442
|
<tbody>
|
2419
2443
|
<tr>
|
2420
2444
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2421
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2445
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2422
2446
|
</td>
|
2423
2447
|
</tr>
|
2424
2448
|
<tr>
|
2425
2449
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2426
|
-
<td>
|
2427
|
-
|
2450
|
+
<td>the current run, that should not be modified. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
2428
2451
|
</td>
|
2429
2452
|
</tr>
|
2430
2453
|
</tbody>
|
@@ -2434,7 +2457,7 @@ to modify the contents of the run (glyphs, glyph widths, etc.).
|
|
2434
2457
|
<hr>
|
2435
2458
|
<div class="refsect2">
|
2436
2459
|
<a name="pango-layout-iter-get-line"></a><h3>pango_layout_iter_get_line ()</h3>
|
2437
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2460
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * pango_layout_iter_get_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2438
2461
|
<p>
|
2439
2462
|
Gets the current line.
|
2440
2463
|
</p>
|
@@ -2447,13 +2470,12 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2447
2470
|
<tbody>
|
2448
2471
|
<tr>
|
2449
2472
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2450
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2473
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2451
2474
|
</td>
|
2452
2475
|
</tr>
|
2453
2476
|
<tr>
|
2454
2477
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2455
|
-
<td>
|
2456
|
-
</td>
|
2478
|
+
<td>the current line.</td>
|
2457
2479
|
</tr>
|
2458
2480
|
</tbody>
|
2459
2481
|
</table></div>
|
@@ -2461,7 +2483,7 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2461
2483
|
<hr>
|
2462
2484
|
<div class="refsect2">
|
2463
2485
|
<a name="pango-layout-iter-get-line-readonly"></a><h3>pango_layout_iter_get_line_readonly ()</h3>
|
2464
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2486
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * pango_layout_iter_get_line_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2465
2487
|
<p>
|
2466
2488
|
Gets the current line for read-only access.
|
2467
2489
|
</p>
|
@@ -2475,14 +2497,12 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2475
2497
|
<tbody>
|
2476
2498
|
<tr>
|
2477
2499
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2478
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2500
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2479
2501
|
</td>
|
2480
2502
|
</tr>
|
2481
2503
|
<tr>
|
2482
2504
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2483
|
-
<td>
|
2484
|
-
|
2485
|
-
</td>
|
2505
|
+
<td>the current line, that should not be modified.</td>
|
2486
2506
|
</tr>
|
2487
2507
|
</tbody>
|
2488
2508
|
</table></div>
|
@@ -2491,22 +2511,21 @@ to modify the contents of the line (glyphs, glyph widths, etc.).
|
|
2491
2511
|
<hr>
|
2492
2512
|
<div class="refsect2">
|
2493
2513
|
<a name="pango-layout-iter-get-layout"></a><h3>pango_layout_iter_get_layout ()</h3>
|
2494
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * pango_layout_iter_get_layout (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2514
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * pango_layout_iter_get_layout (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2495
2515
|
<p>
|
2496
|
-
Gets the layout associated with a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2516
|
+
Gets the layout associated with a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>.
|
2497
2517
|
</p>
|
2498
2518
|
<div class="variablelist"><table border="0">
|
2499
2519
|
<col align="left" valign="top">
|
2500
2520
|
<tbody>
|
2501
2521
|
<tr>
|
2502
2522
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2503
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2523
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2504
2524
|
</td>
|
2505
2525
|
</tr>
|
2506
2526
|
<tr>
|
2507
2527
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2508
|
-
<td>
|
2509
|
-
|
2528
|
+
<td>the layout associated with <em class="parameter"><code>iter</code></em>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
2510
2529
|
</td>
|
2511
2530
|
</tr>
|
2512
2531
|
</tbody>
|
@@ -2516,7 +2535,7 @@ Gets the layout associated with a <a class="link" href="pango-Layout-Objects.htm
|
|
2516
2535
|
<hr>
|
2517
2536
|
<div class="refsect2">
|
2518
2537
|
<a name="pango-layout-iter-get-char-extents"></a><h3>pango_layout_iter_get_char_extents ()</h3>
|
2519
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_char_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2538
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_char_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
2520
2539
|
<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>
|
2521
2540
|
<p>
|
2522
2541
|
Gets the extents of the current character, in layout coordinates
|
@@ -2529,13 +2548,12 @@ down to the level of clusters.
|
|
2529
2548
|
<tbody>
|
2530
2549
|
<tr>
|
2531
2550
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2532
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2551
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2533
2552
|
</td>
|
2534
2553
|
</tr>
|
2535
2554
|
<tr>
|
2536
2555
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2537
|
-
<td>rectangle to fill with logical extents
|
2538
|
-
</td>
|
2556
|
+
<td>rectangle to fill with logical extents</td>
|
2539
2557
|
</tr>
|
2540
2558
|
</tbody>
|
2541
2559
|
</table></div>
|
@@ -2544,7 +2562,7 @@ down to the level of clusters.
|
|
2544
2562
|
<div class="refsect2">
|
2545
2563
|
<a name="pango-layout-iter-get-cluster-extents"></a><h3>pango_layout_iter_get_cluster_extents ()</h3>
|
2546
2564
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_cluster_extents
|
2547
|
-
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2565
|
+
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
2548
2566
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2549
2567
|
<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>
|
2550
2568
|
<p>
|
@@ -2556,17 +2574,17 @@ Gets the extents of the current cluster, in layout coordinates
|
|
2556
2574
|
<tbody>
|
2557
2575
|
<tr>
|
2558
2576
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2559
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2577
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2560
2578
|
</td>
|
2561
2579
|
</tr>
|
2562
2580
|
<tr>
|
2563
2581
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2564
|
-
<td>rectangle to fill with ink extents, or <a href="/
|
2582
|
+
<td>rectangle to fill with ink extents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2565
2583
|
</td>
|
2566
2584
|
</tr>
|
2567
2585
|
<tr>
|
2568
2586
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2569
|
-
<td>rectangle to fill with logical extents, or <a href="/
|
2587
|
+
<td>rectangle to fill with logical extents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2570
2588
|
</td>
|
2571
2589
|
</tr>
|
2572
2590
|
</tbody>
|
@@ -2575,7 +2593,7 @@ Gets the extents of the current cluster, in layout coordinates
|
|
2575
2593
|
<hr>
|
2576
2594
|
<div class="refsect2">
|
2577
2595
|
<a name="pango-layout-iter-get-run-extents"></a><h3>pango_layout_iter_get_run_extents ()</h3>
|
2578
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_run_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2596
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_run_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
2579
2597
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2580
2598
|
<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>
|
2581
2599
|
<p>
|
@@ -2587,17 +2605,17 @@ Gets the extents of the current run in layout coordinates
|
|
2587
2605
|
<tbody>
|
2588
2606
|
<tr>
|
2589
2607
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2590
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2608
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2591
2609
|
</td>
|
2592
2610
|
</tr>
|
2593
2611
|
<tr>
|
2594
2612
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2595
|
-
<td>rectangle to fill with ink extents, or <a href="/
|
2613
|
+
<td>rectangle to fill with ink extents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2596
2614
|
</td>
|
2597
2615
|
</tr>
|
2598
2616
|
<tr>
|
2599
2617
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2600
|
-
<td>rectangle to fill with logical extents, or <a href="/
|
2618
|
+
<td>rectangle to fill with logical extents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2601
2619
|
</td>
|
2602
2620
|
</tr>
|
2603
2621
|
</tbody>
|
@@ -2606,7 +2624,7 @@ Gets the extents of the current run in layout coordinates
|
|
2606
2624
|
<hr>
|
2607
2625
|
<div class="refsect2">
|
2608
2626
|
<a name="pango-layout-iter-get-line-yrange"></a><h3>pango_layout_iter_get_line_yrange ()</h3>
|
2609
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_line_yrange (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2627
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_line_yrange (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
2610
2628
|
<em class="parameter"><code><span class="type">int</span> *y0_</code></em>,
|
2611
2629
|
<em class="parameter"><code><span class="type">int</span> *y1_</code></em>);</pre>
|
2612
2630
|
<p>
|
@@ -2623,17 +2641,17 @@ entire layout).
|
|
2623
2641
|
<tbody>
|
2624
2642
|
<tr>
|
2625
2643
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2626
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2644
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2627
2645
|
</td>
|
2628
2646
|
</tr>
|
2629
2647
|
<tr>
|
2630
2648
|
<td><p><span class="term"><em class="parameter"><code>y0_</code></em> :</span></p></td>
|
2631
|
-
<td>start of line
|
2649
|
+
<td>start of line, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2632
2650
|
</td>
|
2633
2651
|
</tr>
|
2634
2652
|
<tr>
|
2635
2653
|
<td><p><span class="term"><em class="parameter"><code>y1_</code></em> :</span></p></td>
|
2636
|
-
<td>end of line
|
2654
|
+
<td>end of line, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2637
2655
|
</td>
|
2638
2656
|
</tr>
|
2639
2657
|
</tbody>
|
@@ -2642,12 +2660,12 @@ entire layout).
|
|
2642
2660
|
<hr>
|
2643
2661
|
<div class="refsect2">
|
2644
2662
|
<a name="pango-layout-iter-get-line-extents"></a><h3>pango_layout_iter_get_line_extents ()</h3>
|
2645
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_line_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2663
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_line_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
2646
2664
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2647
2665
|
<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>
|
2648
2666
|
<p>
|
2649
2667
|
Obtains the extents of the current line. <em class="parameter"><code>ink_rect</code></em> or <em class="parameter"><code>logical_rect</code></em>
|
2650
|
-
can be <a href="/
|
2668
|
+
can be <a href="/usr/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
|
2651
2669
|
coordinates (origin is the top-left corner of the entire
|
2652
2670
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>). Thus the extents returned by this function will be
|
2653
2671
|
the same width/height but not at the same x/y as the extents
|
@@ -2658,17 +2676,17 @@ returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-
|
|
2658
2676
|
<tbody>
|
2659
2677
|
<tr>
|
2660
2678
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2661
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2679
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2662
2680
|
</td>
|
2663
2681
|
</tr>
|
2664
2682
|
<tr>
|
2665
2683
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2666
|
-
<td>rectangle to fill with ink extents, or <a href="/
|
2684
|
+
<td>rectangle to fill with ink extents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2667
2685
|
</td>
|
2668
2686
|
</tr>
|
2669
2687
|
<tr>
|
2670
2688
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2671
|
-
<td>rectangle to fill with logical extents, or <a href="/
|
2689
|
+
<td>rectangle to fill with logical extents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2672
2690
|
</td>
|
2673
2691
|
</tr>
|
2674
2692
|
</tbody>
|
@@ -2678,12 +2696,12 @@ returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-
|
|
2678
2696
|
<div class="refsect2">
|
2679
2697
|
<a name="pango-layout-iter-get-layout-extents"></a><h3>pango_layout_iter_get_layout_extents ()</h3>
|
2680
2698
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_iter_get_layout_extents
|
2681
|
-
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2699
|
+
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
|
2682
2700
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2683
2701
|
<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>
|
2684
2702
|
<p>
|
2685
2703
|
Obtains the extents of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> being iterated
|
2686
|
-
over. <em class="parameter"><code>ink_rect</code></em> or <em class="parameter"><code>logical_rect</code></em> can be <a href="/
|
2704
|
+
over. <em class="parameter"><code>ink_rect</code></em> or <em class="parameter"><code>logical_rect</code></em> can be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if you
|
2687
2705
|
aren't interested in them.
|
2688
2706
|
</p>
|
2689
2707
|
<div class="variablelist"><table border="0">
|
@@ -2691,17 +2709,19 @@ aren't interested in them.
|
|
2691
2709
|
<tbody>
|
2692
2710
|
<tr>
|
2693
2711
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2694
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"
|
2712
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>
|
2695
2713
|
</td>
|
2696
2714
|
</tr>
|
2697
2715
|
<tr>
|
2698
2716
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2699
|
-
<td>rectangle to fill with ink extents,
|
2717
|
+
<td>rectangle to fill with ink extents,
|
2718
|
+
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2700
2719
|
</td>
|
2701
2720
|
</tr>
|
2702
2721
|
<tr>
|
2703
2722
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2704
|
-
<td>rectangle to fill with logical
|
2723
|
+
<td>rectangle to fill with logical
|
2724
|
+
extents, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2705
2725
|
</td>
|
2706
2726
|
</tr>
|
2707
2727
|
</tbody>
|
@@ -2709,7 +2729,7 @@ aren't interested in them.
|
|
2709
2729
|
</div>
|
2710
2730
|
<hr>
|
2711
2731
|
<div class="refsect2">
|
2712
|
-
<a name="PangoLayoutLine"></a><h3>struct PangoLayoutLine</h3>
|
2732
|
+
<a name="PangoLayoutLine-struct"></a><h3>struct PangoLayoutLine</h3>
|
2713
2733
|
<pre class="programlisting">struct PangoLayoutLine {
|
2714
2734
|
PangoLayout *layout;
|
2715
2735
|
gint start_index; /* start of line as byte index into layout->text */
|
@@ -2720,8 +2740,8 @@ aren't interested in them.
|
|
2720
2740
|
};
|
2721
2741
|
</pre>
|
2722
2742
|
<p>
|
2723
|
-
The <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2724
|
-
from laying out a paragraph via <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2743
|
+
The <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> structure represents one of the lines resulting
|
2744
|
+
from laying out a paragraph via <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
2725
2745
|
structures are obtained by calling <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line" title="pango_layout_get_line ()"><code class="function">pango_layout_get_line()</code></a> and
|
2726
2746
|
are only valid until the text, attributes, or settings of the
|
2727
2747
|
parent <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> are modified.
|
@@ -2730,42 +2750,6 @@ parent <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class=
|
|
2730
2750
|
Routines for rendering PangoLayout objects are provided in
|
2731
2751
|
code specific to each rendering system.
|
2732
2752
|
</p>
|
2733
|
-
<div class="variablelist"><table border="0">
|
2734
|
-
<col align="left" valign="top">
|
2735
|
-
<tbody>
|
2736
|
-
<tr>
|
2737
|
-
<td><p><span class="term"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *<em class="structfield"><code><a name="PangoLayoutLine.layout"></a>layout</code></em>;</span></p></td>
|
2738
|
-
<td>the parent layout for this line
|
2739
|
-
</td>
|
2740
|
-
</tr>
|
2741
|
-
<tr>
|
2742
|
-
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="PangoLayoutLine.start-index"></a>start_index</code></em>;</span></p></td>
|
2743
|
-
<td>the start of the line as byte index into <em class="parameter"><code>layout->text</code></em>
|
2744
|
-
</td>
|
2745
|
-
</tr>
|
2746
|
-
<tr>
|
2747
|
-
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="PangoLayoutLine.length"></a>length</code></em>;</span></p></td>
|
2748
|
-
<td>the length of the line in bytes
|
2749
|
-
</td>
|
2750
|
-
</tr>
|
2751
|
-
<tr>
|
2752
|
-
<td><p><span class="term"><span class="type">GSList</span> *<em class="structfield"><code><a name="PangoLayoutLine.runs"></a>runs</code></em>;</span></p></td>
|
2753
|
-
<td>a list containing the runs of the line in visual order
|
2754
|
-
</td>
|
2755
|
-
</tr>
|
2756
|
-
<tr>
|
2757
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoLayoutLine.is-paragraph-start"></a>is_paragraph_start</code></em> : 1;</span></p></td>
|
2758
|
-
<td>
|
2759
|
-
<code class="literal">TRUE</code> if this is the first line of the paragraph
|
2760
|
-
</td>
|
2761
|
-
</tr>
|
2762
|
-
<tr>
|
2763
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoLayoutLine.resolved-dir"></a>resolved_dir</code></em> : 3;</span></p></td>
|
2764
|
-
<td>the resolved <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> of the line
|
2765
|
-
</td>
|
2766
|
-
</tr>
|
2767
|
-
</tbody>
|
2768
|
-
</table></div>
|
2769
2753
|
</div>
|
2770
2754
|
<hr>
|
2771
2755
|
<div class="refsect2">
|
@@ -2774,31 +2758,29 @@ code specific to each rendering system.
|
|
2774
2758
|
</pre>
|
2775
2759
|
<p>
|
2776
2760
|
The <a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="type">PangoLayoutRun</span></a> structure represents a single run within
|
2777
|
-
a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2778
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
2779
|
-
See the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
2761
|
+
a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>; it is simply an alternate name for
|
2762
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
|
2763
|
+
See the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> docs for details on the fields.
|
2780
2764
|
</p>
|
2781
2765
|
</div>
|
2782
2766
|
<hr>
|
2783
2767
|
<div class="refsect2">
|
2784
2768
|
<a name="pango-layout-line-ref"></a><h3>pango_layout_line_ref ()</h3>
|
2785
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2769
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * pango_layout_line_ref (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
2786
2770
|
<p>
|
2787
|
-
Increase the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2771
|
+
Increase the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> by one.
|
2788
2772
|
</p>
|
2789
2773
|
<div class="variablelist"><table border="0">
|
2790
2774
|
<col align="left" valign="top">
|
2791
2775
|
<tbody>
|
2792
2776
|
<tr>
|
2793
2777
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2794
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2778
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2795
2779
|
</td>
|
2796
2780
|
</tr>
|
2797
2781
|
<tr>
|
2798
2782
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2799
|
-
<td>
|
2800
|
-
|
2801
|
-
</td>
|
2783
|
+
<td>the line passed in.</td>
|
2802
2784
|
</tr>
|
2803
2785
|
</tbody>
|
2804
2786
|
</table></div>
|
@@ -2807,9 +2789,9 @@ Increase the reference count of a <a class="link" href="pango-Layout-Objects.htm
|
|
2807
2789
|
<hr>
|
2808
2790
|
<div class="refsect2">
|
2809
2791
|
<a name="pango-layout-line-unref"></a><h3>pango_layout_line_unref ()</h3>
|
2810
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_unref (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2792
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_unref (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
2811
2793
|
<p>
|
2812
|
-
Decrease the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2794
|
+
Decrease the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> by one.
|
2813
2795
|
If the result is zero, the line and all associated memory
|
2814
2796
|
will be freed.
|
2815
2797
|
</p>
|
@@ -2817,7 +2799,7 @@ will be freed.
|
|
2817
2799
|
<col align="left" valign="top">
|
2818
2800
|
<tbody><tr>
|
2819
2801
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2820
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2802
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
2821
2803
|
</td>
|
2822
2804
|
</tr></tbody>
|
2823
2805
|
</table></div>
|
@@ -2825,7 +2807,7 @@ will be freed.
|
|
2825
2807
|
<hr>
|
2826
2808
|
<div class="refsect2">
|
2827
2809
|
<a name="pango-layout-line-get-extents"></a><h3>pango_layout_line_get_extents ()</h3>
|
2828
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_get_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2810
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_get_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
2829
2811
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2830
2812
|
<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>
|
2831
2813
|
<p>
|
@@ -2838,19 +2820,19 @@ of the rectangles.
|
|
2838
2820
|
<tbody>
|
2839
2821
|
<tr>
|
2840
2822
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2841
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2823
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
2842
2824
|
</td>
|
2843
2825
|
</tr>
|
2844
2826
|
<tr>
|
2845
2827
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2846
|
-
<td>rectangle used to store the extents of
|
2847
|
-
|
2828
|
+
<td>rectangle used to store the extents of
|
2829
|
+
the glyph string as drawn, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2848
2830
|
</td>
|
2849
2831
|
</tr>
|
2850
2832
|
<tr>
|
2851
2833
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2852
|
-
<td>rectangle used to store the logical
|
2853
|
-
|
2834
|
+
<td>rectangle used to store the logical
|
2835
|
+
extents of the glyph string, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2854
2836
|
</td>
|
2855
2837
|
</tr>
|
2856
2838
|
</tbody>
|
@@ -2859,7 +2841,7 @@ of the rectangles.
|
|
2859
2841
|
<hr>
|
2860
2842
|
<div class="refsect2">
|
2861
2843
|
<a name="pango-layout-line-get-pixel-extents"></a><h3>pango_layout_line_get_pixel_extents ()</h3>
|
2862
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_get_pixel_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2844
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_get_pixel_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *layout_line</code></em>,
|
2863
2845
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
2864
2846
|
<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>
|
2865
2847
|
<p>
|
@@ -2874,19 +2856,19 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
2874
2856
|
<tbody>
|
2875
2857
|
<tr>
|
2876
2858
|
<td><p><span class="term"><em class="parameter"><code>layout_line</code></em> :</span></p></td>
|
2877
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2859
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
2878
2860
|
</td>
|
2879
2861
|
</tr>
|
2880
2862
|
<tr>
|
2881
2863
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2882
|
-
<td>rectangle used to store the extents of
|
2883
|
-
|
2864
|
+
<td>rectangle used to store the extents of
|
2865
|
+
the glyph string as drawn, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2884
2866
|
</td>
|
2885
2867
|
</tr>
|
2886
2868
|
<tr>
|
2887
2869
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2888
|
-
<td>rectangle used to store the logical
|
2889
|
-
|
2870
|
+
<td>rectangle used to store the logical
|
2871
|
+
extents of the glyph string, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2890
2872
|
</td>
|
2891
2873
|
</tr>
|
2892
2874
|
</tbody>
|
@@ -2895,9 +2877,9 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
2895
2877
|
<hr>
|
2896
2878
|
<div class="refsect2">
|
2897
2879
|
<a name="pango-layout-line-index-to-x"></a><h3>pango_layout_line_index_to_x ()</h3>
|
2898
|
-
<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"
|
2880
|
+
<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>,
|
2899
2881
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
2900
|
-
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
2882
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
|
2901
2883
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
2902
2884
|
<p>
|
2903
2885
|
Converts an index within a line to a X position.
|
@@ -2907,24 +2889,22 @@ Converts an index within a line to a X position.
|
|
2907
2889
|
<tbody>
|
2908
2890
|
<tr>
|
2909
2891
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2910
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2892
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
2911
2893
|
</td>
|
2912
2894
|
</tr>
|
2913
2895
|
<tr>
|
2914
2896
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
2915
|
-
<td>byte offset of a grapheme within the layout
|
2916
|
-
</td>
|
2897
|
+
<td>byte offset of a grapheme within the layout</td>
|
2917
2898
|
</tr>
|
2918
2899
|
<tr>
|
2919
2900
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
2920
2901
|
<td>an integer indicating the edge of the grapheme to retrieve
|
2921
|
-
|
2922
|
-
|
2923
|
-
</td>
|
2902
|
+
the position of. If > 0, the trailing edge of the grapheme,
|
2903
|
+
if 0, the leading of the grapheme.</td>
|
2924
2904
|
</tr>
|
2925
2905
|
<tr>
|
2926
2906
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
2927
|
-
<td>location to store the x_offset (in Pango unit)
|
2907
|
+
<td>location to store the x_offset (in Pango unit). <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
2928
2908
|
</td>
|
2929
2909
|
</tr>
|
2930
2910
|
</tbody>
|
@@ -2933,7 +2913,7 @@ Converts an index within a line to a X position.
|
|
2933
2913
|
<hr>
|
2934
2914
|
<div class="refsect2">
|
2935
2915
|
<a name="pango-layout-line-x-to-index"></a><h3>pango_layout_line_x_to_index ()</h3>
|
2936
|
-
<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"
|
2916
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
2937
2917
|
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
2938
2918
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
2939
2919
|
<em class="parameter"><code><span class="type">int</span> *trailing</code></em>);</pre>
|
@@ -2954,33 +2934,32 @@ in that grapheme. The reverse is true for a left-to-right line.
|
|
2954
2934
|
<tbody>
|
2955
2935
|
<tr>
|
2956
2936
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
2957
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2937
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
2958
2938
|
</td>
|
2959
2939
|
</tr>
|
2960
2940
|
<tr>
|
2961
2941
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
2962
2942
|
<td>the X offset (in Pango units)
|
2963
|
-
|
2964
|
-
</td>
|
2943
|
+
from the left edge of the line.</td>
|
2965
2944
|
</tr>
|
2966
2945
|
<tr>
|
2967
2946
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
2968
2947
|
<td>location to store calculated byte index for
|
2969
|
-
|
2948
|
+
the grapheme in which the user clicked. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
2970
2949
|
</td>
|
2971
2950
|
</tr>
|
2972
2951
|
<tr>
|
2973
2952
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
2974
2953
|
<td>location to store an integer indicating where
|
2975
|
-
|
2976
|
-
|
2977
|
-
|
2954
|
+
in the grapheme the user clicked. It will either
|
2955
|
+
be zero, or the number of characters in the
|
2956
|
+
grapheme. 0 represents the leading edge of the grapheme. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
2978
2957
|
</td>
|
2979
2958
|
</tr>
|
2980
2959
|
<tr>
|
2981
2960
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2982
|
-
<td>
|
2983
|
-
</td>
|
2961
|
+
<td>
|
2962
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>x_pos</code></em> was outside the line, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if inside</td>
|
2984
2963
|
</tr>
|
2985
2964
|
</tbody>
|
2986
2965
|
</table></div>
|
@@ -2988,7 +2967,7 @@ in that grapheme. The reverse is true for a left-to-right line.
|
|
2988
2967
|
<hr>
|
2989
2968
|
<div class="refsect2">
|
2990
2969
|
<a name="pango-layout-line-get-x-ranges"></a><h3>pango_layout_line_get_x_ranges ()</h3>
|
2991
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_get_x_ranges (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2970
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_layout_line_get_x_ranges (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
2992
2971
|
<em class="parameter"><code><span class="type">int</span> start_index</code></em>,
|
2993
2972
|
<em class="parameter"><code><span class="type">int</span> end_index</code></em>,
|
2994
2973
|
<em class="parameter"><code><span class="type">int</span> **ranges</code></em>,
|
@@ -3005,42 +2984,38 @@ layout, not with respect to the line.
|
|
3005
2984
|
<tbody>
|
3006
2985
|
<tr>
|
3007
2986
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
3008
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
2987
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
3009
2988
|
</td>
|
3010
2989
|
</tr>
|
3011
2990
|
<tr>
|
3012
2991
|
<td><p><span class="term"><em class="parameter"><code>start_index</code></em> :</span></p></td>
|
3013
2992
|
<td>Start byte index of the logical range. If this value
|
3014
|
-
|
3015
|
-
|
3016
|
-
|
3017
|
-
|
3018
|
-
</td>
|
2993
|
+
is less than the start index for the line, then
|
2994
|
+
the first range will extend all the way to the leading
|
2995
|
+
edge of the layout. Otherwise it will start at the
|
2996
|
+
leading edge of the first character.</td>
|
3019
2997
|
</tr>
|
3020
2998
|
<tr>
|
3021
2999
|
<td><p><span class="term"><em class="parameter"><code>end_index</code></em> :</span></p></td>
|
3022
3000
|
<td>Ending byte index of the logical range. If this value
|
3023
|
-
|
3024
|
-
|
3025
|
-
|
3026
|
-
|
3027
|
-
</td>
|
3001
|
+
is greater than the end index for the line, then
|
3002
|
+
the last range will extend all the way to the trailing
|
3003
|
+
edge of the layout. Otherwise, it will end at the
|
3004
|
+
trailing edge of the last character.</td>
|
3028
3005
|
</tr>
|
3029
3006
|
<tr>
|
3030
3007
|
<td><p><span class="term"><em class="parameter"><code>ranges</code></em> :</span></p></td>
|
3031
|
-
<td>
|
3032
|
-
|
3033
|
-
|
3034
|
-
|
3035
|
-
|
3036
|
-
|
3037
|
-
to the layout and are in Pango units. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
3008
|
+
<td>location to store a pointer to an array of ranges.
|
3009
|
+
The array will be of length <code class="literal">2*n_ranges</code>,
|
3010
|
+
with each range starting at <code class="literal">(*ranges)[2*n]</code>
|
3011
|
+
and of width <code class="literal">(*ranges)[2*n + 1] - (*ranges)[2*n]</code>.
|
3012
|
+
This array must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. The coordinates are relative
|
3013
|
+
to the layout and are in Pango units. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=n_ranges][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
3038
3014
|
</td>
|
3039
3015
|
</tr>
|
3040
3016
|
<tr>
|
3041
3017
|
<td><p><span class="term"><em class="parameter"><code>n_ranges</code></em> :</span></p></td>
|
3042
|
-
<td>The number of ranges stored in <em class="parameter"><code>ranges</code></em
|
3043
|
-
</td>
|
3018
|
+
<td>The number of ranges stored in <em class="parameter"><code>ranges</code></em>.</td>
|
3044
3019
|
</tr>
|
3045
3020
|
</tbody>
|
3046
3021
|
</table></div>
|
@@ -3049,6 +3024,6 @@ layout, not with respect to the line.
|
|
3049
3024
|
</div>
|
3050
3025
|
<div class="footer">
|
3051
3026
|
<hr>
|
3052
|
-
Generated by GTK-Doc V1.
|
3027
|
+
Generated by GTK-Doc V1.18</div>
|
3053
3028
|
</body>
|
3054
3029
|
</html>
|