Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 807a538c0f4abf81467b8a86879881d9 > files > 1434

OpenSceneGraph-devel-2.8.4-2.fc14.i686.rpm

<!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::Text 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.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenSceneGraph&#160;<span id="projectnumber">2.8.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</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="classes.html"><span>Class&#160;Index</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="a01639.html">osgText</a>      </li>
      <li class="navelem"><a class="el" href="a00892.html">Text</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">osgText::Text Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="osgText::Text" --><!-- doxytag: inherits="osgText::TextBase" --><div class="dynheader">
Inheritance diagram for osgText::Text:</div>
<div class="dyncontent">
<div class="center"><img src="a03312.png" border="0" usemap="#osgText_1_1Text_inherit__map" alt="Inheritance graph"/></div>
<map name="osgText_1_1Text_inherit__map" id="osgText_1_1Text_inherit__map">
<area shape="rect" id="node11" href="a00279.html" title="osgText::FadeText" alt="" coords="7,392,153,421"/><area shape="rect" id="node2" href="a00894.html" title="osgText::TextBase" alt="" coords="5,237,155,267"/><area shape="rect" id="node4" href="a00216.html" title="Pure virtual base class for drawable geometry." alt="" coords="21,160,139,189"/><area shape="rect" id="node6" href="a00500.html" title="Base class/standard interface for objects which require IO support, cloning and reference counting..." alt="" coords="29,83,131,112"/><area shape="rect" id="node8" href="a00627.html" title="Base class from providing referencing counted objects." alt="" coords="13,5,147,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a03313.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00325.html">GlyphQuads</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">BackdropType</a> { <br/>
&#160;&#160;<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a561c1435d3e5eca170bf93b8d509227f">DROP_SHADOW_BOTTOM_RIGHT</a> =  0, 
<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a867f0dc32ebcb58a835d9a0a251ba9cc">DROP_SHADOW_CENTER_RIGHT</a>, 
<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1ae1e5ae06a447d875a4f1f5695c73ff43">DROP_SHADOW_TOP_RIGHT</a>, 
<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a1f7374072cd41c21afdf0adc33baf19a">DROP_SHADOW_BOTTOM_CENTER</a>, 
<br/>
&#160;&#160;<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1ab71d23bbff21786c0e1f04b50f251842">DROP_SHADOW_TOP_CENTER</a>, 
<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a885227b8f2b22ec6c3892e5042146bce">DROP_SHADOW_BOTTOM_LEFT</a>, 
<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a4363d7b470b6f93a3bbb2b3e47f084c7">DROP_SHADOW_CENTER_LEFT</a>, 
<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a23aac006c500da10fa322a3cd88e2b4b">DROP_SHADOW_TOP_LEFT</a>, 
<br/>
&#160;&#160;<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a9c403bbd71e1ff2a0b1dcbd53b26bcf6">OUTLINE</a>, 
<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1a146c2ef48964740fe15a6646b8dbc5aa">NONE</a>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">BackdropImplementation</a> { <a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836da6f7249649ad16a14d0796af365450780">POLYGON_OFFSET</a> =  0, 
<a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836dab0400723b2afa60b7e9e5aad0b5953d0">NO_DEPTH_BUFFER</a>, 
<a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836dac30645ab64f1d23e3505b7a2e64f7911">DEPTH_RANGE</a>, 
<a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836da6093941a2fa2fd8a7b71735a25224764">STENCIL_BUFFER</a>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">ColorGradientMode</a> { <a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181a3d34cc25db7ee4da699f5c5fb27c53e7">SOLID</a> =  0, 
<a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181a3e3118eea3fa6f05871b7ee26f7893fd">PER_CHARACTER</a>, 
<a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181acce53991e1107ca9a1a1fab4fb3deb7e">OVERALL</a>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; <a class="el" href="a00624.html">osg::ref_ptr</a><br class="typebreak"/>
&lt; <a class="el" href="a00327.html">Font::GlyphTexture</a> &gt;<br class="typebreak"/>
, <a class="el" href="a00325.html">GlyphQuads</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a69a32ea0fe2077c007b77ab4cef12a72">TextureGlyphQuadMap</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="a00892.html#a3daaa400f59888f76485931e618e43e9">Text</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a7db6082ef5a16015adfb5da8d9722757">Text</a> (const <a class="el" href="a00892.html">Text</a> &amp;text, const <a class="el" href="a00169.html">osg::CopyOp</a> &amp;copyop=osg::CopyOp::SHALLOW_COPY)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00500.html">osg::Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a5d3016460fbf2e64895277fd04253532">cloneType</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone the type of an object, with Object* return type.  <a href="#a5d3016460fbf2e64895277fd04253532"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00500.html">osg::Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#af1f81999a46db64d5b2515edf3691fd6">clone</a> (const <a class="el" href="a00169.html">osg::CopyOp</a> &amp;copyop) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone an object, with Object* return type.  <a href="#af1f81999a46db64d5b2515edf3691fd6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a8dadd5b1bf97e62a0a413b532ef7ad17">isSameKindAs</a> (const <a class="el" href="a00500.html">osg::Object</a> *obj) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a844042cc8814617dfd6ad5e8d0ad96e5">className</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the name of the object's class type.  <a href="#a844042cc8814617dfd6ad5e8d0ad96e5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a6a2e991605a4e22133f3afc6add42499">libraryName</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the name of the object's library.  <a href="#a6a2e991605a4e22133f3afc6add42499"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a2b54c985a9744ed0416d2994653339e6">setFont</a> (<a class="el" href="a00297.html">Font</a> *font=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="a00297.html" title="Pure virtual base class for fonts.">Font</a> to use to render the text.  <a href="#a2b54c985a9744ed0416d2994653339e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ad4c40da4e468e05dca1f87042c8aa620">setFont</a> (<a class="el" href="a00624.html">osg::ref_ptr</a>&lt; <a class="el" href="a00297.html">Font</a> &gt; font)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="a00297.html" title="Pure virtual base class for fonts.">Font</a> to use to render the text.  <a href="#ad4c40da4e468e05dca1f87042c8aa620"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ad662fe01a9993a0c213a1560f689606e">setFont</a> (const std::string &amp;fontfile)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the font, loaded from the specified front file, to use to render the text, setFont("") sets the use of the default font.  <a href="#ad662fe01a9993a0c213a1560f689606e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00297.html">Font</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#afad04a1473ebc021a2abf08a2edf36fe">getFont</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the font.  <a href="#afad04a1473ebc021a2abf08a2edf36fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a2727ed3e215d3e7b5503ba97bc765aa1">setColor</a> (const <a class="el" href="a01074.html">osg::Vec4</a> &amp;color)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a79c1fcc0177eff5be359c77a9e364709">getColor</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a26d1e317150d7b5148a8e6747bf9646a">setBackdropType</a> (<a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">BackdropType</a> type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">BackdropType gives you a background shadow text behind your regular text.  <a href="#a26d1e317150d7b5148a8e6747bf9646a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">BackdropType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a6f139426e965a6fe07bca000e89a488d">getBackdropType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#af6662ebcbe01c6c6186f71662c0cb831">setBackdropOffset</a> (float offset=0.07f)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the amount text is offset to create the backdrop/shadow effect.  <a href="#af6662ebcbe01c6c6186f71662c0cb831"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a8c9882ba0d9c358dce85db9a42a856db">setBackdropOffset</a> (float horizontal, float vertical)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This overloaded version lets you specify the offset for the horizontal and vertical components separately.  <a href="#a8c9882ba0d9c358dce85db9a42a856db"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a173b39a74a373e9c0d8b2da6cd0255d3">getBackdropHorizontalOffset</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a3e5bf86d291406c48f976ee3f3006d7f">getBackdropVerticalOffset</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a4009e7ce64d9ef41895698454ac6b0bb">setBackdropColor</a> (const <a class="el" href="a01074.html">osg::Vec4</a> &amp;color)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This specifies the color of the backdrop text.  <a href="#a4009e7ce64d9ef41895698454ac6b0bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#af77961897051c837513da035d1a4201c">getBackdropColor</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a8b10ea357ee340db536db83f0678c09c">setBackdropImplementation</a> (<a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">BackdropImplementation</a> implementation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This specifies the underlying backdrop rendering implementation.  <a href="#a8b10ea357ee340db536db83f0678c09c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">BackdropImplementation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a69bdf3038a7bacef1d7f5172eedbc86f">getBackdropImplementation</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#acb9648eca97e3777e5ed32b7c91b5a6b">setColorGradientMode</a> (<a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">ColorGradientMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This sets different types of text coloring modes.  <a href="#acb9648eca97e3777e5ed32b7c91b5a6b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">ColorGradientMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ad5148858e94863e8f9139ae962903003">getColorGradientMode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a79dc5954b163c97507961a7822754c1f">setColorGradientCorners</a> (const <a class="el" href="a01074.html">osg::Vec4</a> &amp;topLeft, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;bottomLeft, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;bottomRight, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;topRight)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Used only for gradient mode, let's you specify the colors of the 4 corners.  <a href="#a79dc5954b163c97507961a7822754c1f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a50752e6130e89ac62b1321e2a15cb740">getColorGradientTopLeft</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a80dde875664ec0852360a5ed37022c59">getColorGradientBottomLeft</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aead6474b2960fb49af6d6757468d75fc">getColorGradientBottomRight</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aa58200212928a8fe87e82488b238da36">getColorGradientTopRight</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a936d7fde0b4b1e269937ea693116309a">drawImplementation</a> (<a class="el" href="a00653.html">osg::RenderInfo</a> &amp;renderInfo) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the text.  <a href="#a936d7fde0b4b1e269937ea693116309a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aac4cb2c234503b99ac7b3c5cf9709669">supports</a> (const <a class="el" href="a00039.html">osg::Drawable::AttributeFunctor</a> &amp;) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return false, <a class="el" href="a00892.html">osgText::Text</a> does not support <a class="el" href="a00216.html#a1cbf45c341f9beb660f63aa7542d5867" title="accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Dr...">accept(AttributeFunctor&amp;)</a>.  <a href="#aac4cb2c234503b99ac7b3c5cf9709669"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a11d704ceacb1f477a7b65adb05c73913">supports</a> (const <a class="el" href="a00141.html">osg::Drawable::ConstAttributeFunctor</a> &amp;) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return true, <a class="el" href="a00892.html">osgText::Text</a> does support accept(ConstAttributeFunctor&amp;).  <a href="#a11d704ceacb1f477a7b65adb05c73913"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a7150c2b5c1e53b4c35244c113d2fd5e2">accept</a> (<a class="el" href="a00141.html">osg::Drawable::ConstAttributeFunctor</a> &amp;af) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">accept an ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has.  <a href="#a7150c2b5c1e53b4c35244c113d2fd5e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a1ca209ae0517bd04d5860b529726427e">supports</a> (const <a class="el" href="a00577.html">osg::PrimitiveFunctor</a> &amp;) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return true, <a class="el" href="a00892.html">osgText::Text</a> does support accept(PrimitiveFunctor&amp;) .  <a href="#a1ca209ae0517bd04d5860b529726427e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aed8de2e25f0ab47652f438fd422477e5">accept</a> (<a class="el" href="a00577.html">osg::PrimitiveFunctor</a> &amp;pf) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">accept a PrimtiveFunctor and call its methods to tell it about the internal primitives that this Drawable has.  <a href="#aed8de2e25f0ab47652f438fd422477e5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#afe5b1590eee9bb9d354ab1f31c8d73de">setThreadSafeRefUnref</a> (bool threadSafe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether to use a mutex to ensure <a class="el" href="a00627.html#acafcbbae9e9d8bfcbc811cc6c36d1cf4" title="Increment the reference count by one, indicating that this object has another pointer which is refere...">ref()</a> and <a class="el" href="a00627.html#a0ee3c1293cceac54bfaabe7c541bcb68" title="Decrement the reference count by one, indicating that a pointer to this object is referencing it...">unref()</a> are thread safe.  <a href="#afe5b1590eee9bb9d354ab1f31c8d73de"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ab973a1bf9d3d4599a4a68e8e9a18dcc8">resizeGLObjectBuffers</a> (unsigned int maxSize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Resize any per context GLObject buffers to specified size.  <a href="#ab973a1bf9d3d4599a4a68e8e9a18dcc8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a1cc98f35b0c21c3cf695f92260ece4a1">releaseGLObjects</a> (<a class="el" href="a00742.html">osg::State</a> *state=0) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If State is non-zero, this function releases OpenGL objects for the specified graphics context.  <a href="#a1cc98f35b0c21c3cf695f92260ece4a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00325.html">GlyphQuads</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a037356c0aaa017e4d5720e2369bc2763">getGlyphQuads</a> (<a class="el" href="a00327.html">Font::GlyphTexture</a> *texture) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Direct Access to <a class="el" href="a00325.html">GlyphQuads</a>.  <a href="#a037356c0aaa017e4d5720e2369bc2763"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00892.html#a69a32ea0fe2077c007b77ab4cef12a72">TextureGlyphQuadMap</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a8f16e19032a089c5584227d4183992fe">getTextureGlyphQuadMap</a> () const </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">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ab8fd7b6501e17d44df2722992f6f514f">~Text</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00297.html">Font</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a3c520c418ed2b0915e095e1b588ede98">getActiveFont</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00297.html">Font</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ac16c34092f59a6b05e87c53f5c480c69">getActiveFont</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a6caeb67390c7b4c973d3767b85048152">computeLastCharacterOnLine</a> (<a class="el" href="a01062.html">osg::Vec2</a> &amp;cursor, String::iterator first, String::iterator last)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a16073dd2bf563b90d660f2e6d31989d0">computeGlyphRepresentation</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a6e7865866fee780d66129b125e5f500a">computeAverageGlyphWidthAndHeight</a> (float &amp;avg_width, float &amp;avg_height) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a3fe145104f570cef6c53caabe706b196">computePositions</a> (unsigned int contextID) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a67ded6bb25c76d3283244afd96befde8">computeBackdropPositions</a> (unsigned int contextID) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a41d4419d28a2da17ec99a40f0d07fd5c">computeBackdropBoundingBox</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#af2c31720b626dc2643e1daa441b4a4a7">computeColorGradients</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a148b592aea5683d9cd92a5936c6f53fb">computeColorGradientsOverall</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a627d19ec6ebbdd4bbfb64fb18d4d221f">computeColorGradientsPerCharacter</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a29e351013423a0d772c84e319067609c">drawImplementation</a> (<a class="el" href="a00742.html">osg::State</a> &amp;state, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;colorMultiplier) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ad1da060ecf184368f8bbe7ec15549247">drawForegroundText</a> (<a class="el" href="a00742.html">osg::State</a> &amp;state, const <a class="el" href="a00325.html">GlyphQuads</a> &amp;glyphquad, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;colorMultiplier) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a914f2645f45144f4ff5789cf2669886e">renderOnlyForegroundText</a> (<a class="el" href="a00742.html">osg::State</a> &amp;state, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;colorMultiplier) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a312221e0f37622d8fd9006e859269163">renderWithPolygonOffset</a> (<a class="el" href="a00742.html">osg::State</a> &amp;state, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;colorMultiplier) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aefbfd5d224ad423a9d82a7e2947e18b3">renderWithNoDepthBuffer</a> (<a class="el" href="a00742.html">osg::State</a> &amp;state, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;colorMultiplier) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a690a35a222379ce6d04e70406aac43ee">renderWithDepthRange</a> (<a class="el" href="a00742.html">osg::State</a> &amp;state, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;colorMultiplier) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a097be34aa6a5dbbe80b767df19318e61">renderWithStencilBuffer</a> (<a class="el" href="a00742.html">osg::State</a> &amp;state, const <a class="el" href="a01074.html">osg::Vec4</a> &amp;colorMultiplier) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a9924f46659881cc3d1153e17432ab8f7">bilinearInterpolate</a> (float x1, float x2, float y1, float y2, float x, float y, float q11, float q12, float q21, float q22) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a90a8e16b134d06a76f4ad31b40bdc713">convertHsvToRgb</a> (float hsv[], float rgb[]) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a0df6785a304bbcc22d480ed37549aa28">convertRgbToHsv</a> (float rgb[], float hsv[]) 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="a00624.html">osg::ref_ptr</a>&lt; <a class="el" href="a00297.html">Font</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a230a012e823cc4b80b231f6fc7b9bde5">_font</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">osg::Vec4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a8718113c009ccad58bcb71f008443504">_color</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00892.html#a69a32ea0fe2077c007b77ab4cef12a72">TextureGlyphQuadMap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aaee0f9d66011df8cbc07717abd19c733">_textureGlyphQuadMap</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">BackdropType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a59d8454051ae239d975e55cbadc2e668">_backdropType</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">BackdropImplementation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#addceda63f6fe5d1a0e3a6b3113dcf285">_backdropImplementation</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a8d77cc9eb8cedcabdf35efd59b4358fa">_backdropHorizontalOffset</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a9971c422c40041618ac5ec117946f2dc">_backdropVerticalOffset</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">osg::Vec4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ae24133149632dcf33ed8c08b883e0873">_backdropColor</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">ColorGradientMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#a2705d7e426fd99686d0dc89045043cd8">_colorGradientMode</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">osg::Vec4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#accb12e030d7d991ca809916974d8c4a1">_colorGradientTopLeft</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">osg::Vec4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#afdc8f6496f9fe5e7400e911d0ba5af6e">_colorGradientBottomLeft</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">osg::Vec4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#ae41e50b52f0065825a58353e892d6d63">_colorGradientBottomRight</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">osg::Vec4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00892.html#aaae02e72cd342355c5616d6fd9531189">_colorGradientTopRight</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a69a32ea0fe2077c007b77ab4cef12a72"></a><!-- doxytag: member="osgText::Text::TextureGlyphQuadMap" ref="a69a32ea0fe2077c007b77ab4cef12a72" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;<a class="el" href="a00624.html">osg::ref_ptr</a>&lt;<a class="el" href="a00327.html">Font::GlyphTexture</a>&gt;,<a class="el" href="a00325.html">GlyphQuads</a>&gt; <a class="el" href="a00892.html#a69a32ea0fe2077c007b77ab4cef12a72">osgText::Text::TextureGlyphQuadMap</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="aa1cc82ec258e3825191ff3c95242836d"></a><!-- doxytag: member="osgText::Text::BackdropImplementation" ref="aa1cc82ec258e3825191ff3c95242836d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">osgText::Text::BackdropImplementation</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aa1cc82ec258e3825191ff3c95242836da6f7249649ad16a14d0796af365450780"></a><!-- doxytag: member="POLYGON_OFFSET" ref="aa1cc82ec258e3825191ff3c95242836da6f7249649ad16a14d0796af365450780" args="" -->POLYGON_OFFSET</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa1cc82ec258e3825191ff3c95242836dab0400723b2afa60b7e9e5aad0b5953d0"></a><!-- doxytag: member="NO_DEPTH_BUFFER" ref="aa1cc82ec258e3825191ff3c95242836dab0400723b2afa60b7e9e5aad0b5953d0" args="" -->NO_DEPTH_BUFFER</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa1cc82ec258e3825191ff3c95242836dac30645ab64f1d23e3505b7a2e64f7911"></a><!-- doxytag: member="DEPTH_RANGE" ref="aa1cc82ec258e3825191ff3c95242836dac30645ab64f1d23e3505b7a2e64f7911" args="" -->DEPTH_RANGE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa1cc82ec258e3825191ff3c95242836da6093941a2fa2fd8a7b71735a25224764"></a><!-- doxytag: member="STENCIL_BUFFER" ref="aa1cc82ec258e3825191ff3c95242836da6093941a2fa2fd8a7b71735a25224764" args="" -->STENCIL_BUFFER</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1"></a><!-- doxytag: member="osgText::Text::BackdropType" ref="a1e6791f0a53a6363eaa2faa4861419c1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">osgText::Text::BackdropType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a561c1435d3e5eca170bf93b8d509227f"></a><!-- doxytag: member="DROP_SHADOW_BOTTOM_RIGHT" ref="a1e6791f0a53a6363eaa2faa4861419c1a561c1435d3e5eca170bf93b8d509227f" args="" -->DROP_SHADOW_BOTTOM_RIGHT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a867f0dc32ebcb58a835d9a0a251ba9cc"></a><!-- doxytag: member="DROP_SHADOW_CENTER_RIGHT" ref="a1e6791f0a53a6363eaa2faa4861419c1a867f0dc32ebcb58a835d9a0a251ba9cc" args="" -->DROP_SHADOW_CENTER_RIGHT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1ae1e5ae06a447d875a4f1f5695c73ff43"></a><!-- doxytag: member="DROP_SHADOW_TOP_RIGHT" ref="a1e6791f0a53a6363eaa2faa4861419c1ae1e5ae06a447d875a4f1f5695c73ff43" args="" -->DROP_SHADOW_TOP_RIGHT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a1f7374072cd41c21afdf0adc33baf19a"></a><!-- doxytag: member="DROP_SHADOW_BOTTOM_CENTER" ref="a1e6791f0a53a6363eaa2faa4861419c1a1f7374072cd41c21afdf0adc33baf19a" args="" -->DROP_SHADOW_BOTTOM_CENTER</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1ab71d23bbff21786c0e1f04b50f251842"></a><!-- doxytag: member="DROP_SHADOW_TOP_CENTER" ref="a1e6791f0a53a6363eaa2faa4861419c1ab71d23bbff21786c0e1f04b50f251842" args="" -->DROP_SHADOW_TOP_CENTER</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a885227b8f2b22ec6c3892e5042146bce"></a><!-- doxytag: member="DROP_SHADOW_BOTTOM_LEFT" ref="a1e6791f0a53a6363eaa2faa4861419c1a885227b8f2b22ec6c3892e5042146bce" args="" -->DROP_SHADOW_BOTTOM_LEFT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a4363d7b470b6f93a3bbb2b3e47f084c7"></a><!-- doxytag: member="DROP_SHADOW_CENTER_LEFT" ref="a1e6791f0a53a6363eaa2faa4861419c1a4363d7b470b6f93a3bbb2b3e47f084c7" args="" -->DROP_SHADOW_CENTER_LEFT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a23aac006c500da10fa322a3cd88e2b4b"></a><!-- doxytag: member="DROP_SHADOW_TOP_LEFT" ref="a1e6791f0a53a6363eaa2faa4861419c1a23aac006c500da10fa322a3cd88e2b4b" args="" -->DROP_SHADOW_TOP_LEFT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a9c403bbd71e1ff2a0b1dcbd53b26bcf6"></a><!-- doxytag: member="OUTLINE" ref="a1e6791f0a53a6363eaa2faa4861419c1a9c403bbd71e1ff2a0b1dcbd53b26bcf6" args="" -->OUTLINE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1e6791f0a53a6363eaa2faa4861419c1a146c2ef48964740fe15a6646b8dbc5aa"></a><!-- doxytag: member="NONE" ref="a1e6791f0a53a6363eaa2faa4861419c1a146c2ef48964740fe15a6646b8dbc5aa" args="" -->NONE</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a0ecd352ffc26ad438d5cd213a902c181"></a><!-- doxytag: member="osgText::Text::ColorGradientMode" ref="a0ecd352ffc26ad438d5cd213a902c181" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">osgText::Text::ColorGradientMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a0ecd352ffc26ad438d5cd213a902c181a3d34cc25db7ee4da699f5c5fb27c53e7"></a><!-- doxytag: member="SOLID" ref="a0ecd352ffc26ad438d5cd213a902c181a3d34cc25db7ee4da699f5c5fb27c53e7" args="" -->SOLID</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0ecd352ffc26ad438d5cd213a902c181a3e3118eea3fa6f05871b7ee26f7893fd"></a><!-- doxytag: member="PER_CHARACTER" ref="a0ecd352ffc26ad438d5cd213a902c181a3e3118eea3fa6f05871b7ee26f7893fd" args="" -->PER_CHARACTER</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0ecd352ffc26ad438d5cd213a902c181acce53991e1107ca9a1a1fab4fb3deb7e"></a><!-- doxytag: member="OVERALL" ref="a0ecd352ffc26ad438d5cd213a902c181acce53991e1107ca9a1a1fab4fb3deb7e" args="" -->OVERALL</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3daaa400f59888f76485931e618e43e9"></a><!-- doxytag: member="osgText::Text::Text" ref="a3daaa400f59888f76485931e618e43e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">osgText::Text::Text </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7db6082ef5a16015adfb5da8d9722757"></a><!-- doxytag: member="osgText::Text::Text" ref="a7db6082ef5a16015adfb5da8d9722757" args="(const Text &amp;text, const osg::CopyOp &amp;copyop=osg::CopyOp::SHALLOW_COPY)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">osgText::Text::Text </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00892.html">Text</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00169.html">osg::CopyOp</a> &amp;&#160;</td>
          <td class="paramname"><em>copyop</em> = <code>osg::CopyOp::SHALLOW_COPY</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab8fd7b6501e17d44df2722992f6f514f"></a><!-- doxytag: member="osgText::Text::~Text" ref="ab8fd7b6501e17d44df2722992f6f514f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual osgText::Text::~Text </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7150c2b5c1e53b4c35244c113d2fd5e2"></a><!-- doxytag: member="osgText::Text::accept" ref="a7150c2b5c1e53b4c35244c113d2fd5e2" args="(osg::Drawable::ConstAttributeFunctor &amp;af) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void osgText::Text::accept </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00141.html">osg::Drawable::ConstAttributeFunctor</a> &amp;&#160;</td>
          <td class="paramname"><em>af</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>accept an ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. </p>

<p>Reimplemented from <a class="el" href="a00216.html#a3d7e811c81896356bd1854905c2b874f">osg::Drawable</a>.</p>

</div>
</div>
<a class="anchor" id="aed8de2e25f0ab47652f438fd422477e5"></a><!-- doxytag: member="osgText::Text::accept" ref="aed8de2e25f0ab47652f438fd422477e5" args="(osg::PrimitiveFunctor &amp;pf) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void osgText::Text::accept </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00577.html">osg::PrimitiveFunctor</a> &amp;&#160;</td>
          <td class="paramname"><em>pf</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>accept a PrimtiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. </p>

<p>Reimplemented from <a class="el" href="a00216.html#a09bfec0d087dfe506a7bd8cdac00d3c8">osg::Drawable</a>.</p>

</div>
</div>
<a class="anchor" id="a9924f46659881cc3d1153e17432ab8f7"></a><!-- doxytag: member="osgText::Text::bilinearInterpolate" ref="a9924f46659881cc3d1153e17432ab8f7" args="(float x1, float x2, float y1, float y2, float x, float y, float q11, float q12, float q21, float q22) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float osgText::Text::bilinearInterpolate </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>q11</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>q12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>q21</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>q22</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a844042cc8814617dfd6ad5e8d0ad96e5"></a><!-- doxytag: member="osgText::Text::className" ref="a844042cc8814617dfd6ad5e8d0ad96e5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* osgText::Text::className </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return the name of the object's class type. </p>
<p>Must be defined by derived classes. </p>

<p>Reimplemented from <a class="el" href="a00894.html#affd745e3aa10289a827c2ed405d78210">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="af1f81999a46db64d5b2515edf3691fd6"></a><!-- doxytag: member="osgText::Text::clone" ref="af1f81999a46db64d5b2515edf3691fd6" args="(const osg::CopyOp &amp;copyop) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00500.html">osg::Object</a>* osgText::Text::clone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00169.html">osg::CopyOp</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clone an object, with Object* return type. </p>
<p>Must be defined by derived classes. </p>

<p>Implements <a class="el" href="a00500.html#ac20abff68448b9fcd20ab59e5d7a0030">osg::Object</a>.</p>

</div>
</div>
<a class="anchor" id="a5d3016460fbf2e64895277fd04253532"></a><!-- doxytag: member="osgText::Text::cloneType" ref="a5d3016460fbf2e64895277fd04253532" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00500.html">osg::Object</a>* osgText::Text::cloneType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clone the type of an object, with Object* return type. </p>
<p>Must be defined by derived classes. </p>

<p>Implements <a class="el" href="a00500.html#a837c584d77ae710bb5565f7895f80dbb">osg::Object</a>.</p>

</div>
</div>
<a class="anchor" id="a6e7865866fee780d66129b125e5f500a"></a><!-- doxytag: member="osgText::Text::computeAverageGlyphWidthAndHeight" ref="a6e7865866fee780d66129b125e5f500a" args="(float &amp;avg_width, float &amp;avg_height) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool osgText::Text::computeAverageGlyphWidthAndHeight </td>
          <td>(</td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>avg_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>avg_height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a41d4419d28a2da17ec99a40f0d07fd5c"></a><!-- doxytag: member="osgText::Text::computeBackdropBoundingBox" ref="a41d4419d28a2da17ec99a40f0d07fd5c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::computeBackdropBoundingBox </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a67ded6bb25c76d3283244afd96befde8"></a><!-- doxytag: member="osgText::Text::computeBackdropPositions" ref="a67ded6bb25c76d3283244afd96befde8" args="(unsigned int contextID) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::computeBackdropPositions </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>contextID</em></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af2c31720b626dc2643e1daa441b4a4a7"></a><!-- doxytag: member="osgText::Text::computeColorGradients" ref="af2c31720b626dc2643e1daa441b4a4a7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::computeColorGradients </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a148b592aea5683d9cd92a5936c6f53fb"></a><!-- doxytag: member="osgText::Text::computeColorGradientsOverall" ref="a148b592aea5683d9cd92a5936c6f53fb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::computeColorGradientsOverall </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a627d19ec6ebbdd4bbfb64fb18d4d221f"></a><!-- doxytag: member="osgText::Text::computeColorGradientsPerCharacter" ref="a627d19ec6ebbdd4bbfb64fb18d4d221f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::computeColorGradientsPerCharacter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a16073dd2bf563b90d660f2e6d31989d0"></a><!-- doxytag: member="osgText::Text::computeGlyphRepresentation" ref="a16073dd2bf563b90d660f2e6d31989d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::computeGlyphRepresentation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="a00894.html#af6db3770d5186c46a0d7d7de3dd0e8ac">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="a6caeb67390c7b4c973d3767b85048152"></a><!-- doxytag: member="osgText::Text::computeLastCharacterOnLine" ref="a6caeb67390c7b4c973d3767b85048152" args="(osg::Vec2 &amp;cursor, String::iterator first, String::iterator last)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String::iterator osgText::Text::computeLastCharacterOnLine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01062.html">osg::Vec2</a> &amp;&#160;</td>
          <td class="paramname"><em>cursor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String::iterator&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String::iterator&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="a00894.html#a8be09d4bda03ac14d7d153ef8f2d1dd9">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="a3fe145104f570cef6c53caabe706b196"></a><!-- doxytag: member="osgText::Text::computePositions" ref="a3fe145104f570cef6c53caabe706b196" args="(unsigned int contextID) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void osgText::Text::computePositions </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>contextID</em></td><td>)</td>
          <td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="a00894.html#a33085b622ba0f079c8913188dc5b9007">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="a90a8e16b134d06a76f4ad31b40bdc713"></a><!-- doxytag: member="osgText::Text::convertHsvToRgb" ref="a90a8e16b134d06a76f4ad31b40bdc713" args="(float hsv[], float rgb[]) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::convertHsvToRgb </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>hsv</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rgb</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0df6785a304bbcc22d480ed37549aa28"></a><!-- doxytag: member="osgText::Text::convertRgbToHsv" ref="a0df6785a304bbcc22d480ed37549aa28" args="(float rgb[], float hsv[]) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::convertRgbToHsv </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rgb</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>hsv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad1da060ecf184368f8bbe7ec15549247"></a><!-- doxytag: member="osgText::Text::drawForegroundText" ref="ad1da060ecf184368f8bbe7ec15549247" args="(osg::State &amp;state, const GlyphQuads &amp;glyphquad, const osg::Vec4 &amp;colorMultiplier) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::drawForegroundText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00325.html">GlyphQuads</a> &amp;&#160;</td>
          <td class="paramname"><em>glyphquad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>colorMultiplier</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a936d7fde0b4b1e269937ea693116309a"></a><!-- doxytag: member="osgText::Text::drawImplementation" ref="a936d7fde0b4b1e269937ea693116309a" args="(osg::RenderInfo &amp;renderInfo) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void osgText::Text::drawImplementation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00653.html">osg::RenderInfo</a> &amp;&#160;</td>
          <td class="paramname"><em>renderInfo</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw the text. </p>

<p>Implements <a class="el" href="a00216.html#ae4e59643622ad16b33712ed3bbbb48f9">osg::Drawable</a>.</p>

<p>Reimplemented in <a class="el" href="a00279.html#abc50e5bccef68388496e555bb0e4d1f6">osgText::FadeText</a>.</p>

</div>
</div>
<a class="anchor" id="a29e351013423a0d772c84e319067609c"></a><!-- doxytag: member="osgText::Text::drawImplementation" ref="a29e351013423a0d772c84e319067609c" args="(osg::State &amp;state, const osg::Vec4 &amp;colorMultiplier) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::drawImplementation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>colorMultiplier</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3c520c418ed2b0915e095e1b588ede98"></a><!-- doxytag: member="osgText::Text::getActiveFont" ref="a3c520c418ed2b0915e095e1b588ede98" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00297.html">Font</a>* osgText::Text::getActiveFont </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac16c34092f59a6b05e87c53f5c480c69"></a><!-- doxytag: member="osgText::Text::getActiveFont" ref="ac16c34092f59a6b05e87c53f5c480c69" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00297.html">Font</a>* osgText::Text::getActiveFont </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af77961897051c837513da035d1a4201c"></a><!-- doxytag: member="osgText::Text::getBackdropColor" ref="af77961897051c837513da035d1a4201c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a01074.html">osg::Vec4</a>&amp; osgText::Text::getBackdropColor </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="a173b39a74a373e9c0d8b2da6cd0255d3"></a><!-- doxytag: member="osgText::Text::getBackdropHorizontalOffset" ref="a173b39a74a373e9c0d8b2da6cd0255d3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float osgText::Text::getBackdropHorizontalOffset </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="a69bdf3038a7bacef1d7f5172eedbc86f"></a><!-- doxytag: member="osgText::Text::getBackdropImplementation" ref="a69bdf3038a7bacef1d7f5172eedbc86f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">BackdropImplementation</a> osgText::Text::getBackdropImplementation </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="a6f139426e965a6fe07bca000e89a488d"></a><!-- doxytag: member="osgText::Text::getBackdropType" ref="a6f139426e965a6fe07bca000e89a488d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">BackdropType</a> osgText::Text::getBackdropType </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="a3e5bf86d291406c48f976ee3f3006d7f"></a><!-- doxytag: member="osgText::Text::getBackdropVerticalOffset" ref="a3e5bf86d291406c48f976ee3f3006d7f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float osgText::Text::getBackdropVerticalOffset </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="a79c1fcc0177eff5be359c77a9e364709"></a><!-- doxytag: member="osgText::Text::getColor" ref="a79c1fcc0177eff5be359c77a9e364709" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a01074.html">osg::Vec4</a>&amp; osgText::Text::getColor </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="a80dde875664ec0852360a5ed37022c59"></a><!-- doxytag: member="osgText::Text::getColorGradientBottomLeft" ref="a80dde875664ec0852360a5ed37022c59" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a01074.html">osg::Vec4</a>&amp; osgText::Text::getColorGradientBottomLeft </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="aead6474b2960fb49af6d6757468d75fc"></a><!-- doxytag: member="osgText::Text::getColorGradientBottomRight" ref="aead6474b2960fb49af6d6757468d75fc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a01074.html">osg::Vec4</a>&amp; osgText::Text::getColorGradientBottomRight </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="ad5148858e94863e8f9139ae962903003"></a><!-- doxytag: member="osgText::Text::getColorGradientMode" ref="ad5148858e94863e8f9139ae962903003" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">ColorGradientMode</a> osgText::Text::getColorGradientMode </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="a50752e6130e89ac62b1321e2a15cb740"></a><!-- doxytag: member="osgText::Text::getColorGradientTopLeft" ref="a50752e6130e89ac62b1321e2a15cb740" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a01074.html">osg::Vec4</a>&amp; osgText::Text::getColorGradientTopLeft </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="aa58200212928a8fe87e82488b238da36"></a><!-- doxytag: member="osgText::Text::getColorGradientTopRight" ref="aa58200212928a8fe87e82488b238da36" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a01074.html">osg::Vec4</a>&amp; osgText::Text::getColorGradientTopRight </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="afad04a1473ebc021a2abf08a2edf36fe"></a><!-- doxytag: member="osgText::Text::getFont" ref="afad04a1473ebc021a2abf08a2edf36fe" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00297.html">Font</a>* osgText::Text::getFont </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the font. </p>
<p>Return 0 if default is being used. </p>

</div>
</div>
<a class="anchor" id="a037356c0aaa017e4d5720e2369bc2763"></a><!-- doxytag: member="osgText::Text::getGlyphQuads" ref="a037356c0aaa017e4d5720e2369bc2763" args="(Font::GlyphTexture *texture) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00325.html">GlyphQuads</a>* osgText::Text::getGlyphQuads </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00327.html">Font::GlyphTexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Direct Access to <a class="el" href="a00325.html">GlyphQuads</a>. </p>

<p>References <a class="el" href="a01157.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>.</p>

</div>
</div>
<a class="anchor" id="a8f16e19032a089c5584227d4183992fe"></a><!-- doxytag: member="osgText::Text::getTextureGlyphQuadMap" ref="a8f16e19032a089c5584227d4183992fe" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00892.html#a69a32ea0fe2077c007b77ab4cef12a72">TextureGlyphQuadMap</a>&amp; osgText::Text::getTextureGlyphQuadMap </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="a8dadd5b1bf97e62a0a413b532ef7ad17"></a><!-- doxytag: member="osgText::Text::isSameKindAs" ref="a8dadd5b1bf97e62a0a413b532ef7ad17" args="(const osg::Object *obj) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool osgText::Text::isSameKindAs </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00500.html">osg::Object</a> *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="a00894.html#a264a6e818c3ce25c24c45a0da6f23cf2">osgText::TextBase</a>.</p>

<p>References <a class="el" href="a01157.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>.</p>

</div>
</div>
<a class="anchor" id="a6a2e991605a4e22133f3afc6add42499"></a><!-- doxytag: member="osgText::Text::libraryName" ref="a6a2e991605a4e22133f3afc6add42499" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* osgText::Text::libraryName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return the name of the object's library. </p>
<p>Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. </p>

<p>Reimplemented from <a class="el" href="a00894.html#a32eac5f5d1027a9c4c30c2fa6efd06af">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="a1cc98f35b0c21c3cf695f92260ece4a1"></a><!-- doxytag: member="osgText::Text::releaseGLObjects" ref="a1cc98f35b0c21c3cf695f92260ece4a1" args="(osg::State *state=0) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void osgText::Text::releaseGLObjects </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> *&#160;</td>
          <td class="paramname"><em>state</em> = <code>0</code></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If State is non-zero, this function releases OpenGL objects for the specified graphics context. </p>
<p>Otherwise, releases OpenGL objexts for all graphics contexts. </p>

<p>Reimplemented from <a class="el" href="a00894.html#a910b5320e766298964576ed066083f0b">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="a914f2645f45144f4ff5789cf2669886e"></a><!-- doxytag: member="osgText::Text::renderOnlyForegroundText" ref="a914f2645f45144f4ff5789cf2669886e" args="(osg::State &amp;state, const osg::Vec4 &amp;colorMultiplier) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::renderOnlyForegroundText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>colorMultiplier</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a690a35a222379ce6d04e70406aac43ee"></a><!-- doxytag: member="osgText::Text::renderWithDepthRange" ref="a690a35a222379ce6d04e70406aac43ee" args="(osg::State &amp;state, const osg::Vec4 &amp;colorMultiplier) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::renderWithDepthRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>colorMultiplier</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aefbfd5d224ad423a9d82a7e2947e18b3"></a><!-- doxytag: member="osgText::Text::renderWithNoDepthBuffer" ref="aefbfd5d224ad423a9d82a7e2947e18b3" args="(osg::State &amp;state, const osg::Vec4 &amp;colorMultiplier) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::renderWithNoDepthBuffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>colorMultiplier</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a312221e0f37622d8fd9006e859269163"></a><!-- doxytag: member="osgText::Text::renderWithPolygonOffset" ref="a312221e0f37622d8fd9006e859269163" args="(osg::State &amp;state, const osg::Vec4 &amp;colorMultiplier) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::renderWithPolygonOffset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>colorMultiplier</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a097be34aa6a5dbbe80b767df19318e61"></a><!-- doxytag: member="osgText::Text::renderWithStencilBuffer" ref="a097be34aa6a5dbbe80b767df19318e61" args="(osg::State &amp;state, const osg::Vec4 &amp;colorMultiplier) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::renderWithStencilBuffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00742.html">osg::State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>colorMultiplier</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab973a1bf9d3d4599a4a68e8e9a18dcc8"></a><!-- doxytag: member="osgText::Text::resizeGLObjectBuffers" ref="ab973a1bf9d3d4599a4a68e8e9a18dcc8" args="(unsigned int maxSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void osgText::Text::resizeGLObjectBuffers </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>maxSize</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resize any per context GLObject buffers to specified size. </p>

<p>Reimplemented from <a class="el" href="a00894.html#a596bb502147022d93a87c93c42b8dbfe">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="a4009e7ce64d9ef41895698454ac6b0bb"></a><!-- doxytag: member="osgText::Text::setBackdropColor" ref="a4009e7ce64d9ef41895698454ac6b0bb" args="(const osg::Vec4 &amp;color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setBackdropColor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This specifies the color of the backdrop text. </p>
<p>The default is black. </p>

</div>
</div>
<a class="anchor" id="a8b10ea357ee340db536db83f0678c09c"></a><!-- doxytag: member="osgText::Text::setBackdropImplementation" ref="a8b10ea357ee340db536db83f0678c09c" args="(BackdropImplementation implementation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setBackdropImplementation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">BackdropImplementation</a>&#160;</td>
          <td class="paramname"><em>implementation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This specifies the underlying backdrop rendering implementation. </p>
<p>Unfortunately, at this time, there is no "perfect" rendering solution so this function is provided to let you 'pick your poison'. Each implementation has trade-offs. See BackdropImplementation enum docs for details. </p>

</div>
</div>
<a class="anchor" id="af6662ebcbe01c6c6186f71662c0cb831"></a><!-- doxytag: member="osgText::Text::setBackdropOffset" ref="af6662ebcbe01c6c6186f71662c0cb831" args="(float offset=0.07f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setBackdropOffset </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>offset</em> = <code>0.07f</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the amount text is offset to create the backdrop/shadow effect. </p>
<p>Set the value too high and for example, in OUTLINE mode you will get a "Brady Bunch" effect where you see duplicates of the text in a 3x3 grid. Set the value too small and you won't see anything. The values represent percentages. 1.0 means 100% so a value of 1.0 in DROW_SHADOW_LEFT_CENTER mode would cause each glyph to be echoed next to it self. So the letter 'e' might look like 'ee'. Good values tend to be in the 0.03 to 0.10 range (but will be subject to your specific font and display characteristics). Note that the text bounding boxes are updated to include backdrop offsets. However, other metric information such as <a class="el" href="a00894.html#ad9a11282bd5a5353730cc32b4c8e4277">getCharacterHeight()</a> are unaffected by this. This means that individual glyph spacing (kerning?) are unchanged even when this mode is used. The default is 0.07 (7% offset). </p>

</div>
</div>
<a class="anchor" id="a8c9882ba0d9c358dce85db9a42a856db"></a><!-- doxytag: member="osgText::Text::setBackdropOffset" ref="a8c9882ba0d9c358dce85db9a42a856db" args="(float horizontal, float vertical)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setBackdropOffset </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>horizontal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>vertical</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This overloaded version lets you specify the offset for the horizontal and vertical components separately. </p>

</div>
</div>
<a class="anchor" id="a26d1e317150d7b5148a8e6747bf9646a"></a><!-- doxytag: member="osgText::Text::setBackdropType" ref="a26d1e317150d7b5148a8e6747bf9646a" args="(BackdropType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setBackdropType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">BackdropType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>BackdropType gives you a background shadow text behind your regular text. </p>
<p>This helps give text extra contrast which can be useful when placing text against noisy backgrounds. The color of the background shadow text is specified by <a class="el" href="a00892.html#a4009e7ce64d9ef41895698454ac6b0bb" title="This specifies the color of the backdrop text.">setBackdropColor()</a>. DROP_SHADOW_BOTTOM_RIGHT will draw backdrop text to the right and down of the normal text. Other DROW_SHADOW_* modes do the same for their repective directions. OUTLINE will draw backdrop text so that it appears the text has an outline or border around the normal text. This mode is particularly useful against really noisy backgrounds that may put text on top of things that have all types of colors which you don't have control over. Some real world examples of this general technique in use that I know of are Google Earth, Sid Meier's Pirates (2004 Remake), and Star Control 2 (PC 1993). The default is NONE. </p>

</div>
</div>
<a class="anchor" id="a2727ed3e215d3e7b5503ba97bc765aa1"></a><!-- doxytag: member="osgText::Text::setColor" ref="a2727ed3e215d3e7b5503ba97bc765aa1" args="(const osg::Vec4 &amp;color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setColor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a79dc5954b163c97507961a7822754c1f"></a><!-- doxytag: member="osgText::Text::setColorGradientCorners" ref="a79dc5954b163c97507961a7822754c1f" args="(const osg::Vec4 &amp;topLeft, const osg::Vec4 &amp;bottomLeft, const osg::Vec4 &amp;bottomRight, const osg::Vec4 &amp;topRight)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setColorGradientCorners </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>topLeft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>bottomLeft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>bottomRight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a01074.html">osg::Vec4</a> &amp;&#160;</td>
          <td class="paramname"><em>topRight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Used only for gradient mode, let's you specify the colors of the 4 corners. </p>
<p>If ColorGradients are off, these values are ignored (and the value from <a class="el" href="a00892.html#a2727ed3e215d3e7b5503ba97bc765aa1">setColor()</a> is the only one that is relevant. </p>

</div>
</div>
<a class="anchor" id="acb9648eca97e3777e5ed32b7c91b5a6b"></a><!-- doxytag: member="osgText::Text::setColorGradientMode" ref="acb9648eca97e3777e5ed32b7c91b5a6b" args="(ColorGradientMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setColorGradientMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">ColorGradientMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This sets different types of text coloring modes. </p>
<p>When the coloring mode is not set to SOLID, the colors specified in <a class="el" href="a00892.html#a79dc5954b163c97507961a7822754c1f" title="Used only for gradient mode, let&#39;s you specify the colors of the 4 corners.">setColorGradientCorners()</a> determine the colors for the text. When the gradient mode is OVERALL, the coloring scheme attempts to approximate the effect as if the entire text box/region were a single polygon and you had applied colors to each of the four corners with GL_SMOOTH enabled. In this mode, OpenGL interpolates the colors across the polygon, and this is what OVERALL tries to emulate. This can be used to give nice embellishments on things like logos and names. PER_CHARACTER is similar to OVERALL except that it applies the color interpolation to the four corners of each character instead of across the overall text box. The default is SOLID (a.k.a. off). </p>

</div>
</div>
<a class="anchor" id="ad4c40da4e468e05dca1f87042c8aa620"></a><!-- doxytag: member="osgText::Text::setFont" ref="ad4c40da4e468e05dca1f87042c8aa620" args="(osg::ref_ptr&lt; Font &gt; font)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setFont </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00624.html">osg::ref_ptr</a>&lt; <a class="el" href="a00297.html">Font</a> &gt;&#160;</td>
          <td class="paramname"><em>font</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the <a class="el" href="a00297.html" title="Pure virtual base class for fonts.">Font</a> to use to render the text. </p>

</div>
</div>
<a class="anchor" id="ad662fe01a9993a0c213a1560f689606e"></a><!-- doxytag: member="osgText::Text::setFont" ref="ad662fe01a9993a0c213a1560f689606e" args="(const std::string &amp;fontfile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setFont </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fontfile</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the font, loaded from the specified front file, to use to render the text, setFont("") sets the use of the default font. </p>
<p>See the <a class="el" href="a01639.html#a1bee3e861429a28082741bfa081e14b5" title="Read a font from specified file.">osgText::readFontFile</a> function for how the font file will be located. </p>

</div>
</div>
<a class="anchor" id="a2b54c985a9744ed0416d2994653339e6"></a><!-- doxytag: member="osgText::Text::setFont" ref="a2b54c985a9744ed0416d2994653339e6" args="(Font *font=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osgText::Text::setFont </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00297.html">Font</a> *&#160;</td>
          <td class="paramname"><em>font</em> = <code>0</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the <a class="el" href="a00297.html" title="Pure virtual base class for fonts.">Font</a> to use to render the text. </p>
<p>setFont(0) sets the use of the default font. </p>

<p>References <a class="el" href="a00892.html#a2b54c985a9744ed0416d2994653339e6">setFont()</a>.</p>

<p>Referenced by <a class="el" href="a00892.html#a2b54c985a9744ed0416d2994653339e6">setFont()</a>.</p>

</div>
</div>
<a class="anchor" id="afe5b1590eee9bb9d354ab1f31c8d73de"></a><!-- doxytag: member="osgText::Text::setThreadSafeRefUnref" ref="afe5b1590eee9bb9d354ab1f31c8d73de" args="(bool threadSafe)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void osgText::Text::setThreadSafeRefUnref </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>threadSafe</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set whether to use a mutex to ensure <a class="el" href="a00627.html#acafcbbae9e9d8bfcbc811cc6c36d1cf4" title="Increment the reference count by one, indicating that this object has another pointer which is refere...">ref()</a> and <a class="el" href="a00627.html#a0ee3c1293cceac54bfaabe7c541bcb68" title="Decrement the reference count by one, indicating that a pointer to this object is referencing it...">unref()</a> are thread safe. </p>

<p>Reimplemented from <a class="el" href="a00894.html#a4a556861372bde7c10a07df0c052c5fe">osgText::TextBase</a>.</p>

</div>
</div>
<a class="anchor" id="a1ca209ae0517bd04d5860b529726427e"></a><!-- doxytag: member="osgText::Text::supports" ref="a1ca209ae0517bd04d5860b529726427e" args="(const osg::PrimitiveFunctor &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool osgText::Text::supports </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00577.html">osg::PrimitiveFunctor</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return true, <a class="el" href="a00892.html">osgText::Text</a> does support accept(PrimitiveFunctor&amp;) . </p>

<p>Reimplemented from <a class="el" href="a00216.html#a9706a830228cc223c7d84cd572cf0735">osg::Drawable</a>.</p>

</div>
</div>
<a class="anchor" id="aac4cb2c234503b99ac7b3c5cf9709669"></a><!-- doxytag: member="osgText::Text::supports" ref="aac4cb2c234503b99ac7b3c5cf9709669" args="(const osg::Drawable::AttributeFunctor &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool osgText::Text::supports </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00039.html">osg::Drawable::AttributeFunctor</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return false, <a class="el" href="a00892.html">osgText::Text</a> does not support <a class="el" href="a00216.html#a1cbf45c341f9beb660f63aa7542d5867" title="accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Dr...">accept(AttributeFunctor&amp;)</a>. </p>

<p>Reimplemented from <a class="el" href="a00216.html#a12e0ce80371470d598ccd1f88667f46c">osg::Drawable</a>.</p>

</div>
</div>
<a class="anchor" id="a11d704ceacb1f477a7b65adb05c73913"></a><!-- doxytag: member="osgText::Text::supports" ref="a11d704ceacb1f477a7b65adb05c73913" args="(const osg::Drawable::ConstAttributeFunctor &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool osgText::Text::supports </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00141.html">osg::Drawable::ConstAttributeFunctor</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return true, <a class="el" href="a00892.html">osgText::Text</a> does support accept(ConstAttributeFunctor&amp;). </p>

<p>Reimplemented from <a class="el" href="a00216.html#ac02f54bc3ce7e796cfdeb997ef6ff40f">osg::Drawable</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ae24133149632dcf33ed8c08b883e0873"></a><!-- doxytag: member="osgText::Text::_backdropColor" ref="ae24133149632dcf33ed8c08b883e0873" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01074.html">osg::Vec4</a> <a class="el" href="a00892.html#ae24133149632dcf33ed8c08b883e0873">osgText::Text::_backdropColor</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8d77cc9eb8cedcabdf35efd59b4358fa"></a><!-- doxytag: member="osgText::Text::_backdropHorizontalOffset" ref="a8d77cc9eb8cedcabdf35efd59b4358fa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="a00892.html#a8d77cc9eb8cedcabdf35efd59b4358fa">osgText::Text::_backdropHorizontalOffset</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="addceda63f6fe5d1a0e3a6b3113dcf285"></a><!-- doxytag: member="osgText::Text::_backdropImplementation" ref="addceda63f6fe5d1a0e3a6b3113dcf285" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00892.html#aa1cc82ec258e3825191ff3c95242836d">BackdropImplementation</a> <a class="el" href="a00892.html#addceda63f6fe5d1a0e3a6b3113dcf285">osgText::Text::_backdropImplementation</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a59d8454051ae239d975e55cbadc2e668"></a><!-- doxytag: member="osgText::Text::_backdropType" ref="a59d8454051ae239d975e55cbadc2e668" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00892.html#a1e6791f0a53a6363eaa2faa4861419c1">BackdropType</a> <a class="el" href="a00892.html#a59d8454051ae239d975e55cbadc2e668">osgText::Text::_backdropType</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9971c422c40041618ac5ec117946f2dc"></a><!-- doxytag: member="osgText::Text::_backdropVerticalOffset" ref="a9971c422c40041618ac5ec117946f2dc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="a00892.html#a9971c422c40041618ac5ec117946f2dc">osgText::Text::_backdropVerticalOffset</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8718113c009ccad58bcb71f008443504"></a><!-- doxytag: member="osgText::Text::_color" ref="a8718113c009ccad58bcb71f008443504" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01074.html">osg::Vec4</a> <a class="el" href="a00892.html#a8718113c009ccad58bcb71f008443504">osgText::Text::_color</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afdc8f6496f9fe5e7400e911d0ba5af6e"></a><!-- doxytag: member="osgText::Text::_colorGradientBottomLeft" ref="afdc8f6496f9fe5e7400e911d0ba5af6e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01074.html">osg::Vec4</a> <a class="el" href="a00892.html#afdc8f6496f9fe5e7400e911d0ba5af6e">osgText::Text::_colorGradientBottomLeft</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae41e50b52f0065825a58353e892d6d63"></a><!-- doxytag: member="osgText::Text::_colorGradientBottomRight" ref="ae41e50b52f0065825a58353e892d6d63" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01074.html">osg::Vec4</a> <a class="el" href="a00892.html#ae41e50b52f0065825a58353e892d6d63">osgText::Text::_colorGradientBottomRight</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2705d7e426fd99686d0dc89045043cd8"></a><!-- doxytag: member="osgText::Text::_colorGradientMode" ref="a2705d7e426fd99686d0dc89045043cd8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00892.html#a0ecd352ffc26ad438d5cd213a902c181">ColorGradientMode</a> <a class="el" href="a00892.html#a2705d7e426fd99686d0dc89045043cd8">osgText::Text::_colorGradientMode</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="accb12e030d7d991ca809916974d8c4a1"></a><!-- doxytag: member="osgText::Text::_colorGradientTopLeft" ref="accb12e030d7d991ca809916974d8c4a1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01074.html">osg::Vec4</a> <a class="el" href="a00892.html#accb12e030d7d991ca809916974d8c4a1">osgText::Text::_colorGradientTopLeft</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aaae02e72cd342355c5616d6fd9531189"></a><!-- doxytag: member="osgText::Text::_colorGradientTopRight" ref="aaae02e72cd342355c5616d6fd9531189" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01074.html">osg::Vec4</a> <a class="el" href="a00892.html#aaae02e72cd342355c5616d6fd9531189">osgText::Text::_colorGradientTopRight</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a230a012e823cc4b80b231f6fc7b9bde5"></a><!-- doxytag: member="osgText::Text::_font" ref="a230a012e823cc4b80b231f6fc7b9bde5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00624.html">osg::ref_ptr</a>&lt;<a class="el" href="a00297.html">Font</a>&gt; <a class="el" href="a00892.html#a230a012e823cc4b80b231f6fc7b9bde5">osgText::Text::_font</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aaee0f9d66011df8cbc07717abd19c733"></a><!-- doxytag: member="osgText::Text::_textureGlyphQuadMap" ref="aaee0f9d66011df8cbc07717abd19c733" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00892.html#a69a32ea0fe2077c007b77ab4cef12a72">TextureGlyphQuadMap</a> <a class="el" href="a00892.html#aaee0f9d66011df8cbc07717abd19c733">osgText::Text::_textureGlyphQuadMap</a><code> [mutable, 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>osgText/<a class="el" href="a01547.html">Text</a></li>
</ul>
</div>
<hr>
<table border="0"><tr><td>
  <img src="osg32-32.png" alt="osg logo" />
</td><td>
  <address><small>Generated at Tue May 31 2011 04:19:37 for the <a href="http://www.openscenegraph.org/">OpenSceneGraph</a>
by <a href="http://www.doxygen.org">doxygen</a> 1.7.4.</small></address>
<!-- Dimitri van Heesch's e-mail address removed, lest he get messages on the OpenSceneGraph -->
</td></tr></table>
</body>
</html>