<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>OpenVRML: openvrml::font_style_node Class Reference</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <link rel="icon" href="../vrml-16"> <link rel="start" href="http://openvrml.org/index" title="OpenVRML Home"> <link rel="prev" href="http://openvrml.org/discussion" title="Discussion"> <link rel="contents" href="index" title="Documentation Main Page"> <link rel="index" href="functions" title="OpenVRML Compound Members"> <link rel="appendix" href="conformance" title="Conformance Test Results"> <style type="text/css"> @import url("tabs.css"); @import url("http://openvrml.org/openvrml.css"); table { width: 100%; } h2 { border-bottom-style: solid; border-bottom-width: 1px; } /* * Doxygen as of 1.5.4-20071217 uses the class "navpath" instead of "nav". * For now, we'll do both. */ div.nav, div.navpath { background-color: transparent; text-align: left; margin-top: 1em; margin-bottom: 1em; border-color: black; border-left: none; border-right: none; padding-top: 0.5em; padding-bottom: 0.5em; } div.nav :link, div.nav :visited, div.navpath :link, div.navpath :visited { border-width: 1px; border-style: solid; border-color: silver; padding: 2px; } div.nav :link:hover, div.nav :visited:hover, div.navpath :link:hover, div.navpath :visited:hover { border-style: outset; border-color: gray; } div.nav :active, div.navpath :active { border-style: inset; border-color: gray; } .body td { background-color: transparent; } .el { text-decoration: inherit; font-weight: inherit } .elRef { font-weight: inherit } .code:link, .code:visited { text-decoration: inherit; font-weight: inherit; color: inherit; } .codeRef:link { font-weight: normal; color: inherit; } :visited { color: silver; } :link:hover { color: inherit; text-decoration: inherit; background-color: transparent; } h1 { line-height: 1.2em; } td.memItemLeft, td.memItemRight, td.memTemplParams, td.memTemplItemLeft, td.memTemplItemRight, .memtemplate, .memname td { font-family: Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Lucida Console", LucidaTypewriter, monospace; } td.memItemLeft, td.memItemRight, td.mdescLeft, td.mdescRight { background-color: rgb(95%, 95%, 95%); border-color: rgb(65%, 65%, 65%); border-width: 1px; font-size: smaller; } .memItemLeft { margin-top: 0.5em; border-top-style: solid; } .mdescLeft { border-bottom-style: solid; } .memItemRight { border-top-style: solid; margin-top: 0.5em; } .mdescRight { border-bottom-style: solid; } .mdescRight { font-style: italic; } .mdTable { background-color: rgb(95%, 95%, 95%); } .memproto td code { font-family: inherit; font-style: italic; } td.pass { background-color: rgb(50%, 100%, 50%); } td.fail { background-color: rgb(100%, 50%, 50%); } td.invalid { background-color: rgb(75%, 75%, 75%); } .memitem { padding: 0; } .memitem table { width: auto; } .memproto, .memdoc { border-width: 1px; border-color: rgb(65%, 65%, 65%); } .memproto { background-color: rgb(90%, 90%, 90%); font-weight: inherit; font-size: smaller; border-top-style: solid; border-left-style: solid; border-right-style: solid; -webkit-border-top-left-radius: 0.6em; -webkit-border-top-right-radius: 0.6em; -moz-border-radius-topleft: 0.6em; -moz-border-radius-topright: 0.6em; } .memdoc { background-color: rgb(95%, 95%, 95%); padding: 2px 5px; border-style: solid; -webkit-border-bottom-left-radius: 0.6em; -webkit-border-bottom-right-radius: 0.6em; -moz-border-radius-bottomleft: 0.6em; -moz-border-radius-bottomright: 0.6em; } .memname { font-weight: inherit; } div.tabs { background-image: url("tab_b-openvrml.png"); } div.tabs span { background-image: url("tab_l-openvrml.png"); } div.tabs a { background-image: url("tab_r-openvrml.png"); border-bottom: 1px solid #a5a5a5; } div.tabs a:link, div.tabs a:visited, div.tabs a:active, div.tabs a:hover { color: black; } table { border-collapse: collapse; border-spacing: 0; } .note { border: 1px solid rgb(65%, 65%, 65%); background-color: rgb(95%, 95%, 95%); margin-left: 10%; margin-right: 10%; } </style> </head> <body> <table class="sitenav"> <tr> <th><a href="http://openvrml.org/index" title="Home">Home</a></th> <th><a href="http://openvrml.org/download" title="Download">Download</a></th> <th><a href="http://openvrml.org/screenshots/index" title="Screen shots">Screen shots</a></th> <th><a href="http://openvrml.org/discussion" title="Mailing lists and IRC">Discussion</a></th> <th>Documentation</th> </tr> </table> <div class="body"> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceopenvrml.html">openvrml</a>::<a class="el" href="classopenvrml_1_1font__style__node.html">font_style_node</a> </div> </div> <div class="contents"> <h1>openvrml::font_style_node Class Reference</h1><!-- doxytag: class="openvrml::font_style_node" --><!-- doxytag: inherits="openvrml::node" -->Abstract base class for font style nodes. <a href="#_details">More...</a> <p> <code>#include <openvrml/node.h></code> <p> <div class="dynheader"> Inheritance diagram for openvrml::font_style_node:</div> <div class="dynsection"> <p><center><img src="classopenvrml_1_1font__style__node__inherit__graph.png" border="0" usemap="#openvrml_1_1font__style__node__inherit__map" alt="Inheritance graph"></center> <map name="openvrml_1_1font__style__node__inherit__map"> <area shape="rect" href="classopenvrml_1_1node.html" title="A node in the scene graph." alt="" coords="37,5,152,35"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classopenvrml_1_1font__style__node-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#77d7d754828e987bb0434a3ab95b8c65">~font_style_node</a> ()=0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy. <a href="#77d7d754828e987bb0434a3ab95b8c65"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::vector< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#25c44331a9211698b4c387ca18d806a2">family</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the list of font families. <a href="#25c44331a9211698b4c387ca18d806a2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#43a250054dbc03055cc22c5606dcea3d">horizontal</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the flag indicating whether the text should be horizontal or vertical. <a href="#43a250054dbc03055cc22c5606dcea3d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::vector< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#81da6fc9bcdc058c86a8b7141b02c8ff">justify</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the descriptor for the text justification. <a href="#81da6fc9bcdc058c86a8b7141b02c8ff"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#9e437bd1310d237734817f249ffc76cb">language</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the language code. <a href="#9e437bd1310d237734817f249ffc76cb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#db1d1991a5bdc30839a81fe45faab6f4">left_to_right</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the flag indicating whether the text should be rendered left-to-right. <a href="#db1d1991a5bdc30839a81fe45faab6f4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#78676592f6ffce34a1f92a5662dbe73d">size</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the size of the text. <a href="#78676592f6ffce34a1f92a5662dbe73d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#42e9a39792ca7940c06de89bf379baab">spacing</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the spacing for the text. <a href="#42e9a39792ca7940c06de89bf379baab"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#f15e002ad12f22d0f8990425284b242f">style</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the style for the text. <a href="#f15e002ad12f22d0f8990425284b242f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#210bdc78db8c25e5b6055c6d7ab1d0ba">top_to_bottom</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the flag indicating whether the text should be rendered top-to-bottom. <a href="#210bdc78db8c25e5b6055c6d7ab1d0ba"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#a1282238138213564ca0783a7140c15c">font_style_node</a> (const <a class="el" href="classopenvrml_1_1node__type.html">node_type</a> &type, const boost::shared_ptr< <a class="el" href="classopenvrml_1_1scope.html">openvrml::scope</a> > &<a class="el" href="classopenvrml_1_1scope.html">scope</a>) throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct. <a href="#a1282238138213564ca0783a7140c15c"></a><br></td></tr> <tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classopenvrml_1_1font__style__node.html">font_style_node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#6976ab061a67e1e9f1de5d06aa6c330e">to_font_style</a> () throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a <code><a class="el" href="classopenvrml_1_1font__style__node.html" title="Abstract base class for font style nodes.">font_style_node</a></code>. <a href="#6976ab061a67e1e9f1de5d06aa6c330e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const std::vector<br class="typebreak"> < std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#088398d79dbc7eefc7e702f92d0d26db">do_family</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the list of font families. <a href="#088398d79dbc7eefc7e702f92d0d26db"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#4d68ab9d2685508ccd8b750c0a2cb43a">do_horizontal</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the flag indicating whether the text should be horizontal or vertical. <a href="#4d68ab9d2685508ccd8b750c0a2cb43a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const std::vector<br class="typebreak"> < std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#9cdddb63b2d5f30852233a1c19a8313a">do_justify</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the descriptor for the text justification. <a href="#9cdddb63b2d5f30852233a1c19a8313a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#b9f5d0ad3f451c62d543dfda70c4b4a7">do_language</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the language code. <a href="#b9f5d0ad3f451c62d543dfda70c4b4a7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#25c8769d6e0db2af4284b43418f9cc30">do_left_to_right</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the flag indicating whether the text should be rendered left-to-right. <a href="#25c8769d6e0db2af4284b43418f9cc30"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#a12df3c049a2689441571c1dd27e8b29">do_size</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the size of the text. <a href="#a12df3c049a2689441571c1dd27e8b29"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#69e42571aaf359818e32d8796d2d2b73">do_spacing</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the spacing for the text. <a href="#69e42571aaf359818e32d8796d2d2b73"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#7593460a3941944179a8962d0e1e5b6c">do_style</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the style for the text. <a href="#7593460a3941944179a8962d0e1e5b6c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1font__style__node.html#1f30c9baef0348e5fd4889f7f4345ed6">do_top_to_bottom</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the flag indicating whether the text should be rendered top-to-bottom. <a href="#1f30c9baef0348e5fd4889f7f4345ed6"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Abstract base class for font style nodes. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="77d7d754828e987bb0434a3ab95b8c65"></a><!-- doxytag: member="openvrml::font_style_node::~font_style_node" ref="77d7d754828e987bb0434a3ab95b8c65" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">openvrml::font_style_node::~font_style_node </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> throw ()<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destroy. <p> </div> </div><p> <a class="anchor" name="a1282238138213564ca0783a7140c15c"></a><!-- doxytag: member="openvrml::font_style_node::font_style_node" ref="a1282238138213564ca0783a7140c15c" args="(const node_type &type, const boost::shared_ptr< openvrml::scope > &scope)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">openvrml::font_style_node::font_style_node </td> <td>(</td> <td class="paramtype">const <a class="el" href="classopenvrml_1_1node__type.html">node_type</a> & </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const boost::shared_ptr< <a class="el" href="classopenvrml_1_1scope.html">openvrml::scope</a> > & </td> <td class="paramname"> <em>scope</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> throw ()<code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Construct. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>type</em> </td><td>the <code><a class="el" href="classopenvrml_1_1node__type.html" title="Type information object for nodes.">node_type</a></code> associated with the <a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a>. </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em><a class="el" href="classopenvrml_1_1scope.html" title="The scope class keeps track of defined nodes and prototypes.">scope</a></em> </td><td>the <code><a class="el" href="classopenvrml_1_1scope.html" title="The scope class keeps track of defined nodes and prototypes.">scope</a></code> the <a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a> belongs to. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="25c44331a9211698b4c387ca18d806a2"></a><!-- doxytag: member="openvrml::font_style_node::family" ref="25c44331a9211698b4c387ca18d806a2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::vector< std::string > & openvrml::font_style_node::family </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the list of font families. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#088398d79dbc7eefc7e702f92d0d26db" title="Get the list of font families.">do_family</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the font families that may be used for this FontStyle. </dd></dl> </div> </div><p> <a class="anchor" name="43a250054dbc03055cc22c5606dcea3d"></a><!-- doxytag: member="openvrml::font_style_node::horizontal" ref="43a250054dbc03055cc22c5606dcea3d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool openvrml::font_style_node::horizontal </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the flag indicating whether the text should be horizontal or vertical. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#4d68ab9d2685508ccd8b750c0a2cb43a" title="Get the flag indicating whether the text should be horizontal or vertical.">do_horizontal</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the text should be horizontal, or <code>false</code> if the text should be vertical. </dd></dl> </div> </div><p> <a class="anchor" name="81da6fc9bcdc058c86a8b7141b02c8ff"></a><!-- doxytag: member="openvrml::font_style_node::justify" ref="81da6fc9bcdc058c86a8b7141b02c8ff" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::vector< std::string > & openvrml::font_style_node::justify </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the descriptor for the text justification. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#9cdddb63b2d5f30852233a1c19a8313a" title="Get the descriptor for the text justification.">do_justify</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the characteristics of the text justification. </dd></dl> </div> </div><p> <a class="anchor" name="9e437bd1310d237734817f249ffc76cb"></a><!-- doxytag: member="openvrml::font_style_node::language" ref="9e437bd1310d237734817f249ffc76cb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string & openvrml::font_style_node::language </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the language code. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#b9f5d0ad3f451c62d543dfda70c4b4a7" title="Get the language code.">do_language</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the language code. </dd></dl> </div> </div><p> <a class="anchor" name="db1d1991a5bdc30839a81fe45faab6f4"></a><!-- doxytag: member="openvrml::font_style_node::left_to_right" ref="db1d1991a5bdc30839a81fe45faab6f4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool openvrml::font_style_node::left_to_right </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the flag indicating whether the text should be rendered left-to-right. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#25c8769d6e0db2af4284b43418f9cc30" title="Get the flag indicating whether the text should be rendered left-to-right.">do_left_to_right</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the text should be rendered left-to-right, or <code>false</code> if the text should be rendered right-to-left. </dd></dl> </div> </div><p> <a class="anchor" name="78676592f6ffce34a1f92a5662dbe73d"></a><!-- doxytag: member="openvrml::font_style_node::size" ref="78676592f6ffce34a1f92a5662dbe73d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float openvrml::font_style_node::size </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the size of the text. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#a12df3c049a2689441571c1dd27e8b29" title="Get the size of the text.">do_size</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the size of the text. </dd></dl> </div> </div><p> <a class="anchor" name="42e9a39792ca7940c06de89bf379baab"></a><!-- doxytag: member="openvrml::font_style_node::spacing" ref="42e9a39792ca7940c06de89bf379baab" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float openvrml::font_style_node::spacing </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the spacing for the text. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#69e42571aaf359818e32d8796d2d2b73" title="Get the spacing for the text.">do_spacing</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the spacing for the text. </dd></dl> </div> </div><p> <a class="anchor" name="f15e002ad12f22d0f8990425284b242f"></a><!-- doxytag: member="openvrml::font_style_node::style" ref="f15e002ad12f22d0f8990425284b242f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string & openvrml::font_style_node::style </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the style for the text. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#7593460a3941944179a8962d0e1e5b6c" title="Get the style for the text.">do_style</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the text style. </dd></dl> </div> </div><p> <a class="anchor" name="210bdc78db8c25e5b6055c6d7ab1d0ba"></a><!-- doxytag: member="openvrml::font_style_node::top_to_bottom" ref="210bdc78db8c25e5b6055c6d7ab1d0ba" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool openvrml::font_style_node::top_to_bottom </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the flag indicating whether the text should be rendered top-to-bottom. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1font__style__node.html#1f30c9baef0348e5fd4889f7f4345ed6" title="Get the flag indicating whether the text should be rendered top-to-bottom.">do_top_to_bottom</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the text should be rendered top-to-bottom, or <code>false</code> if the text should be rendered bottom-to-top. </dd></dl> </div> </div><p> <a class="anchor" name="6976ab061a67e1e9f1de5d06aa6c330e"></a><!-- doxytag: member="openvrml::font_style_node::to_font_style" ref="6976ab061a67e1e9f1de5d06aa6c330e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1font__style__node.html">openvrml::font_style_node</a> * openvrml::font_style_node::to_font_style </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> throw ()<code> [private, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Cast to a <code><a class="el" href="classopenvrml_1_1font__style__node.html" title="Abstract base class for font style nodes.">font_style_node</a></code>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>a pointer to this <code><a class="el" href="classopenvrml_1_1font__style__node.html" title="Abstract base class for font style nodes.">font_style_node</a></code>. </dd></dl> <p>Reimplemented from <a class="el" href="classopenvrml_1_1node.html#4d961f870aa219e7711a8a4ad2b7b33e">openvrml::node</a>.</p> </div> </div><p> <a class="anchor" name="088398d79dbc7eefc7e702f92d0d26db"></a><!-- doxytag: member="openvrml::font_style_node::do_family" ref="088398d79dbc7eefc7e702f92d0d26db" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::vector< std::string > & openvrml::font_style_node::do_family </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the list of font families. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the font families that may be used for this FontStyle. </dd></dl> </div> </div><p> <a class="anchor" name="4d68ab9d2685508ccd8b750c0a2cb43a"></a><!-- doxytag: member="openvrml::font_style_node::do_horizontal" ref="4d68ab9d2685508ccd8b750c0a2cb43a" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool openvrml::font_style_node::do_horizontal </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the flag indicating whether the text should be horizontal or vertical. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the text should be horizontal, or <code>false</code> if the text should be vertical. </dd></dl> </div> </div><p> <a class="anchor" name="9cdddb63b2d5f30852233a1c19a8313a"></a><!-- doxytag: member="openvrml::font_style_node::do_justify" ref="9cdddb63b2d5f30852233a1c19a8313a" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::vector< std::string > & openvrml::font_style_node::do_justify </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the descriptor for the text justification. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the characteristics of the text justification. </dd></dl> </div> </div><p> <a class="anchor" name="b9f5d0ad3f451c62d543dfda70c4b4a7"></a><!-- doxytag: member="openvrml::font_style_node::do_language" ref="b9f5d0ad3f451c62d543dfda70c4b4a7" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string & openvrml::font_style_node::do_language </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the language code. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the language code. </dd></dl> </div> </div><p> <a class="anchor" name="25c8769d6e0db2af4284b43418f9cc30"></a><!-- doxytag: member="openvrml::font_style_node::do_left_to_right" ref="25c8769d6e0db2af4284b43418f9cc30" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool openvrml::font_style_node::do_left_to_right </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the flag indicating whether the text should be rendered left-to-right. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the text should be rendered left-to-right, or <code>false</code> if the text should be rendered right-to-left. </dd></dl> </div> </div><p> <a class="anchor" name="a12df3c049a2689441571c1dd27e8b29"></a><!-- doxytag: member="openvrml::font_style_node::do_size" ref="a12df3c049a2689441571c1dd27e8b29" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float openvrml::font_style_node::do_size </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the size of the text. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the size of the text. </dd></dl> </div> </div><p> <a class="anchor" name="69e42571aaf359818e32d8796d2d2b73"></a><!-- doxytag: member="openvrml::font_style_node::do_spacing" ref="69e42571aaf359818e32d8796d2d2b73" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float openvrml::font_style_node::do_spacing </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the spacing for the text. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the spacing for the text. </dd></dl> </div> </div><p> <a class="anchor" name="7593460a3941944179a8962d0e1e5b6c"></a><!-- doxytag: member="openvrml::font_style_node::do_style" ref="7593460a3941944179a8962d0e1e5b6c" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string & openvrml::font_style_node::do_style </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the style for the text. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the text style. </dd></dl> </div> </div><p> <a class="anchor" name="1f30c9baef0348e5fd4889f7f4345ed6"></a><!-- doxytag: member="openvrml::font_style_node::do_top_to_bottom" ref="1f30c9baef0348e5fd4889f7f4345ed6" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool openvrml::font_style_node::do_top_to_bottom </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the flag indicating whether the text should be rendered top-to-bottom. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the text should be rendered top-to-bottom, or <code>false</code> if the text should be rendered bottom-to-top. </dd></dl> </div> </div><p> </div> </div> <address class="footer"><span class="images"><a href="http://web3d.org/x3d/"><img src="x3d-white-on-black.png" width="43" height="32" border="0" alt="X3D"></a><a href="http://opengl.org"><img src="OGL_sm_wht.png" width="68" height="32" border="0" alt="OpenGL"></a><a href="http://sourceforge.net/projects/openvrml"><img src="http://sourceforge.net/sflogo.php?group_id=7151&type=11" width="120" height="30" border="0" alt="SourceForge.net"></a></span><a href="https://sourceforge.net/apps/trac/openvrml/newticket">Report error</a><br>Generated Thu Aug 13 02:49:21 2009 by Doxygen 1.5.8</address> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript">_uacct = "UA-446379-2"; urchinTracker();</script> <!-- Piwik --> <script type="text/javascript"> var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/openvrml/" : "http://sourceforge.net/apps/piwik/openvrml/"); document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript"> piwik_action_name = ''; piwik_idsite = 1; piwik_url = pkBaseURL + "piwik.php"; piwik_log(piwik_action_name, piwik_idsite, piwik_url); </script> <object><noscript><p><img src="http://sourceforge.net/apps/piwik/openvrml/piwik.php?idsite=1" alt="piwik"/></p></noscript></object> <!-- End Piwik Tag --> </body> </html>