Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 9745ce35c1c907f3c3d2798af9fdabe7 > files > 11

cairomm-doc-1.8.4-1.fc13.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
        <title>cairomm: Cairo::FontFace Class Reference</title>
        <link href="cairomm.css" rel="stylesheet" type="text/css">
    </head>
<body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <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="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceCairo.html">Cairo</a>::<a class="el" href="classCairo_1_1FontFace.html">FontFace</a>
  </div>
</div>
<div class="contents">
<h1>Cairo::FontFace Class Reference</h1><!-- doxytag: class="Cairo::FontFace" -->A <a class="el" href="classCairo_1_1FontFace.html" title="A FontFace represents a particular font at a particular weight, slant, and other...">FontFace</a> represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size.  
<a href="#_details">More...</a>
<p>
Inherited by <a class="el" href="classCairo_1_1FtFontFace.html">Cairo::FtFontFace</a>, <a class="el" href="classCairo_1_1QuartzFontFace.html">Cairo::QuartzFontFace</a>, <a class="el" href="classCairo_1_1ToyFontFace.html">Cairo::ToyFontFace</a>, <a class="el" href="classCairo_1_1UserFontFace.html">Cairo::UserFontFace</a>, and <a class="el" href="classCairo_1_1Win32FontFace.html">Cairo::Win32FontFace</a>.
<p>

<p>
<a href="classCairo_1_1FontFace-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef cairo_font_face_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#f464d8f051930da555fcbf632add755d">FontFace</a> (cairo_font_face_t*<a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a>, bool has_reference=false)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a C++ wrapper for the C instance.  <a href="#f464d8f051930da555fcbf632add755d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#a5d84dba43cd09c1710b458132a9ab8d">~FontFace</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceCairo.html#23e1a9a5be49d16cf3871e841e8ab522">FontType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#201bec9a38120a2f77b56c2e61c0a481">get_type</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#c8b43511916adc955411051e3a29b53a">cobj</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#af59eb8a1bd2a51e4d9c850279ae6bd6">cobj</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#33876cc188930bf2ecbcd43c8604267b">reference</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#603f1045e7fed08f9e3001be69c2bb56">unreference</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#e2d03f09adca1b8f9008680f0e831b0c">m_cobject</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="classCairo_1_1FontFace.html" title="A FontFace represents a particular font at a particular weight, slant, and other...">FontFace</a> represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size. 
<p>
Font faces are created using font-backend-specific constructors or implicitly using the toy text API by way of <a class="el" href="classCairo_1_1Context.html#cb1da5f3949195f76424e11be923fbfd">Context::select_font_face()</a>. The resulting face can be accessed using <a class="el" href="classCairo_1_1Context.html#a3606d313d54bc1b26938a8dfadc1e94">Context::get_font_face()</a>. <hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="b1631f7eb6458a98be291880a1dde3d7"></a><!-- doxytag: member="Cairo::FontFace::cobject" ref="b1631f7eb6458a98be291880a1dde3d7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef cairo_font_face_t <a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">Cairo::FontFace::cobject</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="f464d8f051930da555fcbf632add755d"></a><!-- doxytag: member="Cairo::FontFace::FontFace" ref="f464d8f051930da555fcbf632add755d" args="(cairo_font_face_t *cobject, bool has_reference=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::FontFace::FontFace           </td>
          <td>(</td>
          <td class="paramtype">cairo_font_face_t *&#160;</td>
          <td class="paramname"> <em>cobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>has_reference</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a C++ wrapper for the C instance. 
<p>
This C++ instance should then be given to a <a class="el" href="classCairo_1_1RefPtr.html" title="RefPtr&lt;&gt; is a reference-counting shared smartpointer.">RefPtr</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cobject</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>has_reference</em>&#160;</td><td>Whether we already have a reference. Otherwise, the constructor will take an extra reference. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="a5d84dba43cd09c1710b458132a9ab8d"></a><!-- doxytag: member="Cairo::FontFace::~FontFace" ref="a5d84dba43cd09c1710b458132a9ab8d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Cairo::FontFace::~FontFace           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="af59eb8a1bd2a51e4d9c850279ae6bd6"></a><!-- doxytag: member="Cairo::FontFace::cobj" ref="af59eb8a1bd2a51e4d9c850279ae6bd6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a>* Cairo::FontFace::cobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c8b43511916adc955411051e3a29b53a"></a><!-- doxytag: member="Cairo::FontFace::cobj" ref="c8b43511916adc955411051e3a29b53a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a>* Cairo::FontFace::cobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="201bec9a38120a2f77b56c2e61c0a481"></a><!-- doxytag: member="Cairo::FontFace::get_type" ref="201bec9a38120a2f77b56c2e61c0a481" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#23e1a9a5be49d16cf3871e841e8ab522">FontType</a> Cairo::FontFace::get_type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="33876cc188930bf2ecbcd43c8604267b"></a><!-- doxytag: member="Cairo::FontFace::reference" ref="33876cc188930bf2ecbcd43c8604267b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::FontFace::reference           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="603f1045e7fed08f9e3001be69c2bb56"></a><!-- doxytag: member="Cairo::FontFace::unreference" ref="603f1045e7fed08f9e3001be69c2bb56" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::FontFace::unreference           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e2d03f09adca1b8f9008680f0e831b0c"></a><!-- doxytag: member="Cairo::FontFace::m_cobject" ref="e2d03f09adca1b8f9008680f0e831b0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1FontFace.html#b1631f7eb6458a98be291880a1dde3d7">cobject</a>* <a class="el" href="classCairo_1_1FontFace.html#e2d03f09adca1b8f9008680f0e831b0c">Cairo::FontFace::m_cobject</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>cairomm/fontface.h</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 13 11:40:14 2009 for cairomm by&#160;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>