<!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.7.3 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class 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_1QuartzFontFace.html">QuartzFontFace</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <h1>Cairo::QuartzFontFace Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Cairo::QuartzFontFace" --><!-- doxytag: inherits="Cairo::FontFace" --> <p>Font support for Quartz (CGFont) fonts on OS X. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Cairo::QuartzFontFace:</div> <div class="dyncontent"> <div class="center"><img src="classCairo_1_1QuartzFontFace__inherit__graph.png" border="0" usemap="#Cairo_1_1QuartzFontFace_inherit__map" alt="Inheritance graph"/></div> <map name="Cairo_1_1QuartzFontFace_inherit__map" id="Cairo_1_1QuartzFontFace_inherit__map"> <area shape="rect" id="node2" href="classCairo_1_1FontFace.html" title="A FontFace represents a particular font at a particular weight, slant, and other characteristic but n..." alt="" coords="25,6,140,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classCairo_1_1QuartzFontFace-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>< <a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1QuartzFontFace.html#a4a9543947dccafb7c08e8a10c0b0a7fa">create</a> (CGFontRef font)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new font for the Quartz font backend based on a CGFontRef. <a href="#a4a9543947dccafb7c08e8a10c0b0a7fa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>< <a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1QuartzFontFace.html#acf2559b93b2026dbb5dec7fc2e9e510a">create</a> (ATSUFontID font_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new font for the Quartz font backend based on an ATSUFontID. <a href="#acf2559b93b2026dbb5dec7fc2e9e510a"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1QuartzFontFace.html#ace6647ef3cb71b1cae90be9bcc32e973">QuartzFontFace</a> (CGFontRef font)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1QuartzFontFace.html#ac7df53f82e992f2db387295f8b1d91a1">QuartzFontFace</a> (ATSUFontID font_id)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Font support for Quartz (CGFont) fonts on OS X. </p> <dl class="since"><dt><b>Since:</b></dt><dd>1.8 </dd></dl> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ace6647ef3cb71b1cae90be9bcc32e973"></a><!-- doxytag: member="Cairo::QuartzFontFace::QuartzFontFace" ref="ace6647ef3cb71b1cae90be9bcc32e973" 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 </td> <td class="paramname"><em>font</em></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ac7df53f82e992f2db387295f8b1d91a1"></a><!-- doxytag: member="Cairo::QuartzFontFace::QuartzFontFace" ref="ac7df53f82e992f2db387295f8b1d91a1" 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 </td> <td class="paramname"><em>font_id</em></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4a9543947dccafb7c08e8a10c0b0a7fa"></a><!-- doxytag: member="Cairo::QuartzFontFace::create" ref="a4a9543947dccafb7c08e8a10c0b0a7fa" 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><<a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a>> Cairo::QuartzFontFace::create </td> <td>(</td> <td class="paramtype">CGFontRef </td> <td class="paramname"><em>font</em></td><td>)</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> <p>This font can then be used with <a class="el" href="classCairo_1_1Context.html#a9b344db51097aba30e36452e1364faef">Context::set_font_face()</a> or <a class="el" href="classCairo_1_1ScaledFont.html#adddf87ea689711ddbbee3028ed30e02b" title="Creates a ScaledFont object from a font face and matrices that describe the size of the font and the ...">ScaledFont::create()</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">font</td><td>a CGFontRef obtained through a method external to cairo.</td></tr> </table> </dd> </dl> <dl class="since"><dt><b>Since:</b></dt><dd>1.8 </dd></dl> </div> </div> <a class="anchor" id="acf2559b93b2026dbb5dec7fc2e9e510a"></a><!-- doxytag: member="Cairo::QuartzFontFace::create" ref="acf2559b93b2026dbb5dec7fc2e9e510a" 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><<a class="el" href="classCairo_1_1QuartzFontFace.html">QuartzFontFace</a>> Cairo::QuartzFontFace::create </td> <td>(</td> <td class="paramtype">ATSUFontID </td> <td class="paramname"><em>font_id</em></td><td>)</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> <p>This font can then be used with <a class="el" href="classCairo_1_1Context.html#a9b344db51097aba30e36452e1364faef">Context::set_font_face()</a> or <a class="el" href="classCairo_1_1ScaledFont.html#adddf87ea689711ddbbee3028ed30e02b" title="Creates a ScaledFont object from a font face and matrices that describe the size of the font and the ...">ScaledFont::create()</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">font_id</td><td>an ATSUFontID for the font.</td></tr> </table> </dd> </dl> <dl class="since"><dt><b>Since:</b></dt><dd>1.8 </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>cairomm/quartz_font.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Mon May 9 2011 09:51:07 for cairomm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>