7
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
10
<!-- Generated by Doxygen 1.7.3 -->
10
<!-- Generated by Doxygen 1.7.4 -->
12
12
<div id="titlearea">
13
13
<table cellspacing="0" cellpadding="0">
15
15
<tr style="height: 56px;">
16
16
<td style="padding-left: 0.5em;">
17
<div id="projectname">pangomm <span id="projectnumber">2.28.3</span></div>
17
<div id="projectname">pangomm <span id="projectnumber">2.28.4</span></div>
50
50
<a href="#pro-attribs">Protected Attributes</a> |
51
51
<a href="#related">Related Functions</a> </div>
52
52
<div class="headertitle">
53
<h1>Pango::GlyphString Class Reference</h1> </div>
53
<div class="title">Pango::GlyphString Class Reference</div> </div>
55
55
<div class="contents">
56
56
<!-- doxytag: class="Pango::GlyphString" -->
57
<p>A <a class="el" href="classPango_1_1GlyphString.html" title="A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute informatio...">Pango::GlyphString</a> is used to store strings of glyphs with geometry and visual attribute information. <a href="#_details">More...</a></p>
57
<p>A <a class="el" href="classPango_1_1GlyphString.html" title="A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute informatio...">Pango::GlyphString</a> is used to store strings of glyphs with geometry and visual attribute information. <a href="classPango_1_1GlyphString.html#details">More...</a></p>
58
58
<div class="dynheader">
59
59
Collaboration diagram for Pango::GlyphString:</div>
60
60
<div class="dyncontent">
85
85
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resize a glyph string to the given length. <a href="#a446ec301b0bf0c3d514b59ba510388e8"></a><br/></td></tr>
86
86
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a945c47efcda68e432af2df3d01e997cd">get_extents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& ink_rect, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& logical_rect) const </td></tr>
87
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the logical and ink extents of a glyph string. <a href="#a945c47efcda68e432af2df3d01e997cd"></a><br/></td></tr>
88
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a2f62adbdf08166a47fe7c928bb358d6b">get_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01568.html#gac03aae90e55ed30894f1868b3e9accce">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01568.html#gab0daec6b9463a6746eb35f7d31db6b79">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& ink_rect, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& logical_rect) const </td></tr>
88
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a2f62adbdf08166a47fe7c928bb358d6b">get_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01606.html#gac03aae90e55ed30894f1868b3e9accce">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01606.html#gab0daec6b9463a6746eb35f7d31db6b79">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& ink_rect, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& logical_rect) const </td></tr>
89
89
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the extents of a sub-portion of a glyph string. <a href="#a2f62adbdf08166a47fe7c928bb358d6b"></a><br/></td></tr>
90
90
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a9dc40d79a0ab939aadfc32ecf48cd20b">get_width</a> () const </td></tr>
91
91
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the logical width of the glyph string as can also be computed using extents(). <a href="#a9dc40d79a0ab939aadfc32ecf48cd20b"></a><br/></td></tr>
92
92
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ab0d91082aeae16b939573d8588f30834">get_ink_extents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
93
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the extents of the glyph string as drawn. <a href="#ab0d91082aeae16b939573d8588f30834"></a><br/></td></tr>
94
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#af498e0b501b28fdc3248b05377f196aa">get_ink_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01568.html#gac03aae90e55ed30894f1868b3e9accce">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01568.html#gab0daec6b9463a6746eb35f7d31db6b79">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
94
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#af498e0b501b28fdc3248b05377f196aa">get_ink_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01606.html#gac03aae90e55ed30894f1868b3e9accce">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01606.html#gab0daec6b9463a6746eb35f7d31db6b79">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
95
95
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the extents of a sub-portion of the glyph string as drawn. <a href="#af498e0b501b28fdc3248b05377f196aa"></a><br/></td></tr>
96
96
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a4a5f048d2107d216222a2b820b1200e5">get_logical_extents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
97
97
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the logical extents of a sub-portion of the glyph string. <a href="#a4a5f048d2107d216222a2b820b1200e5"></a><br/></td></tr>
98
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a9e9ad8895efeefeac889be88b259dc06">get_logical_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01568.html#gac03aae90e55ed30894f1868b3e9accce">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01568.html#gab0daec6b9463a6746eb35f7d31db6b79">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
98
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a9e9ad8895efeefeac889be88b259dc06">get_logical_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01606.html#gac03aae90e55ed30894f1868b3e9accce">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01606.html#gab0daec6b9463a6746eb35f7d31db6b79">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
99
99
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the logical extents of a sub-portion of the glyph string. <a href="#a9e9ad8895efeefeac889be88b259dc06"></a><br/></td></tr>
100
100
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a093fb31945a639510d314e990a347cee">get_logical_widths</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text, int embedding_level) const </td></tr>
101
101
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determine the screen width corresponding to each character. <a href="#a093fb31945a639510d314e990a347cee"></a><br/></td></tr>
110
110
<tr><td class="memItemLeft" align="right" valign="top">PangoGlyphString* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a1615a5d9dfe76a4cd662eaffee20d258">gobject_</a></td></tr>
111
111
<tr><td colspan="2"><h2><a name="related"></a>
112
112
Related Functions</h2></td></tr>
113
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
113
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
114
115
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a0411fe6c89083292d10342763912501b">swap</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& lhs, <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& rhs)</td></tr>
115
116
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1GlyphString.html">Pango::GlyphString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a38d43ebbd3017f3c304cec5b0eebc818">wrap</a> (PangoGlyphString* object, bool take_copy=false)</td></tr>
116
117
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a38d43ebbd3017f3c304cec5b0eebc818"></a><br/></td></tr>
118
<hr/><a name="_details"></a><h2>Detailed Description</h2>
119
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
119
120
<div class="textblock"><p>A <a class="el" href="classPango_1_1GlyphString.html" title="A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute informatio...">Pango::GlyphString</a> is used to store strings of glyphs with geometry and visual attribute information. </p>
120
121
<p>It can be measured or drawn to the screen. </p>
121
122
</div><hr/><h2>Constructor & Destructor Documentation</h2>
866
867
<li>pangomm/glyphstring.h</li>
869
<hr class="footer"/><address class="footer"><small>Generated on Tue Sep 27 2011 13:34:23 for pangomm by 
870
<hr class="footer"/><address class="footer"><small>Generated on Wed Oct 26 2011 13:10:53 for pangomm by 
870
871
<a href="http://www.doxygen.org/index.html">
871
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
872
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>