Daily Doc - PangoFontSet

[email protected] (Elizabeth Smith)
Newsgroups php.gtk.doc
Message-ID <[email protected]>
I'm on a pango kick at the moment - today's doc is PangoFontSet

Any word on the missing skeletons?

Thanks,
Elizabeth Smith
pangofontset.xml (text/xml, 2.3 KB)
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision: 1.4 $ -->
<classentry id="pango.pangofontset">
 <classmeta>
  <classtitle>PangoFontset</classtitle>
  <classparent>GObject</classparent>
  <shortdesc>
    Holds a set of <classname>PangoFont</classname> objects.
  </shortdesc>
  <desc>
    <para>
      This class holds a set of <classname>PangoFont</classname> objects and can
      be retrieved using <function class="PangoContext">load_fontset</function>
      or <function class="PangoFontMap">load_fontset</function>
    </para>
  </desc>
 </classmeta>

 <methods>

  <method id="pango.pangofontset.method.foreach">
   <funcsynopsis>
    <funcprototype>
     <funcdef>void <function>foreach</function></funcdef>
     <paramdef>void</paramdef>
    </funcprototype>
   </funcsynopsis>
   <shortdesc>
    Invokes a callback on each item of the font set.
   </shortdesc>
   <desc>
    <para>
      Invokes the callback function specified on each
      <classname>PangoFont</classname> of the font set.
       The callback function can have the following parameters:
      <literal>(<classname>PangoFontSet</classname> fontset,
      <classname>PangoFont</classname> font)</literal>.
    </para>
   </desc>
  </method>

  <method id="pango.pangofontset.method.get_font">
   <funcsynopsis>
    <funcprototype>
     <funcdef>PangoFont <function>get_font</function></funcdef>
     <paramdef>int <parameter>wc</parameter></paramdef>
    </funcprototype>
   </funcsynopsis>
   <shortdesc>
    Returns the best font for displaying a unicode character.
   </shortdesc>
   <desc>
    <para>
      This method returns the <classname>PangoFont</classname> in the fontset
      that contains the best glyph for the unicode character specified by
      <literal>wc</literal>.
    </para>
   </desc>
  </method>

  <method id="pango.pangofontset.method.get_metrics">
   <funcsynopsis>
    <funcprototype>
     <funcdef> <function>get_metrics</function></funcdef>
     <paramdef>void</paramdef>
    </funcprototype>
   </funcsynopsis>
   <shortdesc>
    Returns a <classname>PangoFontMetrics</classname> object.
   </shortdesc>
   <desc>
    <para>
      This method returns a <classname>PangoFontMetrics</classname> object that
      contains the metric information for the fonts in the fontset.
    </para>
   </desc>
  </method>

 </methods>

</classentry>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.