Sophie

Sophie

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

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::Context 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_1Context.html">Context</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">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::Context Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Pango::Context" --><!-- doxytag: inherits="Glib::Object" -->
<p>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> stores global information used to control the itemization process.  <a href="classPango_1_1Context.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Pango::Context:</div>
<div class="dyncontent">
<div class="center"><img src="classPango_1_1Context__inherit__graph.png" border="0" usemap="#Pango_1_1Context_inherit__map" alt="Inheritance graph"/></div>
<map name="Pango_1_1Context_inherit__map" id="Pango_1_1Context_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::Context:</div>
<div class="dyncontent">
<div class="center"><img src="classPango_1_1Context__coll__graph.png" border="0" usemap="#Pango_1_1Context_coll__map" alt="Collaboration graph"/></div>
<map name="Pango_1_1Context_coll__map" id="Pango_1_1Context_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_1Context-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_1Context.html#ac2a31a067989f07530ecaf0907b62d12">~Context</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoContext*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a0be484ab187e1e8fc7be2940ec4cb615">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a0be484ab187e1e8fc7be2940ec4cb615"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const PangoContext*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a32b3e8f9dde426b71ab6e0326f366984">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a32b3e8f9dde426b71ab6e0326f366984"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoContext*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#aa639f1fff0f0197e2f2a74ebe6cfe926">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="#aa639f1fff0f0197e2f2a74ebe6cfe926"></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><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classPango_1_1FontFamily.html">FontFamily</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a588c79d7e4617312c858c90876b7ac84">list_families</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">List all available font families for a context. <a href="#a588c79d7e4617312c858c90876b7ac84"></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_1Context.html#a1e81f9b89aee5b5cf5f85ffe49806a74">set_font_map</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_1FontMap.html">FontMap</a> &gt;&amp; font_map)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the font map to be searched when fonts are looked-up in this context. <a href="#a1e81f9b89aee5b5cf5f85ffe49806a74"></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_1FontMap.html">FontMap</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a56eb6d8dde7e58e820aa717214e39345">get_font_map</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Pango::Fontmap used to look up fonts for this context. <a href="#a56eb6d8dde7e58e820aa717214e39345"></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_1FontMap.html">FontMap</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a6831df777913afadf79ad93dff39468c">get_font_map</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Pango::Fontmap used to look up fonts for this context. <a href="#a6831df777913afadf79ad93dff39468c"></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_1Font.html">Font</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#acb3ec9530b725dadb8fe9b8f75d11183">load_font</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; desc) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the font in one of the fontmaps in the context that is the closest match for <em>desc</em>. <a href="#acb3ec9530b725dadb8fe9b8f75d11183"></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_1Fontset.html">Fontset</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#aaa2b5ba425aead7d84ba55e4443d2131">load_fontset</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; desc, const <a class="el" href="classPango_1_1Language.html">Language</a>&amp; language) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Load a set of fonts in the context that can be used to render a font matching <em>desc</em>. <a href="#aaa2b5ba425aead7d84ba55e4443d2131"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontMetrics.html">FontMetrics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#ad745e50f52d7b5e8ca62695d1f2c0c5e">get_metrics</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; desc) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get overall metric information for a particular font description. <a href="#ad745e50f52d7b5e8ca62695d1f2c0c5e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontMetrics.html">FontMetrics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a60b53d9d194fae14662588f69e8d5f74">get_metrics</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; desc, const <a class="el" href="classPango_1_1Language.html">Language</a>&amp; language) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get overall metric information for a font particular font description. <a href="#a60b53d9d194fae14662588f69e8d5f74"></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_1Context.html#a90ba5091c7a3177c4b3e49840b64192a">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 context. <a href="#a90ba5091c7a3177c4b3e49840b64192a"></a><br/></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_1Context.html#ad81f2b711295da09c42e4bd10711823c">get_font_description</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the default font description for the context. <a href="#ad81f2b711295da09c42e4bd10711823c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Language.html">Language</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a3aa0ee8cb20cf8c3994756e515b4925f">get_language</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the global language tag for the context. <a href="#a3aa0ee8cb20cf8c3994756e515b4925f"></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_1Context.html#a20a1d003027b28404ae547118a1d6d80">set_language</a> (const <a class="el" href="classPango_1_1Language.html">Language</a>&amp; language)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the global language tag for the context. <a href="#a20a1d003027b28404ae547118a1d6d80"></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_1Context.html#a2f2e234bb53c20eff53ed8f1e51e460f">set_base_dir</a> (<a class="el" href="group__pangommEnums.html#ga8fa031ece55a28777a84d0115829f601">Direction</a> direction)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the base direction for the context. <a href="#a2f2e234bb53c20eff53ed8f1e51e460f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga8fa031ece55a28777a84d0115829f601">Direction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#ac0664d7eb89a45baccac5d483e066f48">get_base_dir</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the base direction for the context. <a href="#ac0664d7eb89a45baccac5d483e066f48"></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_1Context.html#afc55b428fe56632e44c7d528eb27c037">set_base_gravity</a> (<a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> gravity)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the base gravity for the context. <a href="#afc55b428fe56632e44c7d528eb27c037"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a5e03c7d7171fb3430143ffe1da2487d0">get_base_gravity</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the base gravity for the context. <a href="#a5e03c7d7171fb3430143ffe1da2487d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#ac31983f5fe9be6d9eeca453846c22a9d">get_gravity</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the gravity for the context. <a href="#ac31983f5fe9be6d9eeca453846c22a9d"></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_1Context.html#a86b50228ad45a1bb81136519aea95915">set_gravity_hint</a> (<a class="el" href="group__pangommEnums.html#ga405d1530ab8ac4993a0921a27fe035dd">GravityHint</a> hint)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the gravity hint for the context. <a href="#a86b50228ad45a1bb81136519aea95915"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga405d1530ab8ac4993a0921a27fe035dd">GravityHint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#ac149c7dc5c906aa2ceb4fe90e75e7060">get_gravity_hint</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the gravity hint for the context. <a href="#ac149c7dc5c906aa2ceb4fe90e75e7060"></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_1Context.html#ae3e16a984e6c1bb2d8066201b4594da5">set_matrix</a> (const <a class="el" href="namespacePango.html#a5565a2f93d4fb8f943cc2d1fb2d476e1">Matrix</a>&amp; matrix)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the transformation matrix that will be applied when rendering with this context. <a href="#ae3e16a984e6c1bb2d8066201b4594da5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacePango.html#a5565a2f93d4fb8f943cc2d1fb2d476e1">Matrix</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#aeb11495d390bbcd2269bc2acf516b1dc">get_matrix</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">ListHandle_Item</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c">itemize</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text, const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; attrs) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Breaks a piece of text into segments with consistent directional level and shaping engine. <a href="#ab80e5e65f30473eb4db512fb7eab042c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">ListHandle_Item</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a2e5ca907fb9b7a1a5548d965763ab10e">itemize</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; text, int start_index, int length, const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp; attrs, <a class="el" href="classPango_1_1AttrIter.html">AttrIter</a>&amp; cached_iter) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Breaks a piece of text into segments with consistent directional level and shaping engine. <a href="#a2e5ca907fb9b7a1a5548d965763ab10e"></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_1Context.html#acc6707edbfcbbe79f6e3c540ddfa6eb1">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 a <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> previously created for use with <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</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="#acc6707edbfcbbe79f6e3c540ddfa6eb1"></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_1Context.html#a5f80cbc5c97fb4ef0152f559096bea6c">set_cairo_font_options</a> (const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1FontOptions.html">Cairo::FontOptions</a>&amp; options)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the font options used when rendering text with this context. <a href="#a5f80cbc5c97fb4ef0152f559096bea6c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1FontOptions.html">Cairo::FontOptions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#a939161ccc6ad916604662a891dc1bda8">get_font_options</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves any font rendering options previously set with pango_cairo_font_map_set_font_options(). <a href="#a939161ccc6ad916604662a891dc1bda8"></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_1Context.html#ae912e733915cc5b48124a4aa913c6a7f">set_resolution</a> (double dpi)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the resolution for the context. <a href="#ae912e733915cc5b48124a4aa913c6a7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#af6934055ff3a68acfd85ba22330c318a">get_resolution</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the resolution for the context. <a href="#af6934055ff3a68acfd85ba22330c318a"></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_1Context.html#a4cce2632218899d3cc6e04c4c2d860af">Context</a> ()</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_1Context.html">Pango::Context</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Context.html#ac61523c7c5af185d2c5ce7ce5706c3b4">wrap</a> (PangoContext* 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="#ac61523c7c5af185d2c5ce7ce5706c3b4"></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_1Context.html" title="A Pango::Context stores global information used to control the itemization process.">Pango::Context</a> stores global information used to control the itemization process. </p>
<p>You can retrieve 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> object with Gtk::Widget::create_pango_context() or Gtk::Widget::get_pango_context(). If you don't use gtkmm call some c function of the pango backend you intend to use and create a wrapper for the returned context, e.g. <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap</a>(pango_x_get_context()).</p>
<p>Creating 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> object is the starting point of every rendering process. You can either use it to create a high level <a class="el" href="classPango_1_1Layout.html" title="A Pango::Layout represents an entire paragraph of text.">Pango::Layout</a> object which does all the hard work for you by passing it into <a class="el" href="classPango_1_1Layout.html#a563434509d35cab69c4e85b7549a7bf9">Pango::Layout::create()</a> or to generate glyph strings from character strings with the help of <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">itemize()</a> and <a class="el" href="classPango_1_1Item.html#a6128734fbdbbe38eda90733048720901" title="Convert a segment of text into a string of glyphs.">Pango::Item::shape()</a> subsequently.</p>
<p>Which fonts are used for rendering can be influenced by setting the default font description, language and base direction of the context.</p>
<p>If you want to calculate the space some text will need to be displayed you might find the functions of <a class="el" href="classPango_1_1FontMetrics.html" title="A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script...">Pango::FontMetrics</a> useful. Use <a class="el" href="classPango_1_1Context.html#ad745e50f52d7b5e8ca62695d1f2c0c5e" title="Get overall metric information for a particular font description.">get_metrics()</a> to obtain the <a class="el" href="classPango_1_1FontMetrics.html" title="A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script...">Pango::FontMetrics</a> object for a specific <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a>. For more detailed calculations in a rendering-system-independant manner and to determine whether specific characters can be represented by the font that would be used for a specific <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> load a <a class="el" href="classPango_1_1Fontset.html" title="A Pango::Fontset is used to represent a set of fonts.">Pango::Fontset</a> with <a class="el" href="classPango_1_1Context.html#aaa2b5ba425aead7d84ba55e4443d2131" title="Load a set of fonts in the context that can be used to render a font matching desc.">load_fontset()</a> (<a class="el" href="classPango_1_1Context.html#acb3ec9530b725dadb8fe9b8f75d11183" title="Loads the font in one of the fontmaps in the context that is the closest match for desc...">load_font()</a> returns the <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter.">Pango::Font</a> that is the closest match for a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a>; however that's not necessarily the font that will be used for rendering). </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac2a31a067989f07530ecaf0907b62d12"></a><!-- doxytag: member="Pango::Context::~Context" ref="ac2a31a067989f07530ecaf0907b62d12" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Pango::Context::~Context </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="a4cce2632218899d3cc6e04c4c2d860af"></a><!-- doxytag: member="Pango::Context::Context" ref="a4cce2632218899d3cc6e04c4c2d860af" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Context::Context </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac0664d7eb89a45baccac5d483e066f48"></a><!-- doxytag: member="Pango::Context::get_base_dir" ref="ac0664d7eb89a45baccac5d483e066f48" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga8fa031ece55a28777a84d0115829f601">Direction</a> Pango::Context::get_base_dir </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the base direction for the context. </p>
<p>See <a class="el" href="classPango_1_1Context.html#a2f2e234bb53c20eff53ed8f1e51e460f" title="Sets the base direction for the context.">set_base_dir()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The base direction for the context. </dd></dl>

</div>
</div>
<a class="anchor" id="a5e03c7d7171fb3430143ffe1da2487d0"></a><!-- doxytag: member="Pango::Context::get_base_gravity" ref="a5e03c7d7171fb3430143ffe1da2487d0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> Pango::Context::get_base_gravity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the base gravity for the context. </p>
<p>See <a class="el" href="classPango_1_1Context.html#afc55b428fe56632e44c7d528eb27c037" title="Sets the base gravity for the context.">set_base_gravity()</a>.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000003">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The base gravity for the context. </dd></dl>

</div>
</div>
<a class="anchor" id="ad81f2b711295da09c42e4bd10711823c"></a><!-- doxytag: member="Pango::Context::get_font_description" ref="ad81f2b711295da09c42e4bd10711823c" 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::Context::get_font_description </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the default font description for the context. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the context's default font description. This value must not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a56eb6d8dde7e58e820aa717214e39345"></a><!-- doxytag: member="Pango::Context::get_font_map" ref="a56eb6d8dde7e58e820aa717214e39345" 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_1FontMap.html">FontMap</a>&gt; Pango::Context::get_font_map </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the Pango::Fontmap used to look up fonts for this context. </p>
<dl class="since_1_6"><dt><b><a class="el" href="since_1_6.html#_since_1_6000001">Since pangomm 1.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The font map for 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>. This value is owned by <a class="el" href="namespacePango.html">Pango</a> and should not be unreferenced. </dd></dl>

</div>
</div>
<a class="anchor" id="a6831df777913afadf79ad93dff39468c"></a><!-- doxytag: member="Pango::Context::get_font_map" ref="a6831df777913afadf79ad93dff39468c" 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;const <a class="el" href="classPango_1_1FontMap.html">FontMap</a>&gt; Pango::Context::get_font_map </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the Pango::Fontmap used to look up fonts for this context. </p>
<dl class="since_1_6"><dt><b><a class="el" href="since_1_6.html#_since_1_6000002">Since pangomm 1.6:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The font map for 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>. This value is owned by <a class="el" href="namespacePango.html">Pango</a> and should not be unreferenced. </dd></dl>

</div>
</div>
<a class="anchor" id="a939161ccc6ad916604662a891dc1bda8"></a><!-- doxytag: member="Pango::Context::get_font_options" ref="a939161ccc6ad916604662a891dc1bda8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1FontOptions.html">Cairo::FontOptions</a> Pango::Context::get_font_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves any font rendering options previously set with pango_cairo_font_map_set_font_options(). </p>
<p>This function does not report options that are derived from the target surface by pango_cairo_update_context()</p>
<dl class="since_1_10"><dt><b><a class="el" href="since_1_10.html#_since_1_10000005">Since pangomm 1.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>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>, from a pangocairo font map. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The font options previously set on the context, or <code>0</code> if no options have been set. This value is owned by the context and must not be modified or freed. </dd></dl>

</div>
</div>
<a class="anchor" id="ac31983f5fe9be6d9eeca453846c22a9d"></a><!-- doxytag: member="Pango::Context::get_gravity" ref="ac31983f5fe9be6d9eeca453846c22a9d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> Pango::Context::get_gravity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the gravity for the context. </p>
<p>This is similar to <a class="el" href="classPango_1_1Context.html#a5e03c7d7171fb3430143ffe1da2487d0" title="Retrieves the base gravity for the context.">get_base_gravity()</a>, except for when the base gravity is <a class="el" href="group__pangommEnums.html#gga64db2216c86f2ce624b9ef0489bf1df4af179cd9862b61b8030e2d5aee4e07b40">Pango::GRAVITY_AUTO</a> for which pango_gravity_get_for_matrix() is used to return the gravity from the current context matrix.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000004">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The resolved gravity for the context. </dd></dl>

</div>
</div>
<a class="anchor" id="ac149c7dc5c906aa2ceb4fe90e75e7060"></a><!-- doxytag: member="Pango::Context::get_gravity_hint" ref="ac149c7dc5c906aa2ceb4fe90e75e7060" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga405d1530ab8ac4993a0921a27fe035dd">GravityHint</a> Pango::Context::get_gravity_hint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the gravity hint for the context. </p>
<p>See <a class="el" href="classPango_1_1Context.html#a86b50228ad45a1bb81136519aea95915" title="Sets the gravity hint for the context.">set_gravity_hint()</a> for details.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000006">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The gravity hint for the context. </dd></dl>

</div>
</div>
<a class="anchor" id="a3aa0ee8cb20cf8c3994756e515b4925f"></a><!-- doxytag: member="Pango::Context::get_language" ref="a3aa0ee8cb20cf8c3994756e515b4925f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Language.html">Language</a> Pango::Context::get_language </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the global language tag for the context. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The global language tag. </dd></dl>

</div>
</div>
<a class="anchor" id="aeb11495d390bbcd2269bc2acf516b1dc"></a><!-- doxytag: member="Pango::Context::get_matrix" ref="aeb11495d390bbcd2269bc2acf516b1dc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacePango.html#a5565a2f93d4fb8f943cc2d1fb2d476e1">Matrix</a> Pango::Context::get_matrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad745e50f52d7b5e8ca62695d1f2c0c5e"></a><!-- doxytag: member="Pango::Context::get_metrics" ref="ad745e50f52d7b5e8ca62695d1f2c0c5e" args="(const FontDescription &amp;desc) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1FontMetrics.html">FontMetrics</a> Pango::Context::get_metrics </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> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get overall metric information for a particular font description. </p>
<p>The metrics may be substantially different for different scripts. However this function overload returns the metrics of the entire font. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classPango_1_1FontMetrics.html" title="A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script...">Pango::FontMetrics</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="a60b53d9d194fae14662588f69e8d5f74"></a><!-- doxytag: member="Pango::Context::get_metrics" ref="a60b53d9d194fae14662588f69e8d5f74" args="(const FontDescription &amp;desc, const Language &amp;language) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1FontMetrics.html">FontMetrics</a> Pango::Context::get_metrics </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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Language.html">Language</a>&amp;&#160;</td>
          <td class="paramname"><em>language</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get overall metric information for a font particular font description. </p>
<p>Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language.</p>
<p>The <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> is interpreted in the same way as by pango_itemize(), and the family name may be a comma separated list of figures. If characters from multiple of these families would be used to render the string, then the returned fonts would be a composite of the metrics for the fonts loaded for the individual families. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> structure. </td></tr>
    <tr><td class="paramname">language</td><td><a class="el" href="classPango_1_1Language.html" title="A Pango::Language is used to represent a language.">Language</a> tag used to determine which script to get the metrics for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A Pango::Metrics object. </dd></dl>

</div>
</div>
<a class="anchor" id="af6934055ff3a68acfd85ba22330c318a"></a><!-- doxytag: member="Pango::Context::get_resolution" ref="af6934055ff3a68acfd85ba22330c318a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Pango::Context::get_resolution </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the resolution for the context. </p>
<p>See pango_cairo_context_set_resolution()</p>
<dl class="since_1_10"><dt><b><a class="el" href="since_1_10.html#_since_1_10000007">Since pangomm 1.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>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>, from a pangocairo font map. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The resolution in "dots per inch". A negative value will be returned if no resolution has previously been set. </dd></dl>

</div>
</div>
<a class="anchor" id="a32b3e8f9dde426b71ab6e0326f366984"></a><!-- doxytag: member="Pango::Context::gobj" ref="a32b3e8f9dde426b71ab6e0326f366984" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PangoContext* Pango::Context::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="a0be484ab187e1e8fc7be2940ec4cb615"></a><!-- doxytag: member="Pango::Context::gobj" ref="a0be484ab187e1e8fc7be2940ec4cb615" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoContext* Pango::Context::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="aa639f1fff0f0197e2f2a74ebe6cfe926"></a><!-- doxytag: member="Pango::Context::gobj_copy" ref="aa639f1fff0f0197e2f2a74ebe6cfe926" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoContext* Pango::Context::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="ab80e5e65f30473eb4db512fb7eab042c"></a><!-- doxytag: member="Pango::Context::itemize" ref="ab80e5e65f30473eb4db512fb7eab042c" args="(const Glib::ustring &amp;text, const AttrList &amp;attrs) 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_1ListHandle.html">ListHandle_Item</a> Pango::Context::itemize </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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&#160;</td>
          <td class="paramname"><em>attrs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Breaks a piece of text into segments with consistent directional level and shaping engine. </p>
<p>Each byte of <em>text</em> will be contained in exactly one of the items in the returned list. The generated list of items will be in logical order (the start offsets of the items are ascending). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text to itemize. </td></tr>
    <tr><td class="paramname">attrs</td><td>The set of attributes that apply. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of <a class="el" href="classPango_1_1Item.html" title="A Pango::Item stores information about a segment of text.">Pango::Item</a> objects. </dd></dl>

</div>
</div>
<a class="anchor" id="a2e5ca907fb9b7a1a5548d965763ab10e"></a><!-- doxytag: member="Pango::Context::itemize" ref="a2e5ca907fb9b7a1a5548d965763ab10e" args="(const Glib::ustring &amp;text, int start_index, int length, const AttrList &amp;attrs, AttrIter &amp;cached_iter) 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_1ListHandle.html">ListHandle_Item</a> Pango::Context::itemize </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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>start_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1AttrList.html">AttrList</a>&amp;&#160;</td>
          <td class="paramname"><em>attrs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1AttrIter.html">AttrIter</a>&amp;&#160;</td>
          <td class="paramname"><em>cached_iter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Breaks a piece of text into segments with consistent directional level and shaping engine. </p>
<p>Each byte of <em>text</em> will be contained in exactly one of the items in the returned list. The generated list of items will be in logical order (the start offsets of the items are ascending).</p>
<p><em>cached_iter</em> should be an iterator over <em>attrs</em> currently positioned at a range before or containing <em>start_index</em>. <em>cached_iter</em> will be advanced to the range covering the position just after <em>start_index</em> + <em>length</em>. (i.e. if itemizing in a loop, just keep passing in the same <em>cached_iter</em>).</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text to itemize. </td></tr>
    <tr><td class="paramname">start_index</td><td>First byte in <em>text</em> to process. </td></tr>
    <tr><td class="paramname">length</td><td>The number of bytes (not characters) to process after <em>start_index</em>. This must be &gt;= <code>0</code>. </td></tr>
    <tr><td class="paramname">attrs</td><td>The set of attributes that apply to <em>text</em>. </td></tr>
    <tr><td class="paramname">cached_iter</td><td>Cached attribute iterator. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of <a class="el" href="classPango_1_1Item.html" title="A Pango::Item stores information about a segment of text.">Pango::Item</a> structures. </dd></dl>

</div>
</div>
<a class="anchor" id="a588c79d7e4617312c858c90876b7ac84"></a><!-- doxytag: member="Pango::Context::list_families" ref="a588c79d7e4617312c858c90876b7ac84" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1FontFamily.html">FontFamily</a>&gt; &gt; Pango::Context::list_families </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>List all available font families for a context. </p>
<p>You can specify one of these as your desired font family in the Pango::FontDesciption objects you use, e.g. in the default font description of the context. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>An array of <a class="el" href="classPango_1_1FontFamily.html" title="A Pango::FontFamily is used to represent a family of related font faces.">Pango::FontFamily</a> objects. </dd></dl>

</div>
</div>
<a class="anchor" id="acb3ec9530b725dadb8fe9b8f75d11183"></a><!-- doxytag: member="Pango::Context::load_font" ref="acb3ec9530b725dadb8fe9b8f75d11183" args="(const FontDescription &amp;desc) 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_1Font.html">Font</a>&gt; Pango::Context::load_font </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> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Loads the font in one of the fontmaps in the context that is the closest match for <em>desc</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> describing the font to load. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The font loaded, or <code>0</code> if no font matched. </dd></dl>

</div>
</div>
<a class="anchor" id="aaa2b5ba425aead7d84ba55e4443d2131"></a><!-- doxytag: member="Pango::Context::load_fontset" ref="aaa2b5ba425aead7d84ba55e4443d2131" args="(const FontDescription &amp;desc, const Language &amp;language) 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_1Fontset.html">Fontset</a>&gt; Pango::Context::load_fontset </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>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Language.html">Language</a>&amp;&#160;</td>
          <td class="paramname"><em>language</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Load a set of fonts in the context that can be used to render a font matching <em>desc</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> describing the fonts to load. </td></tr>
    <tr><td class="paramname">language</td><td>A <a class="el" href="classPango_1_1Language.html" title="A Pango::Language is used to represent a language.">Pango::Language</a> the fonts will be used for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The fontset, or <code>0</code> if no font matched. </dd></dl>

</div>
</div>
<a class="anchor" id="a2f2e234bb53c20eff53ed8f1e51e460f"></a><!-- doxytag: member="Pango::Context::set_base_dir" ref="a2f2e234bb53c20eff53ed8f1e51e460f" args="(Direction direction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_base_dir </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga8fa031ece55a28777a84d0115829f601">Direction</a>&#160;</td>
          <td class="paramname"><em>direction</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the base direction for the context. </p>
<p>The base direction is used in applying the Unicode bidirectional algorithm; if the <em>direction</em> is <a class="el" href="group__pangommEnums.html#gga8fa031ece55a28777a84d0115829f601a26ee800099154692da46924d2ba3c798">Pango::DIRECTION_LTR</a> or <a class="el" href="group__pangommEnums.html#gga8fa031ece55a28777a84d0115829f601acc8fc1dc8564449e04f264cb537699ab">Pango::DIRECTION_RTL</a>, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A value of <a class="el" href="group__pangommEnums.html#gga8fa031ece55a28777a84d0115829f601a88db3f8f0d85aceeb442f350f3db062a">Pango::DIRECTION_WEAK_LTR</a> or <a class="el" href="group__pangommEnums.html#gga8fa031ece55a28777a84d0115829f601af554c4d98ffa80fa05041ea48bbb77a5">Pango::DIRECTION_WEAK_RTL</a> is used only for paragraphs that do not contain any strong characters themselves. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">direction</td><td>The new base direction. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afc55b428fe56632e44c7d528eb27c037"></a><!-- doxytag: member="Pango::Context::set_base_gravity" ref="afc55b428fe56632e44c7d528eb27c037" args="(Gravity gravity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_base_gravity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a>&#160;</td>
          <td class="paramname"><em>gravity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the base gravity for the context. </p>
<p>The base gravity is used in laying vertical text out.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000002">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">gravity</td><td>The new base gravity. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5f80cbc5c97fb4ef0152f559096bea6c"></a><!-- doxytag: member="Pango::Context::set_cairo_font_options" ref="a5f80cbc5c97fb4ef0152f559096bea6c" args="(const Cairo::FontOptions &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_cairo_font_options </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../cairomm-1.0/reference/html/classCairo_1_1FontOptions.html">Cairo::FontOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the font options used when rendering text with this context. </p>
<p>These options override any options that pango_cairo_update_context() derives from the target surface.</p>
<dl class="since_1_10"><dt><b><a class="el" href="since_1_10.html#_since_1_10000004">Since pangomm 1.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>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>, from a pangocairo font map. </td></tr>
    <tr><td class="paramname">options</td><td>A #cairo_font_options_t, or <code>0</code> to unset any previously set options. A copy is made. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a90ba5091c7a3177c4b3e49840b64192a"></a><!-- doxytag: member="Pango::Context::set_font_description" ref="a90ba5091c7a3177c4b3e49840b64192a" args="(const FontDescription &amp;desc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::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 context. </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="a1e81f9b89aee5b5cf5f85ffe49806a74"></a><!-- doxytag: member="Pango::Context::set_font_map" ref="a1e81f9b89aee5b5cf5f85ffe49806a74" args="(const Glib::RefPtr&lt; FontMap &gt; &amp;font_map)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_font_map </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_1FontMap.html">FontMap</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font_map</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the font map to be searched when fonts are looked-up in this context. </p>
<p>This is only for internal use by <a class="el" href="namespacePango.html">Pango</a> backends, 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> obtained via one of the recommended methods should already have a suitable font map. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">font_map</td><td>The <a class="el" href="classPango_1_1FontMap.html" title="A Pango::FontMap represents the set of fonts available for a particular rendering system...">Pango::FontMap</a> to set. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a86b50228ad45a1bb81136519aea95915"></a><!-- doxytag: member="Pango::Context::set_gravity_hint" ref="a86b50228ad45a1bb81136519aea95915" args="(GravityHint hint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_gravity_hint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga405d1530ab8ac4993a0921a27fe035dd">GravityHint</a>&#160;</td>
          <td class="paramname"><em>hint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the gravity hint for the context. </p>
<p>The gravity hint is used in laying vertical text out, and is only relevant if gravity of the context as returned by <a class="el" href="classPango_1_1Context.html#ac31983f5fe9be6d9eeca453846c22a9d" title="Retrieves the gravity for the context.">get_gravity()</a> is set <a class="el" href="group__pangommEnums.html#gga64db2216c86f2ce624b9ef0489bf1df4af6aca55cd113d30809b9292448d444e3">Pango::GRAVITY_EAST</a> or <a class="el" href="group__pangommEnums.html#gga64db2216c86f2ce624b9ef0489bf1df4a4c25e7d91fb461b35daf17b8c107381b">Pango::GRAVITY_WEST</a>.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000005">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">hint</td><td>The new gravity hint. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a20a1d003027b28404ae547118a1d6d80"></a><!-- doxytag: member="Pango::Context::set_language" ref="a20a1d003027b28404ae547118a1d6d80" args="(const Language &amp;language)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_language </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Language.html">Language</a>&amp;&#160;</td>
          <td class="paramname"><em>language</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the global language tag for the context. </p>
<p>The default language for the locale of the running process can be found using Pango::Language::get_default(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">language</td><td>The new language tag. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae3e16a984e6c1bb2d8066201b4594da5"></a><!-- doxytag: member="Pango::Context::set_matrix" ref="ae3e16a984e6c1bb2d8066201b4594da5" args="(const Matrix &amp;matrix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_matrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacePango.html#a5565a2f93d4fb8f943cc2d1fb2d476e1">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the transformation matrix that will be applied when rendering with this context. </p>
<p>Note that reported metrics are in the user space coordinates before the application of the matrix, not device-space coordinates after the application of the matrix. So, they don't scale with the matrix, though they may change slightly for different matrices, depending on how the text is fit to the pixel grid.</p>
<dl class="since_1_6"><dt><b><a class="el" href="since_1_6.html#_since_1_6000003">Since pangomm 1.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>A <a class="el" href="namespacePango.html#a5565a2f93d4fb8f943cc2d1fb2d476e1">Pango::Matrix</a>, or <code>0</code> to unset any existing matrix. (No matrix set is the same as setting the identity matrix.). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae912e733915cc5b48124a4aa913c6a7f"></a><!-- doxytag: member="Pango::Context::set_resolution" ref="ae912e733915cc5b48124a4aa913c6a7f" args="(double dpi)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Context::set_resolution </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dpi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the resolution for the context. </p>
<p>This is a scale factor between points specified in a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> and <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</a> units. The default value is 96, meaning that a 10 point font will be 13 units high. (10* 96. / 72. = 13.3).</p>
<dl class="since_1_10"><dt><b><a class="el" href="since_1_10.html#_since_1_10000006">Since pangomm 1.10:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>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>, from a pangocairo font map. </td></tr>
    <tr><td class="paramname">dpi</td><td>The resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.) A 0 or negative value means to use the resolution from the font map. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acc6707edbfcbbe79f6e3c540ddfa6eb1"></a><!-- doxytag: member="Pango::Context::update_from_cairo_context" ref="acc6707edbfcbbe79f6e3c540ddfa6eb1" 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::Context::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 a <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> previously created for use with <a class="elRef" href="../../../cairomm-1.0/reference/html/namespaceCairo.html">Cairo</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>
<p>If any layouts have been created for the context, it's necessary to call <a class="el" href="classPango_1_1Layout.html#ab78ccca32cb57798beb743ae6778e7a8" title="Forces recomputation of any state in the Pango::Layout that might depend on the layout&#39;s context...">Pango::Layout::context_changed()</a> on those layouts.</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, from <a class="el" href="classPango_1_1CairoFontMap.html#af0dc38a29a12d73efaf30edcec4aa99d" title="Create a Pango::Context for the given fontmap.">CairoFontMap::create_context()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ac61523c7c5af185d2c5ce7ce5706c3b4"></a><!-- doxytag: member="Pango::Context::wrap" ref="ac61523c7c5af185d2c5ce7ce5706c3b4" args="(PangoContext *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_1Context.html">Pango::Context</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">PangoContext *&#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/context.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>