Sophie

Sophie

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

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::Font 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_1Font.html">Font</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<div class="title">Pango::Font Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Pango::Font" --><!-- doxytag: inherits="Glib::Object" -->
<p>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter.">Pango::Font</a> is used to represent a font in a rendering-system-independent matter.  <a href="classPango_1_1Font.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Pango::Font:</div>
<div class="dyncontent">
<div class="center"><img src="classPango_1_1Font__inherit__graph.png" border="0" usemap="#Pango_1_1Font_inherit__map" alt="Inheritance graph"/></div>
<map name="Pango_1_1Font_inherit__map" id="Pango_1_1Font_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::Font:</div>
<div class="dyncontent">
<div class="center"><img src="classPango_1_1Font__coll__graph.png" border="0" usemap="#Pango_1_1Font_coll__map" alt="Collaboration graph"/></div>
<map name="Pango_1_1Font_coll__map" id="Pango_1_1Font_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_1Font-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_1Font.html#a069494173b8b589578e3db29864aef3d">~Font</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoFont*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Font.html#a79324708eb9ecc5ac20c7458180028c6">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a79324708eb9ecc5ac20c7458180028c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const PangoFont*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Font.html#aa6edf026791465ad4a5c8e398d6b7b74">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aa6edf026791465ad4a5c8e398d6b7b74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PangoFont*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Font.html#a4d9645c3d7731d5f40b30aa19c049d29">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="#a4d9645c3d7731d5f40b30aa19c049d29"></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_1Font.html#ae2f6278e19a7f30e37fa7dc92a0a69bd">describe</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a description of the font, with font size set in points. <a href="#ae2f6278e19a7f30e37fa7dc92a0a69bd"></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_1Font.html#a6e3095f466db0175b440a7f03f007067">describe_with_absolute_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a description of the font, with absolute font size set (in device units). <a href="#a6e3095f466db0175b440a7f03f007067"></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_1Coverage.html">Coverage</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Font.html#ac9c136ab023386cd3c2fec405d9b1ffb">get_coverage</a> (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">Computes the coverage map for a given font and language tag. <a href="#ac9c136ab023386cd3c2fec405d9b1ffb"></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_1Font.html#a40cea3673f1ba22a2d270bdbde7913dd">get_metrics</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets overall metric information for a font. <a href="#a40cea3673f1ba22a2d270bdbde7913dd"></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_1Font.html#a5f0571ad3c083e5d871d073bee00b626">get_metrics</a> (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">Gets overall metric information for a font. <a href="#a5f0571ad3c083e5d871d073bee00b626"></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_1Font.html#a7fc06adf5a1b63a1b97c6b3fe7e417c5">get_glyph_extents</a> (<a class="el" href="namespacePango.html#af6dc8c4b054d52aede51e2a2bb63522c">Glyph</a> glyph, <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">Gets the logical and ink extents of a glyph within a font. <a href="#a7fc06adf5a1b63a1b97c6b3fe7e417c5"></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_1Font.html#a47d4be49482125119d8547861620597c">get_font_map</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the font map for which the font was created. <a href="#a47d4be49482125119d8547861620597c"></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_1Font.html#a27478176dfb7c8134ecd325efd0c1dee">get_font_map</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the font map for which the font was created. <a href="#a27478176dfb7c8134ecd325efd0c1dee"></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_1Font.html#a171f5072c99849a1fae63c7358244c16">get_glyph_ink_extents</a> (<a class="el" href="namespacePango.html#af6dc8c4b054d52aede51e2a2bb63522c">Glyph</a> glyph) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the ink extents of a glyph within the font. <a href="#a171f5072c99849a1fae63c7358244c16"></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_1Font.html#af17475cdeb9d7244966534a05639e47f">get_glyph_logical_extents</a> (<a class="el" href="namespacePango.html#af6dc8c4b054d52aede51e2a2bb63522c">Glyph</a> glyph) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the logical extents of a glyph within the font. <a href="#af17475cdeb9d7244966534a05639e47f"></a><br/></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_1Font.html">Pango::Font</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Font.html#a8a2ffe6a7a800882a2430a19360b7c78">wrap</a> (PangoFont* 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="#a8a2ffe6a7a800882a2430a19360b7c78"></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_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter.">Pango::Font</a> is used to represent a font in a rendering-system-independent matter. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a069494173b8b589578e3db29864aef3d"></a><!-- doxytag: member="Pango::Font::~Font" ref="a069494173b8b589578e3db29864aef3d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Pango::Font::~Font </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae2f6278e19a7f30e37fa7dc92a0a69bd"></a><!-- doxytag: member="Pango::Font::describe" ref="ae2f6278e19a7f30e37fa7dc92a0a69bd" 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::Font::describe </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a description of the font, with font size set in points. </p>
<p>Use <a class="el" href="classPango_1_1Font.html#a6e3095f466db0175b440a7f03f007067" title="Returns a description of the font, with absolute font size set (in device units).">describe_with_absolute_size()</a> if you want the font size in device units. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> object. </dd></dl>

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

<p>Returns a description of the font, with absolute font size set (in device units). </p>
<p>Use <a class="el" href="classPango_1_1Font.html#ae2f6278e19a7f30e37fa7dc92a0a69bd" title="Returns a description of the font, with font size set in points.">describe()</a> if you want the font size in points.</p>
<dl class="since_1_14"><dt><b><a class="el" href="since_1_14.html#_since_1_14000001">Since pangomm 1.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font.">Pango::FontDescription</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9c136ab023386cd3c2fec405d9b1ffb"></a><!-- doxytag: member="Pango::Font::get_coverage" ref="ac9c136ab023386cd3c2fec405d9b1ffb" args="(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_1Coverage.html">Coverage</a>&gt; Pango::Font::get_coverage </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> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Computes the coverage map for a given font and language tag. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">language</td><td>The language tag. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated <a class="el" href="classPango_1_1Coverage.html" title="A Pango::Coverage represents a map from ISO-10646 character point to Pango::CoverageLevel.">Pango::Coverage</a> object. </dd></dl>

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

<p>Gets the font map for which the font was created. </p>
<p>Note that the font maintains a &lt;firstterm&gt;weak&lt;/firstterm&gt; reference to the font map, so if all references to font map are dropped, the font map will be finalized even if there are fonts created with the font map that are still alive. In that case this function will return <code>0</code>. It is the responsibility of the user to ensure that the font map is kept alive. In most uses this is not an issue as 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> holds a reference to the font map.</p>
<dl class="since_1_10"><dt><b><a class="el" href="since_1_10.html#_since_1_10000008">Since pangomm 1.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>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> for the font, or <code>0</code> if <em>font</em> is <code>0</code>. </dd></dl>

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

<p>Gets the font map for which the font was created. </p>
<p>Note that the font maintains a &lt;firstterm&gt;weak&lt;/firstterm&gt; reference to the font map, so if all references to font map are dropped, the font map will be finalized even if there are fonts created with the font map that are still alive. In that case this function will return <code>0</code>. It is the responsibility of the user to ensure that the font map is kept alive. In most uses this is not an issue as 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> holds a reference to the font map.</p>
<dl class="since_1_10"><dt><b><a class="el" href="since_1_10.html#_since_1_10000009">Since pangomm 1.10:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>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> for the font, or <code>0</code> if <em>font</em> is <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a7fc06adf5a1b63a1b97c6b3fe7e417c5"></a><!-- doxytag: member="Pango::Font::get_glyph_extents" ref="a7fc06adf5a1b63a1b97c6b3fe7e417c5" args="(Glyph glyph, Rectangle &amp;ink_rect, Rectangle &amp;logical_rect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Font::get_glyph_extents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacePango.html#af6dc8c4b054d52aede51e2a2bb63522c">Glyph</a>&#160;</td>
          <td class="paramname"><em>glyph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>ink_rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>logical_rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the logical and ink extents of a glyph within a font. </p>
<p>The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The macros PANGO_ASCENT(), PANGO_DESCENT(), PANGO_LBEARING(), and PANGO_RBEARING can be used to convert from the extents rectangle to more traditional font metrics. The units of the rectangles are in 1/PANGO_SCALE of a device unit. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph index. </td></tr>
    <tr><td class="paramname">ink_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle.">Rectangle</a> used to store the extents of the glyph as drawn. </td></tr>
    <tr><td class="paramname">logical_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle.">Rectangle</a> used to store the logical extents of the glyph. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a171f5072c99849a1fae63c7358244c16"></a><!-- doxytag: member="Pango::Font::get_glyph_ink_extents" ref="a171f5072c99849a1fae63c7358244c16" args="(Glyph glyph) 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::Font::get_glyph_ink_extents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacePango.html#af6dc8c4b054d52aede51e2a2bb63522c">Glyph</a>&#160;</td>
          <td class="paramname"><em>glyph</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the ink extents of a glyph within the font. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The extents of the glyph as drawn. </dd></dl>

</div>
</div>
<a class="anchor" id="af17475cdeb9d7244966534a05639e47f"></a><!-- doxytag: member="Pango::Font::get_glyph_logical_extents" ref="af17475cdeb9d7244966534a05639e47f" args="(Glyph glyph) 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::Font::get_glyph_logical_extents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacePango.html#af6dc8c4b054d52aede51e2a2bb63522c">Glyph</a>&#160;</td>
          <td class="paramname"><em>glyph</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the logical extents of a glyph within the font. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">glyph</td><td>The glyph index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The logical extents of the glyph. </dd></dl>

</div>
</div>
<a class="anchor" id="a5f0571ad3c083e5d871d073bee00b626"></a><!-- doxytag: member="Pango::Font::get_metrics" ref="a5f0571ad3c083e5d871d073bee00b626" args="(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::Font::get_metrics </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> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets overall metric information for a font. </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>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <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="a40cea3673f1ba22a2d270bdbde7913dd"></a><!-- doxytag: member="Pango::Font::get_metrics" ref="a40cea3673f1ba22a2d270bdbde7913dd" args="() 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::Font::get_metrics </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets overall metric information for a font. </p>
<p>The metrics may be substantially different for different scripts. However, this function overload returns the metrics for the entire font. </p>

</div>
</div>
<a class="anchor" id="aa6edf026791465ad4a5c8e398d6b7b74"></a><!-- doxytag: member="Pango::Font::gobj" ref="aa6edf026791465ad4a5c8e398d6b7b74" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PangoFont* Pango::Font::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="a79324708eb9ecc5ac20c7458180028c6"></a><!-- doxytag: member="Pango::Font::gobj" ref="a79324708eb9ecc5ac20c7458180028c6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoFont* Pango::Font::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="a4d9645c3d7731d5f40b30aa19c049d29"></a><!-- doxytag: member="Pango::Font::gobj_copy" ref="a4d9645c3d7731d5f40b30aa19c049d29" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoFont* Pango::Font::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>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a8a2ffe6a7a800882a2430a19360b7c78"></a><!-- doxytag: member="Pango::Font::wrap" ref="a8a2ffe6a7a800882a2430a19360b7c78" args="(PangoFont *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_1Font.html">Pango::Font</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">PangoFont *&#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/font.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>