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>Glyph Storage</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="pango-Text-Processing.html" title="Rendering">
|
10
10
|
<link rel="next" href="pango-Fonts.html" title="Fonts">
|
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">
|
@@ -24,6 +24,8 @@
|
|
24
24
|
<a href="#pango-Glyph-Storage.synopsis" class="shortcut">Top</a>
|
25
25
|
|
|
26
26
|
<a href="#pango-Glyph-Storage.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#pango-Glyph-Storage.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
27
29
|
</td></tr>
|
28
30
|
</table>
|
29
31
|
<div class="refentry">
|
@@ -37,7 +39,7 @@
|
|
37
39
|
</tr></table></div>
|
38
40
|
<div class="refsynopsisdiv">
|
39
41
|
<a name="pango-Glyph-Storage.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">#define <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE">PANGO_SCALE</a>
|
42
|
+
<a name="PangoMatrix"></a><a name="PangoGlyphString"></a><a name="PangoGlyphItem"></a><a name="PangoGlyphItemIter"></a><pre class="synopsis">#define <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE">PANGO_SCALE</a>
|
41
43
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-PIXELS:CAPS" title="PANGO_PIXELS()">PANGO_PIXELS</a> (d)
|
42
44
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-PIXELS-FLOOR:CAPS" title="PANGO_PIXELS_FLOOR()">PANGO_PIXELS_FLOOR</a> (d)
|
43
45
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-PIXELS-CEIL:CAPS" title="PANGO_PIXELS_CEIL()">PANGO_PIXELS_CEIL</a> (d)
|
@@ -51,33 +53,33 @@ struct <a class="link" href="pango-Glyph-Storage.html#PangoRectangl
|
|
51
53
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-RBEARING:CAPS" title="PANGO_RBEARING()">PANGO_RBEARING</a> (rect)
|
52
54
|
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()">pango_extents_to_pixels</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *inclusive</code></em>,
|
53
55
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *nearest</code></em>);
|
54
|
-
struct <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix">PangoMatrix</a>;
|
56
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoMatrix-struct" title="struct PangoMatrix">PangoMatrix</a>;
|
55
57
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-MATRIX:CAPS" title="PANGO_TYPE_MATRIX">PANGO_TYPE_MATRIX</a>
|
56
58
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-MATRIX-INIT:CAPS" title="PANGO_MATRIX_INIT">PANGO_MATRIX_INIT</a>
|
57
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
58
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-free" title="pango_matrix_free ()">pango_matrix_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
59
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-translate" title="pango_matrix_translate ()">pango_matrix_translate</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
59
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-matrix-copy" title="pango_matrix_copy ()">pango_matrix_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-free" title="pango_matrix_free ()">pango_matrix_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
61
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-translate" title="pango_matrix_translate ()">pango_matrix_translate</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
60
62
|
<em class="parameter"><code><span class="type">double</span> tx</code></em>,
|
61
63
|
<em class="parameter"><code><span class="type">double</span> ty</code></em>);
|
62
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-scale" title="pango_matrix_scale ()">pango_matrix_scale</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-scale" title="pango_matrix_scale ()">pango_matrix_scale</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
63
65
|
<em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
|
64
66
|
<em class="parameter"><code><span class="type">double</span> scale_y</code></em>);
|
65
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()">pango_matrix_rotate</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
67
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()">pango_matrix_rotate</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
66
68
|
<em class="parameter"><code><span class="type">double</span> degrees</code></em>);
|
67
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-concat" title="pango_matrix_concat ()">pango_matrix_concat</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
68
|
-
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-point" title="pango_matrix_transform_point ()">pango_matrix_transform_point</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-concat" title="pango_matrix_concat ()">pango_matrix_concat</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
70
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-point" title="pango_matrix_transform_point ()">pango_matrix_transform_point</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
70
72
|
<em class="parameter"><code><span class="type">double</span> *x</code></em>,
|
71
73
|
<em class="parameter"><code><span class="type">double</span> *y</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-distance" title="pango_matrix_transform_distance ()">pango_matrix_transform_distance</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-distance" title="pango_matrix_transform_distance ()">pango_matrix_transform_distance</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
73
75
|
<em class="parameter"><code><span class="type">double</span> *dx</code></em>,
|
74
76
|
<em class="parameter"><code><span class="type">double</span> *dy</code></em>);
|
75
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-rectangle" title="pango_matrix_transform_rectangle ()">pango_matrix_transform_rectangle</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
77
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-rectangle" title="pango_matrix_transform_rectangle ()">pango_matrix_transform_rectangle</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
76
78
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);
|
77
79
|
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-pixel-rectangle" title="pango_matrix_transform_pixel_rectangle ()">pango_matrix_transform_pixel_rectangle</a>
|
78
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
80
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
79
81
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);
|
80
|
-
<span class="returnvalue">double</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-get-font-scale-factor" title="pango_matrix_get_font_scale_factor ()">pango_matrix_get_font_scale_factor</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
82
|
+
<span class="returnvalue">double</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-get-font-scale-factor" title="pango_matrix_get_font_scale_factor ()">pango_matrix_get_font_scale_factor</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
81
83
|
typedef <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph">PangoGlyph</a>;
|
82
84
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-EMPTY:CAPS" title="PANGO_GLYPH_EMPTY">PANGO_GLYPH_EMPTY</a>
|
83
85
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-INVALID-INPUT:CAPS" title="PANGO_GLYPH_INVALID_INPUT">PANGO_GLYPH_INVALID_INPUT</a>
|
@@ -87,34 +89,34 @@ struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInf
|
|
87
89
|
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="struct PangoGlyphGeometry">PangoGlyphGeometry</a>;
|
88
90
|
typedef <a class="link" href="pango-Glyph-Storage.html#PangoGlyphUnit" title="PangoGlyphUnit">PangoGlyphUnit</a>;
|
89
91
|
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphVisAttr" title="struct PangoGlyphVisAttr">PangoGlyphVisAttr</a>;
|
90
|
-
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString">PangoGlyphString</a>;
|
91
|
-
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem">PangoGlyphItem</a>;
|
92
|
-
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter">PangoGlyphItemIter</a>;
|
92
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString-struct" title="struct PangoGlyphString">PangoGlyphString</a>;
|
93
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem-struct" title="struct PangoGlyphItem">PangoGlyphItem</a>;
|
94
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter-struct" title="struct PangoGlyphItemIter">PangoGlyphItemIter</a>;
|
93
95
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-GLYPH-STRING:CAPS" title="PANGO_TYPE_GLYPH_STRING">PANGO_TYPE_GLYPH_STRING</a>
|
94
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
95
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
96
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-set-size" title="pango_glyph_string_set_size ()">pango_glyph_string_set_size</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
97
|
-
<em class="parameter"><code><span class="type">gint</span> new_len</code></em>);
|
98
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()">pango_glyph_string_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents" title="pango_glyph_string_extents ()">pango_glyph_string_extents</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
96
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-new" title="pango_glyph_string_new ()">pango_glyph_string_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
97
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-copy" title="pango_glyph_string_copy ()">pango_glyph_string_copy</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
|
98
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-set-size" title="pango_glyph_string_set_size ()">pango_glyph_string_set_size</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
|
99
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> new_len</code></em>);
|
100
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()">pango_glyph_string_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents" title="pango_glyph_string_extents ()">pango_glyph_string_extents</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
100
102
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
101
103
|
<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>,
|
102
104
|
<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>);
|
103
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents-range" title="pango_glyph_string_extents_range ()">pango_glyph_string_extents_range</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
105
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents-range" title="pango_glyph_string_extents_range ()">pango_glyph_string_extents_range</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
104
106
|
<em class="parameter"><code><span class="type">int</span> start</code></em>,
|
105
107
|
<em class="parameter"><code><span class="type">int</span> end</code></em>,
|
106
108
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
107
109
|
<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>,
|
108
110
|
<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>);
|
109
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-width" title="pango_glyph_string_get_width ()">pango_glyph_string_get_width</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
110
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-index-to-x" title="pango_glyph_string_index_to_x ()">pango_glyph_string_index_to_x</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
111
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-width" title="pango_glyph_string_get_width ()">pango_glyph_string_get_width</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
|
112
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-index-to-x" title="pango_glyph_string_index_to_x ()">pango_glyph_string_index_to_x</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
111
113
|
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
112
114
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
113
115
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
114
116
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
115
|
-
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
117
|
+
<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>,
|
116
118
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);
|
117
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-x-to-index" title="pango_glyph_string_x_to_index ()">pango_glyph_string_x_to_index</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
119
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-x-to-index" title="pango_glyph_string_x_to_index ()">pango_glyph_string_x_to_index</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
118
120
|
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
119
121
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
120
122
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
@@ -122,38 +124,57 @@ struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphIte
|
|
122
124
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
123
125
|
<em class="parameter"><code><span class="type">int</span> *trailing</code></em>);
|
124
126
|
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-logical-widths" title="pango_glyph_string_get_logical_widths ()">pango_glyph_string_get_logical_widths</a>
|
125
|
-
(<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
127
|
+
(<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
126
128
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
127
129
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
128
130
|
<em class="parameter"><code><span class="type">int</span> embedding_level</code></em>,
|
129
131
|
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);
|
130
132
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-GLYPH-ITEM:CAPS" title="PANGO_TYPE_GLYPH_ITEM">PANGO_TYPE_GLYPH_ITEM</a>
|
131
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
132
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()">pango_glyph_item_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
133
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
133
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-copy" title="pango_glyph_item_copy ()">pango_glyph_item_copy</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);
|
134
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()">pango_glyph_item_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);
|
135
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-split" title="pango_glyph_item_split ()">pango_glyph_item_split</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
|
134
136
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
135
137
|
<em class="parameter"><code><span class="type">int</span> split_index</code></em>);
|
136
|
-
<span class="returnvalue">GSList</span> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-apply-attrs" title="pango_glyph_item_apply_attrs ()">pango_glyph_item_apply_attrs</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
138
|
+
<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-Glyph-Storage.html#pango-glyph-item-apply-attrs" title="pango_glyph_item_apply_attrs ()">pango_glyph_item_apply_attrs</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
137
139
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
138
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
139
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-letter-space" title="pango_glyph_item_letter_space ()">pango_glyph_item_letter_space</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
140
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
141
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-letter-space" title="pango_glyph_item_letter_space ()">pango_glyph_item_letter_space</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
140
142
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
141
143
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *log_attrs</code></em>,
|
142
144
|
<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);
|
143
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-logical-widths" title="pango_glyph_item_get_logical_widths ()">pango_glyph_item_get_logical_widths</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
145
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-logical-widths" title="pango_glyph_item_get_logical_widths ()">pango_glyph_item_get_logical_widths</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
144
146
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
145
147
|
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);
|
146
148
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-GLYPH-ITEM-ITER:CAPS" title="PANGO_TYPE_GLYPH_ITEM_ITER">PANGO_TYPE_GLYPH_ITEM_ITER</a>
|
147
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
148
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-free" title="pango_glyph_item_iter_free ()">pango_glyph_item_iter_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
149
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-init-start" title="pango_glyph_item_iter_init_start ()">pango_glyph_item_iter_init_start</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
150
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
149
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="returnvalue">PangoGlyphItemIter</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-copy" title="pango_glyph_item_iter_copy ()">pango_glyph_item_iter_copy</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);
|
150
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-free" title="pango_glyph_item_iter_free ()">pango_glyph_item_iter_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
|
151
|
+
<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-Glyph-Storage.html#pango-glyph-item-iter-init-start" title="pango_glyph_item_iter_init_start ()">pango_glyph_item_iter_init_start</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
152
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
151
153
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);
|
152
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-init-end" title="pango_glyph_item_iter_init_end ()">pango_glyph_item_iter_init_end</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
153
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
154
|
+
<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-Glyph-Storage.html#pango-glyph-item-iter-init-end" title="pango_glyph_item_iter_init_end ()">pango_glyph_item_iter_init_end</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
155
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
154
156
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);
|
155
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-next-cluster" title="pango_glyph_item_iter_next_cluster ()">pango_glyph_item_iter_next_cluster</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
156
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-prev-cluster" title="pango_glyph_item_iter_prev_cluster ()">pango_glyph_item_iter_prev_cluster</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
157
|
+
<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-Glyph-Storage.html#pango-glyph-item-iter-next-cluster" title="pango_glyph_item_iter_next_cluster ()">pango_glyph_item_iter_next_cluster</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
|
158
|
+
<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-Glyph-Storage.html#pango-glyph-item-iter-prev-cluster" title="pango_glyph_item_iter_prev_cluster ()">pango_glyph_item_iter_prev_cluster</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
|
159
|
+
</pre>
|
160
|
+
</div>
|
161
|
+
<div class="refsect1">
|
162
|
+
<a name="pango-Glyph-Storage.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
163
|
+
<pre class="synopsis">
|
164
|
+
GBoxed
|
165
|
+
+----PangoMatrix
|
166
|
+
</pre>
|
167
|
+
<pre class="synopsis">
|
168
|
+
GBoxed
|
169
|
+
+----PangoGlyphString
|
170
|
+
</pre>
|
171
|
+
<pre class="synopsis">
|
172
|
+
GBoxed
|
173
|
+
+----PangoGlyphItem
|
174
|
+
</pre>
|
175
|
+
<pre class="synopsis">
|
176
|
+
GBoxed
|
177
|
+
+----PangoGlyphItemIter
|
157
178
|
</pre>
|
158
179
|
</div>
|
159
180
|
<div class="refsect1">
|
@@ -196,13 +217,11 @@ Converts a dimension to device units by rounding.
|
|
196
217
|
<tbody>
|
197
218
|
<tr>
|
198
219
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
199
|
-
<td>a dimension in Pango units
|
200
|
-
</td>
|
220
|
+
<td>a dimension in Pango units.</td>
|
201
221
|
</tr>
|
202
222
|
<tr>
|
203
223
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
204
|
-
<td>rounded dimension in device units
|
205
|
-
</td>
|
224
|
+
<td>rounded dimension in device units.</td>
|
206
225
|
</tr>
|
207
226
|
</tbody>
|
208
227
|
</table></div>
|
@@ -220,13 +239,11 @@ Converts a dimension to device units by flooring.
|
|
220
239
|
<tbody>
|
221
240
|
<tr>
|
222
241
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
223
|
-
<td>a dimension in Pango units
|
224
|
-
</td>
|
242
|
+
<td>a dimension in Pango units.</td>
|
225
243
|
</tr>
|
226
244
|
<tr>
|
227
245
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
228
|
-
<td>floored dimension in device units
|
229
|
-
</td>
|
246
|
+
<td>floored dimension in device units.</td>
|
230
247
|
</tr>
|
231
248
|
</tbody>
|
232
249
|
</table></div>
|
@@ -245,13 +262,11 @@ Converts a dimension to device units by ceiling.
|
|
245
262
|
<tbody>
|
246
263
|
<tr>
|
247
264
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
248
|
-
<td>a dimension in Pango units
|
249
|
-
</td>
|
265
|
+
<td>a dimension in Pango units.</td>
|
250
266
|
</tr>
|
251
267
|
<tr>
|
252
268
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
253
|
-
<td>ceiled dimension in device units
|
254
|
-
</td>
|
269
|
+
<td>ceiled dimension in device units.</td>
|
255
270
|
</tr>
|
256
271
|
</tbody>
|
257
272
|
</table></div>
|
@@ -270,13 +285,11 @@ convert it to device units.
|
|
270
285
|
<tbody>
|
271
286
|
<tr>
|
272
287
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
273
|
-
<td>a dimension in Pango units
|
274
|
-
</td>
|
288
|
+
<td>a dimension in Pango units.</td>
|
275
289
|
</tr>
|
276
290
|
<tr>
|
277
291
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
278
|
-
<td>rounded dimension in Pango units
|
279
|
-
</td>
|
292
|
+
<td>rounded dimension in Pango units.</td>
|
280
293
|
</tr>
|
281
294
|
</tbody>
|
282
295
|
</table></div>
|
@@ -295,14 +308,11 @@ it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PA
|
|
295
308
|
<tbody>
|
296
309
|
<tr>
|
297
310
|
<td><p><span class="term"><em class="parameter"><code>i</code></em> :</span></p></td>
|
298
|
-
<td>value in Pango units
|
299
|
-
</td>
|
311
|
+
<td>value in Pango units</td>
|
300
312
|
</tr>
|
301
313
|
<tr>
|
302
314
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
303
|
-
<td>
|
304
|
-
|
305
|
-
</td>
|
315
|
+
<td>the double value.</td>
|
306
316
|
</tr>
|
307
317
|
</tbody>
|
308
318
|
</table></div>
|
@@ -321,14 +331,11 @@ it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PA
|
|
321
331
|
<tbody>
|
322
332
|
<tr>
|
323
333
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
324
|
-
<td>double floating-point value
|
325
|
-
</td>
|
334
|
+
<td>double floating-point value</td>
|
326
335
|
</tr>
|
327
336
|
<tr>
|
328
337
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
329
|
-
<td>
|
330
|
-
|
331
|
-
</td>
|
338
|
+
<td>the value in Pango units.</td>
|
332
339
|
</tr>
|
333
340
|
</tbody>
|
334
341
|
</table></div>
|
@@ -354,23 +361,19 @@ of text. (See, for instance, <a class="link" href="pango-Fonts.html#pango-font-g
|
|
354
361
|
<tbody>
|
355
362
|
<tr>
|
356
363
|
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoRectangle.x"></a>x</code></em>;</span></p></td>
|
357
|
-
<td>X coordinate of the left side of the rectangle
|
358
|
-
</td>
|
364
|
+
<td>X coordinate of the left side of the rectangle.</td>
|
359
365
|
</tr>
|
360
366
|
<tr>
|
361
367
|
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoRectangle.y"></a>y</code></em>;</span></p></td>
|
362
|
-
<td>Y coordinate of the the top side of the rectangle
|
363
|
-
</td>
|
368
|
+
<td>Y coordinate of the the top side of the rectangle.</td>
|
364
369
|
</tr>
|
365
370
|
<tr>
|
366
371
|
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoRectangle.width"></a>width</code></em>;</span></p></td>
|
367
|
-
<td>width of the rectangle
|
368
|
-
</td>
|
372
|
+
<td>width of the rectangle.</td>
|
369
373
|
</tr>
|
370
374
|
<tr>
|
371
375
|
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoRectangle.height"></a>height</code></em>;</span></p></td>
|
372
|
-
<td>height of the rectangle
|
373
|
-
</td>
|
376
|
+
<td>height of the rectangle.</td>
|
374
377
|
</tr>
|
375
378
|
</tbody>
|
376
379
|
</table></div>
|
@@ -487,12 +490,12 @@ as <em class="parameter"><code>nearest</code></em>.
|
|
487
490
|
<tbody>
|
488
491
|
<tr>
|
489
492
|
<td><p><span class="term"><em class="parameter"><code>inclusive</code></em> :</span></p></td>
|
490
|
-
<td>rectangle to round to pixels inclusively, or <a href="/
|
493
|
+
<td>rectangle to round to pixels inclusively, 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>
|
491
494
|
</td>
|
492
495
|
</tr>
|
493
496
|
<tr>
|
494
497
|
<td><p><span class="term"><em class="parameter"><code>nearest</code></em> :</span></p></td>
|
495
|
-
<td>rectangle to round to nearest pixels, or <a href="/
|
498
|
+
<td>rectangle to round to nearest pixels, 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>
|
496
499
|
</td>
|
497
500
|
</tr>
|
498
501
|
</tbody>
|
@@ -501,7 +504,7 @@ as <em class="parameter"><code>nearest</code></em>.
|
|
501
504
|
</div>
|
502
505
|
<hr>
|
503
506
|
<div class="refsect2">
|
504
|
-
<a name="PangoMatrix"></a><h3>struct PangoMatrix</h3>
|
507
|
+
<a name="PangoMatrix-struct"></a><h3>struct PangoMatrix</h3>
|
505
508
|
<pre class="programlisting">struct PangoMatrix {
|
506
509
|
double xx;
|
507
510
|
double xy;
|
@@ -528,34 +531,28 @@ y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
|
|
528
531
|
<col align="left" valign="top">
|
529
532
|
<tbody>
|
530
533
|
<tr>
|
531
|
-
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.xx"></a>xx</code></em>;</span></p></td>
|
532
|
-
<td>1st component of the transformation matrix
|
533
|
-
</td>
|
534
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix-struct.xx"></a>xx</code></em>;</span></p></td>
|
535
|
+
<td>1st component of the transformation matrix</td>
|
534
536
|
</tr>
|
535
537
|
<tr>
|
536
|
-
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.xy"></a>xy</code></em>;</span></p></td>
|
537
|
-
<td>2nd component of the transformation matrix
|
538
|
-
</td>
|
538
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix-struct.xy"></a>xy</code></em>;</span></p></td>
|
539
|
+
<td>2nd component of the transformation matrix</td>
|
539
540
|
</tr>
|
540
541
|
<tr>
|
541
|
-
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.yx"></a>yx</code></em>;</span></p></td>
|
542
|
-
<td>3rd component of the transformation matrix
|
543
|
-
</td>
|
542
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix-struct.yx"></a>yx</code></em>;</span></p></td>
|
543
|
+
<td>3rd component of the transformation matrix</td>
|
544
544
|
</tr>
|
545
545
|
<tr>
|
546
|
-
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.yy"></a>yy</code></em>;</span></p></td>
|
547
|
-
<td>4th component of the transformation matrix
|
548
|
-
</td>
|
546
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix-struct.yy"></a>yy</code></em>;</span></p></td>
|
547
|
+
<td>4th component of the transformation matrix</td>
|
549
548
|
</tr>
|
550
549
|
<tr>
|
551
|
-
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.x0"></a>x0</code></em>;</span></p></td>
|
552
|
-
<td>x translation
|
553
|
-
</td>
|
550
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix-struct.x0"></a>x0</code></em>;</span></p></td>
|
551
|
+
<td>x translation</td>
|
554
552
|
</tr>
|
555
553
|
<tr>
|
556
|
-
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.y0"></a>y0</code></em>;</span></p></td>
|
557
|
-
<td>y translation
|
558
|
-
</td>
|
554
|
+
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix-struct.y0"></a>y0</code></em>;</span></p></td>
|
555
|
+
<td>y translation</td>
|
559
556
|
</tr>
|
560
557
|
</tbody>
|
561
558
|
</table></div>
|
@@ -567,7 +564,7 @@ y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
|
|
567
564
|
<pre class="programlisting">#define PANGO_TYPE_MATRIX (pango_matrix_get_type ())
|
568
565
|
</pre>
|
569
566
|
<p>
|
570
|
-
The GObject type for <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
567
|
+
The GObject type for <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>
|
571
568
|
</p>
|
572
569
|
</div>
|
573
570
|
<hr>
|
@@ -587,8 +584,8 @@ the identity transform.
|
|
587
584
|
<tr>
|
588
585
|
<td class="listing_lines" align="right"><pre>1
|
589
586
|
2</pre></td>
|
590
|
-
<td class="listing_code"><pre class="programlisting">PangoMatrix matrix = PANGO_MATRIX_INIT
|
591
|
-
pango_matrix_rotate (&
|
587
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">PangoMatrix</span><span class="normal"> matrix </span><span class="symbol">=</span><span class="normal"> <a href="pango-Glyph-Storage.html#PANGO-MATRIX-INIT:CAPS">PANGO_MATRIX_INIT</a></span><span class="symbol">;</span>
|
588
|
+
<span class="function"><a href="pango-Glyph-Storage.html#pango-matrix-rotate">pango_matrix_rotate</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">matrix</span><span class="symbol">,</span><span class="normal"> </span><span class="number">45</span><span class="symbol">.);</span></pre></td>
|
592
589
|
</tr>
|
593
590
|
</tbody>
|
594
591
|
</table>
|
@@ -601,25 +598,23 @@ pango_matrix_rotate (&matrix, <span class="number">45.</span>);</pre></td>
|
|
601
598
|
<hr>
|
602
599
|
<div class="refsect2">
|
603
600
|
<a name="pango-matrix-copy"></a><h3>pango_matrix_copy ()</h3>
|
604
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
601
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_matrix_copy (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
605
602
|
<p>
|
606
|
-
Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
603
|
+
Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>.
|
607
604
|
</p>
|
608
605
|
<div class="variablelist"><table border="0">
|
609
606
|
<col align="left" valign="top">
|
610
607
|
<tbody>
|
611
608
|
<tr>
|
612
609
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
613
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
610
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
614
611
|
</td>
|
615
612
|
</tr>
|
616
613
|
<tr>
|
617
614
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
618
|
-
<td>
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
</td>
|
615
|
+
<td>the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, which should
|
616
|
+
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-matrix-free" title="pango_matrix_free ()"><code class="function">pango_matrix_free()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
617
|
+
<em class="parameter"><code>matrix</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
623
618
|
</tr>
|
624
619
|
</tbody>
|
625
620
|
</table></div>
|
@@ -628,15 +623,15 @@ Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="stru
|
|
628
623
|
<hr>
|
629
624
|
<div class="refsect2">
|
630
625
|
<a name="pango-matrix-free"></a><h3>pango_matrix_free ()</h3>
|
631
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
626
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
632
627
|
<p>
|
633
|
-
Free a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
628
|
+
Free a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> created with <a class="link" href="pango-Glyph-Storage.html#pango-matrix-copy" title="pango_matrix_copy ()"><code class="function">pango_matrix_copy()</code></a>.
|
634
629
|
</p>
|
635
630
|
<div class="variablelist"><table border="0">
|
636
631
|
<col align="left" valign="top">
|
637
632
|
<tbody><tr>
|
638
633
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
639
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
634
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
640
635
|
</td>
|
641
636
|
</tr></tbody>
|
642
637
|
</table></div>
|
@@ -645,7 +640,7 @@ Free a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct
|
|
645
640
|
<hr>
|
646
641
|
<div class="refsect2">
|
647
642
|
<a name="pango-matrix-translate"></a><h3>pango_matrix_translate ()</h3>
|
648
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_translate (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
643
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_translate (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
649
644
|
<em class="parameter"><code><span class="type">double</span> tx</code></em>,
|
650
645
|
<em class="parameter"><code><span class="type">double</span> ty</code></em>);</pre>
|
651
646
|
<p>
|
@@ -658,18 +653,16 @@ then applying the original transformation.
|
|
658
653
|
<tbody>
|
659
654
|
<tr>
|
660
655
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
661
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
656
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>
|
662
657
|
</td>
|
663
658
|
</tr>
|
664
659
|
<tr>
|
665
660
|
<td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
|
666
|
-
<td>amount to translate in the X direction
|
667
|
-
</td>
|
661
|
+
<td>amount to translate in the X direction</td>
|
668
662
|
</tr>
|
669
663
|
<tr>
|
670
664
|
<td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
|
671
|
-
<td>amount to translate in the Y direction
|
672
|
-
</td>
|
665
|
+
<td>amount to translate in the Y direction</td>
|
673
666
|
</tr>
|
674
667
|
</tbody>
|
675
668
|
</table></div>
|
@@ -678,7 +671,7 @@ then applying the original transformation.
|
|
678
671
|
<hr>
|
679
672
|
<div class="refsect2">
|
680
673
|
<a name="pango-matrix-scale"></a><h3>pango_matrix_scale ()</h3>
|
681
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_scale (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
674
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_scale (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
682
675
|
<em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
|
683
676
|
<em class="parameter"><code><span class="type">double</span> scale_y</code></em>);</pre>
|
684
677
|
<p>
|
@@ -692,18 +685,16 @@ transformation.
|
|
692
685
|
<tbody>
|
693
686
|
<tr>
|
694
687
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
695
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
688
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>
|
696
689
|
</td>
|
697
690
|
</tr>
|
698
691
|
<tr>
|
699
692
|
<td><p><span class="term"><em class="parameter"><code>scale_x</code></em> :</span></p></td>
|
700
|
-
<td>amount to scale by in X direction
|
701
|
-
</td>
|
693
|
+
<td>amount to scale by in X direction</td>
|
702
694
|
</tr>
|
703
695
|
<tr>
|
704
696
|
<td><p><span class="term"><em class="parameter"><code>scale_y</code></em> :</span></p></td>
|
705
|
-
<td>amount to scale by in Y direction
|
706
|
-
</td>
|
697
|
+
<td>amount to scale by in Y direction</td>
|
707
698
|
</tr>
|
708
699
|
</tbody>
|
709
700
|
</table></div>
|
@@ -712,7 +703,7 @@ transformation.
|
|
712
703
|
<hr>
|
713
704
|
<div class="refsect2">
|
714
705
|
<a name="pango-matrix-rotate"></a><h3>pango_matrix_rotate ()</h3>
|
715
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_rotate (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
706
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_rotate (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
716
707
|
<em class="parameter"><code><span class="type">double</span> degrees</code></em>);</pre>
|
717
708
|
<p>
|
718
709
|
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
|
@@ -724,13 +715,12 @@ counter-clockwise then applying the original transformation.
|
|
724
715
|
<tbody>
|
725
716
|
<tr>
|
726
717
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
727
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
718
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>
|
728
719
|
</td>
|
729
720
|
</tr>
|
730
721
|
<tr>
|
731
722
|
<td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
|
732
|
-
<td>degrees to rotate counter-clockwise
|
733
|
-
</td>
|
723
|
+
<td>degrees to rotate counter-clockwise</td>
|
734
724
|
</tr>
|
735
725
|
</tbody>
|
736
726
|
</table></div>
|
@@ -739,8 +729,8 @@ counter-clockwise then applying the original transformation.
|
|
739
729
|
<hr>
|
740
730
|
<div class="refsect2">
|
741
731
|
<a name="pango-matrix-concat"></a><h3>pango_matrix_concat ()</h3>
|
742
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_concat (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
743
|
-
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
732
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_concat (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
733
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);</pre>
|
744
734
|
<p>
|
745
735
|
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
|
746
736
|
transformation given by first applying transformation
|
@@ -751,12 +741,12 @@ given by <em class="parameter"><code>new_matrix</code></em> then applying the or
|
|
751
741
|
<tbody>
|
752
742
|
<tr>
|
753
743
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
754
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
744
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>
|
755
745
|
</td>
|
756
746
|
</tr>
|
757
747
|
<tr>
|
758
748
|
<td><p><span class="term"><em class="parameter"><code>new_matrix</code></em> :</span></p></td>
|
759
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
749
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>
|
760
750
|
</td>
|
761
751
|
</tr>
|
762
752
|
</tbody>
|
@@ -766,7 +756,7 @@ given by <em class="parameter"><code>new_matrix</code></em> then applying the or
|
|
766
756
|
<hr>
|
767
757
|
<div class="refsect2">
|
768
758
|
<a name="pango-matrix-transform-point"></a><h3>pango_matrix_transform_point ()</h3>
|
769
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_point (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
759
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_point (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
770
760
|
<em class="parameter"><code><span class="type">double</span> *x</code></em>,
|
771
761
|
<em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
|
772
762
|
<p>
|
@@ -777,17 +767,17 @@ Transforms the point (<em class="parameter"><code>x</code></em>, <em class="para
|
|
777
767
|
<tbody>
|
778
768
|
<tr>
|
779
769
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
780
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
770
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
781
771
|
</td>
|
782
772
|
</tr>
|
783
773
|
<tr>
|
784
774
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
785
|
-
<td>in/out X position
|
775
|
+
<td>in/out X position. <span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span>
|
786
776
|
</td>
|
787
777
|
</tr>
|
788
778
|
<tr>
|
789
779
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
790
|
-
<td>in/out Y position
|
780
|
+
<td>in/out Y position. <span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span>
|
791
781
|
</td>
|
792
782
|
</tr>
|
793
783
|
</tbody>
|
@@ -797,7 +787,7 @@ Transforms the point (<em class="parameter"><code>x</code></em>, <em class="para
|
|
797
787
|
<hr>
|
798
788
|
<div class="refsect2">
|
799
789
|
<a name="pango-matrix-transform-distance"></a><h3>pango_matrix_transform_distance ()</h3>
|
800
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_distance (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
790
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_distance (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
801
791
|
<em class="parameter"><code><span class="type">double</span> *dx</code></em>,
|
802
792
|
<em class="parameter"><code><span class="type">double</span> *dy</code></em>);</pre>
|
803
793
|
<p>
|
@@ -825,17 +815,17 @@ to (<em class="parameter"><code>x2</code></em>,<em class="parameter"><code>y2</c
|
|
825
815
|
<tbody>
|
826
816
|
<tr>
|
827
817
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
828
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
818
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
829
819
|
</td>
|
830
820
|
</tr>
|
831
821
|
<tr>
|
832
822
|
<td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
|
833
|
-
<td>in/out X component of a distance vector
|
823
|
+
<td>in/out X component of a distance vector. <span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span>
|
834
824
|
</td>
|
835
825
|
</tr>
|
836
826
|
<tr>
|
837
827
|
<td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
|
838
|
-
<td>
|
828
|
+
<td>in/out Y component of a distance vector. <span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span>
|
839
829
|
</td>
|
840
830
|
</tr>
|
841
831
|
</tbody>
|
@@ -845,7 +835,7 @@ to (<em class="parameter"><code>x2</code></em>,<em class="parameter"><code>y2</c
|
|
845
835
|
<hr>
|
846
836
|
<div class="refsect2">
|
847
837
|
<a name="pango-matrix-transform-rectangle"></a><h3>pango_matrix_transform_rectangle ()</h3>
|
848
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_rectangle (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
838
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_rectangle (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
849
839
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);</pre>
|
850
840
|
<p>
|
851
841
|
First transforms <em class="parameter"><code>rect</code></em> using <em class="parameter"><code>matrix</code></em>, then calculates the bounding box
|
@@ -875,12 +865,12 @@ example).
|
|
875
865
|
<tbody>
|
876
866
|
<tr>
|
877
867
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
878
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
868
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
879
869
|
</td>
|
880
870
|
</tr>
|
881
871
|
<tr>
|
882
872
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
883
|
-
<td>in/out bounding box in Pango units, or <a href="/
|
873
|
+
<td>in/out bounding box in Pango units, 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/inout"><span class="acronym">inout</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
884
874
|
</td>
|
885
875
|
</tr>
|
886
876
|
</tbody>
|
@@ -891,7 +881,7 @@ example).
|
|
891
881
|
<div class="refsect2">
|
892
882
|
<a name="pango-matrix-transform-pixel-rectangle"></a><h3>pango_matrix_transform_pixel_rectangle ()</h3>
|
893
883
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_pixel_rectangle
|
894
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
884
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
895
885
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);</pre>
|
896
886
|
<p>
|
897
887
|
First transforms the <em class="parameter"><code>rect</code></em> using <em class="parameter"><code>matrix</code></em>, then calculates the bounding box
|
@@ -913,12 +903,12 @@ using <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" ti
|
|
913
903
|
<tbody>
|
914
904
|
<tr>
|
915
905
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
916
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
906
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
917
907
|
</td>
|
918
908
|
</tr>
|
919
909
|
<tr>
|
920
910
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
921
|
-
<td>in/out bounding box in device units, or <a href="/
|
911
|
+
<td>in/out bounding box in device units, 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/inout"><span class="acronym">inout</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
922
912
|
</td>
|
923
913
|
</tr>
|
924
914
|
</tbody>
|
@@ -928,7 +918,7 @@ using <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" ti
|
|
928
918
|
<hr>
|
929
919
|
<div class="refsect2">
|
930
920
|
<a name="pango-matrix-get-font-scale-factor"></a><h3>pango_matrix_get_font_scale_factor ()</h3>
|
931
|
-
<pre class="programlisting"><span class="returnvalue">double</span> pango_matrix_get_font_scale_factor (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
921
|
+
<pre class="programlisting"><span class="returnvalue">double</span> pango_matrix_get_font_scale_factor (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
932
922
|
<p>
|
933
923
|
Returns the scale factor of a matrix on the height of the font.
|
934
924
|
That is, the scale factor in the direction perpendicular to the
|
@@ -939,15 +929,13 @@ vector that the X coordinate is mapped to.
|
|
939
929
|
<tbody>
|
940
930
|
<tr>
|
941
931
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
942
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"
|
932
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, 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/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
943
933
|
</td>
|
944
934
|
</tr>
|
945
935
|
<tr>
|
946
936
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
947
|
-
<td>
|
948
|
-
or 1.0 if <em class="parameter"><code>matrix</code></em> is <a href="/
|
949
|
-
|
950
|
-
</td>
|
937
|
+
<td>the scale factor of <em class="parameter"><code>matrix</code></em> on the height of the font,
|
938
|
+
or 1.0 if <em class="parameter"><code>matrix</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
951
939
|
</tr>
|
952
940
|
</tbody>
|
953
941
|
</table></div>
|
@@ -996,8 +984,8 @@ on.
|
|
996
984
|
</pre>
|
997
985
|
<p>
|
998
986
|
The <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-UNKNOWN-FLAG:CAPS" title="PANGO_GLYPH_UNKNOWN_FLAG"><code class="literal">PANGO_GLYPH_UNKNOWN_FLAG</code></a> macro is a flag value that can be added to
|
999
|
-
a <span class="type">gunichar</span> value of a valid Unicode character, to produce a <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>
|
1000
|
-
value, representing an unknown-character glyph for the respective <span class="type">gunichar</span>.
|
987
|
+
a <a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> value of a valid Unicode character, to produce a <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>
|
988
|
+
value, representing an unknown-character glyph for the respective <a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a>.
|
1001
989
|
</p>
|
1002
990
|
</div>
|
1003
991
|
<hr>
|
@@ -1015,8 +1003,7 @@ is what is done in the most common backends.
|
|
1015
1003
|
<col align="left" valign="top">
|
1016
1004
|
<tbody><tr>
|
1017
1005
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
1018
|
-
<td>a Unicode character
|
1019
|
-
</td>
|
1006
|
+
<td>a Unicode character</td>
|
1020
1007
|
</tr></tbody>
|
1021
1008
|
</table></div>
|
1022
1009
|
</div>
|
@@ -1039,18 +1026,15 @@ It contains the following fields.
|
|
1039
1026
|
<tbody>
|
1040
1027
|
<tr>
|
1041
1028
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.glyph"></a>glyph</code></em>;</span></p></td>
|
1042
|
-
<td>the glyph itself
|
1043
|
-
</td>
|
1029
|
+
<td>the glyph itself.</td>
|
1044
1030
|
</tr>
|
1045
1031
|
<tr>
|
1046
1032
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="struct PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.geometry"></a>geometry</code></em>;</span></p></td>
|
1047
|
-
<td>the positional information about the glyph
|
1048
|
-
</td>
|
1033
|
+
<td>the positional information about the glyph.</td>
|
1049
1034
|
</tr>
|
1050
1035
|
<tr>
|
1051
1036
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphVisAttr" title="struct PangoGlyphVisAttr"><span class="type">PangoGlyphVisAttr</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.attr"></a>attr</code></em>;</span></p></td>
|
1052
|
-
<td>the visual attributes of the glyph
|
1053
|
-
</td>
|
1037
|
+
<td>the visual attributes of the glyph.</td>
|
1054
1038
|
</tr>
|
1055
1039
|
</tbody>
|
1056
1040
|
</table></div>
|
@@ -1073,18 +1057,15 @@ information for a single glyph.
|
|
1073
1057
|
<tbody>
|
1074
1058
|
<tr>
|
1075
1059
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphUnit" title="PangoGlyphUnit"><span class="type">PangoGlyphUnit</span></a> <em class="structfield"><code><a name="PangoGlyphGeometry.width"></a>width</code></em>;</span></p></td>
|
1076
|
-
<td>the logical width to use for the the character
|
1077
|
-
</td>
|
1060
|
+
<td>the logical width to use for the the character.</td>
|
1078
1061
|
</tr>
|
1079
1062
|
<tr>
|
1080
1063
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphUnit" title="PangoGlyphUnit"><span class="type">PangoGlyphUnit</span></a> <em class="structfield"><code><a name="PangoGlyphGeometry.x-offset"></a>x_offset</code></em>;</span></p></td>
|
1081
|
-
<td>horizontal offset from nominal character position
|
1082
|
-
</td>
|
1064
|
+
<td>horizontal offset from nominal character position.</td>
|
1083
1065
|
</tr>
|
1084
1066
|
<tr>
|
1085
1067
|
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphUnit" title="PangoGlyphUnit"><span class="type">PangoGlyphUnit</span></a> <em class="structfield"><code><a name="PangoGlyphGeometry.y-offset"></a>y_offset</code></em>;</span></p></td>
|
1086
|
-
<td>vertical offset from nominal character position
|
1087
|
-
</td>
|
1068
|
+
<td>vertical offset from nominal character position.</td>
|
1088
1069
|
</tr>
|
1089
1070
|
</tbody>
|
1090
1071
|
</table></div>
|
@@ -1119,19 +1100,18 @@ added in the future.
|
|
1119
1100
|
<div class="variablelist"><table border="0">
|
1120
1101
|
<col align="left" valign="top">
|
1121
1102
|
<tbody><tr>
|
1122
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoGlyphVisAttr.is-cluster-start"></a>is_cluster_start</code></em> : 1;</span></p></td>
|
1103
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoGlyphVisAttr.is-cluster-start"></a>is_cluster_start</code></em> : 1;</span></p></td>
|
1123
1104
|
<td>set for the first logical glyph in each cluster. (Clusters
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
</td>
|
1105
|
+
are stored in visual order, within the cluster, glyphs
|
1106
|
+
are always ordered in logical order, since visual
|
1107
|
+
order is meaningless; that is, in Arabic text, accent glyphs
|
1108
|
+
follow the glyphs for the base character.)</td>
|
1129
1109
|
</tr></tbody>
|
1130
1110
|
</table></div>
|
1131
1111
|
</div>
|
1132
1112
|
<hr>
|
1133
1113
|
<div class="refsect2">
|
1134
|
-
<a name="PangoGlyphString"></a><h3>struct PangoGlyphString</h3>
|
1114
|
+
<a name="PangoGlyphString-struct"></a><h3>struct PangoGlyphString</h3>
|
1135
1115
|
<pre class="programlisting">struct PangoGlyphString {
|
1136
1116
|
gint num_glyphs;
|
1137
1117
|
|
@@ -1146,70 +1126,31 @@ added in the future.
|
|
1146
1126
|
};
|
1147
1127
|
</pre>
|
1148
1128
|
<p>
|
1149
|
-
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1129
|
+
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> structure is used to store strings
|
1150
1130
|
of glyphs with geometry and visual attribute information.
|
1151
1131
|
The storage for the glyph information is owned
|
1152
1132
|
by the structure which simplifies memory management.
|
1153
1133
|
</p>
|
1154
|
-
<div class="variablelist"><table border="0">
|
1155
|
-
<col align="left" valign="top">
|
1156
|
-
<tbody>
|
1157
|
-
<tr>
|
1158
|
-
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="PangoGlyphString.num-glyphs"></a>num_glyphs</code></em>;</span></p></td>
|
1159
|
-
<td>the number of glyphs in the string.
|
1160
|
-
</td>
|
1161
|
-
</tr>
|
1162
|
-
<tr>
|
1163
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> *<em class="structfield"><code><a name="PangoGlyphString.glyphs"></a>glyphs</code></em>;</span></p></td>
|
1164
|
-
<td>an array of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structures of length <em class="structfield"><code>num_glyphs</code></em>.
|
1165
|
-
</td>
|
1166
|
-
</tr>
|
1167
|
-
<tr>
|
1168
|
-
<td><p><span class="term"><span class="type">gint</span> *<em class="structfield"><code><a name="PangoGlyphString.log-clusters"></a>log_clusters</code></em>;</span></p></td>
|
1169
|
-
<td>for each glyph, byte index of the starting character for the
|
1170
|
-
cluster. The indices are relative to the start of the text
|
1171
|
-
corresponding to the PangoGlyphString.
|
1172
|
-
</td>
|
1173
|
-
</tr>
|
1174
|
-
</tbody>
|
1175
|
-
</table></div>
|
1176
1134
|
</div>
|
1177
1135
|
<hr>
|
1178
1136
|
<div class="refsect2">
|
1179
|
-
<a name="PangoGlyphItem"></a><h3>struct PangoGlyphItem</h3>
|
1137
|
+
<a name="PangoGlyphItem-struct"></a><h3>struct PangoGlyphItem</h3>
|
1180
1138
|
<pre class="programlisting">struct PangoGlyphItem {
|
1181
1139
|
PangoItem *item;
|
1182
1140
|
PangoGlyphString *glyphs;
|
1183
1141
|
};
|
1184
1142
|
</pre>
|
1185
1143
|
<p>
|
1186
|
-
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1144
|
+
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> is a pair of a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> and the glyphs
|
1187
1145
|
resulting from shaping the text corresponding to an item.
|
1188
|
-
As an example of the usage of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1189
|
-
of shaping text with <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is a list of <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"
|
1190
|
-
each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1146
|
+
As an example of the usage of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, the results
|
1147
|
+
of shaping text with <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is a list of <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>,
|
1148
|
+
each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
|
1191
1149
|
</p>
|
1192
|
-
<div class="variablelist"><table border="0">
|
1193
|
-
<col align="left" valign="top">
|
1194
|
-
<tbody>
|
1195
|
-
<tr>
|
1196
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a> *<em class="structfield"><code><a name="PangoGlyphItem.item"></a>item</code></em>;</span></p></td>
|
1197
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a> structure that provides information
|
1198
|
-
about a segment of text.
|
1199
|
-
</td>
|
1200
|
-
</tr>
|
1201
|
-
<tr>
|
1202
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *<em class="structfield"><code><a name="PangoGlyphItem.glyphs"></a>glyphs</code></em>;</span></p></td>
|
1203
|
-
<td>the glyphs obtained by shaping the text
|
1204
|
-
corresponding to <em class="parameter"><code>item</code></em>.
|
1205
|
-
</td>
|
1206
|
-
</tr>
|
1207
|
-
</tbody>
|
1208
|
-
</table></div>
|
1209
1150
|
</div>
|
1210
1151
|
<hr>
|
1211
1152
|
<div class="refsect2">
|
1212
|
-
<a name="PangoGlyphItemIter"></a><h3>struct PangoGlyphItemIter</h3>
|
1153
|
+
<a name="PangoGlyphItemIter-struct"></a><h3>struct PangoGlyphItemIter</h3>
|
1213
1154
|
<pre class="programlisting">struct PangoGlyphItemIter {
|
1214
1155
|
PangoGlyphItem *glyph_item;
|
1215
1156
|
const gchar *text;
|
@@ -1224,8 +1165,8 @@ each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#
|
|
1224
1165
|
};
|
1225
1166
|
</pre>
|
1226
1167
|
<p>
|
1227
|
-
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1228
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1168
|
+
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> is an iterator over the clusters in a
|
1169
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>. The <em class="firstterm">forward direction</em> of the
|
1229
1170
|
iterator is the logical direction of text. That is, with increasing
|
1230
1171
|
<em class="parameter"><code>start_index</code></em> and <em class="parameter"><code>start_char</code></em> values. If <em class="parameter"><code>glyph_item</code></em> is right-to-left
|
1231
1172
|
(that is, if <code class="literal"><em class="parameter"><code>glyph_item->item->analysis.level</code></em></code> is odd),
|
@@ -1258,53 +1199,8 @@ index into <em class="parameter"><code>text</code></em>. The <em class="paramet
|
|
1258
1199
|
values however are zero-based for the <em class="parameter"><code>glyph_item</code></em>. For each cluster, the
|
1259
1200
|
item pointed at by the start variables is included in the cluster while
|
1260
1201
|
the one pointed at by end variables is not.
|
1261
|
-
None of the members of a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1202
|
+
None of the members of a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> should be modified manually.
|
1262
1203
|
</p>
|
1263
|
-
<div class="variablelist"><table border="0">
|
1264
|
-
<col align="left" valign="top">
|
1265
|
-
<tbody>
|
1266
|
-
<tr>
|
1267
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *<em class="structfield"><code><a name="PangoGlyphItemIter.glyph-item"></a>glyph_item</code></em>;</span></p></td>
|
1268
|
-
<td>the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> this iterator iterates over
|
1269
|
-
</td>
|
1270
|
-
</tr>
|
1271
|
-
<tr>
|
1272
|
-
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="PangoGlyphItemIter.text"></a>text</code></em>;</span></p></td>
|
1273
|
-
<td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em> refers to
|
1274
|
-
</td>
|
1275
|
-
</tr>
|
1276
|
-
<tr>
|
1277
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoGlyphItemIter.start-glyph"></a>start_glyph</code></em>;</span></p></td>
|
1278
|
-
<td>starting glyph of the cluster
|
1279
|
-
</td>
|
1280
|
-
</tr>
|
1281
|
-
<tr>
|
1282
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoGlyphItemIter.start-index"></a>start_index</code></em>;</span></p></td>
|
1283
|
-
<td>starting text index of the cluster
|
1284
|
-
</td>
|
1285
|
-
</tr>
|
1286
|
-
<tr>
|
1287
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoGlyphItemIter.start-char"></a>start_char</code></em>;</span></p></td>
|
1288
|
-
<td>starting number of characters of the cluster
|
1289
|
-
</td>
|
1290
|
-
</tr>
|
1291
|
-
<tr>
|
1292
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoGlyphItemIter.end-glyph"></a>end_glyph</code></em>;</span></p></td>
|
1293
|
-
<td>ending glyph of the cluster
|
1294
|
-
</td>
|
1295
|
-
</tr>
|
1296
|
-
<tr>
|
1297
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoGlyphItemIter.end-index"></a>end_index</code></em>;</span></p></td>
|
1298
|
-
<td>ending text index of the cluster
|
1299
|
-
</td>
|
1300
|
-
</tr>
|
1301
|
-
<tr>
|
1302
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoGlyphItemIter.end-char"></a>end_char</code></em>;</span></p></td>
|
1303
|
-
<td>ending number of characters of the cluster
|
1304
|
-
</td>
|
1305
|
-
</tr>
|
1306
|
-
</tbody>
|
1307
|
-
</table></div>
|
1308
1204
|
<p class="since">Since 1.22</p>
|
1309
1205
|
</div>
|
1310
1206
|
<hr>
|
@@ -1313,30 +1209,29 @@ None of the members of a <a class="link" href="pango-Glyph-Storage.html#PangoGly
|
|
1313
1209
|
<pre class="programlisting">#define PANGO_TYPE_GLYPH_STRING (pango_glyph_string_get_type ())
|
1314
1210
|
</pre>
|
1315
1211
|
<p>
|
1316
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1212
|
+
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-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
|
1317
1213
|
</p>
|
1318
1214
|
</div>
|
1319
1215
|
<hr>
|
1320
1216
|
<div class="refsect2">
|
1321
1217
|
<a name="pango-glyph-string-new"></a><h3>pango_glyph_string_new ()</h3>
|
1322
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1218
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * pango_glyph_string_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1323
1219
|
<p>
|
1324
|
-
Create a new <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1220
|
+
Create a new <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
|
1325
1221
|
</p>
|
1326
1222
|
<div class="variablelist"><table border="0">
|
1327
1223
|
<col align="left" valign="top">
|
1328
1224
|
<tbody><tr>
|
1329
1225
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1330
|
-
<td>
|
1331
|
-
|
1332
|
-
</td>
|
1226
|
+
<td>the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
|
1227
|
+
should be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()"><code class="function">pango_glyph_string_free()</code></a>.</td>
|
1333
1228
|
</tr></tbody>
|
1334
1229
|
</table></div>
|
1335
1230
|
</div>
|
1336
1231
|
<hr>
|
1337
1232
|
<div class="refsect2">
|
1338
1233
|
<a name="pango-glyph-string-copy"></a><h3>pango_glyph_string_copy ()</h3>
|
1339
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1234
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * pango_glyph_string_copy (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
|
1340
1235
|
<p>
|
1341
1236
|
Copy a glyph string and associated storage.
|
1342
1237
|
</p>
|
@@ -1345,15 +1240,14 @@ Copy a glyph string and associated storage.
|
|
1345
1240
|
<tbody>
|
1346
1241
|
<tr>
|
1347
1242
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1348
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1243
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1349
1244
|
</td>
|
1350
1245
|
</tr>
|
1351
1246
|
<tr>
|
1352
1247
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1353
|
-
<td>
|
1354
|
-
|
1355
|
-
|
1356
|
-
</td>
|
1248
|
+
<td>the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
|
1249
|
+
should be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()"><code class="function">pango_glyph_string_free()</code></a>,
|
1250
|
+
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>string</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1357
1251
|
</tr>
|
1358
1252
|
</tbody>
|
1359
1253
|
</table></div>
|
@@ -1361,8 +1255,8 @@ Copy a glyph string and associated storage.
|
|
1361
1255
|
<hr>
|
1362
1256
|
<div class="refsect2">
|
1363
1257
|
<a name="pango-glyph-string-set-size"></a><h3>pango_glyph_string_set_size ()</h3>
|
1364
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_set_size (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1365
|
-
<em class="parameter"><code><span class="type">gint</span> new_len</code></em>);</pre>
|
1258
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_set_size (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
|
1259
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> new_len</code></em>);</pre>
|
1366
1260
|
<p>
|
1367
1261
|
Resize a glyph string to the given length.
|
1368
1262
|
</p>
|
@@ -1371,13 +1265,11 @@ Resize a glyph string to the given length.
|
|
1371
1265
|
<tbody>
|
1372
1266
|
<tr>
|
1373
1267
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1374
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1375
|
-
</td>
|
1268
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>.</td>
|
1376
1269
|
</tr>
|
1377
1270
|
<tr>
|
1378
1271
|
<td><p><span class="term"><em class="parameter"><code>new_len</code></em> :</span></p></td>
|
1379
|
-
<td>the new length of the string
|
1380
|
-
</td>
|
1272
|
+
<td>the new length of the string.</td>
|
1381
1273
|
</tr>
|
1382
1274
|
</tbody>
|
1383
1275
|
</table></div>
|
@@ -1385,7 +1277,7 @@ Resize a glyph string to the given length.
|
|
1385
1277
|
<hr>
|
1386
1278
|
<div class="refsect2">
|
1387
1279
|
<a name="pango-glyph-string-free"></a><h3>pango_glyph_string_free ()</h3>
|
1388
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1280
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
|
1389
1281
|
<p>
|
1390
1282
|
Free a glyph string and associated storage.
|
1391
1283
|
</p>
|
@@ -1393,7 +1285,7 @@ Free a glyph string and associated storage.
|
|
1393
1285
|
<col align="left" valign="top">
|
1394
1286
|
<tbody><tr>
|
1395
1287
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1396
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1288
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1397
1289
|
</td>
|
1398
1290
|
</tr></tbody>
|
1399
1291
|
</table></div>
|
@@ -1401,7 +1293,7 @@ Free a glyph string and associated storage.
|
|
1401
1293
|
<hr>
|
1402
1294
|
<div class="refsect2">
|
1403
1295
|
<a name="pango-glyph-string-extents"></a><h3>pango_glyph_string_extents ()</h3>
|
1404
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1296
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1405
1297
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1406
1298
|
<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>,
|
1407
1299
|
<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>
|
@@ -1415,7 +1307,7 @@ of the rectangles.
|
|
1415
1307
|
<tbody>
|
1416
1308
|
<tr>
|
1417
1309
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1418
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1310
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1419
1311
|
</td>
|
1420
1312
|
</tr>
|
1421
1313
|
<tr>
|
@@ -1425,14 +1317,14 @@ of the rectangles.
|
|
1425
1317
|
</tr>
|
1426
1318
|
<tr>
|
1427
1319
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1428
|
-
<td>rectangle used to store the extents of the glyph string
|
1429
|
-
|
1320
|
+
<td>rectangle used to store the extents of the glyph string
|
1321
|
+
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 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>
|
1430
1322
|
</td>
|
1431
1323
|
</tr>
|
1432
1324
|
<tr>
|
1433
1325
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1434
|
-
<td>rectangle used to store the logical extents of the
|
1435
|
-
|
1326
|
+
<td>rectangle used to store the logical extents of the
|
1327
|
+
glyph string 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 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>
|
1436
1328
|
</td>
|
1437
1329
|
</tr>
|
1438
1330
|
</tbody>
|
@@ -1441,7 +1333,7 @@ of the rectangles.
|
|
1441
1333
|
<hr>
|
1442
1334
|
<div class="refsect2">
|
1443
1335
|
<a name="pango-glyph-string-extents-range"></a><h3>pango_glyph_string_extents_range ()</h3>
|
1444
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents_range (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1336
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents_range (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1445
1337
|
<em class="parameter"><code><span class="type">int</span> start</code></em>,
|
1446
1338
|
<em class="parameter"><code><span class="type">int</span> end</code></em>,
|
1447
1339
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
@@ -1458,19 +1350,17 @@ glyph string).
|
|
1458
1350
|
<tbody>
|
1459
1351
|
<tr>
|
1460
1352
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1461
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1353
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1462
1354
|
</td>
|
1463
1355
|
</tr>
|
1464
1356
|
<tr>
|
1465
1357
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
1466
|
-
<td>start index
|
1467
|
-
</td>
|
1358
|
+
<td>start index</td>
|
1468
1359
|
</tr>
|
1469
1360
|
<tr>
|
1470
1361
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
1471
1362
|
<td>end index (the range is the set of bytes with
|
1472
|
-
|
1473
|
-
</td>
|
1363
|
+
indices such that start <= index < end)</td>
|
1474
1364
|
</tr>
|
1475
1365
|
<tr>
|
1476
1366
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -1480,14 +1370,12 @@ glyph string).
|
|
1480
1370
|
<tr>
|
1481
1371
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1482
1372
|
<td>rectangle used to store the extents of the glyph string range as drawn
|
1483
|
-
|
1484
|
-
</td>
|
1373
|
+
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 not needed.</td>
|
1485
1374
|
</tr>
|
1486
1375
|
<tr>
|
1487
1376
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1488
1377
|
<td>rectangle used to store the logical extents of the glyph string range
|
1489
|
-
|
1490
|
-
</td>
|
1378
|
+
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 not needed.</td>
|
1491
1379
|
</tr>
|
1492
1380
|
</tbody>
|
1493
1381
|
</table></div>
|
@@ -1495,7 +1383,7 @@ glyph string).
|
|
1495
1383
|
<hr>
|
1496
1384
|
<div class="refsect2">
|
1497
1385
|
<a name="pango-glyph-string-get-width"></a><h3>pango_glyph_string_get_width ()</h3>
|
1498
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_glyph_string_get_width (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1386
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_glyph_string_get_width (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1499
1387
|
<p>
|
1500
1388
|
Computes the logical width of the glyph string as can also be computed
|
1501
1389
|
using <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents" title="pango_glyph_string_extents ()"><code class="function">pango_glyph_string_extents()</code></a>. However, since this only computes the
|
@@ -1507,14 +1395,12 @@ computes the sum of geometry.width for each glyph in the <em class="parameter"><
|
|
1507
1395
|
<tbody>
|
1508
1396
|
<tr>
|
1509
1397
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1510
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1398
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1511
1399
|
</td>
|
1512
1400
|
</tr>
|
1513
1401
|
<tr>
|
1514
1402
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1515
|
-
<td>
|
1516
|
-
|
1517
|
-
</td>
|
1403
|
+
<td>the logical width of the glyph string.</td>
|
1518
1404
|
</tr>
|
1519
1405
|
</tbody>
|
1520
1406
|
</table></div>
|
@@ -1523,12 +1409,12 @@ computes the sum of geometry.width for each glyph in the <em class="parameter"><
|
|
1523
1409
|
<hr>
|
1524
1410
|
<div class="refsect2">
|
1525
1411
|
<a name="pango-glyph-string-index-to-x"></a><h3>pango_glyph_string_index_to_x ()</h3>
|
1526
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_index_to_x (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1412
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_index_to_x (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1527
1413
|
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
1528
1414
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1529
1415
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1530
1416
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
1531
|
-
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
1417
|
+
<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>,
|
1532
1418
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
1533
1419
|
<p>
|
1534
1420
|
Converts from character position to x position. (X position
|
@@ -1545,13 +1431,11 @@ are computed by dividing up each cluster into equal portions.
|
|
1545
1431
|
</tr>
|
1546
1432
|
<tr>
|
1547
1433
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1548
|
-
<td>the text for the run
|
1549
|
-
</td>
|
1434
|
+
<td>the text for the run</td>
|
1550
1435
|
</tr>
|
1551
1436
|
<tr>
|
1552
1437
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1553
|
-
<td>the number of bytes (not characters) in <em class="parameter"><code>text</code></em
|
1554
|
-
</td>
|
1438
|
+
<td>the number of bytes (not characters) in <em class="parameter"><code>text</code></em>.</td>
|
1555
1439
|
</tr>
|
1556
1440
|
<tr>
|
1557
1441
|
<td><p><span class="term"><em class="parameter"><code>analysis</code></em> :</span></p></td>
|
@@ -1565,14 +1449,12 @@ are computed by dividing up each cluster into equal portions.
|
|
1565
1449
|
</tr>
|
1566
1450
|
<tr>
|
1567
1451
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
1568
|
-
<td>whether we should compute the result for the beginning (<code class="literal">FALSE</code>)
|
1569
|
-
|
1570
|
-
</td>
|
1452
|
+
<td>whether we should compute the result for the beginning (<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>)
|
1453
|
+
or end (<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>) of the character.</td>
|
1571
1454
|
</tr>
|
1572
1455
|
<tr>
|
1573
1456
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
1574
|
-
<td>location to store result
|
1575
|
-
</td>
|
1457
|
+
<td>location to store result</td>
|
1576
1458
|
</tr>
|
1577
1459
|
</tbody>
|
1578
1460
|
</table></div>
|
@@ -1580,7 +1462,7 @@ are computed by dividing up each cluster into equal portions.
|
|
1580
1462
|
<hr>
|
1581
1463
|
<div class="refsect2">
|
1582
1464
|
<a name="pango-glyph-string-x-to-index"></a><h3>pango_glyph_string_x_to_index ()</h3>
|
1583
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_x_to_index (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1465
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_x_to_index (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1584
1466
|
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
1585
1467
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1586
1468
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
@@ -1605,13 +1487,11 @@ attributes for the text to compute the valid cursor position.
|
|
1605
1487
|
</tr>
|
1606
1488
|
<tr>
|
1607
1489
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1608
|
-
<td>the text for the run
|
1609
|
-
</td>
|
1490
|
+
<td>the text for the run</td>
|
1610
1491
|
</tr>
|
1611
1492
|
<tr>
|
1612
1493
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1613
|
-
<td>the number of bytes (not characters) in text
|
1614
|
-
</td>
|
1494
|
+
<td>the number of bytes (not characters) in text.</td>
|
1615
1495
|
</tr>
|
1616
1496
|
<tr>
|
1617
1497
|
<td><p><span class="term"><em class="parameter"><code>analysis</code></em> :</span></p></td>
|
@@ -1620,8 +1500,7 @@ attributes for the text to compute the valid cursor position.
|
|
1620
1500
|
</tr>
|
1621
1501
|
<tr>
|
1622
1502
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
1623
|
-
<td>the x offset (in Pango units)
|
1624
|
-
</td>
|
1503
|
+
<td>the x offset (in Pango units)</td>
|
1625
1504
|
</tr>
|
1626
1505
|
<tr>
|
1627
1506
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
@@ -1631,9 +1510,8 @@ attributes for the text to compute the valid cursor position.
|
|
1631
1510
|
<tr>
|
1632
1511
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
1633
1512
|
<td>location to store a boolean indicating
|
1634
|
-
|
1635
|
-
|
1636
|
-
</td>
|
1513
|
+
whether the user clicked on the leading or trailing
|
1514
|
+
edge of the character.</td>
|
1637
1515
|
</tr>
|
1638
1516
|
</tbody>
|
1639
1517
|
</table></div>
|
@@ -1642,13 +1520,13 @@ attributes for the text to compute the valid cursor position.
|
|
1642
1520
|
<div class="refsect2">
|
1643
1521
|
<a name="pango-glyph-string-get-logical-widths"></a><h3>pango_glyph_string_get_logical_widths ()</h3>
|
1644
1522
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_get_logical_widths
|
1645
|
-
(<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1523
|
+
(<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1646
1524
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1647
1525
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1648
1526
|
<em class="parameter"><code><span class="type">int</span> embedding_level</code></em>,
|
1649
1527
|
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);</pre>
|
1650
1528
|
<p>
|
1651
|
-
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1529
|
+
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> resulting from <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a> and the corresponding
|
1652
1530
|
text, determine the screen width corresponding to each character. When
|
1653
1531
|
multiple characters compose a single cluster, the width of the entire
|
1654
1532
|
cluster is divided equally among the characters.
|
@@ -1661,31 +1539,27 @@ See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-log
|
|
1661
1539
|
<tbody>
|
1662
1540
|
<tr>
|
1663
1541
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1664
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1542
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1665
1543
|
</td>
|
1666
1544
|
</tr>
|
1667
1545
|
<tr>
|
1668
1546
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1669
|
-
<td>the text corresponding to the glyphs
|
1670
|
-
</td>
|
1547
|
+
<td>the text corresponding to the glyphs</td>
|
1671
1548
|
</tr>
|
1672
1549
|
<tr>
|
1673
1550
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1674
|
-
<td>the length of <em class="parameter"><code>text</code></em>, in bytes
|
1675
|
-
</td>
|
1551
|
+
<td>the length of <em class="parameter"><code>text</code></em>, in bytes</td>
|
1676
1552
|
</tr>
|
1677
1553
|
<tr>
|
1678
1554
|
<td><p><span class="term"><em class="parameter"><code>embedding_level</code></em> :</span></p></td>
|
1679
|
-
<td>the embedding level of the string
|
1680
|
-
</td>
|
1555
|
+
<td>the embedding level of the string</td>
|
1681
1556
|
</tr>
|
1682
1557
|
<tr>
|
1683
1558
|
<td><p><span class="term"><em class="parameter"><code>logical_widths</code></em> :</span></p></td>
|
1684
1559
|
<td>an array whose length is the number of characters in
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
</td>
|
1560
|
+
text (equal to g_utf8_strlen (text, length) unless
|
1561
|
+
text has NUL bytes)
|
1562
|
+
to be filled in with the resulting character widths.</td>
|
1689
1563
|
</tr>
|
1690
1564
|
</tbody>
|
1691
1565
|
</table></div>
|
@@ -1696,32 +1570,30 @@ See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-log
|
|
1696
1570
|
<pre class="programlisting">#define PANGO_TYPE_GLYPH_ITEM (pango_glyph_item_get_type ())
|
1697
1571
|
</pre>
|
1698
1572
|
<p>
|
1699
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1573
|
+
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-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
|
1700
1574
|
</p>
|
1701
1575
|
<p class="since">Since 1.20</p>
|
1702
1576
|
</div>
|
1703
1577
|
<hr>
|
1704
1578
|
<div class="refsect2">
|
1705
1579
|
<a name="pango-glyph-item-copy"></a><h3>pango_glyph_item_copy ()</h3>
|
1706
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1580
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * pango_glyph_item_copy (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);</pre>
|
1707
1581
|
<p>
|
1708
|
-
Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1582
|
+
Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> structure.
|
1709
1583
|
</p>
|
1710
1584
|
<div class="variablelist"><table border="0">
|
1711
1585
|
<col align="left" valign="top">
|
1712
1586
|
<tbody>
|
1713
1587
|
<tr>
|
1714
1588
|
<td><p><span class="term"><em class="parameter"><code>orig</code></em> :</span></p></td>
|
1715
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1589
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1716
1590
|
</td>
|
1717
1591
|
</tr>
|
1718
1592
|
<tr>
|
1719
1593
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1720
|
-
<td>
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
</td>
|
1594
|
+
<td>the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, which should
|
1595
|
+
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()"><code class="function">pango_glyph_item_free()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1596
|
+
if <em class="parameter"><code>orig</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1725
1597
|
</tr>
|
1726
1598
|
</tbody>
|
1727
1599
|
</table></div>
|
@@ -1730,15 +1602,15 @@ Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#P
|
|
1730
1602
|
<hr>
|
1731
1603
|
<div class="refsect2">
|
1732
1604
|
<a name="pango-glyph-item-free"></a><h3>pango_glyph_item_free ()</h3>
|
1733
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1605
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
|
1734
1606
|
<p>
|
1735
|
-
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1607
|
+
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and resources to which it points.
|
1736
1608
|
</p>
|
1737
1609
|
<div class="variablelist"><table border="0">
|
1738
1610
|
<col align="left" valign="top">
|
1739
1611
|
<tbody><tr>
|
1740
1612
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1741
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1613
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1742
1614
|
</td>
|
1743
1615
|
</tr></tbody>
|
1744
1616
|
</table></div>
|
@@ -1747,7 +1619,7 @@ Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="st
|
|
1747
1619
|
<hr>
|
1748
1620
|
<div class="refsect2">
|
1749
1621
|
<a name="pango-glyph-item-split"></a><h3>pango_glyph_item_split ()</h3>
|
1750
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1622
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * pango_glyph_item_split (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
|
1751
1623
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1752
1624
|
<em class="parameter"><code><span class="type">int</span> split_index</code></em>);</pre>
|
1753
1625
|
<p>
|
@@ -1768,26 +1640,22 @@ it internally.)
|
|
1768
1640
|
<tbody>
|
1769
1641
|
<tr>
|
1770
1642
|
<td><p><span class="term"><em class="parameter"><code>orig</code></em> :</span></p></td>
|
1771
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem"
|
1643
|
+
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>
|
1772
1644
|
</td>
|
1773
1645
|
</tr>
|
1774
1646
|
<tr>
|
1775
1647
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1776
|
-
<td>text to which positions in <em class="parameter"><code>orig</code></em> apply
|
1777
|
-
</td>
|
1648
|
+
<td>text to which positions in <em class="parameter"><code>orig</code></em> apply</td>
|
1778
1649
|
</tr>
|
1779
1650
|
<tr>
|
1780
1651
|
<td><p><span class="term"><em class="parameter"><code>split_index</code></em> :</span></p></td>
|
1781
|
-
<td>byte index of position to split item, relative to the start of the item
|
1782
|
-
</td>
|
1652
|
+
<td>byte index of position to split item, relative to the start of the item</td>
|
1783
1653
|
</tr>
|
1784
1654
|
<tr>
|
1785
1655
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1786
|
-
<td>
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1790
|
-
</td>
|
1656
|
+
<td>the newly allocated item representing text before
|
1657
|
+
<em class="parameter"><code>split_index</code></em>, which should be freed
|
1658
|
+
with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()"><code class="function">pango_glyph_item_free()</code></a>.</td>
|
1791
1659
|
</tr>
|
1792
1660
|
</tbody>
|
1793
1661
|
</table></div>
|
@@ -1796,9 +1664,9 @@ it internally.)
|
|
1796
1664
|
<hr>
|
1797
1665
|
<div class="refsect2">
|
1798
1666
|
<a name="pango-glyph-item-apply-attrs"></a><h3>pango_glyph_item_apply_attrs ()</h3>
|
1799
|
-
<pre class="programlisting"><span class="returnvalue">GSList</span> * pango_glyph_item_apply_attrs (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1667
|
+
<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_glyph_item_apply_attrs (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1800
1668
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1801
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1669
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
1802
1670
|
<p>
|
1803
1671
|
Splits a shaped item (PangoGlyphItem) into multiple items based
|
1804
1672
|
on an attribute list. The idea is that if you have attributes
|
@@ -1824,25 +1692,22 @@ as one of the elements in the list.
|
|
1824
1692
|
<tbody>
|
1825
1693
|
<tr>
|
1826
1694
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1827
|
-
<td>a shaped item
|
1828
|
-
</td>
|
1695
|
+
<td>a shaped item</td>
|
1829
1696
|
</tr>
|
1830
1697
|
<tr>
|
1831
1698
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1832
|
-
<td>text that <em class="parameter"><code>list</code></em> applies to
|
1833
|
-
</td>
|
1699
|
+
<td>text that <em class="parameter"><code>list</code></em> applies to</td>
|
1834
1700
|
</tr>
|
1835
1701
|
<tr>
|
1836
1702
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1837
|
-
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"
|
1703
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>
|
1838
1704
|
</td>
|
1839
1705
|
</tr>
|
1840
1706
|
<tr>
|
1841
1707
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1842
|
-
<td>
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1708
|
+
<td>a list of glyph items resulting
|
1709
|
+
from splitting <em class="parameter"><code>glyph_item</code></em>. Free the elements using
|
1710
|
+
<a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()"><code class="function">pango_glyph_item_free()</code></a>, the list using <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
1846
1711
|
</td>
|
1847
1712
|
</tr>
|
1848
1713
|
</tbody>
|
@@ -1852,7 +1717,7 @@ as one of the elements in the list.
|
|
1852
1717
|
<hr>
|
1853
1718
|
<div class="refsect2">
|
1854
1719
|
<a name="pango-glyph-item-letter-space"></a><h3>pango_glyph_item_letter_space ()</h3>
|
1855
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_letter_space (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1720
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_letter_space (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1856
1721
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1857
1722
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *log_attrs</code></em>,
|
1858
1723
|
<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);</pre>
|
@@ -1865,29 +1730,26 @@ give the effect of typographic letter spacing.
|
|
1865
1730
|
<tbody>
|
1866
1731
|
<tr>
|
1867
1732
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1868
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1733
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
1869
1734
|
</td>
|
1870
1735
|
</tr>
|
1871
1736
|
<tr>
|
1872
1737
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1873
1738
|
<td>text that <em class="parameter"><code>glyph_item</code></em> corresponds to
|
1874
|
-
|
1875
|
-
|
1876
|
-
</td>
|
1739
|
+
(glyph_item->item->offset is an offset from the
|
1740
|
+
start of <em class="parameter"><code>text</code></em>)</td>
|
1877
1741
|
</tr>
|
1878
1742
|
<tr>
|
1879
1743
|
<td><p><span class="term"><em class="parameter"><code>log_attrs</code></em> :</span></p></td>
|
1880
1744
|
<td>logical attributes for the item (the
|
1881
|
-
|
1882
|
-
|
1883
|
-
</td>
|
1745
|
+
first logical attribute refers to the position
|
1746
|
+
before the first character in the item)</td>
|
1884
1747
|
</tr>
|
1885
1748
|
<tr>
|
1886
1749
|
<td><p><span class="term"><em class="parameter"><code>letter_spacing</code></em> :</span></p></td>
|
1887
1750
|
<td>amount of letter spacing to add
|
1888
|
-
|
1889
|
-
|
1890
|
-
</td>
|
1751
|
+
in Pango units. May be negative, though too large
|
1752
|
+
negative values will give ugly results.</td>
|
1891
1753
|
</tr>
|
1892
1754
|
</tbody>
|
1893
1755
|
</table></div>
|
@@ -1896,11 +1758,11 @@ give the effect of typographic letter spacing.
|
|
1896
1758
|
<hr>
|
1897
1759
|
<div class="refsect2">
|
1898
1760
|
<a name="pango-glyph-item-get-logical-widths"></a><h3>pango_glyph_item_get_logical_widths ()</h3>
|
1899
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_get_logical_widths (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1761
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_get_logical_widths (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1900
1762
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1901
1763
|
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);</pre>
|
1902
1764
|
<p>
|
1903
|
-
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1765
|
+
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and the corresponding
|
1904
1766
|
text, determine the screen width corresponding to each character. When
|
1905
1767
|
multiple characters compose a single cluster, the width of the entire
|
1906
1768
|
cluster is divided equally among the characters.
|
@@ -1913,22 +1775,20 @@ See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-l
|
|
1913
1775
|
<tbody>
|
1914
1776
|
<tr>
|
1915
1777
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1916
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1778
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
1917
1779
|
</td>
|
1918
1780
|
</tr>
|
1919
1781
|
<tr>
|
1920
1782
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1921
1783
|
<td>text that <em class="parameter"><code>glyph_item</code></em> corresponds to
|
1922
|
-
|
1923
|
-
|
1924
|
-
</td>
|
1784
|
+
(glyph_item->item->offset is an offset from the
|
1785
|
+
start of <em class="parameter"><code>text</code></em>)</td>
|
1925
1786
|
</tr>
|
1926
1787
|
<tr>
|
1927
1788
|
<td><p><span class="term"><em class="parameter"><code>logical_widths</code></em> :</span></p></td>
|
1928
1789
|
<td>an array whose length is the number of characters in
|
1929
|
-
|
1930
|
-
|
1931
|
-
</td>
|
1790
|
+
glyph_item (equal to glyph_item->item->num_chars)
|
1791
|
+
to be filled in with the resulting character widths.</td>
|
1932
1792
|
</tr>
|
1933
1793
|
</tbody>
|
1934
1794
|
</table></div>
|
@@ -1940,32 +1800,30 @@ See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-l
|
|
1940
1800
|
<pre class="programlisting">#define PANGO_TYPE_GLYPH_ITEM_ITER (pango_glyph_item_iter_get_type ())
|
1941
1801
|
</pre>
|
1942
1802
|
<p>
|
1943
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1803
|
+
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-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>.
|
1944
1804
|
</p>
|
1945
1805
|
<p class="since">Since 1.22</p>
|
1946
1806
|
</div>
|
1947
1807
|
<hr>
|
1948
1808
|
<div class="refsect2">
|
1949
1809
|
<a name="pango-glyph-item-iter-copy"></a><h3>pango_glyph_item_iter_copy ()</h3>
|
1950
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1810
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="returnvalue">PangoGlyphItemIter</span></a> * pango_glyph_item_iter_copy (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);</pre>
|
1951
1811
|
<p>
|
1952
|
-
Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1812
|
+
Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure.
|
1953
1813
|
</p>
|
1954
1814
|
<div class="variablelist"><table border="0">
|
1955
1815
|
<col align="left" valign="top">
|
1956
1816
|
<tbody>
|
1957
1817
|
<tr>
|
1958
1818
|
<td><p><span class="term"><em class="parameter"><code>orig</code></em> :</span></p></td>
|
1959
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1819
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1960
1820
|
</td>
|
1961
1821
|
</tr>
|
1962
1822
|
<tr>
|
1963
1823
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1964
|
-
<td>
|
1965
|
-
|
1966
|
-
|
1967
|
-
|
1968
|
-
</td>
|
1824
|
+
<td>the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, which should
|
1825
|
+
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-free" title="pango_glyph_item_iter_free ()"><code class="function">pango_glyph_item_iter_free()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1826
|
+
if <em class="parameter"><code>orig</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1969
1827
|
</tr>
|
1970
1828
|
</tbody>
|
1971
1829
|
</table></div>
|
@@ -1974,15 +1832,15 @@ Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.htm
|
|
1974
1832
|
<hr>
|
1975
1833
|
<div class="refsect2">
|
1976
1834
|
<a name="pango-glyph-item-iter-free"></a><h3>pango_glyph_item_iter_free ()</h3>
|
1977
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_iter_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1835
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_iter_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
|
1978
1836
|
<p>
|
1979
|
-
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1837
|
+
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> created by <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-copy" title="pango_glyph_item_iter_copy ()"><code class="function">pango_glyph_item_iter_copy()</code></a>.
|
1980
1838
|
</p>
|
1981
1839
|
<div class="variablelist"><table border="0">
|
1982
1840
|
<col align="left" valign="top">
|
1983
1841
|
<tbody><tr>
|
1984
1842
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1985
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1843
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1986
1844
|
</td>
|
1987
1845
|
</tr></tbody>
|
1988
1846
|
</table></div>
|
@@ -1991,37 +1849,34 @@ Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title
|
|
1991
1849
|
<hr>
|
1992
1850
|
<div class="refsect2">
|
1993
1851
|
<a name="pango-glyph-item-iter-init-start"></a><h3>pango_glyph_item_iter_init_start ()</h3>
|
1994
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_init_start (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1995
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1852
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_glyph_item_iter_init_start (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
1853
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1996
1854
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);</pre>
|
1997
1855
|
<p>
|
1998
|
-
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1856
|
+
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
|
1999
1857
|
first cluster in a glyph item.
|
2000
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1858
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2001
1859
|
</p>
|
2002
1860
|
<div class="variablelist"><table border="0">
|
2003
1861
|
<col align="left" valign="top">
|
2004
1862
|
<tbody>
|
2005
1863
|
<tr>
|
2006
1864
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2007
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1865
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
2008
1866
|
</td>
|
2009
1867
|
</tr>
|
2010
1868
|
<tr>
|
2011
1869
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
2012
|
-
<td>the glyph item to iterate over
|
2013
|
-
</td>
|
1870
|
+
<td>the glyph item to iterate over</td>
|
2014
1871
|
</tr>
|
2015
1872
|
<tr>
|
2016
1873
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
2017
|
-
<td>text corresponding to the glyph item
|
2018
|
-
</td>
|
1874
|
+
<td>text corresponding to the glyph item</td>
|
2019
1875
|
</tr>
|
2020
1876
|
<tr>
|
2021
1877
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2022
|
-
<td>
|
2023
|
-
|
2024
|
-
</td>
|
1878
|
+
<td>
|
1879
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if there are no clusters in the glyph item</td>
|
2025
1880
|
</tr>
|
2026
1881
|
</tbody>
|
2027
1882
|
</table></div>
|
@@ -2030,37 +1885,34 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="st
|
|
2030
1885
|
<hr>
|
2031
1886
|
<div class="refsect2">
|
2032
1887
|
<a name="pango-glyph-item-iter-init-end"></a><h3>pango_glyph_item_iter_init_end ()</h3>
|
2033
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_init_end (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
2034
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"
|
1888
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_glyph_item_iter_init_end (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
1889
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
2035
1890
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);</pre>
|
2036
1891
|
<p>
|
2037
|
-
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1892
|
+
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
|
2038
1893
|
last cluster in a glyph item.
|
2039
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1894
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2040
1895
|
</p>
|
2041
1896
|
<div class="variablelist"><table border="0">
|
2042
1897
|
<col align="left" valign="top">
|
2043
1898
|
<tbody>
|
2044
1899
|
<tr>
|
2045
1900
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2046
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1901
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
2047
1902
|
</td>
|
2048
1903
|
</tr>
|
2049
1904
|
<tr>
|
2050
1905
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
2051
|
-
<td>the glyph item to iterate over
|
2052
|
-
</td>
|
1906
|
+
<td>the glyph item to iterate over</td>
|
2053
1907
|
</tr>
|
2054
1908
|
<tr>
|
2055
1909
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
2056
|
-
<td>text corresponding to the glyph item
|
2057
|
-
</td>
|
1910
|
+
<td>text corresponding to the glyph item</td>
|
2058
1911
|
</tr>
|
2059
1912
|
<tr>
|
2060
1913
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2061
|
-
<td>
|
2062
|
-
|
2063
|
-
</td>
|
1914
|
+
<td>
|
1915
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if there are no clusters in the glyph item</td>
|
2064
1916
|
</tr>
|
2065
1917
|
</tbody>
|
2066
1918
|
</table></div>
|
@@ -2069,25 +1921,24 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="st
|
|
2069
1921
|
<hr>
|
2070
1922
|
<div class="refsect2">
|
2071
1923
|
<a name="pango-glyph-item-iter-next-cluster"></a><h3>pango_glyph_item_iter_next_cluster ()</h3>
|
2072
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_next_cluster (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1924
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_glyph_item_iter_next_cluster (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
|
2073
1925
|
<p>
|
2074
1926
|
Advances the iterator to the next cluster in the glyph item.
|
2075
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1927
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2076
1928
|
</p>
|
2077
1929
|
<div class="variablelist"><table border="0">
|
2078
1930
|
<col align="left" valign="top">
|
2079
1931
|
<tbody>
|
2080
1932
|
<tr>
|
2081
1933
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2082
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1934
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
2083
1935
|
</td>
|
2084
1936
|
</tr>
|
2085
1937
|
<tr>
|
2086
1938
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2087
|
-
<td>
|
2088
|
-
|
2089
|
-
|
2090
|
-
</td>
|
1939
|
+
<td>
|
1940
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the iterator was advanced, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if we were already on the
|
1941
|
+
last cluster.</td>
|
2091
1942
|
</tr>
|
2092
1943
|
</tbody>
|
2093
1944
|
</table></div>
|
@@ -2096,25 +1947,24 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="st
|
|
2096
1947
|
<hr>
|
2097
1948
|
<div class="refsect2">
|
2098
1949
|
<a name="pango-glyph-item-iter-prev-cluster"></a><h3>pango_glyph_item_iter_prev_cluster ()</h3>
|
2099
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_prev_cluster (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1950
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_glyph_item_iter_prev_cluster (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
|
2100
1951
|
<p>
|
2101
1952
|
Moves the iterator to the preceding cluster in the glyph item.
|
2102
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1953
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2103
1954
|
</p>
|
2104
1955
|
<div class="variablelist"><table border="0">
|
2105
1956
|
<col align="left" valign="top">
|
2106
1957
|
<tbody>
|
2107
1958
|
<tr>
|
2108
1959
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2109
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"
|
1960
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
2110
1961
|
</td>
|
2111
1962
|
</tr>
|
2112
1963
|
<tr>
|
2113
1964
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2114
|
-
<td>
|
2115
|
-
|
2116
|
-
|
2117
|
-
</td>
|
1965
|
+
<td>
|
1966
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the iterator was moved, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if we were already on the
|
1967
|
+
first cluster.</td>
|
2118
1968
|
</tr>
|
2119
1969
|
</tbody>
|
2120
1970
|
</table></div>
|
@@ -2124,6 +1974,6 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="st
|
|
2124
1974
|
</div>
|
2125
1975
|
<div class="footer">
|
2126
1976
|
<hr>
|
2127
|
-
Generated by GTK-Doc V1.
|
1977
|
+
Generated by GTK-Doc V1.18</div>
|
2128
1978
|
</body>
|
2129
1979
|
</html>
|