Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 1442

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Pango::FontMap class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Pango::FontMap Class Reference</h1>A Pango::FontMap represents the set of fonts available for a particular rendering system. 
<a href="#_details">More...</a>
<p>
Inheritance diagram for Pango::FontMap:<p><center><img src="classPango_1_1FontMap__inherit__graph.png" border="0" usemap="#Pango_1_1FontMap__inherit__map" alt="Inheritance graph"></center>
<map name="Pango_1_1FontMap__inherit__map">
<area href="classGlib_1_1Object.html" shape="rect" coords="21,86,101,105" alt="">
<area href="classGlib_1_1ObjectBase.html" shape="rect" coords="7,17,116,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classPango_1_1FontMap-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#a0">~FontMap</a> ()</td></tr>
<tr><td nowrap align=right valign=top>PangoFontMap*&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#a1">gobj</a> ()</td></tr>
<tr><td nowrap align=right valign=top>const PangoFontMap*&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#a2">gobj</a> () const</td></tr>
<tr><td nowrap align=right valign=top>PangoFontMap*&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#a3">gobj_copy</a> ()</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Font.html">Font</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#a4">load_font</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Context.html">Context</a>&gt;&amp; context, const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; desc) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Load the font in the fontmap that is the closest match for <em>desc</em> .</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Fontset.html">Fontset</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#a5">load_fontset</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Context.html">Context</a>&gt;&amp; context, 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>&nbsp;</td><td><font size=-1><em>Load a set of fonts in the fontmap that can be used to render a font matching <em>desc</em> .</em> <a href="#a5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<br>
 <a class="el" href="classPango_1_1FontFamily.html">FontFamily</a> &gt; &gt;&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#a6">list_families</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>List all families for the fontmap.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Related Functions</h2></td></tr>
<tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Pango::FontMap&gt;&nbsp;</td><td valign=bottom><a class="el" href="classPango_1_1FontMap.html#k0">wrap</a> (PangoFontMap* object, bool take_copy=false)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A Pango::FontMap represents the set of fonts available for a particular rendering system.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Pango::FontMap::~FontMap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Pango::FontMap::~FontMap </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a2" doxytag="Pango::FontMap::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const PangoFontMap* Pango::FontMap::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#a3">Glib::ObjectBase</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="Pango::FontMap::gobj"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> PangoFontMap* Pango::FontMap::gobj </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGlib_1_1ObjectBase.html#a2">Glib::ObjectBase</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="Pango::FontMap::gobj_copy"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> PangoFontMap* Pango::FontMap::gobj_copy </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a6" doxytag="Pango::FontMap::list_families"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;<a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1FontFamily.html">FontFamily</a>&gt;&gt; Pango::FontMap::list_families </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
List all families for the fontmap.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>an array of pointers to <a class="el" href="classPango_1_1FontFamily.html">Pango::FontFamily</a> objects. </dd></dl>
    </td>
  </tr>
</table>
<a name="a4" doxytag="Pango::FontMap::load_font"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Font.html">Font</a>&gt; Pango::FontMap::load_font </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Context.html">Context</a>&gt;&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>context</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>desc</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Load the font in the fontmap that is the closest match for <em>desc</em> .
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>context</em>&nbsp;</td><td>The <a class="el" href="classPango_1_1Context.html">Pango::Context</a> the font will be used with. </td></tr>
    <tr><td valign=top><em>desc</em>&nbsp;</td><td>A <a class="el" href="classPango_1_1FontDescription.html">Pango::FontDescription</a> describing the font to load. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The font loaded, or <code>0</code> if no font matched. </dd></dl>
    </td>
  </tr>
</table>
<a name="a5" doxytag="Pango::FontMap::load_fontset"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Fontset.html">Fontset</a>&gt; Pango::FontMap::load_fontset </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classPango_1_1Context.html">Context</a>&gt;&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>context</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>desc</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classPango_1_1Language.html">Language</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>language</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Load a set of fonts in the fontmap that can be used to render a font matching <em>desc</em> .
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>context</em>&nbsp;</td><td>The <a class="el" href="classPango_1_1Context.html">Pango::Context</a> the font will be used with. </td></tr>
    <tr><td valign=top><em>desc</em>&nbsp;</td><td>A <a class="el" href="classPango_1_1FontDescription.html">Pango::FontDescription</a> describing the font to load. </td></tr>
    <tr><td valign=top><em>language</em>&nbsp;</td><td>A <a class="el" href="classPango_1_1Language.html">Pango::Language</a> the fonts will be used for. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The fontset, or <code>0</code> if no font matched. </dd></dl>
    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="k0" doxytag="Pango::FontMap::wrap"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;Pango::FontMap&gt; wrap </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">PangoFontMap*&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>object</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>take_copy</em> = false</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [related]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="fontmap_8h.html">fontmap.h</a></ul>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>