~ubuntu-branches/ubuntu/precise/pango1.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/html/pango-Glyph-Storage.html

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-04-06 12:19:40 UTC
  • mfrom: (1.5.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110406121940-txe505g5c7ly32ig
Tags: 1.28.4-0ubuntu1
* New upstream release
* debian/control:
  - Bump depends on libglib2.0-dev
  - Add Vcs-Bzr link
* debian/patches/00git_gi_annotations.patch:
* debian/patches/01_CVE-2011-0020.patch:
* debian/patches/02_CVE-2011-0064.patch:
  - Applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-UNITS-ROUND:CAPS" title="PANGO_UNITS_ROUND()">PANGO_UNITS_ROUND</a>                   (d)
45
45
<span class="returnvalue">double</span>              <a class="link" href="pango-Glyph-Storage.html#pango-units-to-double" title="pango_units_to_double ()">pango_units_to_double</a>               (<em class="parameter"><code><span class="type">int</span> i</code></em>);
46
46
<span class="returnvalue">int</span>                 <a class="link" href="pango-Glyph-Storage.html#pango-units-from-double" title="pango_units_from_double ()">pango_units_from_double</a>             (<em class="parameter"><code><span class="type">double</span> d</code></em>);
47
 
struct              <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle">PangoRectangle</a>;
 
47
                    <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle">PangoRectangle</a>;
48
48
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-ASCENT:CAPS" title="PANGO_ASCENT()">PANGO_ASCENT</a>                        (rect)
49
49
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-DESCENT:CAPS" title="PANGO_DESCENT()">PANGO_DESCENT</a>                       (rect)
50
50
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-LBEARING:CAPS" title="PANGO_LBEARING()">PANGO_LBEARING</a>                      (rect)
51
51
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-RBEARING:CAPS" title="PANGO_RBEARING()">PANGO_RBEARING</a>                      (rect)
52
 
<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
 
                                                         <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>;
 
52
<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="PangoRectangle"><span class="type">PangoRectangle</span></a> *inclusive</code></em>,
 
53
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *nearest</code></em>);
 
54
                    <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix">PangoMatrix</a>;
55
55
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-MATRIX:CAPS" title="PANGO_TYPE_MATRIX">PANGO_TYPE_MATRIX</a>
56
56
#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" title="struct 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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
57
<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
60
60
                                                         <em class="parameter"><code><span class="type">double</span> tx</code></em>,
61
61
                                                         <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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
63
63
                                                         <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
64
64
                                                         <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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
66
66
                                                         <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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
68
 
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);
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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
68
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
70
70
                                                         <em class="parameter"><code><span class="type">double</span> *x</code></em>,
71
71
                                                         <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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
73
73
                                                         <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
74
74
                                                         <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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
76
 
                                                         <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>);
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
76
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);
77
77
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
79
 
                                                         <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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
 
78
                                                        (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
79
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
81
81
typedef             <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph">PangoGlyph</a>;
82
82
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-EMPTY:CAPS" title="PANGO_GLYPH_EMPTY">PANGO_GLYPH_EMPTY</a>
83
83
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-INVALID-INPUT:CAPS" title="PANGO_GLYPH_INVALID_INPUT">PANGO_GLYPH_INVALID_INPUT</a>
84
84
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-UNKNOWN-FLAG:CAPS" title="PANGO_GLYPH_UNKNOWN_FLAG">PANGO_GLYPH_UNKNOWN_FLAG</a>
85
85
#define             <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()">PANGO_GET_UNKNOWN_GLYPH</a>             (wc)
86
 
struct              <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo">PangoGlyphInfo</a>;
87
 
struct              <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="struct PangoGlyphGeometry">PangoGlyphGeometry</a>;
 
86
                    <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="PangoGlyphInfo">PangoGlyphInfo</a>;
 
87
                    <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="PangoGlyphGeometry">PangoGlyphGeometry</a>;
88
88
typedef             <a class="link" href="pango-Glyph-Storage.html#PangoGlyphUnit" title="PangoGlyphUnit">PangoGlyphUnit</a>;
89
 
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>;
 
89
                    <a class="link" href="pango-Glyph-Storage.html#PangoGlyphVisAttr" title="PangoGlyphVisAttr">PangoGlyphVisAttr</a>;
 
90
                    <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString">PangoGlyphString</a>;
 
91
                    <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem">PangoGlyphItem</a>;
 
92
                    <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter">PangoGlyphItemIter</a>;
93
93
#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" title="struct 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>);
95
 
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct 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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
94
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="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>);
 
95
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
 
97
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
100
100
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
101
 
                                                         <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
 
                                                         <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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
101
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
 
102
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
104
104
                                                         <em class="parameter"><code><span class="type">int</span> start</code></em>,
105
105
                                                         <em class="parameter"><code><span class="type">int</span> end</code></em>,
106
106
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
107
 
                                                         <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
 
                                                         <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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
107
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
 
108
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
111
111
                                                         <em class="parameter"><code><span class="type">char</span> *text</code></em>,
112
112
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
113
 
                                                         <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>,
 
113
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
114
114
                                                         <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>,
 
115
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
116
116
                                                         <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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
118
118
                                                         <em class="parameter"><code><span class="type">char</span> *text</code></em>,
119
119
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
120
 
                                                         <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>,
 
120
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
121
121
                                                         <em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
122
122
                                                         <em class="parameter"><code><span class="type">int</span> *index_</code></em>,
123
123
                                                         <em class="parameter"><code><span class="type">int</span> *trailing</code></em>);
124
124
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
125
                                                        (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
126
126
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
127
127
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
128
128
                                                         <em class="parameter"><code><span class="type">int</span> embedding_level</code></em>,
129
129
                                                         <em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);
130
130
#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" title="struct 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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);
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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);
133
 
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct 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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
 
131
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);
 
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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);
 
133
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
134
134
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
135
135
                                                         <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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
136
<a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
137
137
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
138
138
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
140
140
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
141
141
                                                         <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
142
                                                         <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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
144
144
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
145
145
                                                         <em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);
146
146
#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" title="struct 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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);
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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
150
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
151
 
                                                         <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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
153
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
154
 
                                                         <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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
 
147
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);
 
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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
 
149
<a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
 
150
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
151
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>);
 
152
<a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
 
153
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
154
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>);
 
155
<a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
 
156
<a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
157
157
</pre>
158
158
</div>
159
159
<div class="refsect1">
336
336
</div>
337
337
<hr>
338
338
<div class="refsect2">
339
 
<a name="PangoRectangle"></a><h3>struct PangoRectangle</h3>
340
 
<pre class="programlisting">struct PangoRectangle {
 
339
<a name="PangoRectangle"></a><h3>PangoRectangle</h3>
 
340
<pre class="programlisting">typedef struct {
341
341
  int x;
342
342
  int y;
343
343
  int width;
344
344
  int height;
345
 
};
 
345
} PangoRectangle;
346
346
</pre>
347
347
<p>
348
 
The <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> structure represents a rectangle. It is frequently
 
348
The <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> structure represents a rectangle. It is frequently
349
349
used to represent the logical or ink extents of a single glyph or section
350
350
of text. (See, for instance, <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()"><code class="function">pango_font_get_glyph_extents()</code></a>)
351
351
</p>
381
381
<pre class="programlisting">#define PANGO_ASCENT(rect) (-(rect).y)
382
382
</pre>
383
383
<p>
384
 
Extracts the <em class="firstterm">ascent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
384
Extracts the <em class="firstterm">ascent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
385
385
representing glyph extents. The ascent is the distance from the
386
386
baseline to the highest point of the character. This is positive if the
387
387
glyph ascends above the baseline.
390
390
<col align="left" valign="top">
391
391
<tbody><tr>
392
392
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
393
 
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
393
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
394
394
</td>
395
395
</tr></tbody>
396
396
</table></div>
401
401
<pre class="programlisting">#define PANGO_DESCENT(rect) ((rect).y + (rect).height)
402
402
</pre>
403
403
<p>
404
 
Extracts the <em class="firstterm">descent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
404
Extracts the <em class="firstterm">descent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
405
405
representing glyph extents. The descent is the distance from the
406
406
baseline to the lowest point of the character. This is positive if the
407
407
glyph descends below the baseline.
410
410
<col align="left" valign="top">
411
411
<tbody><tr>
412
412
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
413
 
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
413
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
414
414
</td>
415
415
</tr></tbody>
416
416
</table></div>
421
421
<pre class="programlisting">#define PANGO_LBEARING(rect) ((rect).x)
422
422
</pre>
423
423
<p>
424
 
Extracts the <em class="firstterm">left bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
424
Extracts the <em class="firstterm">left bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
425
425
representing glyph extents. The left bearing is the distance from the
426
426
horizontal origin to the farthest left point of the character.
427
427
This is positive for characters drawn completely to the right of the
431
431
<col align="left" valign="top">
432
432
<tbody><tr>
433
433
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
434
 
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
434
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
435
435
</td>
436
436
</tr></tbody>
437
437
</table></div>
442
442
<pre class="programlisting">#define PANGO_RBEARING(rect) ((rect).x + (rect).width)
443
443
</pre>
444
444
<p>
445
 
Extracts the <em class="firstterm">right bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
445
Extracts the <em class="firstterm">right bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
446
446
representing glyph extents. The right bearing is the distance from the
447
447
horizontal origin to the farthest right point of the character.
448
448
This is positive except for characters drawn completely to the left of the
452
452
<col align="left" valign="top">
453
453
<tbody><tr>
454
454
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
455
 
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
 
455
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
456
456
</td>
457
457
</tr></tbody>
458
458
</table></div>
460
460
<hr>
461
461
<div class="refsect2">
462
462
<a name="pango-extents-to-pixels"></a><h3>pango_extents_to_pixels ()</h3>
463
 
<pre class="programlisting"><span class="returnvalue">void</span>                pango_extents_to_pixels             (<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>,
464
 
                                                         <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>);</pre>
 
463
<pre class="programlisting"><span class="returnvalue">void</span>                pango_extents_to_pixels             (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *inclusive</code></em>,
 
464
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *nearest</code></em>);</pre>
465
465
<p>
466
466
Converts extents from Pango units to device units, dividing by the
467
467
<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> factor and performing rounding.
487
487
<tbody>
488
488
<tr>
489
489
<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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
490
<td>rectangle to round to pixels inclusively, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
491
491
</td>
492
492
</tr>
493
493
<tr>
494
494
<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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
495
<td>rectangle to round to nearest pixels, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
496
496
</td>
497
497
</tr>
498
498
</tbody>
501
501
</div>
502
502
<hr>
503
503
<div class="refsect2">
504
 
<a name="PangoMatrix"></a><h3>struct PangoMatrix</h3>
505
 
<pre class="programlisting">struct PangoMatrix {
 
504
<a name="PangoMatrix"></a><h3>PangoMatrix</h3>
 
505
<pre class="programlisting">typedef struct {
506
506
  double xx;
507
507
  double xy;
508
508
  double yx;
509
509
  double yy;
510
510
  double x0;
511
511
  double y0;
512
 
};
 
512
} PangoMatrix;
513
513
</pre>
514
514
<p>
515
515
A structure specifying a transformation between user-space
567
567
<pre class="programlisting">#define PANGO_TYPE_MATRIX (pango_matrix_get_type ())
568
568
</pre>
569
569
<p>
570
 
The GObject type for <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
 
570
The GObject type for <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>
571
571
</p>
572
572
</div>
573
573
<hr>
587
587
      <tr>
588
588
        <td class="listing_lines" align="right"><pre>1
589
589
2</pre></td>
590
 
        <td class="listing_code"><pre class="programlisting">PangoMatrix matrix = PANGO_MATRIX_INIT;
591
 
pango_matrix_rotate (&amp;matrix, <span class="number">45.</span>);</pre></td>
 
590
        <td class="listing_code"><pre class="programlisting"><span class="type">PangoMatrix</span> matrix = <span class="number">PANGO_MATRIX_INIT</span>;
 
591
<span class="function"><a href="pango-Glyph-Storage.html#pango-matrix-rotate">pango_matrix_rotate</a></span> (&amp;matrix, <span class="number">45.</span>);</pre></td>
592
592
      </tr>
593
593
    </tbody>
594
594
  </table>
601
601
<hr>
602
602
<div class="refsect2">
603
603
<a name="pango-matrix-copy"></a><h3>pango_matrix_copy ()</h3>
604
 
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *       pango_matrix_copy                   (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
 
604
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *       pango_matrix_copy                   (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
605
605
<p>
606
 
Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>.
 
606
Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>.
607
607
</p>
608
608
<div class="variablelist"><table border="0">
609
609
<col align="left" valign="top">
610
610
<tbody>
611
611
<tr>
612
612
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
613
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
614
614
</td>
615
615
</tr>
616
616
<tr>
617
617
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
618
 
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, which should
619
 
              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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
620
 
              <em class="parameter"><code>matrix</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
618
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, which should
 
619
              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="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
620
              <em class="parameter"><code>matrix</code></em> was <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
621
621
 
622
622
</td>
623
623
</tr>
628
628
<hr>
629
629
<div class="refsect2">
630
630
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
632
632
<p>
633
 
Free a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct 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>.
 
633
Free a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="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
634
</p>
635
635
<div class="variablelist"><table border="0">
636
636
<col align="left" valign="top">
637
637
<tbody><tr>
638
638
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
639
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
640
640
</td>
641
641
</tr></tbody>
642
642
</table></div>
645
645
<hr>
646
646
<div class="refsect2">
647
647
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
649
649
                                                         <em class="parameter"><code><span class="type">double</span> tx</code></em>,
650
650
                                                         <em class="parameter"><code><span class="type">double</span> ty</code></em>);</pre>
651
651
<p>
658
658
<tbody>
659
659
<tr>
660
660
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
 
661
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>
662
662
</td>
663
663
</tr>
664
664
<tr>
678
678
<hr>
679
679
<div class="refsect2">
680
680
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
682
682
                                                         <em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
683
683
                                                         <em class="parameter"><code><span class="type">double</span> scale_y</code></em>);</pre>
684
684
<p>
692
692
<tbody>
693
693
<tr>
694
694
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
 
695
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>
696
696
</td>
697
697
</tr>
698
698
<tr>
712
712
<hr>
713
713
<div class="refsect2">
714
714
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
716
716
                                                         <em class="parameter"><code><span class="type">double</span> degrees</code></em>);</pre>
717
717
<p>
718
718
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
724
724
<tbody>
725
725
<tr>
726
726
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
 
727
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>
728
728
</td>
729
729
</tr>
730
730
<tr>
739
739
<hr>
740
740
<div class="refsect2">
741
741
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
743
 
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);</pre>
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
743
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);</pre>
744
744
<p>
745
745
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
746
746
transformation given by first applying transformation
751
751
<tbody>
752
752
<tr>
753
753
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
 
754
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>
755
755
</td>
756
756
</tr>
757
757
<tr>
758
758
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
 
759
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>
760
760
</td>
761
761
</tr>
762
762
</tbody>
766
766
<hr>
767
767
<div class="refsect2">
768
768
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
770
770
                                                         <em class="parameter"><code><span class="type">double</span> *x</code></em>,
771
771
                                                         <em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
772
772
<p>
777
777
<tbody>
778
778
<tr>
779
779
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
780
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
781
781
</td>
782
782
</tr>
783
783
<tr>
797
797
<hr>
798
798
<div class="refsect2">
799
799
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
801
801
                                                         <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
802
802
                                                         <em class="parameter"><code><span class="type">double</span> *dy</code></em>);</pre>
803
803
<p>
825
825
<tbody>
826
826
<tr>
827
827
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
828
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
829
829
</td>
830
830
</tr>
831
831
<tr>
845
845
<hr>
846
846
<div class="refsect2">
847
847
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
849
 
                                                         <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>
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
849
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);</pre>
850
850
<p>
851
851
First transforms <em class="parameter"><code>rect</code></em> using <em class="parameter"><code>matrix</code></em>, then calculates the bounding box
852
852
of the transformed rectangle.  The rectangle should be in Pango units.
875
875
<tbody>
876
876
<tr>
877
877
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
878
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
879
879
</td>
880
880
</tr>
881
881
<tr>
882
882
<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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
883
<td>in/out bounding box in Pango units, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
884
884
</td>
885
885
</tr>
886
886
</tbody>
891
891
<div class="refsect2">
892
892
<a name="pango-matrix-transform-pixel-rectangle"></a><h3>pango_matrix_transform_pixel_rectangle ()</h3>
893
893
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
895
 
                                                         <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>
 
894
                                                        (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
 
895
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);</pre>
896
896
<p>
897
897
First transforms the <em class="parameter"><code>rect</code></em> using <em class="parameter"><code>matrix</code></em>, then calculates the bounding box
898
898
of the transformed rectangle.  The rectangle should be in device units
913
913
<tbody>
914
914
<tr>
915
915
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
916
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
917
917
</td>
918
918
</tr>
919
919
<tr>
920
920
<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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
921
<td>in/out bounding box in device units, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
922
922
</td>
923
923
</tr>
924
924
</tbody>
928
928
<hr>
929
929
<div class="refsect2">
930
930
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
 
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" title="PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
932
932
<p>
933
933
Returns the scale factor of a matrix on the height of the font.
934
934
That is, the scale factor in the direction perpendicular to the
939
939
<tbody>
940
940
<tr>
941
941
<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" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
942
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
943
943
</td>
944
944
</tr>
945
945
<tr>
946
946
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
947
947
<td> the scale factor of <em class="parameter"><code>matrix</code></em> on the height of the font,
948
 
or 1.0 if <em class="parameter"><code>matrix</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
948
or 1.0 if <em class="parameter"><code>matrix</code></em> is <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
949
949
 
950
950
</td>
951
951
</tr>
996
996
</pre>
997
997
<p>
998
998
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>.
 
999
a <a href="/home/behdad/.local/share/gtk-doc/html/glib/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>
 
1000
value, representing an unknown-character glyph for the respective <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a>.
1001
1001
</p>
1002
1002
</div>
1003
1003
<hr>
1022
1022
</div>
1023
1023
<hr>
1024
1024
<div class="refsect2">
1025
 
<a name="PangoGlyphInfo"></a><h3>struct PangoGlyphInfo</h3>
1026
 
<pre class="programlisting">struct PangoGlyphInfo {
 
1025
<a name="PangoGlyphInfo"></a><h3>PangoGlyphInfo</h3>
 
1026
<pre class="programlisting">typedef struct {
1027
1027
  PangoGlyph    glyph;
1028
1028
  PangoGlyphGeometry geometry;
1029
1029
  PangoGlyphVisAttr  attr;
1030
 
};
 
1030
} PangoGlyphInfo;
1031
1031
</pre>
1032
1032
<p>
1033
 
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structure represents a single glyph together with
 
1033
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structure represents a single glyph together with
1034
1034
positioning information and visual attributes.
1035
1035
It contains the following fields.
1036
1036
</p>
1043
1043
</td>
1044
1044
</tr>
1045
1045
<tr>
1046
 
<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>
 
1046
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.geometry"></a>geometry</code></em>;</span></p></td>
1047
1047
<td>the positional information about the glyph.
1048
1048
</td>
1049
1049
</tr>
1050
1050
<tr>
1051
 
<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>
 
1051
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphVisAttr" title="PangoGlyphVisAttr"><span class="type">PangoGlyphVisAttr</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.attr"></a>attr</code></em>;</span></p></td>
1052
1052
<td>the visual attributes of the glyph.
1053
1053
</td>
1054
1054
</tr>
1057
1057
</div>
1058
1058
<hr>
1059
1059
<div class="refsect2">
1060
 
<a name="PangoGlyphGeometry"></a><h3>struct PangoGlyphGeometry</h3>
1061
 
<pre class="programlisting">struct PangoGlyphGeometry {
 
1060
<a name="PangoGlyphGeometry"></a><h3>PangoGlyphGeometry</h3>
 
1061
<pre class="programlisting">typedef struct {
1062
1062
  PangoGlyphUnit width;
1063
1063
  PangoGlyphUnit x_offset;
1064
1064
  PangoGlyphUnit y_offset;
1065
 
};
 
1065
} PangoGlyphGeometry;
1066
1066
</pre>
1067
1067
<p>
1068
 
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="struct PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> structure contains width and positioning
 
1068
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> structure contains width and positioning
1069
1069
information for a single glyph.
1070
1070
</p>
1071
1071
<div class="variablelist"><table border="0">
1106
1106
</div>
1107
1107
<hr>
1108
1108
<div class="refsect2">
1109
 
<a name="PangoGlyphVisAttr"></a><h3>struct PangoGlyphVisAttr</h3>
1110
 
<pre class="programlisting">struct PangoGlyphVisAttr {
 
1109
<a name="PangoGlyphVisAttr"></a><h3>PangoGlyphVisAttr</h3>
 
1110
<pre class="programlisting">typedef struct {
1111
1111
  guint is_cluster_start : 1;
1112
 
};
 
1112
} PangoGlyphVisAttr;
1113
1113
</pre>
1114
1114
<p>
1115
1115
The PangoGlyphVisAttr is used to communicate information between
1119
1119
<div class="variablelist"><table border="0">
1120
1120
<col align="left" valign="top">
1121
1121
<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>
 
1122
<td><p><span class="term"><a href="/home/behdad/.local/share/gtk-doc/html/glib/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
1123
<td>set for the first logical glyph in each cluster. (Clusters
1124
1124
                   are stored in visual order, within the cluster, glyphs
1125
1125
                   are always ordered in logical order, since visual
1131
1131
</div>
1132
1132
<hr>
1133
1133
<div class="refsect2">
1134
 
<a name="PangoGlyphString"></a><h3>struct PangoGlyphString</h3>
1135
 
<pre class="programlisting">struct PangoGlyphString {
 
1134
<a name="PangoGlyphString"></a><h3>PangoGlyphString</h3>
 
1135
<pre class="programlisting">typedef struct {
1136
1136
  gint num_glyphs;
1137
1137
 
1138
1138
  PangoGlyphInfo *glyphs;
1143
1143
   * which the glyph belongs.
1144
1144
   */
1145
1145
  gint *log_clusters;
1146
 
};
 
1146
} PangoGlyphString;
1147
1147
</pre>
1148
1148
<p>
1149
 
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> structure is used to store strings
 
1149
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> structure is used to store strings
1150
1150
of glyphs with geometry and visual attribute information.
1151
1151
The storage for the glyph information is owned
1152
1152
by the structure which simplifies memory management.
1155
1155
<col align="left" valign="top">
1156
1156
<tbody>
1157
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>
 
1158
<td><p><span class="term"><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="PangoGlyphString.num-glyphs"></a>num_glyphs</code></em>;</span></p></td>
1159
1159
<td>the number of glyphs in the string.
1160
1160
</td>
1161
1161
</tr>
1162
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>.
 
1163
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="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="PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structures of length <em class="structfield"><code>num_glyphs</code></em>.
1165
1165
</td>
1166
1166
</tr>
1167
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>
 
1168
<td><p><span class="term"><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *<em class="structfield"><code><a name="PangoGlyphString.log-clusters"></a>log_clusters</code></em>;</span></p></td>
1169
1169
<td>for each glyph, byte index of the starting character for the
1170
1170
cluster. The indices are relative to the start of the text
1171
1171
corresponding to the PangoGlyphString.
1176
1176
</div>
1177
1177
<hr>
1178
1178
<div class="refsect2">
1179
 
<a name="PangoGlyphItem"></a><h3>struct PangoGlyphItem</h3>
1180
 
<pre class="programlisting">struct PangoGlyphItem {
 
1179
<a name="PangoGlyphItem"></a><h3>PangoGlyphItem</h3>
 
1180
<pre class="programlisting">typedef struct {
1181
1181
  PangoItem        *item;
1182
1182
  PangoGlyphString *glyphs;
1183
 
};
 
1183
} PangoGlyphItem;
1184
1184
</pre>
1185
1185
<p>
1186
 
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> is a pair of a <a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a> and the glyphs
 
1186
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> is a pair of a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> and the glyphs
1187
1187
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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, the results
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" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>,
1190
 
each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
 
1188
As an example of the usage of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, the results
 
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" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>,
 
1190
each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
1191
1191
</p>
1192
1192
<div class="variablelist"><table border="0">
1193
1193
<col align="left" valign="top">
1194
1194
<tbody>
1195
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
 
1196
<td><p><span class="term"><a class="link" href="pango-Text-Processing.html#PangoItem" title="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="PangoItem"><span class="type">PangoItem</span></a> structure that provides information
1198
1198
       about a segment of text.
1199
1199
</td>
1200
1200
</tr>
1201
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>
 
1202
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *<em class="structfield"><code><a name="PangoGlyphItem.glyphs"></a>glyphs</code></em>;</span></p></td>
1203
1203
<td>the glyphs obtained by shaping the text
1204
1204
         corresponding to <em class="parameter"><code>item</code></em>.
1205
1205
</td>
1209
1209
</div>
1210
1210
<hr>
1211
1211
<div class="refsect2">
1212
 
<a name="PangoGlyphItemIter"></a><h3>struct PangoGlyphItemIter</h3>
1213
 
<pre class="programlisting">struct PangoGlyphItemIter {
 
1212
<a name="PangoGlyphItemIter"></a><h3>PangoGlyphItemIter</h3>
 
1213
<pre class="programlisting">typedef struct {
1214
1214
  PangoGlyphItem *glyph_item;
1215
1215
  const gchar *text;
1216
1216
 
1221
1221
  int end_glyph;
1222
1222
  int end_index;
1223
1223
  int end_char;
1224
 
};
 
1224
} PangoGlyphItemIter;
1225
1225
</pre>
1226
1226
<p>
1227
 
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> is an iterator over the clusters in a
1228
 
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.  The <em class="firstterm">forward direction</em> of the
 
1227
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> is an iterator over the clusters in a
 
1228
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.  The <em class="firstterm">forward direction</em> of the
1229
1229
iterator is the logical direction of text.  That is, with increasing
1230
1230
<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
1231
(that is, if <code class="literal"><em class="parameter"><code>glyph_item-&gt;item-&gt;analysis.level</code></em></code> is odd),
1258
1258
values however are zero-based for the <em class="parameter"><code>glyph_item</code></em>.  For each cluster, the
1259
1259
item pointed at by the start variables is included in the cluster while
1260
1260
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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> should be modified manually.
 
1261
None of the members of a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> should be modified manually.
1262
1262
</p>
1263
1263
<div class="variablelist"><table border="0">
1264
1264
<col align="left" valign="top">
1265
1265
<tbody>
1266
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
 
1267
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="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="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> this iterator iterates over
1269
1269
</td>
1270
1270
</tr>
1271
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>
 
1272
<td><p><span class="term">const <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="PangoGlyphItemIter.text"></a>text</code></em>;</span></p></td>
1273
1273
<td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em> refers to
1274
1274
</td>
1275
1275
</tr>
1313
1313
<pre class="programlisting">#define PANGO_TYPE_GLYPH_STRING (pango_glyph_string_get_type ())
1314
1314
</pre>
1315
1315
<p>
1316
 
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
 
1316
The <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
1317
1317
</p>
1318
1318
</div>
1319
1319
<hr>
1320
1320
<div class="refsect2">
1321
1321
<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" title="struct PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> *  pango_glyph_string_new              (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
1322
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> *  pango_glyph_string_new              (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1323
1323
<p>
1324
 
Create a new <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
 
1324
Create a new <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
1325
1325
</p>
1326
1326
<div class="variablelist"><table border="0">
1327
1327
<col align="left" valign="top">
1328
1328
<tbody><tr>
1329
1329
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1330
 
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
 
1330
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
1331
1331
              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>.
1332
1332
</td>
1333
1333
</tr></tbody>
1336
1336
<hr>
1337
1337
<div class="refsect2">
1338
1338
<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" title="struct PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> *  pango_glyph_string_copy             (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
 
1339
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> *  pango_glyph_string_copy             (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
1340
1340
<p>
1341
1341
Copy a glyph string and associated storage.
1342
1342
</p>
1345
1345
<tbody>
1346
1346
<tr>
1347
1347
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
1348
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1349
1349
</td>
1350
1350
</tr>
1351
1351
<tr>
1352
1352
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1353
 
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
 
1353
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
1354
1354
              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>,
1355
 
              or <a href="/gnome/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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
1355
              or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>string</code></em> was <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1356
1356
</td>
1357
1357
</tr>
1358
1358
</tbody>
1361
1361
<hr>
1362
1362
<div class="refsect2">
1363
1363
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
1365
 
                                                         <em class="parameter"><code><span class="type">gint</span> new_len</code></em>);</pre>
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
 
1365
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> new_len</code></em>);</pre>
1366
1366
<p>
1367
1367
Resize a glyph string to the given length.
1368
1368
</p>
1371
1371
<tbody>
1372
1372
<tr>
1373
1373
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
 
1374
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
1375
1375
</td>
1376
1376
</tr>
1377
1377
<tr>
1385
1385
<hr>
1386
1386
<div class="refsect2">
1387
1387
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
1389
1389
<p>
1390
1390
Free a glyph string and associated storage.
1391
1391
</p>
1393
1393
<col align="left" valign="top">
1394
1394
<tbody><tr>
1395
1395
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
1396
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1397
1397
</td>
1398
1398
</tr></tbody>
1399
1399
</table></div>
1401
1401
<hr>
1402
1402
<div class="refsect2">
1403
1403
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
1405
1405
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
1406
 
                                                         <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
 
                                                         <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>
 
1406
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
 
1407
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
1408
1408
<p>
1409
1409
Compute the logical and ink extents of a glyph string. See the documentation
1410
1410
for <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()"><code class="function">pango_font_get_glyph_extents()</code></a> for details about the interpretation
1415
1415
<tbody>
1416
1416
<tr>
1417
1417
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
 
1418
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>
1419
1419
</td>
1420
1420
</tr>
1421
1421
<tr>
1426
1426
<tr>
1427
1427
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
1428
1428
<td>rectangle used to store the extents of the glyph string as drawn
1429
 
           or <a href="/gnome/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.
 
1429
           or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
1430
1430
</td>
1431
1431
</tr>
1432
1432
<tr>
1433
1433
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
1434
1434
<td>rectangle used to store the logical extents of the glyph string
1435
 
           or <a href="/gnome/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.
 
1435
           or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
1436
1436
</td>
1437
1437
</tr>
1438
1438
</tbody>
1441
1441
<hr>
1442
1442
<div class="refsect2">
1443
1443
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
1445
1445
                                                         <em class="parameter"><code><span class="type">int</span> start</code></em>,
1446
1446
                                                         <em class="parameter"><code><span class="type">int</span> end</code></em>,
1447
1447
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
1448
 
                                                         <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>,
1449
 
                                                         <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>
 
1448
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
 
1449
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
1450
1450
<p>
1451
1451
Computes the extents of a sub-portion of a glyph string. The extents are
1452
1452
relative to the start of the glyph string range (the origin of their
1458
1458
<tbody>
1459
1459
<tr>
1460
1460
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
 
1461
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>
1462
1462
</td>
1463
1463
</tr>
1464
1464
<tr>
1480
1480
<tr>
1481
1481
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
1482
1482
<td>rectangle used to store the extents of the glyph string range as drawn
1483
 
           or <a href="/gnome/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.
 
1483
           or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
1484
1484
</td>
1485
1485
</tr>
1486
1486
<tr>
1487
1487
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
1488
1488
<td>rectangle used to store the logical extents of the glyph string range
1489
 
           or <a href="/gnome/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.
 
1489
           or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
1490
1490
</td>
1491
1491
</tr>
1492
1492
</tbody>
1495
1495
<hr>
1496
1496
<div class="refsect2">
1497
1497
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
1499
1499
<p>
1500
1500
Computes the logical width of the glyph string as can also be computed
1501
1501
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
1507
<tbody>
1508
1508
<tr>
1509
1509
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
 
1510
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>
1511
1511
</td>
1512
1512
</tr>
1513
1513
<tr>
1523
1523
<hr>
1524
1524
<div class="refsect2">
1525
1525
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
1527
1527
                                                         <em class="parameter"><code><span class="type">char</span> *text</code></em>,
1528
1528
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
1529
 
                                                         <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>,
 
1529
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
1530
1530
                                                         <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>,
 
1531
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
1532
1532
                                                         <em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
1533
1533
<p>
1534
1534
Converts from character position to x position. (X position
1565
1565
</tr>
1566
1566
<tr>
1567
1567
<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
 
            or end (<code class="literal">TRUE</code>) of the character.
 
1568
<td>whether we should compute the result for the beginning (<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>)
 
1569
            or end (<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>) of the character.
1570
1570
</td>
1571
1571
</tr>
1572
1572
<tr>
1580
1580
<hr>
1581
1581
<div class="refsect2">
1582
1582
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
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" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
1584
1584
                                                         <em class="parameter"><code><span class="type">char</span> *text</code></em>,
1585
1585
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
1586
 
                                                         <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>,
 
1586
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
1587
1587
                                                         <em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
1588
1588
                                                         <em class="parameter"><code><span class="type">int</span> *index_</code></em>,
1589
1589
                                                         <em class="parameter"><code><span class="type">int</span> *trailing</code></em>);</pre>
1642
1642
<div class="refsect2">
1643
1643
<a name="pango-glyph-string-get-logical-widths"></a><h3>pango_glyph_string_get_logical_widths ()</h3>
1644
1644
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
1645
                                                        (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
1646
1646
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
1647
1647
                                                         <em class="parameter"><code><span class="type">int</span> length</code></em>,
1648
1648
                                                         <em class="parameter"><code><span class="type">int</span> embedding_level</code></em>,
1649
1649
                                                         <em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);</pre>
1650
1650
<p>
1651
 
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct 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
 
1651
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="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
1652
text, determine the screen width corresponding to each character. When
1653
1653
multiple characters compose a single cluster, the width of the entire
1654
1654
cluster is divided equally among the characters.
1661
1661
<tbody>
1662
1662
<tr>
1663
1663
<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" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
 
1664
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>
1665
1665
</td>
1666
1666
</tr>
1667
1667
<tr>
1696
1696
<pre class="programlisting">#define PANGO_TYPE_GLYPH_ITEM (pango_glyph_item_get_type ())
1697
1697
</pre>
1698
1698
<p>
1699
 
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
 
1699
The <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
1700
1700
</p>
1701
1701
<p class="since">Since 1.20</p>
1702
1702
</div>
1703
1703
<hr>
1704
1704
<div class="refsect2">
1705
1705
<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" title="struct PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> *    pango_glyph_item_copy               (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);</pre>
 
1706
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> *    pango_glyph_item_copy               (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);</pre>
1707
1707
<p>
1708
 
Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> structure.
 
1708
Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> structure.
1709
1709
</p>
1710
1710
<div class="variablelist"><table border="0">
1711
1711
<col align="left" valign="top">
1712
1712
<tbody>
1713
1713
<tr>
1714
1714
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
1715
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1716
1716
</td>
1717
1717
</tr>
1718
1718
<tr>
1719
1719
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1720
 
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, which should
1721
 
              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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1722
 
              if <em class="parameter"><code>orig</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
1720
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, which should
 
1721
              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="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1722
              if <em class="parameter"><code>orig</code></em> was <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1723
1723
 
1724
1724
</td>
1725
1725
</tr>
1730
1730
<hr>
1731
1731
<div class="refsect2">
1732
1732
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
 
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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
1734
1734
<p>
1735
 
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and resources to which it points.
 
1735
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and resources to which it points.
1736
1736
</p>
1737
1737
<div class="variablelist"><table border="0">
1738
1738
<col align="left" valign="top">
1739
1739
<tbody><tr>
1740
1740
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
1741
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1742
1742
</td>
1743
1743
</tr></tbody>
1744
1744
</table></div>
1747
1747
<hr>
1748
1748
<div class="refsect2">
1749
1749
<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" title="struct PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> *    pango_glyph_item_split              (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
 
1750
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> *    pango_glyph_item_split              (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
1751
1751
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
1752
1752
                                                         <em class="parameter"><code><span class="type">int</span> split_index</code></em>);</pre>
1753
1753
<p>
1768
1768
<tbody>
1769
1769
<tr>
1770
1770
<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" title="struct PangoItem"><span class="type">PangoItem</span></a>
 
1771
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>
1772
1772
</td>
1773
1773
</tr>
1774
1774
<tr>
1796
1796
<hr>
1797
1797
<div class="refsect2">
1798
1798
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
1799
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
1800
1800
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
1801
1801
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
1802
1802
<p>
1841
1841
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1842
1842
<td> a list of glyph items resulting from splitting
1843
1843
  <em class="parameter"><code>glyph_item</code></em>. Free the elements using <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>,
1844
 
  the list using <code class="function">g_slist_free()</code>.
 
1844
  the list using <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>.
1845
1845
 
1846
1846
</td>
1847
1847
</tr>
1852
1852
<hr>
1853
1853
<div class="refsect2">
1854
1854
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
1856
1856
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
1857
1857
                                                         <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
1858
                                                         <em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);</pre>
1865
1865
<tbody>
1866
1866
<tr>
1867
1867
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
 
1868
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
1869
1869
</td>
1870
1870
</tr>
1871
1871
<tr>
1896
1896
<hr>
1897
1897
<div class="refsect2">
1898
1898
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
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" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
1900
1900
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
1901
1901
                                                         <em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);</pre>
1902
1902
<p>
1903
 
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and the corresponding
 
1903
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and the corresponding
1904
1904
text, determine the screen width corresponding to each character. When
1905
1905
multiple characters compose a single cluster, the width of the entire
1906
1906
cluster is divided equally among the characters.
1913
1913
<tbody>
1914
1914
<tr>
1915
1915
<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" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
 
1916
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
1917
1917
</td>
1918
1918
</tr>
1919
1919
<tr>
1940
1940
<pre class="programlisting">#define PANGO_TYPE_GLYPH_ITEM_ITER (pango_glyph_item_iter_get_type ())
1941
1941
</pre>
1942
1942
<p>
1943
 
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>.
 
1943
The <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>.
1944
1944
</p>
1945
1945
<p class="since">Since 1.22</p>
1946
1946
</div>
1947
1947
<hr>
1948
1948
<div class="refsect2">
1949
1949
<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" title="struct 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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);</pre>
 
1950
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);</pre>
1951
1951
<p>
1952
 
Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure.
 
1952
Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure.
1953
1953
</p>
1954
1954
<div class="variablelist"><table border="0">
1955
1955
<col align="left" valign="top">
1956
1956
<tbody>
1957
1957
<tr>
1958
1958
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
1959
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1960
1960
</td>
1961
1961
</tr>
1962
1962
<tr>
1963
1963
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1964
 
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, which should
1965
 
              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="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1966
 
              if <em class="parameter"><code>orig</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
1964
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, which should
 
1965
              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="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1966
              if <em class="parameter"><code>orig</code></em> was <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1967
1967
 
1968
1968
</td>
1969
1969
</tr>
1974
1974
<hr>
1975
1975
<div class="refsect2">
1976
1976
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
 
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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
1978
1978
<p>
1979
 
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct 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>.
 
1979
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="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
1980
</p>
1981
1981
<div class="variablelist"><table border="0">
1982
1982
<col align="left" valign="top">
1983
1983
<tbody><tr>
1984
1984
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
1985
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1986
1986
</td>
1987
1987
</tr></tbody>
1988
1988
</table></div>
1991
1991
<hr>
1992
1992
<div class="refsect2">
1993
1993
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
1995
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
1994
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
 
1995
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
1996
1996
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>);</pre>
1997
1997
<p>
1998
 
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
 
1998
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
1999
1999
first cluster in a glyph item.
2000
 
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
 
2000
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
2001
2001
</p>
2002
2002
<div class="variablelist"><table border="0">
2003
2003
<col align="left" valign="top">
2004
2004
<tbody>
2005
2005
<tr>
2006
2006
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
 
2007
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
2008
2008
</td>
2009
2009
</tr>
2010
2010
<tr>
2019
2019
</tr>
2020
2020
<tr>
2021
2021
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2022
 
<td> <code class="literal">FALSE</code> if there are no clusters in the glyph item
 
2022
<td> <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if there are no clusters in the glyph item
2023
2023
 
2024
2024
</td>
2025
2025
</tr>
2030
2030
<hr>
2031
2031
<div class="refsect2">
2032
2032
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
2034
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
 
2033
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
 
2034
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
2035
2035
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>);</pre>
2036
2036
<p>
2037
 
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
 
2037
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
2038
2038
last cluster in a glyph item.
2039
 
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
 
2039
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
2040
2040
</p>
2041
2041
<div class="variablelist"><table border="0">
2042
2042
<col align="left" valign="top">
2043
2043
<tbody>
2044
2044
<tr>
2045
2045
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
 
2046
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
2047
2047
</td>
2048
2048
</tr>
2049
2049
<tr>
2058
2058
</tr>
2059
2059
<tr>
2060
2060
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2061
 
<td> <code class="literal">FALSE</code> if there are no clusters in the glyph item
 
2061
<td> <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if there are no clusters in the glyph item
2062
2062
 
2063
2063
</td>
2064
2064
</tr>
2069
2069
<hr>
2070
2070
<div class="refsect2">
2071
2071
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
 
2072
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
2073
2073
<p>
2074
2074
Advances the iterator to the next cluster in the glyph item.
2075
 
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
 
2075
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
2076
2076
</p>
2077
2077
<div class="variablelist"><table border="0">
2078
2078
<col align="left" valign="top">
2079
2079
<tbody>
2080
2080
<tr>
2081
2081
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
 
2082
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
2083
2083
</td>
2084
2084
</tr>
2085
2085
<tr>
2086
2086
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2087
 
<td> <code class="literal">TRUE</code> if the iterator was advanced, <code class="literal">FALSE</code> if we were already on the
 
2087
<td> <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the iterator was advanced, <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if we were already on the
2088
2088
 last cluster.
2089
2089
 
2090
2090
</td>
2096
2096
<hr>
2097
2097
<div class="refsect2">
2098
2098
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
 
2099
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/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" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
2100
2100
<p>
2101
2101
Moves the iterator to the preceding cluster in the glyph item.
2102
 
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
 
2102
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
2103
2103
</p>
2104
2104
<div class="variablelist"><table border="0">
2105
2105
<col align="left" valign="top">
2106
2106
<tbody>
2107
2107
<tr>
2108
2108
<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" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
 
2109
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
2110
2110
</td>
2111
2111
</tr>
2112
2112
<tr>
2113
2113
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2114
 
<td> <code class="literal">TRUE</code> if the iterator was moved, <code class="literal">FALSE</code> if we were already on the
 
2114
<td> <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the iterator was moved, <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if we were already on the
2115
2115
 first cluster.
2116
2116
 
2117
2117
</td>