<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>OpenSceneGraph: osgText::Font3D::Font3DImplementation Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div 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="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="a01639.html">osgText</a> </li> <li><a class="el" href="a00298.html">osgText::Font3D</a> </li> <li><a class="el" href="a00299.html">osgText::Font3D::Font3DImplementation</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> </div> <div class="headertitle"> <h1>osgText::Font3D::Font3DImplementation Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="osgText::Font3D::Font3DImplementation" --><!-- doxytag: inherits="osg::Referenced" --><div class="dynheader"> Inheritance diagram for osgText::Font3D::Font3DImplementation:</div> <div class="dyncontent"> <div class="center"><img src="a03540.png" border="0" usemap="#osgText_1_1Font3D_1_1Font3DImplementation_inherit__map" alt="Inheritance graph"/></div> <map name="osgText_1_1Font3D_1_1Font3DImplementation_inherit__map" id="osgText_1_1Font3D_1_1Font3DImplementation_inherit__map"> <area shape="rect" id="node2" href="a00627.html" title="Base class from providing referencing counted objects." alt="" coords="76,5,193,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a03541.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a7454472f2bff379f4624e13cea28b7e8">Font3DImplementation</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a7f85ef17b762ec5e7c1e0167abae10d9">getFileName</a> () const =0</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00324.html">Glyph3D</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a3266acf4c8dfbac62b7d0885c15822ae">getGlyph</a> (unsigned int charcode)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a Glyph for specified charcode, and the font size nearest to the current font size hint. <a href="#a3266acf4c8dfbac62b7d0885c15822ae"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a01062.html">osg::Vec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#af335deb87c688409954b9176e75571db">getKerning</a> (unsigned int leftcharcode, unsigned int rightcharcode, <a class="el" href="a01639.html#a92859cb5d7d316eb6d2b6ac2f5cdf9c1">KerningType</a> kerningType)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. <a href="#af335deb87c688409954b9176e75571db"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a4b08c61d111dcc527ab02d4dfb3f91c3">hasVertical</a> () const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if this font provides vertical alignments and spacing or glyphs. <a href="#a4b08c61d111dcc527ab02d4dfb3f91c3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a6e1e71c25874fe0118e73fa4ee46d9c5">getScale</a> () const =0</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a6c76dcc0489587c2c614a3adb92b8be8">setFontWidth</a> (unsigned int width)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a47c46d14b0fc747cd6e7969134232712">setFontHeight</a> (unsigned int height)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#aef704daa363abf77484728fdcf74c038">setFontDepth</a> (unsigned int depth)</td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00298.html">Font3D</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00299.html#a0b9915406b61bf51a0664bbfb5bcb1b9">_facade</a></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a7454472f2bff379f4624e13cea28b7e8"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::Font3DImplementation" ref="a7454472f2bff379f4624e13cea28b7e8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">osgText::Font3D::Font3DImplementation::Font3DImplementation </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a7f85ef17b762ec5e7c1e0167abae10d9"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::getFileName" ref="a7f85ef17b762ec5e7c1e0167abae10d9" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual std::string osgText::Font3D::Font3DImplementation::getFileName </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a3266acf4c8dfbac62b7d0885c15822ae"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::getGlyph" ref="a3266acf4c8dfbac62b7d0885c15822ae" args="(unsigned int charcode)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00324.html">Glyph3D</a>* osgText::Font3D::Font3DImplementation::getGlyph </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>charcode</em></td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get a Glyph for specified charcode, and the font size nearest to the current font size hint. </p> </div> </div> <a class="anchor" id="af335deb87c688409954b9176e75571db"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::getKerning" ref="af335deb87c688409954b9176e75571db" args="(unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a01062.html">osg::Vec2</a> osgText::Font3D::Font3DImplementation::getKerning </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>leftcharcode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>rightcharcode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a01639.html#a92859cb5d7d316eb6d2b6ac2f5cdf9c1">KerningType</a> </td> <td class="paramname"> <em>kerningType</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. </p> </div> </div> <a class="anchor" id="a6e1e71c25874fe0118e73fa4ee46d9c5"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::getScale" ref="a6e1e71c25874fe0118e73fa4ee46d9c5" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual float osgText::Font3D::Font3DImplementation::getScale </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4b08c61d111dcc527ab02d4dfb3f91c3"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::hasVertical" ref="a4b08c61d111dcc527ab02d4dfb3f91c3" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool osgText::Font3D::Font3DImplementation::hasVertical </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Return true if this font provides vertical alignments and spacing or glyphs. </p> </div> </div> <a class="anchor" id="aef704daa363abf77484728fdcf74c038"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::setFontDepth" ref="aef704daa363abf77484728fdcf74c038" args="(unsigned int depth)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void osgText::Font3D::Font3DImplementation::setFontDepth </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>depth</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a47c46d14b0fc747cd6e7969134232712"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::setFontHeight" ref="a47c46d14b0fc747cd6e7969134232712" args="(unsigned int height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void osgText::Font3D::Font3DImplementation::setFontHeight </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>height</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a6c76dcc0489587c2c614a3adb92b8be8"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::setFontWidth" ref="a6c76dcc0489587c2c614a3adb92b8be8" args="(unsigned int width)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void osgText::Font3D::Font3DImplementation::setFontWidth </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>width</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a0b9915406b61bf51a0664bbfb5bcb1b9"></a><!-- doxytag: member="osgText::Font3D::Font3DImplementation::_facade" ref="a0b9915406b61bf51a0664bbfb5bcb1b9" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00298.html">Font3D</a>* <a class="el" href="a00299.html#a0b9915406b61bf51a0664bbfb5bcb1b9">osgText::Font3D::Font3DImplementation::_facade</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>osgText/<a class="el" href="a01544.html">Font3D</a></li> </ul> </div> <hr> <table border="0"><tr><td> <img src="osg32-32.png" alt="osg logo" /> </td><td> <address><small>Generated at Thu Aug 19 2010 16:22:46 for the <a href="http://www.openscenegraph.org/">OpenSceneGraph</a> by <a href="http://www.doxygen.org">doxygen</a> 1.7.1.</small></address> <!-- Dimitri van Heesch's e-mail address removed, lest he get messages on the OpenSceneGraph --> </td></tr></table> </body> </html>