Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5064bd6ba407d22c90434e813fa71b5d > files > 107

pangomm-doc-2.28.4-4.x86_64.rpm

<!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"/>
<title>pangomm: Pango::Layout Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<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.28.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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_1Layout.html">Layout</a> </li>
    </ul>
  </div>
</div>
<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-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<div class="title">Pango::Layout Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Pango::Layout" --><!-- doxytag: inherits="Glib::Object" -->
<p>A <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> represents an entire paragraph of text.  <a href="classPango_1_1Layout.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Pango::Layout:</div>
<div class="dyncontent">
<div class="center"><img src="classPango_1_1Layout__inherit__graph.png" border="0" usemap="#Pango_1_1Layout_inherit__map" alt="Inheritance graph"/></div>
<map name="Pango_1_1Layout_inherit__map" id="Pango_1_1Layout_inherit__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,166,111,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,86,125,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Pango::Layout:</div>
<div class="dyncontent">
<div class="center"><img src="classPango_1_1Layout__coll__graph.png" border="0" usemap="#Pango_1_1Layout_coll__map" alt="Collaboration graph"/></div>
<map name="Pango_1_1Layout_coll__map" id="Pango_1_1Layout_coll__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,166,111,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,86,125,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,6,119,37"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classPango_1_1Layout-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a162595c83533e0f068f5a6e38ef4757d">~Layout</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoLayout*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a3cf520f31292a32b7bd00fb70c6711fc">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a3cf520f31292a32b7bd00fb70c6711fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const PangoLayout*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ab0f2b726ce4d783fd127aa42de3e255d">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ab0f2b726ce4d783fd127aa42de3e255d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoLayout*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#af2ed59d8031ce7df4b2592fe996bb2be">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#af2ed59d8031ce7df4b2592fe996bb2be"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a6706a92463a0df36eb3f86f8203413d7">update_from_cairo_context</a> (const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt;&amp; context)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the private <a class="el" href="namespacePango.html">Pango</a> <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Context</a> of a <a class="el" href="namespacePango.html">Pango</a> <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Layout</a> created with <a class="el" href="classPango_1_1Layout.html#ae0e8a32e79465fa38d2c59d0cbe482ae" title="Creates a layout object set up to match the current transformation and target surface of the Cairo co...">create(const Cairo::RefPtr&lt;Cairo::Context&gt;&amp;)</a> to match the current transformation and target surface of a <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Context</a>. <a href="#a6706a92463a0df36eb3f86f8203413d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Layout.html">Layout</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a0a01b7f479ddd32145f54ada48f37147">copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Does a deep copy-by-value of the <em>src</em> layout. <a href="#a0a01b7f479ddd32145f54ada48f37147"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Context.html">Context</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a93f926aa835611d1a3d3555271737d0e">get_context</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Pango::Context</a> used for this layout. <a href="#a93f926aa835611d1a3d3555271737d0e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a6b3292c3eff18aa061c4e9a6f5fa8d1a">set_attributes</a> (<a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; attrs)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the text attributes for a layout object. <a href="#a6b3292c3eff18aa061c4e9a6f5fa8d1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a0d71716a2760d1f70810712aff139b9d">get_attributes</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the attribute list for the layout, if any. <a href="#a0d71716a2760d1f70810712aff139b9d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a981012a0af40936591f8d39aa169a6fd">set_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the text of the layout. <a href="#a981012a0af40936591f8d39aa169a6fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#afe9e63119d19a3f9c6c786495137bc4a">get_text</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the text in the layout. <a href="#afe9e63119d19a3f9c6c786495137bc4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#af49842ef1724ac0e7a8afcb860e6bb1f">set_markup</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; markup)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the layout text and attribute list from marked-up text (see markup format). <a href="#af49842ef1724ac0e7a8afcb860e6bb1f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a466e0638cb285d7a38fe6ee79267bd89">set_markup</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; markup, gunichar accel_marker, gunichar&amp; accel_char)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the layout text and attribute list from marked-up text (see markup format). <a href="#a466e0638cb285d7a38fe6ee79267bd89"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ac2193bc15c036f7322da333ddddef4be">set_font_description</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; desc)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the default font description for the layout. <a href="#ac2193bc15c036f7322da333ddddef4be"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ad808c80347d1a4b9d9d5836b6c92e4d0">unset_font_description</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a35294f71c289402beeffaa72b277c93e">get_font_description</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the font description for the layout, if any. <a href="#a35294f71c289402beeffaa72b277c93e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#abb0b47950f32da332d6043c9de9b2b07">set_width</a> (int width)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the width to which the lines of the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> should wrap or ellipsized. <a href="#abb0b47950f32da332d6043c9de9b2b07"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ab91e3097bcbff2882f2341cf35338dd2">get_width</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the width to which the lines of the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> should wrap. <a href="#ab91e3097bcbff2882f2341cf35338dd2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a70af01986a0a16fe1b2d29297949a161">set_height</a> (int height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the height to which the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> should be ellipsized at. <a href="#a70af01986a0a16fe1b2d29297949a161"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ad744e2727889fa2fbf7adbd78429fe0e">get_height</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the height of layout used for ellipsization. <a href="#ad744e2727889fa2fbf7adbd78429fe0e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#acf55858919f4dffd56f41d936f9d3bfb">set_wrap</a> (<a class="el" href="group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">WrapMode</a> wrap)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the wrap mode; the wrap mode only has effect if a width is set on the layout with <a class="el" href="classPango_1_1Layout.html#abb0b47950f32da332d6043c9de9b2b07" title="Sets the width to which the lines of the Pango::Layout should wrap or ellipsized.">set_width()</a>. <a href="#acf55858919f4dffd56f41d936f9d3bfb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">WrapMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a0a3b9c241952bba854750471f91f983e">get_wrap</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the wrap mode for the layout. <a href="#a0a3b9c241952bba854750471f91f983e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#acc23cec27d04c9683e2838c51cf36cbd">is_wrapped</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries whether the layout had to wrap any paragraphs. <a href="#acc23cec27d04c9683e2838c51cf36cbd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ad7e4ea552c0f5d6f3dd3744afde174c6">set_indent</a> (int indent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the width in <a class="el" href="namespacePango.html">Pango</a> units to indent each paragraph. <a href="#ad7e4ea552c0f5d6f3dd3744afde174c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#aaf39e2d8d0473c08d47874dad90262b4">get_indent</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the paragraph indent width in <a class="el" href="namespacePango.html">Pango</a> units. <a href="#aaf39e2d8d0473c08d47874dad90262b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#aa1d2006bc368b82e577f6afa97ae009a">set_spacing</a> (int spacing)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the amount of spacing in <a class="el" href="namespacePango.html">Pango</a> unit between the lines of the layout. <a href="#aa1d2006bc368b82e577f6afa97ae009a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#acda5c0346b9a8de857f99769895a172c">get_spacing</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the amount of spacing between the lines of the layout. <a href="#acda5c0346b9a8de857f99769895a172c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#acd2bc770cfd32ce24c4a1ab8425ae22b">set_justify</a> (bool justify=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether each complete line should be stretched to fill the entire width of the layout. <a href="#acd2bc770cfd32ce24c4a1ab8425ae22b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a3321506b4252dec1eea17e31d6db2c4f">get_justify</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets whether each complete line should be stretched to fill the entire width of the layout. <a href="#a3321506b4252dec1eea17e31d6db2c4f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a77974dec0c584dac925186d69dfd24b3">get_auto_dir</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets whether to calculate the bidirectional base direction for the layout according to the contents of the layout. <a href="#a77974dec0c584dac925186d69dfd24b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ad69dbf5d3c9657f6c5030d0e33afb70f">set_auto_dir</a> (bool auto_dir=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether to calculate the bidirectional base direction for the layout according to the contents of the layout; when this flag is on (the default), then paragraphs in <em>layout</em> that begin with strong right-to-left characters (Arabic and Hebrew principally), will have right-to-left layout, paragraphs with letters from other scripts will have left-to-right layout. <a href="#ad69dbf5d3c9657f6c5030d0e33afb70f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a716f87fa132357a35cc003c349e2dc54">set_alignment</a> (<a class="el" href="group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Alignment</a> alignment)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the alignment for the layout: how partial lines are positioned within the horizontal space available. <a href="#a716f87fa132357a35cc003c349e2dc54"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Alignment</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a336b72587ce6af123db71ebddd975ab5">get_alignment</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the alignment for the layout: how partial lines are positioned within the horizontal space available. <a href="#a336b72587ce6af123db71ebddd975ab5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#abef27924517817fbbf8dd2fc16af153d">set_tabs</a> (<a class="el" href="classPango_1_1TabArray.html">TabArray</a>&amp; tabs)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tabs to use for <em>layout</em>, overriding the default tabs (by default, tabs are every 8 spaces). <a href="#abef27924517817fbbf8dd2fc16af153d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1TabArray.html">TabArray</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#aef4c2311178427785ae176a77808e51f">get_tabs</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current <a class="el" href="classPango_1_1TabArray.html" title="A Pango::TabArray contains an array of tab stops.">Pango::TabArray</a> used by this layout. <a href="#aef4c2311178427785ae176a77808e51f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a2e8b65d80e72b668112dc6e9d242bd30">set_single_paragraph_mode</a> (bool setting=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If <em>setting</em> is <code>true</code>, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. <a href="#a2e8b65d80e72b668112dc6e9d242bd30"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a240e2b2f08a7328a3e411aa9f66d43a4">get_single_paragraph_mode</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the value set by <a class="el" href="classPango_1_1Layout.html#a2e8b65d80e72b668112dc6e9d242bd30" title="If setting is true, do not treat newlines and similar characters as paragraph separators; instead...">set_single_paragraph_mode()</a>. <a href="#a240e2b2f08a7328a3e411aa9f66d43a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#aec7d3c98d1b364b335aae67fa6cb144c">set_ellipsize</a> (<a class="el" href="group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">EllipsizeMode</a> ellipsize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the type of ellipsization being performed for <em>layout</em>. <a href="#aec7d3c98d1b364b335aae67fa6cb144c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">EllipsizeMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#adb91426e44e7f3c788d885d3ec6bdc52">get_ellipsize</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the type of ellipsization being performed for <em>layout</em>. <a href="#adb91426e44e7f3c788d885d3ec6bdc52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#aa4f9979faf774b502095cefafd5c7dd5">is_ellipsized</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries whether the layout had to ellipsize any paragraphs. <a href="#aa4f9979faf774b502095cefafd5c7dd5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a5d471d494007d78a8409bbdf0f1e9616">get_unknown_glyphs_count</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Counts the number unknown glyphs in <em>layout</em>. <a href="#a5d471d494007d78a8409bbdf0f1e9616"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ab78ccca32cb57798beb743ae6778e7a8">context_changed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Forces recomputation of any state in the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> that might depend on the layout's context. <a href="#ab78ccca32cb57798beb743ae6778e7a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="namespacePango.html#ab0b3468a9efcaec7022885d46fd43d09">LogAttr</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a7ebb87d469baffe9bbfe9a0cb2ab9bec">get_log_attrs</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve an array of logical attributes for each character in the layout. <a href="#a7ebb87d469baffe9bbfe9a0cb2ab9bec"></a><br/></td></tr>
<tr><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_1Layout.html#adb188980ffa5191efc3f09db7ed364fb">index_to_pos</a> (int index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert from an index within the layout to the onscreen position corresponding to the grapheme at that index, which is represented as rectangle. <a href="#adb188980ffa5191efc3f09db7ed364fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ab922db9bbe6a863a159d0ad40932145c">index_to_line_x</a> (int index_, bool trailing, int&amp; line, int&amp; x_pos) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts from byte <em>index</em> within the <em>layout</em> to line and X position. <a href="#ab922db9bbe6a863a159d0ad40932145c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ac07d471345f868e9c115af24e93bf4fb">get_cursor_pos</a> (int index, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; strong_pos, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; weak_pos) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given an index within a layout, determines the positions that of the strong and weak cursors if the insertion point is at that index. <a href="#ac07d471345f868e9c115af24e93bf4fb"></a><br/></td></tr>
<tr><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_1Layout.html#ad7da5d1aeec5d9141b572d4a853771d1">get_cursor_strong_pos</a> (int index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given an index within the layout, determine the positions that of the strong cursors if the insertion point is at that index. <a href="#ad7da5d1aeec5d9141b572d4a853771d1"></a><br/></td></tr>
<tr><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_1Layout.html#a1594bf5c94185ad06c3e675e1594b3ef">get_cursor_weak_pos</a> (int index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Given an index within the layout, determine the positions that of the weak cursors if the insertion point is at that index. <a href="#a1594bf5c94185ad06c3e675e1594b3ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#abb90721eddfadabdd10d84b49248284a">move_cursor_visually</a> (bool strong, int old_index, int old_trailing, int direction, int&amp; new_index, int&amp; new_trailing) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a new cursor position from an old position and a count of positions to move visually. <a href="#abb90721eddfadabdd10d84b49248284a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a7281fe2d705ba6f60d8b5d7a04a324f3">xy_to_index</a> (int x, int y, int&amp; index, int&amp; trailing) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts from X and Y position within a layout to the byte index to the character at that logical position. <a href="#a7281fe2d705ba6f60d8b5d7a04a324f3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a7abfd3c4e4e655255923e819426cd47d">get_extents</a> (<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><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the logical and ink extents of <em>layout</em>. <a href="#a7abfd3c4e4e655255923e819426cd47d"></a><br/></td></tr>
<tr><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_1Layout.html#ac9271540fa4663d4cc65bfca1767edf1">get_ink_extents</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the ink extents of layout. <a href="#ac9271540fa4663d4cc65bfca1767edf1"></a><br/></td></tr>
<tr><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_1Layout.html#afeea1e256a22ae1cdb31760572ecee62">get_logical_extents</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the logical extents of layout. <a href="#afeea1e256a22ae1cdb31760572ecee62"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a5aed2806ab714f655b46326a69924e3d">get_pixel_extents</a> (<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><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the logical and ink extents of <em>layout</em> in device units. <a href="#a5aed2806ab714f655b46326a69924e3d"></a><br/></td></tr>
<tr><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_1Layout.html#ab578209672c171c60b2e6bb5ce062570">get_pixel_ink_extents</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the ink extents of the layout in device units. <a href="#ab578209672c171c60b2e6bb5ce062570"></a><br/></td></tr>
<tr><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_1Layout.html#a1b97e487748a9221025c2d76a59d205a">get_pixel_logical_extents</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the logical extents of the layout in device units. <a href="#a1b97e487748a9221025c2d76a59d205a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a568ce34e36d831764f5f66b223bd0f0b">get_size</a> (int&amp; width, int&amp; height) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the logical width and height of a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> in <a class="el" href="namespacePango.html">Pango</a> units (device units scaled by <a class="el" href="namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a>). <a href="#a568ce34e36d831764f5f66b223bd0f0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a655927f6258a67b1dcfea770baee4703">get_pixel_size</a> (int&amp; width, int&amp; height) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the logical width and height of a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> in device units. <a href="#a655927f6258a67b1dcfea770baee4703"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a701fa3a4a90cb9ca00144ad2054dee7b">get_baseline</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Y position of baseline of the first line in <em>layout</em>. <a href="#a701fa3a4a90cb9ca00144ad2054dee7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a0c89a9842b8e814815a4bac25350f8df">get_line_count</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the count of lines for the <em>layout</em>. <a href="#a0c89a9842b8e814815a4bac25350f8df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1LayoutLine.html">LayoutLine</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a5326ffecf052eaed930287f060d7407c">get_line</a> (int line)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a particular line from a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a>. <a href="#a5326ffecf052eaed930287f060d7407c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classPango_1_1LayoutLine.html">LayoutLine</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a23bb10058921b4c7cb9e09477037720b">get_line</a> (int line) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a particular line from a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a>. <a href="#a23bb10058921b4c7cb9e09477037720b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">SListHandle_LayoutLine</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a2c0558852daeeec3bce52b905f4fdb9f">get_lines</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the lines of the <em>layout</em> as a list. <a href="#a2c0558852daeeec3bce52b905f4fdb9f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">SListHandle_ConstLayoutLine</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a1813059dc4f5c95e15618921c2777915">get_lines</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the lines of the <em>layout</em> as a list. <a href="#a1813059dc4f5c95e15618921c2777915"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ab1bc0ca79b30c8f9f08255f9381726d2">get_iter</a> (<a class="el" href="classPango_1_1LayoutIter.html">LayoutIter</a>&amp; iter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an iterator to iterate over the visual extents of the layout. <a href="#ab1bc0ca79b30c8f9f08255f9381726d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1LayoutIter.html">LayoutIter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a646f263f04eadb88db99351e102660a7">get_iter</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an iterator to iterate over the visual extents of the layout. <a href="#a646f263f04eadb88db99351e102660a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a712ff9c7e17b28c9a691992aa072cc4d">add_to_cairo_context</a> (const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt;&amp; context)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the text in this <a class="el" href="classPango_1_1LayoutLine.html" title="A Pango::LayoutLine represents one of the lines resulting from laying out a paragraph via Pango::Layo...">LayoutLine</a> to the current path in the specified <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> <em>context</em>. <a href="#a712ff9c7e17b28c9a691992aa072cc4d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a4594ac585d306b6cf013e640184d5e89">show_in_cairo_context</a> (const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt;&amp; context)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Layout</a> in the specified <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> <em>context</em>. <a href="#a4594ac585d306b6cf013e640184d5e89"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Layout.html">Layout</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a563434509d35cab69c4e85b7549a7bf9">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Context.html">Context</a> &gt;&amp; context)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Layout.html">Layout</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#ae0e8a32e79465fa38d2c59d0cbe482ae">create</a> (const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt;&amp; context)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a layout object set up to match the current transformation and target surface of the <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> context. <a href="#ae0e8a32e79465fa38d2c59d0cbe482ae"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a1886b8440b86d45845e9155e94081d15">Layout</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Context.html">Context</a> &gt;&amp; context)</td></tr>
<tr><td colspan="2"><h2><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><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Layout.html">Pango::Layout</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Layout.html#a2f16e9892cb8734c93056d6089af173b">wrap</a> (PangoLayout* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a2f16e9892cb8734c93056d6089af173b"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> represents an entire paragraph of text. </p>
<p>It is initialized with a <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Pango::Context</a>, UTF-8 string and set of attributes for that string. Once that is done, the set of formatted lines can be extracted from the object, the layout can be rendered, and conversion between logical character positions within the layout's text, and the physical position of the resulting glyphs can be made. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a162595c83533e0f068f5a6e38ef4757d"></a><!-- doxytag: member="Pango::Layout::~Layout" ref="a162595c83533e0f068f5a6e38ef4757d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Pango::Layout::~Layout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1886b8440b86d45845e9155e94081d15"></a><!-- doxytag: member="Pango::Layout::Layout" ref="a1886b8440b86d45845e9155e94081d15" args="(const Glib::RefPtr&lt; Context &gt; &amp;context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Layout::Layout </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Context.html">Context</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a712ff9c7e17b28c9a691992aa072cc4d"></a><!-- doxytag: member="Pango::Layout::add_to_cairo_context" ref="a712ff9c7e17b28c9a691992aa072cc4d" args="(const Cairo::RefPtr&lt; Cairo::Context &gt; &amp;context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::add_to_cairo_context </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds the text in this <a class="el" href="classPango_1_1LayoutLine.html" title="A Pango::LayoutLine represents one of the lines resulting from laying out a paragraph via Pango::Layo...">LayoutLine</a> to the current path in the specified <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> <em>context</em>. </p>
<p>The origin of the glyphs (the left edge of the line) will be at the current point of the cairo context.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> context. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab78ccca32cb57798beb743ae6778e7a8"></a><!-- doxytag: member="Pango::Layout::context_changed" ref="ab78ccca32cb57798beb743ae6778e7a8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::context_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Forces recomputation of any state in the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> that might depend on the layout's context. </p>
<p>This function should be called if you make changes to the context subsequent to creating the layout. </p>

</div>
</div>
<a class="anchor" id="a0a01b7f479ddd32145f54ada48f37147"></a><!-- doxytag: member="Pango::Layout::copy" ref="a0a01b7f479ddd32145f54ada48f37147" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Layout.html">Layout</a>&gt; Pango::Layout::copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Does a deep copy-by-value of the <em>src</em> layout. </p>
<p>The attribute list, tab array, and text from the original layout are all copied by value. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The newly allocated <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a>, with a reference count of one, which should be freed with Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="ae0e8a32e79465fa38d2c59d0cbe482ae"></a><!-- doxytag: member="Pango::Layout::create" ref="ae0e8a32e79465fa38d2c59d0cbe482ae" args="(const Cairo::RefPtr&lt; Cairo::Context &gt; &amp;context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Layout.html">Layout</a>&gt; Pango::Layout::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a layout object set up to match the current transformation and target surface of the <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> context. </p>
<p>This layout can then be used for text measurement with functions like <a class="el" href="classPango_1_1Layout.html#a568ce34e36d831764f5f66b223bd0f0b" title="Determines the logical width and height of a Pango::Layout in Pango units (device units scaled by Pan...">get_size()</a> or drawing with methods like show_in_cairo_contet(). If you change the transformation or target surface for <em>context</em>, you need to call <a class="el" href="classPango_1_1Layout.html#a6706a92463a0df36eb3f86f8203413d7" title="Updates the private Pango Context of a Pango Layout created with create(const Cairo::RefPtr&lt;Cairo::Co...">update_from_cairo_context()</a></p>
<p>This is the most convenient way to use <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> with <a class="el" href="namespacePango.html">Pango</a>. However it is slightly inefficient since it creates a separate <a class="el" href="namespacePango.html">Pango</a> <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Context</a> object for each layout. This might matter in an application that is laying out large amounts of text.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> context. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The newly created <a class="el" href="namespacePango.html">Pango</a> <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Layout</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a563434509d35cab69c4e85b7549a7bf9"></a><!-- doxytag: member="Pango::Layout::create" ref="a563434509d35cab69c4e85b7549a7bf9" args="(const Glib::RefPtr&lt; Context &gt; &amp;context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Layout.html">Layout</a>&gt; Pango::Layout::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Context.html">Context</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a336b72587ce6af123db71ebddd975ab5"></a><!-- doxytag: member="Pango::Layout::get_alignment" ref="a336b72587ce6af123db71ebddd975ab5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Alignment</a> Pango::Layout::get_alignment </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the alignment for the layout: how partial lines are positioned within the horizontal space available. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The alignment. </dd></dl>

</div>
</div>
<a class="anchor" id="a0d71716a2760d1f70810712aff139b9d"></a><!-- doxytag: member="Pango::Layout::get_attributes" ref="a0d71716a2760d1f70810712aff139b9d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1AttrList.html">AttrList</a> Pango::Layout::get_attributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the attribute list for the layout, if any. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">Pango::AttrList</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a77974dec0c584dac925186d69dfd24b3"></a><!-- doxytag: member="Pango::Layout::get_auto_dir" ref="a77974dec0c584dac925186d69dfd24b3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Layout::get_auto_dir </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets whether to calculate the bidirectional base direction for the layout according to the contents of the layout. </p>
<p>See <a class="el" href="classPango_1_1Layout.html#ad69dbf5d3c9657f6c5030d0e33afb70f" title="Sets whether to calculate the bidirectional base direction for the layout according to the contents o...">set_auto_dir()</a>.</p>
<dl class="since_1_4"><dt><b><a class="el" href="since_1_4.html#_since_1_4000003">Since pangomm 1.4:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the bidirectional base direction is computed from the layout's contents, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a701fa3a4a90cb9ca00144ad2054dee7b"></a><!-- doxytag: member="Pango::Layout::get_baseline" ref="a701fa3a4a90cb9ca00144ad2054dee7b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Layout::get_baseline </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the Y position of baseline of the first line in <em>layout</em>. </p>
<dl class="since_1_22"><dt><b><a class="el" href="since_1_22.html#_since_1_22000003">Since pangomm 1.22:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Baseline of first line, from top of <em>layout</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a93f926aa835611d1a3d3555271737d0e"></a><!-- doxytag: member="Pango::Layout::get_context" ref="a93f926aa835611d1a3d3555271737d0e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Context.html">Context</a>&gt; Pango::Layout::get_context </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Pango::Context</a> used for this layout. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Pango::Context</a> for the layout. This does not have an additional refcount added, so if you want to keep a copy of this around, you must reference it yourself. </dd></dl>

</div>
</div>
<a class="anchor" id="ac07d471345f868e9c115af24e93bf4fb"></a><!-- doxytag: member="Pango::Layout::get_cursor_pos" ref="ac07d471345f868e9c115af24e93bf4fb" args="(int index, Rectangle &amp;strong_pos, Rectangle &amp;weak_pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::get_cursor_pos </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"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>strong_pos</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>weak_pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given an index within a layout, determines the positions that of the strong and weak cursors if the insertion point is at that index. </p>
<p>The position of each cursor is stored as a zero-width rectangle. The strong cursor location is the location where characters of the directionality equal to the base direction of the layout are inserted. The weak cursor location is the location where characters of the directionality opposite to the base direction of the layout are inserted. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The byte index of the cursor. </td></tr>
    <tr><td class="paramname">strong_pos</td><td>Location to store the strong cursor position (may be <code>0</code>). </td></tr>
    <tr><td class="paramname">weak_pos</td><td>Location to store the weak cursor position (may be <code>0</code>). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad7da5d1aeec5d9141b572d4a853771d1"></a><!-- doxytag: member="Pango::Layout::get_cursor_strong_pos" ref="ad7da5d1aeec5d9141b572d4a853771d1" args="(int index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::Layout::get_cursor_strong_pos </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given an index within the layout, determine the positions that of the strong cursors if the insertion point is at that index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The byte index of the cursor. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The strong cursor position. </dd></dl>

</div>
</div>
<a class="anchor" id="a1594bf5c94185ad06c3e675e1594b3ef"></a><!-- doxytag: member="Pango::Layout::get_cursor_weak_pos" ref="a1594bf5c94185ad06c3e675e1594b3ef" args="(int index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::Layout::get_cursor_weak_pos </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given an index within the layout, determine the positions that of the weak cursors if the insertion point is at that index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The byte index of the cursor. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The weak cursor position. </dd></dl>

</div>
</div>
<a class="anchor" id="adb91426e44e7f3c788d885d3ec6bdc52"></a><!-- doxytag: member="Pango::Layout::get_ellipsize" ref="adb91426e44e7f3c788d885d3ec6bdc52" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">EllipsizeMode</a> Pango::Layout::get_ellipsize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the type of ellipsization being performed for <em>layout</em>. </p>
<p>See <a class="el" href="classPango_1_1Layout.html#aec7d3c98d1b364b335aae67fa6cb144c" title="Sets the type of ellipsization being performed for layout.">set_ellipsize()</a></p>
<dl class="since_1_6"><dt><b><a class="el" href="since_1_6.html#_since_1_6000009">Since pangomm 1.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current ellipsization mode for <em>layout</em>.</dd></dl>
<p>Use <a class="el" href="classPango_1_1Layout.html#aa4f9979faf774b502095cefafd5c7dd5" title="Queries whether the layout had to ellipsize any paragraphs.">is_ellipsized()</a> to query whether any paragraphs were actually ellipsized. </p>

</div>
</div>
<a class="anchor" id="a7abfd3c4e4e655255923e819426cd47d"></a><!-- doxytag: member="Pango::Layout::get_extents" ref="a7abfd3c4e4e655255923e819426cd47d" args="(Rectangle &amp;ink_rect, Rectangle &amp;logical_rect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::get_extents </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 <em>layout</em>. </p>
<p>Logical extents are usually what you want for positioning things. The extents are given in layout coordinates; layout coordinates begin at the top left corner of the layout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <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 layout 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 layout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a35294f71c289402beeffaa72b277c93e"></a><!-- doxytag: member="Pango::Layout::get_font_description" ref="a35294f71c289402beeffaa72b277c93e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a> Pango::Layout::get_font_description </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the font description for the layout, if any. </p>
<dl class="since_1_8"><dt><b><a class="el" href="since_1_8.html#_since_1_8000003">Since pangomm 1.8:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the layout's font description, or <code>0</code> if the font description from the layout's context is inherited. This value is owned by the layout and must not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="ad744e2727889fa2fbf7adbd78429fe0e"></a><!-- doxytag: member="Pango::Layout::get_height" ref="ad744e2727889fa2fbf7adbd78429fe0e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Layout::get_height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the height of layout used for ellipsization. </p>
<p>See <a class="el" href="classPango_1_1Layout.html#a70af01986a0a16fe1b2d29297949a161" title="Sets the height to which the Pango::Layout should be ellipsized at.">set_height()</a> for details.</p>
<dl class="since_1_20"><dt><b><a class="el" href="since_1_20.html#_since_1_20000002">Since pangomm 1.20:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The height, in <a class="el" href="namespacePango.html">Pango</a> units if positive, or number of lines if negative. </dd></dl>

</div>
</div>
<a class="anchor" id="aaf39e2d8d0473c08d47874dad90262b4"></a><!-- doxytag: member="Pango::Layout::get_indent" ref="aaf39e2d8d0473c08d47874dad90262b4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Layout::get_indent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the paragraph indent width in <a class="el" href="namespacePango.html">Pango</a> units. </p>
<p>A negative value indicates a hanging indentation. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The indent in <a class="el" href="namespacePango.html">Pango</a> units. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9271540fa4663d4cc65bfca1767edf1"></a><!-- doxytag: member="Pango::Layout::get_ink_extents" ref="ac9271540fa4663d4cc65bfca1767edf1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::Layout::get_ink_extents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the ink extents of layout. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The extents of the layout as drawn. </dd></dl>

</div>
</div>
<a class="anchor" id="ab1bc0ca79b30c8f9f08255f9381726d2"></a><!-- doxytag: member="Pango::Layout::get_iter" ref="ab1bc0ca79b30c8f9f08255f9381726d2" args="(LayoutIter &amp;iter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::get_iter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1LayoutIter.html">LayoutIter</a>&amp;&#160;</td>
          <td class="paramname"><em>iter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets an iterator to iterate over the visual extents of the layout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">iter</td><td>Location to store the iterator.</td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>Use the <a class="el" href="classPango_1_1Layout.html#a646f263f04eadb88db99351e102660a7" title="Gets an iterator to iterate over the visual extents of the layout.">get_iter()</a> that returns the <a class="el" href="classPango_1_1LayoutIter.html" title="A Pango::LayoutIter can be used to iterate over the visual extents of a Pango::Layout.">LayoutIter</a> instead of using an output parameter. </dd></dl>

</div>
</div>
<a class="anchor" id="a646f263f04eadb88db99351e102660a7"></a><!-- doxytag: member="Pango::Layout::get_iter" ref="a646f263f04eadb88db99351e102660a7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1LayoutIter.html">LayoutIter</a> Pango::Layout::get_iter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets an iterator to iterate over the visual extents of the layout. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The iterator.</dd></dl>
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000001">Since pangomm 2.28:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a3321506b4252dec1eea17e31d6db2c4f"></a><!-- doxytag: member="Pango::Layout::get_justify" ref="a3321506b4252dec1eea17e31d6db2c4f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Layout::get_justify </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets whether each complete line should be stretched to fill the entire width of the layout. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The justify. </dd></dl>

</div>
</div>
<a class="anchor" id="a23bb10058921b4c7cb9e09477037720b"></a><!-- doxytag: member="Pango::Layout::get_line" ref="a23bb10058921b4c7cb9e09477037720b" args="(int line) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classPango_1_1LayoutLine.html">LayoutLine</a>&gt; Pango::Layout::get_line </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves a particular line from a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a>. </p>
<p>This is a faster alternative to <a class="el" href="classPango_1_1Layout.html#a5326ffecf052eaed930287f060d7407c" title="Retrieves a particular line from a Pango::Layout.">get_line()</a>, but the user is not expected to modify the contents of the line (glyphs, glyph widths, etc.).</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000012">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>The index of a line, which must be between 0 and <code>pango_layout_get_line_count(layout) - 1</code>, inclusive. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The requested <a class="el" href="classPango_1_1LayoutLine.html" title="A Pango::LayoutLine represents one of the lines resulting from laying out a paragraph via Pango::Layo...">Pango::LayoutLine</a>, or <code>0</code> if the index is out of range. This layout line can be ref'ed and retained, but will become invalid if changes are made to the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a>. No changes should be made to the line. </dd></dl>

</div>
</div>
<a class="anchor" id="a5326ffecf052eaed930287f060d7407c"></a><!-- doxytag: member="Pango::Layout::get_line" ref="a5326ffecf052eaed930287f060d7407c" args="(int line)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1LayoutLine.html">LayoutLine</a>&gt; Pango::Layout::get_line </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves a particular line from a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a>. </p>
<p>Use the faster get_line_readonly() if you do not plan to modify the contents of the line (glyphs, glyph widths, etc.). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>The index of a line, which must be between 0 and <code>pango_layout_get_line_count(layout) - 1</code>, inclusive. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The requested <a class="el" href="classPango_1_1LayoutLine.html" title="A Pango::LayoutLine represents one of the lines resulting from laying out a paragraph via Pango::Layo...">Pango::LayoutLine</a>, or <code>0</code> if the index is out of range. This layout line can be ref'ed and retained, but will become invalid if changes are made to the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a0c89a9842b8e814815a4bac25350f8df"></a><!-- doxytag: member="Pango::Layout::get_line_count" ref="a0c89a9842b8e814815a4bac25350f8df" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Layout::get_line_count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the count of lines for the <em>layout</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The line count. </dd></dl>

</div>
</div>
<a class="anchor" id="a1813059dc4f5c95e15618921c2777915"></a><!-- doxytag: member="Pango::Layout::get_lines" ref="a1813059dc4f5c95e15618921c2777915" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">SListHandle_ConstLayoutLine</a> Pango::Layout::get_lines </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the lines of the <em>layout</em> as a list. </p>
<p>This is a faster alternative to <a class="el" href="classPango_1_1Layout.html#a2c0558852daeeec3bce52b905f4fdb9f" title="Returns the lines of the layout as a list.">get_lines()</a>, but the user is not expected to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000013">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A SList containing the lines in the layout. This points to internal data of the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> and must be used with care. It will become invalid on any change to the layout's text or properties. No changes should be made to the lines. </dd></dl>

</div>
</div>
<a class="anchor" id="a2c0558852daeeec3bce52b905f4fdb9f"></a><!-- doxytag: member="Pango::Layout::get_lines" ref="a2c0558852daeeec3bce52b905f4fdb9f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">SListHandle_LayoutLine</a> Pango::Layout::get_lines </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the lines of the <em>layout</em> as a list. </p>
<p>Use the faster get_lines_readonly() if you do not plan to modify the contents of the lines (glyphs, glyph widths, etc.). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A SList containing the lines in the layout. This points to internal data of the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> and must be used with care. It will become invalid on any change to the layout's text or properties. </dd></dl>

</div>
</div>
<a class="anchor" id="a7ebb87d469baffe9bbfe9a0cb2ab9bec"></a><!-- doxytag: member="Pango::Layout::get_log_attrs" ref="a7ebb87d469baffe9bbfe9a0cb2ab9bec" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;<a class="el" href="namespacePango.html#ab0b3468a9efcaec7022885d46fd43d09">LogAttr</a>&gt; Pango::Layout::get_log_attrs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve an array of logical attributes for each character in the layout. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>An array of logical attributes. </dd></dl>

</div>
</div>
<a class="anchor" id="afeea1e256a22ae1cdb31760572ecee62"></a><!-- doxytag: member="Pango::Layout::get_logical_extents" ref="afeea1e256a22ae1cdb31760572ecee62" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::Layout::get_logical_extents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the logical extents of layout. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The logical extents of the layout. </dd></dl>

</div>
</div>
<a class="anchor" id="a5aed2806ab714f655b46326a69924e3d"></a><!-- doxytag: member="Pango::Layout::get_pixel_extents" ref="a5aed2806ab714f655b46326a69924e3d" args="(Rectangle &amp;ink_rect, Rectangle &amp;logical_rect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::get_pixel_extents </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 <em>layout</em> in device units. </p>
<p>See <a class="el" href="classPango_1_1Layout.html#a7abfd3c4e4e655255923e819426cd47d" title="Compute the logical and ink extents of layout.">get_extents()</a>; this function just calls <a class="el" href="classPango_1_1Layout.html#a7abfd3c4e4e655255923e819426cd47d" title="Compute the logical and ink extents of layout.">get_extents()</a> and then converts the extents to pixels using the <a class="el" href="namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a> factor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <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 layout 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 layout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab578209672c171c60b2e6bb5ce062570"></a><!-- doxytag: member="Pango::Layout::get_pixel_ink_extents" ref="ab578209672c171c60b2e6bb5ce062570" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::Layout::get_pixel_ink_extents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the ink extents of the layout in device units. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The extents of the layout as drawn. </dd></dl>

</div>
</div>
<a class="anchor" id="a1b97e487748a9221025c2d76a59d205a"></a><!-- doxytag: member="Pango::Layout::get_pixel_logical_extents" ref="a1b97e487748a9221025c2d76a59d205a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::Layout::get_pixel_logical_extents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the logical extents of the layout in device units. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The logical extents of the layout. </dd></dl>

</div>
</div>
<a class="anchor" id="a655927f6258a67b1dcfea770baee4703"></a><!-- doxytag: member="Pango::Layout::get_pixel_size" ref="a655927f6258a67b1dcfea770baee4703" args="(int &amp;width, int &amp;height) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::get_pixel_size </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the logical width and height of a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> in device units. </p>
<p>(<a class="el" href="classPango_1_1Layout.html#a568ce34e36d831764f5f66b223bd0f0b" title="Determines the logical width and height of a Pango::Layout in Pango units (device units scaled by Pan...">get_size()</a> returns the width and height scaled by <a class="el" href="namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a>.) This is simply a convenience function around <a class="el" href="classPango_1_1Layout.html#a5aed2806ab714f655b46326a69924e3d" title="Compute the logical and ink extents of layout in device units.">get_pixel_extents()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Location to store the logical width, or <code>0</code>. </td></tr>
    <tr><td class="paramname">height</td><td>Location to store the logical height, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a240e2b2f08a7328a3e411aa9f66d43a4"></a><!-- doxytag: member="Pango::Layout::get_single_paragraph_mode" ref="a240e2b2f08a7328a3e411aa9f66d43a4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Layout::get_single_paragraph_mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the value set by <a class="el" href="classPango_1_1Layout.html#a2e8b65d80e72b668112dc6e9d242bd30" title="If setting is true, do not treat newlines and similar characters as paragraph separators; instead...">set_single_paragraph_mode()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the layout does not break paragraphs at paragraph separator characters, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a568ce34e36d831764f5f66b223bd0f0b"></a><!-- doxytag: member="Pango::Layout::get_size" ref="a568ce34e36d831764f5f66b223bd0f0b" args="(int &amp;width, int &amp;height) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::get_size </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the logical width and height of a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> in <a class="el" href="namespacePango.html">Pango</a> units (device units scaled by <a class="el" href="namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a>). </p>
<p>This is simply a convenience function around <a class="el" href="classPango_1_1Layout.html#a7abfd3c4e4e655255923e819426cd47d" title="Compute the logical and ink extents of layout.">get_extents()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Location to store the logical width, or <code>0</code>. </td></tr>
    <tr><td class="paramname">height</td><td>Location to store the logical height, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acda5c0346b9a8de857f99769895a172c"></a><!-- doxytag: member="Pango::Layout::get_spacing" ref="acda5c0346b9a8de857f99769895a172c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Layout::get_spacing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the amount of spacing between the lines of the layout. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The spacing in <a class="el" href="namespacePango.html">Pango</a> units. </dd></dl>

</div>
</div>
<a class="anchor" id="aef4c2311178427785ae176a77808e51f"></a><!-- doxytag: member="Pango::Layout::get_tabs" ref="aef4c2311178427785ae176a77808e51f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1TabArray.html">TabArray</a> Pango::Layout::get_tabs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the current <a class="el" href="classPango_1_1TabArray.html" title="A Pango::TabArray contains an array of tab stops.">Pango::TabArray</a> used by this layout. </p>
<p>If no <a class="el" href="classPango_1_1TabArray.html" title="A Pango::TabArray contains an array of tab stops.">Pango::TabArray</a> has been set, then the default tabs are in use and an invalid instance is returned. Default tabs are every 8 spaces. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of the tabs for this layout. </dd></dl>

</div>
</div>
<a class="anchor" id="afe9e63119d19a3f9c6c786495137bc4a"></a><!-- doxytag: member="Pango::Layout::get_text" ref="afe9e63119d19a3f9c6c786495137bc4a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Pango::Layout::get_text </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the text in the layout. </p>
<p>The returned text should not be freed or modified. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The text in the <em>layout</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a5d471d494007d78a8409bbdf0f1e9616"></a><!-- doxytag: member="Pango::Layout::get_unknown_glyphs_count" ref="a5d471d494007d78a8409bbdf0f1e9616" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Layout::get_unknown_glyphs_count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Counts the number unknown glyphs in <em>layout</em>. </p>
<p>That is, zero if glyphs for all characters in the layout text were found, or more than zero otherwise.</p>
<p>This function can be used to determine if there are any fonts available to render all characters in a certain string, or when used in combination with <a class="el" href="group__pangommEnums.html#gga7b189818298629d43d4f2ee7ef5b52e1ae6fdc97109db9fb5452f2860b2018eaf">Pango::ATTR_FALLBACK</a>, to check if a certain font supports all the characters in the string.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000011">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of unknown glyphs in <em>layout</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="ab91e3097bcbff2882f2341cf35338dd2"></a><!-- doxytag: member="Pango::Layout::get_width" ref="ab91e3097bcbff2882f2341cf35338dd2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Layout::get_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the width to which the lines of the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> should wrap. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The width in <a class="el" href="namespacePango.html">Pango</a> units, or -1 if no width set. </dd></dl>

</div>
</div>
<a class="anchor" id="a0a3b9c241952bba854750471f91f983e"></a><!-- doxytag: member="Pango::Layout::get_wrap" ref="a0a3b9c241952bba854750471f91f983e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">WrapMode</a> Pango::Layout::get_wrap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the wrap mode for the layout. </p>
<p>Use <a class="el" href="classPango_1_1Layout.html#acc23cec27d04c9683e2838c51cf36cbd" title="Queries whether the layout had to wrap any paragraphs.">is_wrapped()</a> to query whether any paragraphs were actually wrapped. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Active wrap mode. </dd></dl>

</div>
</div>
<a class="anchor" id="ab0f2b726ce4d783fd127aa42de3e255d"></a><!-- doxytag: member="Pango::Layout::gobj" ref="ab0f2b726ce4d783fd127aa42de3e255d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PangoLayout* Pango::Layout::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a3cf520f31292a32b7bd00fb70c6711fc"></a><!-- doxytag: member="Pango::Layout::gobj" ref="a3cf520f31292a32b7bd00fb70c6711fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoLayout* Pango::Layout::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="af2ed59d8031ce7df4b2592fe996bb2be"></a><!-- doxytag: member="Pango::Layout::gobj_copy" ref="af2ed59d8031ce7df4b2592fe996bb2be" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoLayout* Pango::Layout::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="ab922db9bbe6a863a159d0ad40932145c"></a><!-- doxytag: member="Pango::Layout::index_to_line_x" ref="ab922db9bbe6a863a159d0ad40932145c" args="(int index_, bool trailing, int &amp;line, int &amp;x_pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::index_to_line_x </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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>x_pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts from byte <em>index</em> within the <em>layout</em> to line and X position. </p>
<p>(X position is measured from the left edge of the line) </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The byte index of a grapheme within the layout. </td></tr>
    <tr><td class="paramname">trailing</td><td>An integer indicating the edge of the grapheme to retrieve the position of. If 0, the trailing edge of the grapheme, if &gt; 0, the leading of the grapheme. </td></tr>
    <tr><td class="paramname">line</td><td>Location to store resulting line index. (which will between 0 and pango_layout_get_line_count(layout) - 1). </td></tr>
    <tr><td class="paramname">x_pos</td><td>Location to store resulting position within line (<a class="el" href="namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a> units per device unit). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adb188980ffa5191efc3f09db7ed364fb"></a><!-- doxytag: member="Pango::Layout::index_to_pos" ref="adb188980ffa5191efc3f09db7ed364fb" args="(int index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::Layout::index_to_pos </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convert from an index within the layout to the onscreen position corresponding to the grapheme at that index, which is represented as rectangle. </p>
<p>Note that <em>x</em> in the returned rectangle is always the leading edge of the grapheme and <em>x</em> + <em>width</em> the trailing edge of the grapheme. If the directionality of the grapheme is right-to-left, then <em>width</em> will be negative. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>Byte index within layout. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The position of the grapheme. </dd></dl>

</div>
</div>
<a class="anchor" id="aa4f9979faf774b502095cefafd5c7dd5"></a><!-- doxytag: member="Pango::Layout::is_ellipsized" ref="aa4f9979faf774b502095cefafd5c7dd5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Layout::is_ellipsized </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Queries whether the layout had to ellipsize any paragraphs. </p>
<p>This returns <code>true</code> if the ellipsization mode for <em>layout</em> is not <a class="el" href="group__pangommEnums.html#gga982cbecf0c4ee56766aab816a7f5ed0ba84c652c4025fba9c94da9fab16d4e60b">Pango::ELLIPSIZE_NONE</a>, a positive width is set on <em>layout</em>, and there are paragraphs exceeding that width that have to be ellipsized.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000010">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if any paragraphs had to be ellipsized, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="acc23cec27d04c9683e2838c51cf36cbd"></a><!-- doxytag: member="Pango::Layout::is_wrapped" ref="acc23cec27d04c9683e2838c51cf36cbd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Layout::is_wrapped </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Queries whether the layout had to wrap any paragraphs. </p>
<p>This returns <code>true</code> if a positive width is set on <em>layout</em>, ellipsization mode of <em>layout</em> is set to <a class="el" href="group__pangommEnums.html#gga982cbecf0c4ee56766aab816a7f5ed0ba84c652c4025fba9c94da9fab16d4e60b">Pango::ELLIPSIZE_NONE</a>, and there are paragraphs exceeding the layout width that have to be wrapped.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000009">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if any paragraphs had to be wrapped, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="abb90721eddfadabdd10d84b49248284a"></a><!-- doxytag: member="Pango::Layout::move_cursor_visually" ref="abb90721eddfadabdd10d84b49248284a" args="(bool strong, int old_index, int old_trailing, int direction, int &amp;new_index, int &amp;new_trailing) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::move_cursor_visually </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>strong</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>old_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>old_trailing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>new_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>new_trailing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Computes a new cursor position from an old position and a count of positions to move visually. </p>
<p>If <em>direction</em> is positive, then the new strong cursor position will be one position to the right of the old cursor position. If <em>direction</em> is negative, then the new strong cursor position will be one position to the left of the old cursor position.</p>
<p>In the presence of bidirectional text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run.</p>
<p>Motion here is in cursor positions, not in characters, so a single call to <a class="el" href="classPango_1_1Layout.html#abb90721eddfadabdd10d84b49248284a" title="Computes a new cursor position from an old position and a count of positions to move visually...">move_cursor_visually()</a> may move the cursor over multiple characters when multiple characters combine to form a single grapheme. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">strong</td><td>Whether the moving cursor is the strong cursor or the weak cursor. The strong cursor is the cursor corresponding to text insertion in the base direction for the layout. </td></tr>
    <tr><td class="paramname">old_index</td><td>The byte index of the grapheme for the old index. </td></tr>
    <tr><td class="paramname">old_trailing</td><td>If 0, the cursor was at the trailing edge of the grapheme indicated by <em>old_index</em>, if &gt; 0, the cursor was at the leading edge. </td></tr>
    <tr><td class="paramname">direction</td><td>Direction to move cursor. A negative value indicates motion to the left. </td></tr>
    <tr><td class="paramname">new_index</td><td>Location to store the new cursor byte index. A value of -1 indicates that the cursor has been moved off the beginning of the layout. A value of MAXINT indicates that the cursor has been moved off the end of the layout. </td></tr>
    <tr><td class="paramname">new_trailing</td><td>Number of characters to move forward from the location returned for <em>new_index</em> to get the position where the cursor should be displayed. This allows distinguishing the position at the beginning of one line from the position at the end of the preceding line. <em>new_index</em> is always on the line where the cursor should be displayed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a716f87fa132357a35cc003c349e2dc54"></a><!-- doxytag: member="Pango::Layout::set_alignment" ref="a716f87fa132357a35cc003c349e2dc54" args="(Alignment alignment)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_alignment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Alignment</a>&#160;</td>
          <td class="paramname"><em>alignment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the alignment for the layout: how partial lines are positioned within the horizontal space available. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">alignment</td><td>The alignment. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6b3292c3eff18aa061c4e9a6f5fa8d1a"></a><!-- doxytag: member="Pango::Layout::set_attributes" ref="a6b3292c3eff18aa061c4e9a6f5fa8d1a" args="(AttrList &amp;attrs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_attributes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&#160;</td>
          <td class="paramname"><em>attrs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the text attributes for a layout object. </p>
<p>References <em>attrs</em>, so the caller can unref its reference. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attrs</td><td>A <a class="el" href="classPango_1_1AttrList.html" title="A Pango::AttrList represents a list of attributes that apply to a section of text.">Pango::AttrList</a>, can be <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad69dbf5d3c9657f6c5030d0e33afb70f"></a><!-- doxytag: member="Pango::Layout::set_auto_dir" ref="ad69dbf5d3c9657f6c5030d0e33afb70f" args="(bool auto_dir=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_auto_dir </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>auto_dir</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether to calculate the bidirectional base direction for the layout according to the contents of the layout; when this flag is on (the default), then paragraphs in <em>layout</em> that begin with strong right-to-left characters (Arabic and Hebrew principally), will have right-to-left layout, paragraphs with letters from other scripts will have left-to-right layout. </p>
<p>Paragraphs with only neutral characters get their direction from the surrounding paragraphs.</p>
<p>When <code>false</code>, the choice between left-to-right and right-to-left layout is done according to the base direction of the layout's <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Pango::Context</a>. (See <a class="el" href="classPango_1_1Context.html#a2f2e234bb53c20eff53ed8f1e51e460f" title="Sets the base direction for the context.">Pango::Context::set_base_dir()</a>).</p>
<p>When the auto-computed direction of a paragraph differs from the base direction of the context, the interpretation of <a class="el" href="group__pangommEnums.html#ggaf6b8926663368e305380e01f8858cacaa8c5012fa9308d827a01c58229fecea1b">Pango::ALIGN_LEFT</a> and <a class="el" href="group__pangommEnums.html#ggaf6b8926663368e305380e01f8858cacaa407a6b9ee34a9abe34eeb6ae69bb2d8c">Pango::ALIGN_RIGHT</a> are swapped.</p>
<dl class="since_1_4"><dt><b><a class="el" href="since_1_4.html#_since_1_4000004">Since pangomm 1.4:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">auto_dir</td><td>If <code>true</code>, compute the bidirectional base direction from the layout's contents. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aec7d3c98d1b364b335aae67fa6cb144c"></a><!-- doxytag: member="Pango::Layout::set_ellipsize" ref="aec7d3c98d1b364b335aae67fa6cb144c" args="(EllipsizeMode ellipsize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_ellipsize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">EllipsizeMode</a>&#160;</td>
          <td class="paramname"><em>ellipsize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the type of ellipsization being performed for <em>layout</em>. </p>
<p>Depending on the ellipsization mode <em>ellipsize</em> text is removed from the start, middle, or end of text so they fit within the width and height of layout set with <a class="el" href="classPango_1_1Layout.html#abb0b47950f32da332d6043c9de9b2b07" title="Sets the width to which the lines of the Pango::Layout should wrap or ellipsized.">set_width()</a> and <a class="el" href="classPango_1_1Layout.html#a70af01986a0a16fe1b2d29297949a161" title="Sets the height to which the Pango::Layout should be ellipsized at.">set_height()</a>.</p>
<p>If the layout contains characters such as newlines that force it to be layed out in multiple paragraphs, then whether each paragraph is ellipsized separately or the entire layout is ellipsized as a whole depends on the set height of the layout. See <a class="el" href="classPango_1_1Layout.html#a70af01986a0a16fe1b2d29297949a161" title="Sets the height to which the Pango::Layout should be ellipsized at.">set_height()</a> for details.</p>
<dl class="since_1_6"><dt><b><a class="el" href="since_1_6.html#_since_1_6000008">Since pangomm 1.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ellipsize</td><td>The new ellipsization mode for <em>layout</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac2193bc15c036f7322da333ddddef4be"></a><!-- doxytag: member="Pango::Layout::set_font_description" ref="ac2193bc15c036f7322da333ddddef4be" args="(const FontDescription &amp;desc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_font_description </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>desc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the default font description for the layout. </p>
<p>If no font description is set on the layout, the font description from the layout's context is used. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>The new pango font description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a70af01986a0a16fe1b2d29297949a161"></a><!-- doxytag: member="Pango::Layout::set_height" ref="a70af01986a0a16fe1b2d29297949a161" args="(int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_height </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the height to which the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> should be ellipsized at. </p>
<p>There are two different behaviors, based on whether <em>height</em> is positive or negative.</p>
<p>If <em>height</em> is positive, it will be the maximum height of the layout. Only lines would be shown that would fit, and if there is any text omitted, an ellipsis added. At least one line is included in each paragraph regardless of how small the height value is. A value of zero will render exactly one line for the entire layout.</p>
<p>If <em>height</em> is negative, it will be the (negative of) maximum number of lines per paragraph. That is, the total number of lines shown may well be more than this value if the layout contains multiple paragraphs of text. The default value of -1 means that first line of each paragraph is ellipsized. This behvaior may be changed in the future to act per layout instead of per paragraph. File a bug against pango at <a href="http://bugzilla.gnome.org/">http://bugzilla.gnome.org/</a> if your code relies on this behavior.</p>
<p>Height setting only has effect if a positive width is set on <em>layout</em> and ellipsization mode of <em>layout</em> is not <a class="el" href="group__pangommEnums.html#gga982cbecf0c4ee56766aab816a7f5ed0ba84c652c4025fba9c94da9fab16d4e60b">Pango::ELLIPSIZE_NONE</a>. The behavior is undefined if a height other than -1 is set and ellipsization mode is set to <a class="el" href="group__pangommEnums.html#gga982cbecf0c4ee56766aab816a7f5ed0ba84c652c4025fba9c94da9fab16d4e60b">Pango::ELLIPSIZE_NONE</a>, and may change in the future.</p>
<dl class="since_1_20"><dt><b><a class="el" href="since_1_20.html#_since_1_20000001">Since pangomm 1.20:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">height</td><td>The desired height of the layout in <a class="el" href="namespacePango.html">Pango</a> units if positive, or desired number of lines if negative. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad7e4ea552c0f5d6f3dd3744afde174c6"></a><!-- doxytag: member="Pango::Layout::set_indent" ref="ad7e4ea552c0f5d6f3dd3744afde174c6" args="(int indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_indent </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>indent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the width in <a class="el" href="namespacePango.html">Pango</a> units to indent each paragraph. </p>
<p>A negative value of <em>indent</em> will produce a hanging indentation. That is, the first line will have the full width, and subsequent lines will be indented by the absolute value of <em>indent</em>.</p>
<p>The indent setting is ignored if layout alignment is set to <a class="el" href="group__pangommEnums.html#ggaf6b8926663368e305380e01f8858cacaaffec66e462036100230c605a2da2aa68">Pango::ALIGN_CENTER</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">indent</td><td>The amount by which to indent. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acd2bc770cfd32ce24c4a1ab8425ae22b"></a><!-- doxytag: member="Pango::Layout::set_justify" ref="acd2bc770cfd32ce24c4a1ab8425ae22b" args="(bool justify=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_justify </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>justify</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether each complete line should be stretched to fill the entire width of the layout. </p>
<p>This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification may be done in more complex ways, like extending the characters.</p>
<p>Note that this setting is not implemented and so is ignored in <a class="el" href="namespacePango.html">Pango</a> older than 1.18. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">justify</td><td>Whether the lines in the layout should be justified. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af49842ef1724ac0e7a8afcb860e6bb1f"></a><!-- doxytag: member="Pango::Layout::set_markup" ref="af49842ef1724ac0e7a8afcb860e6bb1f" args="(const Glib::ustring &amp;markup)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_markup </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>markup</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the layout text and attribute list from marked-up text (see markup format). </p>
<p>Replaces the current text and attribute list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">markup</td><td>Some marked-up text. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a466e0638cb285d7a38fe6ee79267bd89"></a><!-- doxytag: member="Pango::Layout::set_markup" ref="a466e0638cb285d7a38fe6ee79267bd89" args="(const Glib::ustring &amp;markup, gunichar accel_marker, gunichar &amp;accel_char)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_markup </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>markup</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar&#160;</td>
          <td class="paramname"><em>accel_marker</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gunichar &amp;&#160;</td>
          <td class="paramname"><em>accel_char</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the layout text and attribute list from marked-up text (see markup format). </p>
<p>Replaces the current text and attribute list.</p>
<p>If <em>accel_marker</em> is nonzero, the given character will mark the character following it as an accelerator. For example, the accel marker might be an ampersand or underscore. All characters marked as an accelerator will receive a <a class="el" href="group__pangommEnums.html#ggabbd069e35161c1ad698b7f1fe70aec57a10f84a67fc43406f330a66400baf2577">Pango::UNDERLINE_LOW</a> attribute, and the first character so marked will be returned in <em>accel_char</em>. Two <em>accel_marker</em> characters following each other produce a single literal <em>accel_marker</em> character. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">markup</td><td>Some marked-up text. </td></tr>
    <tr><td class="paramname">accel_marker</td><td>Marker for accelerators in the text. </td></tr>
    <tr><td class="paramname">accel_char</td><td>Return location for any located accelerators. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2e8b65d80e72b668112dc6e9d242bd30"></a><!-- doxytag: member="Pango::Layout::set_single_paragraph_mode" ref="a2e8b65d80e72b668112dc6e9d242bd30" args="(bool setting=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_single_paragraph_mode </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>setting</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If <em>setting</em> is <code>true</code>, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. </p>
<p>Used when you want to allow editing of newlines on a single text line. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">setting</td><td>New setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa1d2006bc368b82e577f6afa97ae009a"></a><!-- doxytag: member="Pango::Layout::set_spacing" ref="aa1d2006bc368b82e577f6afa97ae009a" args="(int spacing)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_spacing </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>spacing</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the amount of spacing in <a class="el" href="namespacePango.html">Pango</a> unit between the lines of the layout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">spacing</td><td>The amount of spacing. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abef27924517817fbbf8dd2fc16af153d"></a><!-- doxytag: member="Pango::Layout::set_tabs" ref="abef27924517817fbbf8dd2fc16af153d" args="(TabArray &amp;tabs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_tabs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1TabArray.html">TabArray</a>&amp;&#160;</td>
          <td class="paramname"><em>tabs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the tabs to use for <em>layout</em>, overriding the default tabs (by default, tabs are every 8 spaces). </p>
<p>If <em>tabs</em> is <code>0</code>, the default tabs are reinstated. <em>tabs</em> is copied into the layout; you must free your copy of <em>tabs</em> yourself. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">tabs</td><td>A <a class="el" href="classPango_1_1TabArray.html" title="A Pango::TabArray contains an array of tab stops.">Pango::TabArray</a>, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a981012a0af40936591f8d39aa169a6fd"></a><!-- doxytag: member="Pango::Layout::set_text" ref="a981012a0af40936591f8d39aa169a6fd" args="(const Glib::ustring &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the text of the layout. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text for the layout. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abb0b47950f32da332d6043c9de9b2b07"></a><!-- doxytag: member="Pango::Layout::set_width" ref="abb0b47950f32da332d6043c9de9b2b07" args="(int width)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_width </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the width to which the lines of the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> should wrap or ellipsized. </p>
<p>The default value is -1: no width set. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The desired width in <a class="el" href="namespacePango.html">Pango</a> units, or -1 to indicate that no wrapping or ellipsization should be performed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf55858919f4dffd56f41d936f9d3bfb"></a><!-- doxytag: member="Pango::Layout::set_wrap" ref="acf55858919f4dffd56f41d936f9d3bfb" args="(WrapMode wrap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::set_wrap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">WrapMode</a>&#160;</td>
          <td class="paramname"><em>wrap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the wrap mode; the wrap mode only has effect if a width is set on the layout with <a class="el" href="classPango_1_1Layout.html#abb0b47950f32da332d6043c9de9b2b07" title="Sets the width to which the lines of the Pango::Layout should wrap or ellipsized.">set_width()</a>. </p>
<p>To turn off wrapping, set the width to -1. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">wrap</td><td>The wrap mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4594ac585d306b6cf013e640184d5e89"></a><!-- doxytag: member="Pango::Layout::show_in_cairo_context" ref="a4594ac585d306b6cf013e640184d5e89" args="(const Cairo::RefPtr&lt; Cairo::Context &gt; &amp;context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::show_in_cairo_context </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Layout</a> in the specified <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> <em>context</em>. </p>
<p>The top-left corner of the <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Layout</a> will be drawn at the current point of the cairo context.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> context.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000001">Since pangomm 2.16:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ad808c80347d1a4b9d9d5836b6c92e4d0"></a><!-- doxytag: member="Pango::Layout::unset_font_description" ref="ad808c80347d1a4b9d9d5836b6c92e4d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::unset_font_description </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6706a92463a0df36eb3f86f8203413d7"></a><!-- doxytag: member="Pango::Layout::update_from_cairo_context" ref="a6706a92463a0df36eb3f86f8203413d7" args="(const Cairo::RefPtr&lt; Cairo::Context &gt; &amp;context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Layout::update_from_cairo_context </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1Context.html">Cairo::Context</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates the private <a class="el" href="namespacePango.html">Pango</a> <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Context</a> of a <a class="el" href="namespacePango.html">Pango</a> <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Layout</a> created with <a class="el" href="classPango_1_1Layout.html#ae0e8a32e79465fa38d2c59d0cbe482ae" title="Creates a layout object set up to match the current transformation and target surface of the Cairo co...">create(const Cairo::RefPtr&lt;Cairo::Context&gt;&amp;)</a> to match the current transformation and target surface of a <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Context</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> context. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7281fe2d705ba6f60d8b5d7a04a324f3"></a><!-- doxytag: member="Pango::Layout::xy_to_index" ref="a7281fe2d705ba6f60d8b5d7a04a324f3" args="(int x, int y, int &amp;index, int &amp;trailing) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Layout::xy_to_index </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</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">int &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>Converts from X and Y position within a layout to the byte index to the character at that logical position. </p>
<p>If the Y position is not inside the layout, the closest position is chosen (the position will be clamped inside the layout). If the X position is not within the layout, then the start or the end of the line is chosen as described for pango_layout_x_to_index(). If either the X or Y positions were not inside the layout, then the function returns <code>false</code>; on an exact hit, it returns <code>true</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>The X offset (in <a class="el" href="namespacePango.html">Pango</a> units) from the left edge of the layout. </td></tr>
    <tr><td class="paramname">y</td><td>The Y offset (in <a class="el" href="namespacePango.html">Pango</a> units) from the top edge of the layout. </td></tr>
    <tr><td class="paramname">index</td><td>Location to store calculated byte index. </td></tr>
    <tr><td class="paramname">trailing</td><td>Location to store a integer indicating where in the grapheme the user clicked. It will either be zero, or the number of characters in the grapheme. 0 represents the trailing edge of the grapheme. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the coordinates were inside text, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a2f16e9892cb8734c93056d6089af173b"></a><!-- doxytag: member="Pango::Layout::wrap" ref="a2f16e9892cb8734c93056d6089af173b" args="(PangoLayout *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1Layout.html">Pango::Layout</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">PangoLayout *&#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><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></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="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>pangomm/layout.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Oct 26 2011 13:10:53 for pangomm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>