Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > f5b8bf9ba5c3c0062e8b494b5ddab2e8 > files > 71

cairomm-devel-1.8.4-1.fc13.i686.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::QuartzFontFace 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_1QuartzFontFace.html">QuartzFontFace</a>
  </div>
</div>
<div class="contents">
<h1>Cairo::QuartzFontFace Class Reference</h1><!-- doxytag: class="Cairo::QuartzFontFace" --><!-- doxytag: inherits="Cairo::FontFace" -->Font support for Quartz (CGFont) fonts on OS X.  
<a href="#_details">More...</a>
<p>
Inherits <a class="el" href="classCairo_1_1FontFace.html">Cairo::FontFace</a>.
<p>

<p>
<a href="classCairo_1_1QuartzFontFace-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1QuartzFontFace.html#4a9543947dccafb7c08e8a10c0b0a7fa">create</a> (CGFontRef font)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new font for the Quartz font backend based on a CGFontRef.  <a href="#4a9543947dccafb7c08e8a10c0b0a7fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1QuartzFontFace.html#cf2559b93b2026dbb5dec7fc2e9e510a">create</a> (ATSUFontID font_id)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new font for the Quartz font backend based on an ATSUFontID.  <a href="#cf2559b93b2026dbb5dec7fc2e9e510a"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected 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_1QuartzFontFace.html#ce6647ef3cb71b1cae90be9bcc32e973">QuartzFontFace</a> (CGFontRef font)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1QuartzFontFace.html#c7df53f82e992f2db387295f8b1d91a1">QuartzFontFace</a> (ATSUFontID font_id)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Font support for Quartz (CGFont) fonts on OS X. 
<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>1.8 </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ce6647ef3cb71b1cae90be9bcc32e973"></a><!-- doxytag: member="Cairo::QuartzFontFace::QuartzFontFace" ref="ce6647ef3cb71b1cae90be9bcc32e973" args="(CGFontRef font)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::QuartzFontFace::QuartzFontFace           </td>
          <td>(</td>
          <td class="paramtype">CGFontRef&#160;</td>
          <td class="paramname"> <em>font</em>          </td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c7df53f82e992f2db387295f8b1d91a1"></a><!-- doxytag: member="Cairo::QuartzFontFace::QuartzFontFace" ref="c7df53f82e992f2db387295f8b1d91a1" args="(ATSUFontID font_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::QuartzFontFace::QuartzFontFace           </td>
          <td>(</td>
          <td class="paramtype">ATSUFontID&#160;</td>
          <td class="paramname"> <em>font_id</em>          </td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="cf2559b93b2026dbb5dec7fc2e9e510a"></a><!-- doxytag: member="Cairo::QuartzFontFace::create" ref="cf2559b93b2026dbb5dec7fc2e9e510a" args="(ATSUFontID font_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a>&gt; Cairo::QuartzFontFace::create           </td>
          <td>(</td>
          <td class="paramtype">ATSUFontID&#160;</td>
          <td class="paramname"> <em>font_id</em>          </td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a new font for the Quartz font backend based on an ATSUFontID. 
<p>
This font can then be used with <a class="el" href="classCairo_1_1Context.html#9b344db51097aba30e36452e1364faef">Context::set_font_face()</a> or <a class="el" href="classCairo_1_1ScaledFont.html#dddf87ea689711ddbbee3028ed30e02b" title="Creates a ScaledFont object from a font face and matrices that describe the size...">ScaledFont::create()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>font_id</em>&#160;</td><td>an ATSUFontID for the font.</td></tr>
  </table>
</dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>1.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4a9543947dccafb7c08e8a10c0b0a7fa"></a><!-- doxytag: member="Cairo::QuartzFontFace::create" ref="4a9543947dccafb7c08e8a10c0b0a7fa" args="(CGFontRef font)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a>&gt; Cairo::QuartzFontFace::create           </td>
          <td>(</td>
          <td class="paramtype">CGFontRef&#160;</td>
          <td class="paramname"> <em>font</em>          </td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a new font for the Quartz font backend based on a CGFontRef. 
<p>
This font can then be used with <a class="el" href="classCairo_1_1Context.html#9b344db51097aba30e36452e1364faef">Context::set_font_face()</a> or <a class="el" href="classCairo_1_1ScaledFont.html#dddf87ea689711ddbbee3028ed30e02b" title="Creates a ScaledFont object from a font face and matrices that describe the size...">ScaledFont::create()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>font</em>&#160;</td><td>a CGFontRef obtained through a method external to cairo.</td></tr>
  </table>
</dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>1.8 </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>cairomm/quartz_font.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>