Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 2a38b732199ac205772f2322bdd57a78 > files > 51

lib64cairomm1.0-devel-1.10.0-3.mga4.x86_64.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.7.3 -->
  <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="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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</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="namespaceCairo.html">Cairo</a> </li>
      <li class="navelem"><a class="el" href="classCairo_1_1FontFace.html">FontFace</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> </div>
  <div class="headertitle">
<h1>Cairo::FontFace Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Cairo::FontFace" -->
<p>A <a class="el" href="classCairo_1_1FontFace.html" title="A FontFace represents a particular font at a particular weight, slant, and other characteristic but n...">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>
<div class="dynheader">
Inheritance diagram for Cairo::FontFace:</div>
<div class="dyncontent">
<div class="center"><img src="classCairo_1_1FontFace__inherit__graph.png" border="0" usemap="#Cairo_1_1FontFace_inherit__map" alt="Inheritance graph"/></div>
<map name="Cairo_1_1FontFace_inherit__map" id="Cairo_1_1FontFace_inherit__map">
<area shape="rect" id="node3" href="classCairo_1_1FtFontFace.html" title="Cairo::FtFontFace" alt="" coords="183,5,308,35"/><area shape="rect" id="node5" href="classCairo_1_1QuartzFontFace.html" title="Font support for Quartz (CGFont) fonts on OS X." alt="" coords="168,58,323,89"/><area shape="rect" id="node7" href="classCairo_1_1ToyFontFace.html" title="A simple font face used for the cairo &#39;toy&#39; font API." alt="" coords="177,111,313,142"/><area shape="rect" id="node9" href="classCairo_1_1UserFontFace.html" title="Font support with font data provided by the user." alt="" coords="175,165,316,195"/><area shape="rect" id="node11" href="classCairo_1_1Win32FontFace.html" title="Font support for Microsoft Windows." alt="" coords="171,218,320,249"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classCairo_1_1FontFace-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef cairo_font_face_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#ab1631f7eb6458a98be291880a1dde3d7">cobject</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#af464d8f051930da555fcbf632add755d">FontFace</a> (cairo_font_face_t*<a class="el" href="classCairo_1_1FontFace.html#ab1631f7eb6458a98be291880a1dde3d7">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="#af464d8f051930da555fcbf632add755d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#aa5d84dba43cd09c1710b458132a9ab8d">~FontFace</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#a23e1a9a5be49d16cf3871e841e8ab522">FontType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#a201bec9a38120a2f77b56c2e61c0a481">get_type</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1FontFace.html#ab1631f7eb6458a98be291880a1dde3d7">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#ac8b43511916adc955411051e3a29b53a">cobj</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCairo_1_1FontFace.html#ab1631f7eb6458a98be291880a1dde3d7">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#aaf59eb8a1bd2a51e4d9c850279ae6bd6">cobj</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#a33876cc188930bf2ecbcd43c8604267b">reference</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#a603f1045e7fed08f9e3001be69c2bb56">unreference</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1FontFace.html#ab1631f7eb6458a98be291880a1dde3d7">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1FontFace.html#ae2d03f09adca1b8f9008680f0e831b0c">m_cobject</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classCairo_1_1FontFace.html" title="A FontFace represents a particular font at a particular weight, slant, and other characteristic but n...">FontFace</a> represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size. </p>
<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#acb1da5f3949195f76424e11be923fbfd">Context::select_font_face()</a>. The resulting face can be accessed using <a class="el" href="classCairo_1_1Context.html#aa3606d313d54bc1b26938a8dfadc1e94">Context::get_font_face()</a>. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ab1631f7eb6458a98be291880a1dde3d7"></a><!-- doxytag: member="Cairo::FontFace::cobject" ref="ab1631f7eb6458a98be291880a1dde3d7" 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#ab1631f7eb6458a98be291880a1dde3d7">Cairo::FontFace::cobject</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af464d8f051930da555fcbf632add755d"></a><!-- doxytag: member="Cairo::FontFace::FontFace" ref="af464d8f051930da555fcbf632add755d" 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>&#160;</td>
        </tr>
        <tr>
          <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>
<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>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">cobject</td><td>The C instance. </td></tr>
    <tr><td class="paramname">has_reference</td><td>Whether we already have a reference. Otherwise, the constructor will take an extra reference. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa5d84dba43cd09c1710b458132a9ab8d"></a><!-- doxytag: member="Cairo::FontFace::~FontFace" ref="aa5d84dba43cd09c1710b458132a9ab8d" 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>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="aaf59eb8a1bd2a51e4d9c850279ae6bd6"></a><!-- doxytag: member="Cairo::FontFace::cobj" ref="aaf59eb8a1bd2a51e4d9c850279ae6bd6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCairo_1_1FontFace.html#ab1631f7eb6458a98be291880a1dde3d7">cobject</a>* Cairo::FontFace::cobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a201bec9a38120a2f77b56c2e61c0a481"></a><!-- doxytag: member="Cairo::FontFace::get_type" ref="a201bec9a38120a2f77b56c2e61c0a481" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#a23e1a9a5be49d16cf3871e841e8ab522">FontType</a> Cairo::FontFace::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a33876cc188930bf2ecbcd43c8604267b"></a><!-- doxytag: member="Cairo::FontFace::reference" ref="a33876cc188930bf2ecbcd43c8604267b" 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>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a603f1045e7fed08f9e3001be69c2bb56"></a><!-- doxytag: member="Cairo::FontFace::unreference" ref="a603f1045e7fed08f9e3001be69c2bb56" 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>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>cairomm/fontface.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon May 9 2011 09:51:07 for cairomm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>