Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>pangomm: Pango::GlyphString Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">pangomm
   &#160;<span id="projectnumber">2.40.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacePango.html">Pango</a></li><li class="navelem"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classPango_1_1GlyphString-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Pango::GlyphString Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<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>

<p><code>#include &lt;pangomm/glyphstring.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac29d6a3ce00449605ff8c6e72fbcca46"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ac29d6a3ce00449605ff8c6e72fbcca46">GlyphString</a> ()</td></tr>
<tr class="separator:ac29d6a3ce00449605ff8c6e72fbcca46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8879d0a1fc961914d2a18bf4ed92c576"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a8879d0a1fc961914d2a18bf4ed92c576">GlyphString</a> (PangoGlyphString* gobject, bool make_a_copy=true)</td></tr>
<tr class="separator:a8879d0a1fc961914d2a18bf4ed92c576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03f6d2972ae4a4259fc119d145479422"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a03f6d2972ae4a4259fc119d145479422">GlyphString</a> (const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp; other)</td></tr>
<tr class="separator:a03f6d2972ae4a4259fc119d145479422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25cbfce685aa2f084ab69f748ee14b62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a25cbfce685aa2f084ab69f748ee14b62">operator=</a> (const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp; other)</td></tr>
<tr class="separator:a25cbfce685aa2f084ab69f748ee14b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6456a0d69a6bb2e6b71988fb363288d8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a6456a0d69a6bb2e6b71988fb363288d8">GlyphString</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:a6456a0d69a6bb2e6b71988fb363288d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25453d45da3c07d40e353c61dd5cab09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a25453d45da3c07d40e353c61dd5cab09">operator=</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:a25453d45da3c07d40e353c61dd5cab09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2af991b12d9dd9b8cb80b3e4a11470ad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a2af991b12d9dd9b8cb80b3e4a11470ad">~GlyphString</a> () noexcept</td></tr>
<tr class="separator:a2af991b12d9dd9b8cb80b3e4a11470ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3523eea50b135aa284f1d3cf2b1048b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#af3523eea50b135aa284f1d3cf2b1048b">swap</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp; other) noexcept</td></tr>
<tr class="separator:af3523eea50b135aa284f1d3cf2b1048b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7e830ec66e6cb9aa330869777aea160"><td class="memItemLeft" align="right" valign="top">PangoGlyphString*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#af7e830ec66e6cb9aa330869777aea160">gobj</a> ()</td></tr>
<tr class="memdesc:af7e830ec66e6cb9aa330869777aea160"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#af7e830ec66e6cb9aa330869777aea160">More...</a><br /></td></tr>
<tr class="separator:af7e830ec66e6cb9aa330869777aea160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4f860a4d37735f5887149ec16d2e6e3"><td class="memItemLeft" align="right" valign="top">const PangoGlyphString*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ad4f860a4d37735f5887149ec16d2e6e3">gobj</a> () const </td></tr>
<tr class="memdesc:ad4f860a4d37735f5887149ec16d2e6e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#ad4f860a4d37735f5887149ec16d2e6e3">More...</a><br /></td></tr>
<tr class="separator:ad4f860a4d37735f5887149ec16d2e6e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b2e13e864bf32139953fef7fc2fd258"><td class="memItemLeft" align="right" valign="top">PangoGlyphString*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a6b2e13e864bf32139953fef7fc2fd258">gobj_copy</a> () const </td></tr>
<tr class="memdesc:a6b2e13e864bf32139953fef7fc2fd258"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.  <a href="#a6b2e13e864bf32139953fef7fc2fd258">More...</a><br /></td></tr>
<tr class="separator:a6b2e13e864bf32139953fef7fc2fd258"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06f9871e9c2793b46c809825baa7295a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a06f9871e9c2793b46c809825baa7295a">GlyphString</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>&amp; text, const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>&amp; analysis)</td></tr>
<tr class="memdesc:a06f9871e9c2793b46c809825baa7295a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a string of glyphs from a string of characters.  <a href="#a06f9871e9c2793b46c809825baa7295a">More...</a><br /></td></tr>
<tr class="separator:a06f9871e9c2793b46c809825baa7295a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a446ec301b0bf0c3d514b59ba510388e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a446ec301b0bf0c3d514b59ba510388e8">set_size</a> (int new_len)</td></tr>
<tr class="memdesc:a446ec301b0bf0c3d514b59ba510388e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resize a glyph string to the given length.  <a href="#a446ec301b0bf0c3d514b59ba510388e8">More...</a><br /></td></tr>
<tr class="separator:a446ec301b0bf0c3d514b59ba510388e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a945c47efcda68e432af2df3d01e997cd"><td class="memItemLeft" align="right" valign="top">void&#160;</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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp; font, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; ink_rect, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; logical_rect) const </td></tr>
<tr class="memdesc:a945c47efcda68e432af2df3d01e997cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the logical and ink extents of a glyph string.  <a href="#a945c47efcda68e432af2df3d01e997cd">More...</a><br /></td></tr>
<tr class="separator:a945c47efcda68e432af2df3d01e997cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f62adbdf08166a47fe7c928bb358d6b"><td class="memItemLeft" align="right" valign="top">void&#160;</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/a01656.html#ga1bd4227a2c4a6cc74342b797384fbab2">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/a01656.html#ga791b934fd29c64f6f220effd72dedfe4">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp; font, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; ink_rect, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; logical_rect) const </td></tr>
<tr class="memdesc:a2f62adbdf08166a47fe7c928bb358d6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the extents of a sub-portion of a glyph string.  <a href="#a2f62adbdf08166a47fe7c928bb358d6b">More...</a><br /></td></tr>
<tr class="separator:a2f62adbdf08166a47fe7c928bb358d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dc40d79a0ab939aadfc32ecf48cd20b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a9dc40d79a0ab939aadfc32ecf48cd20b">get_width</a> () const </td></tr>
<tr class="memdesc:a9dc40d79a0ab939aadfc32ecf48cd20b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the logical width of the glyph string as can also be computed using extents().  <a href="#a9dc40d79a0ab939aadfc32ecf48cd20b">More...</a><br /></td></tr>
<tr class="separator:a9dc40d79a0ab939aadfc32ecf48cd20b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0d91082aeae16b939573d8588f30834"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&#160;</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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp; font) const </td></tr>
<tr class="memdesc:ab0d91082aeae16b939573d8588f30834"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the extents of the glyph string as drawn.  <a href="#ab0d91082aeae16b939573d8588f30834">More...</a><br /></td></tr>
<tr class="separator:ab0d91082aeae16b939573d8588f30834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af498e0b501b28fdc3248b05377f196aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&#160;</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/a01656.html#ga1bd4227a2c4a6cc74342b797384fbab2">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/a01656.html#ga791b934fd29c64f6f220effd72dedfe4">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp; font) const </td></tr>
<tr class="memdesc:af498e0b501b28fdc3248b05377f196aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the extents of a sub-portion of the glyph string as drawn.  <a href="#af498e0b501b28fdc3248b05377f196aa">More...</a><br /></td></tr>
<tr class="separator:af498e0b501b28fdc3248b05377f196aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a5f048d2107d216222a2b820b1200e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&#160;</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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp; font) const </td></tr>
<tr class="memdesc:a4a5f048d2107d216222a2b820b1200e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the logical extents of a sub-portion of the glyph string.  <a href="#a4a5f048d2107d216222a2b820b1200e5">More...</a><br /></td></tr>
<tr class="separator:a4a5f048d2107d216222a2b820b1200e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e9ad8895efeefeac889be88b259dc06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&#160;</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/a01656.html#ga1bd4227a2c4a6cc74342b797384fbab2">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/a01656.html#ga791b934fd29c64f6f220effd72dedfe4">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp; font) const </td></tr>
<tr class="memdesc:a9e9ad8895efeefeac889be88b259dc06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the logical extents of a sub-portion of the glyph string.  <a href="#a9e9ad8895efeefeac889be88b259dc06">More...</a><br /></td></tr>
<tr class="separator:a9e9ad8895efeefeac889be88b259dc06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a093fb31945a639510d314e990a347cee"><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>&lt; int &gt;&#160;</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>&amp; text, int embedding_level) const </td></tr>
<tr class="memdesc:a093fb31945a639510d314e990a347cee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the screen width corresponding to each character.  <a href="#a093fb31945a639510d314e990a347cee">More...</a><br /></td></tr>
<tr class="separator:a093fb31945a639510d314e990a347cee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c0e3b8f357ac1c3cc090522c8ad69d2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a0c0e3b8f357ac1c3cc090522c8ad69d2">index_to_x</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>&amp; text, const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>&amp; analysis, int index, bool trailing) const </td></tr>
<tr class="memdesc:a0c0e3b8f357ac1c3cc090522c8ad69d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts from character position to x position.  <a href="#a0c0e3b8f357ac1c3cc090522c8ad69d2">More...</a><br /></td></tr>
<tr class="separator:a0c0e3b8f357ac1c3cc090522c8ad69d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac443c47d3718ffd24f3ce2dd7364ddc6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ac443c47d3718ffd24f3ce2dd7364ddc6">x_to_index</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>&amp; text, const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>&amp; analysis, int x_pos, int&amp; index, bool&amp; trailing) const </td></tr>
<tr class="memdesc:ac443c47d3718ffd24f3ce2dd7364ddc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert from x offset to character position.  <a href="#ac443c47d3718ffd24f3ce2dd7364ddc6">More...</a><br /></td></tr>
<tr class="separator:ac443c47d3718ffd24f3ce2dd7364ddc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b817f9587cfe74b59b3df6f5493194f"><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>&lt; <a class="el" href="classPango_1_1GlyphInfo.html">GlyphInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a7b817f9587cfe74b59b3df6f5493194f">get_glyphs</a> () const </td></tr>
<tr class="memdesc:a7b817f9587cfe74b59b3df6f5493194f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gharacter positions are computed by dividing up each cluster into equal portions.  <a href="#a7b817f9587cfe74b59b3df6f5493194f">More...</a><br /></td></tr>
<tr class="separator:a7b817f9587cfe74b59b3df6f5493194f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a245faf2053d231e416d3a5c812e0d6ec"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a245faf2053d231e416d3a5c812e0d6ec">get_type</a> ()</td></tr>
<tr class="memdesc:a245faf2053d231e416d3a5c812e0d6ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#a245faf2053d231e416d3a5c812e0d6ec">More...</a><br /></td></tr>
<tr class="separator:a245faf2053d231e416d3a5c812e0d6ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1615a5d9dfe76a4cd662eaffee20d258"><td class="memItemLeft" align="right" valign="top">PangoGlyphString*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a1615a5d9dfe76a4cd662eaffee20d258">gobject_</a></td></tr>
<tr class="separator:a1615a5d9dfe76a4cd662eaffee20d258"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a7d6dbfa25ef865ba316af86a9067f054"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a7d6dbfa25ef865ba316af86a9067f054">swap</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp; lhs, <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp; rhs) noexcept</td></tr>
<tr class="separator:a7d6dbfa25ef865ba316af86a9067f054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38d43ebbd3017f3c304cec5b0eebc818"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1GlyphString.html">Pango::GlyphString</a>&#160;</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>
<tr class="memdesc:a38d43ebbd3017f3c304cec5b0eebc818"><td class="mdescLeft">&#160;</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">More...</a><br /></td></tr>
<tr class="separator:a38d43ebbd3017f3c304cec5b0eebc818"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<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>
<p>It can be measured or drawn to the screen. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac29d6a3ce00449605ff8c6e72fbcca46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::GlyphString::GlyphString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8879d0a1fc961914d2a18bf4ed92c576"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::GlyphString::GlyphString </td>
          <td>(</td>
          <td class="paramtype">PangoGlyphString *&#160;</td>
          <td class="paramname"><em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>make_a_copy</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a03f6d2972ae4a4259fc119d145479422"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::GlyphString::GlyphString </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6456a0d69a6bb2e6b71988fb363288d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::GlyphString::GlyphString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2af991b12d9dd9b8cb80b3e4a11470ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::GlyphString::~GlyphString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a06f9871e9c2793b46c809825baa7295a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::GlyphString::GlyphString </td>
          <td>(</td>
          <td class="paramtype">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> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>&amp;&#160;</td>
          <td class="paramname"><em>analysis</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a string of glyphs from a string of characters. </p>
<p>Given a segment of text and the corresponding <a class="el" href="classPango_1_1Analysis.html" title="A Pango::Analysis stores information about the properties of a segment of text. ">Pango::Analysis</a> structure returned from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>, convert the characters into glyphs. You may also pass in only a sub-string of the item. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text to process. You must pass the same string into those member functions expecting 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>&amp;. </td></tr>
    <tr><td class="paramname">analysis</td><td>The analysis information return from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a945c47efcda68e432af2df3d01e997cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::GlyphString::get_extents </td>
          <td>(</td>
          <td class="paramtype">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>ink_rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>logical_rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compute the logical and ink extents of a glyph string. </p>
<p>See the documentation for <a class="el" href="classPango_1_1Font.html#a7fc06adf5a1b63a1b97c6b3fe7e417c5" title="Gets the logical and ink extents of a glyph within a font. ">Pango::Font::get_glyph_extents()</a> for details about the interpretation of the rectangles.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
    <tr><td class="paramname">ink_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the extents of the glyph string as drawn. </td></tr>
    <tr><td class="paramname">logical_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the logical extents of the glyph string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2f62adbdf08166a47fe7c928bb358d6b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::GlyphString::get_extents </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>ink_rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>logical_rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the extents of a sub-portion of a glyph string. </p>
<p>The extents are relative to the start of the glyph string range (the origin of their coordinate system is at the start of the range, not at the start of the entire glyph string).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>Start index. </td></tr>
    <tr><td class="paramname">end</td><td>End index (the range is the set of bytes with indices such that start &lt;= index &lt; end). </td></tr>
    <tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
    <tr><td class="paramname">ink_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the extents of the glyph string range as drawn. </td></tr>
    <tr><td class="paramname">logical_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the logical extents of the glyph string range. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7b817f9587cfe74b59b3df6f5493194f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><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>&lt;<a class="el" href="classPango_1_1GlyphInfo.html">GlyphInfo</a>&gt; Pango::GlyphString::get_glyphs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gharacter positions are computed by dividing up each cluster into equal portions. </p>
<dl class="section return"><dt>Returns</dt><dd>An array of <a class="el" href="classPango_1_1GlyphInfo.html" title="A Pango::GlyphInfo represents a single glyph together with positioning information and visual attribu...">Pango::GlyphInfo</a> objects. </dd></dl>

</div>
</div>
<a class="anchor" id="ab0d91082aeae16b939573d8588f30834"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_ink_extents </td>
          <td>(</td>
          <td class="paramtype">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the extents of the glyph string as drawn. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The extents of the glyph string as drawn. </dd></dl>

</div>
</div>
<a class="anchor" id="af498e0b501b28fdc3248b05377f196aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_ink_extents </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the extents of a sub-portion of the glyph string as drawn. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>The start index. </td></tr>
    <tr><td class="paramname">end</td><td>The end index. </td></tr>
    <tr><td class="paramname">font</td><td>A Panog::Font </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The extents of the sub-portion of the glyph string as drawn. </dd></dl>

</div>
</div>
<a class="anchor" id="a4a5f048d2107d216222a2b820b1200e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_logical_extents </td>
          <td>(</td>
          <td class="paramtype">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the logical extents of a sub-portion of the glyph string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The logical extents of the glyph string. </dd></dl>

</div>
</div>
<a class="anchor" id="a9e9ad8895efeefeac889be88b259dc06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_logical_extents </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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>&lt; const <a class="el" href="classPango_1_1Font.html">Font</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the logical extents of a sub-portion of the glyph string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>The start index. </td></tr>
    <tr><td class="paramname">end</td><td>The end index. </td></tr>
    <tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The logical extents of the sub-portion of the glyph string. </dd></dl>

</div>
</div>
<a class="anchor" id="a093fb31945a639510d314e990a347cee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><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>&lt;int&gt; Pango::GlyphString::get_logical_widths </td>
          <td>(</td>
          <td class="paramtype">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> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>embedding_level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine the screen width corresponding to each character. </p>
<p>When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text corresponding to the glyphs. </td></tr>
    <tr><td class="paramname">embedding_level</td><td>The embedding level of the string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of integers representing the resulting character widths. </dd></dl>

</div>
</div>
<a class="anchor" id="a245faf2053d231e416d3a5c812e0d6ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Pango::GlyphString::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="a9dc40d79a0ab939aadfc32ecf48cd20b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::GlyphString::get_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes the logical width of the glyph string as can also be computed using extents(). </p>
<p>However, since this only computes the width, it's much faster. This is in fact only a convenience function that computes the sum of geometry.width for each glyph in the <em>glyphs</em>.</p>
<dl class="since_1_14"><dt><b><a class="el" href="since_1_14.html#_since_1_14000002">Since pangomm 1.14:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The logical width of the glyph string. </dd></dl>

</div>
</div>
<a class="anchor" id="af7e830ec66e6cb9aa330869777aea160"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoGlyphString* Pango::GlyphString::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="ad4f860a4d37735f5887149ec16d2e6e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const PangoGlyphString* Pango::GlyphString::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a6b2e13e864bf32139953fef7fc2fd258"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoGlyphString* Pango::GlyphString::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a0c0e3b8f357ac1c3cc090522c8ad69d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::GlyphString::index_to_x </td>
          <td>(</td>
          <td class="paramtype">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> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>&amp;&#160;</td>
          <td class="paramname"><em>analysis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>trailing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts from character position to x position. </p>
<p>(X position is measured from the left edge of the run). Character positions are computed by dividing up each cluster into equal portions. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text corresponding to the glyphs. </td></tr>
    <tr><td class="paramname">analysis</td><td>The analysis information return from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>. </td></tr>
    <tr><td class="paramname">index</td><td>The byte index within text. </td></tr>
    <tr><td class="paramname">trailing</td><td>Whether we should compute the result for the beginning or end of the character. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The x position. </dd></dl>

</div>
</div>
<a class="anchor" id="a25cbfce685aa2f084ab69f748ee14b62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp; Pango::GlyphString::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a25453d45da3c07d40e353c61dd5cab09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp; Pango::GlyphString::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a446ec301b0bf0c3d514b59ba510388e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::GlyphString::set_size </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>new_len</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resize a glyph string to the given length. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">new_len</td><td>The new length of the string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af3523eea50b135aa284f1d3cf2b1048b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::GlyphString::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac443c47d3718ffd24f3ce2dd7364ddc6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::GlyphString::x_to_index </td>
          <td>(</td>
          <td class="paramtype">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> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>&amp;&#160;</td>
          <td class="paramname"><em>analysis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x_pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>trailing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert from x offset to character position. </p>
<p>Character positions are computed by dividing up each cluster into equal portions. In scripts where positioning within a cluster is not allowed (such as Thai), the returned value may not be a valid cursor position; the caller must combine the result with the logical attributes for the text to compute the valid cursor position. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text corresponding to the glyphs. </td></tr>
    <tr><td class="paramname">analysis</td><td>The analysis information return from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>. </td></tr>
    <tr><td class="paramname">x_pos</td><td>The x offset (in thousands of a device unit). </td></tr>
    <tr><td class="paramname">index</td><td>The location to store calculated byte index within. </td></tr>
    <tr><td class="paramname">trailing</td><td>The location to store a boolean indicating whether the user clicked on the leading or trailing edge of the character. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a7d6dbfa25ef865ba316af86a9067f054"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a38d43ebbd3017f3c304cec5b0eebc818"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1GlyphString.html">Pango::GlyphString</a> wrap </td>
          <td>(</td>
          <td class="paramtype">PangoGlyphString *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>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. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a1615a5d9dfe76a4cd662eaffee20d258"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoGlyphString* Pango::GlyphString::gobject_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Aug 19 2016 15:59:16 for pangomm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>