diff options
Diffstat (limited to 'docs/doxygen/nel/class_NL3D__CTextContext.html')
-rw-r--r-- | docs/doxygen/nel/class_NL3D__CTextContext.html | 1872 |
1 files changed, 1872 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NL3D__CTextContext.html b/docs/doxygen/nel/class_NL3D__CTextContext.html new file mode 100644 index 00000000..f28cc7db --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CTextContext.html @@ -0,0 +1,1872 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.2 on Sat May 12 22:32:45 2001 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CTextContext Class Reference</h1><a class="el" href="class_NL3D__CTextContext.html">CTextContext</a>. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="text_context_h-source.html">text_context.h</a>></code> +<p> +Collaboration diagram for NL3D::CTextContext:<p><center><img src="class_NL3D__CTextContext_coll_graph.gif" border="0" usemap="#NL3D::CTextContext_coll_map" alt="Collaboration graph"></center> +<map name="NL3D::CTextContext_coll_map"> +<area href="class_NL3D__std__map.html" shape="rect" coords="1,7,257,25"> +<area href="class_NL3D__CComputedString.html" shape="rect" coords="53,87,205,105"> +<area href="class_NL3D__IDriver.html" shape="rect" coords="83,151,176,169"> +<area href="class_NL3D__CFontManager.html" shape="rect" coords="61,215,197,233"> +<area href="class_NL3D__CFontGenerator.html" shape="rect" coords="59,279,200,297"> +<area href="class_NLMISC__CRGBA.html" shape="rect" coords="71,473,188,492"> +</map> +<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NL3D__CTextContext-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a0">CTextContext</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a1">init</a> (<a class="el" href="class_NL3D__IDriver.html">IDriver</a> *drv, <a class="el" href="class_NL3D__CFontManager.html">CFontManager</a> *fmg)</td></tr> +<tr><td> </td><td><font size=-1><em>set the driver.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a2">setFontGenerator</a> (const std::string fontFileName, const std::string fontExFileName = "")</td></tr> +<tr><td> </td><td><font size=-1><em>init the font generator.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a3">setColor</a> (<a class="el" href="class_NLMISC__CRGBA.html">NLMISC::CRGBA</a> color)</td></tr> +<tr><td> </td><td><font size=-1><em>set the font color.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a4">setFontSize</a> (<a class="el" href="types_nl_h.html#a9">uint32</a> fontSize)</td></tr> +<tr><td> </td><td><font size=-1><em>set the font size.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a5">getFontSize</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the font size.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a6">setHotSpot</a> (<a class="el" href="class_NL3D__CComputedString.html#s12">NL3D::CComputedString::THotSpot</a> hotSpot)</td></tr> +<tr><td> </td><td><font size=-1><em>set the hot spot.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a7">setScaleX</a> (float scaleX)</td></tr> +<tr><td> </td><td><font size=-1><em>set the X scale.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a8">setScaleZ</a> (float scaleZ)</td></tr> +<tr><td> </td><td><font size=-1><em>set the Z scale.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a9">getScaleX</a> () const</td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a10">getScaleZ</a> () const</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a11">setShaded</a> (bool b)</td></tr> +<tr><td> </td><td><font size=-1><em>set the shade states.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a12">getShaded</a> () const</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a13">setShadeExtent</a> (float shext)</td></tr> +<tr><td> </td><td><font size=-1><em>set the shadow's size.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CComputedString.html#s12">NL3D::CComputedString::THotSpot</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a14">getHotSpot</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the hot spot.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a15">textPush</a> (const char *format, ...)</td></tr> +<tr><td> </td><td><font size=-1><em>compute and add a string to the stack.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a16">textPush</a> (<a class="el" href="class_ucstring.html">ucstring</a> str)</td></tr> +<tr><td> </td><td><font size=-1><em>computes an <a class="el" href="class_ucstring.html">ucstring</a> and adds the result to the stack.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a17">erase</a> (<a class="el" href="types_nl_h.html#a9">uint32</a> i)</td></tr> +<tr><td> </td><td><font size=-1><em>remove a string from the list.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a18">clear</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>empty the map.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a19">printAt</a> (float x, float z, <a class="el" href="types_nl_h.html#a9">uint32</a> i)</td></tr> +<tr><td> </td><td><font size=-1><em>print a string of the list (rq : it leaves the string in the stack).</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a20">printAt</a> (float x, float z, <a class="el" href="class_ucstring.html">ucstring</a> ucstr)</td></tr> +<tr><td> </td><td><font size=-1><em>compute and print a <a class="el" href="class_ucstring.html">ucstring</a> at the location.</em> <a href="#a20">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a21">printfAt</a> (float x, float z, const char * format, ...)</td></tr> +<tr><td> </td><td><font size=-1><em>compute and print a string at the location.</em> <a href="#a21">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CComputedString.html">CComputedString</a>& </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a22">operator[]</a> (<a class="el" href="types_nl_h.html#a9">uint32</a> i)</td></tr> +<tr><td> </td><td><font size=-1><em>operator[].</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CComputedString.html">CComputedString</a>* </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a23">getComputedString</a> (<a class="el" href="types_nl_h.html#a9">uint32</a> i)</td></tr> +<tr><td> </td><td><font size=-1><em>operator[].</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a24">computeString</a> (const std::string& s, <a class="el" href="class_NL3D__CComputedString.html">CComputedString</a>& output)</td></tr> +<tr><td> </td><td><font size=-1><em>Compute a string as primitive blocks using the font manager's method computeString.</em> <a href="#a24">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a25">computeString</a> (const <a class="el" href="class_ucstring.html">ucstring</a>& s, <a class="el" href="class_NL3D__CComputedString.html">CComputedString</a>& output)</td></tr> +<tr><td> </td><td><font size=-1><em>Compute a <a class="el" href="class_ucstring.html">ucstring</a> as primitive blocks using the font manager's method computeString.</em> <a href="#a25">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a26">getLastXBound</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return max x coordinate of last string printed.</em> <a href="#a26">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a27">setKeep800x600Ratio</a> (bool keep)</td></tr> +<tr><td> </td><td><font size=-1><em>set to true if you want that <a class="el" href="class_NL3D__CFontManager.html">CFontManager</a> look at Driver window size, and resize fontSize so it keeps same size than if it was in 800x600...</em> <a href="#a27">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a28">getKeep800x600Ratio</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return keep800x600Ratio state.</em> <a href="#a28">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#a29">~CTextContext</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>destructor.</em> <a href="#a29">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__IDriver.html">IDriver</a>* </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o0">_Driver</a></td></tr> +<tr><td> </td><td><font size=-1><em>Driver.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CFontManager.html">NL3D::CFontManager</a>* </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o1">_FontManager</a></td></tr> +<tr><td> </td><td><font size=-1><em>font manager.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CFontGenerator.html">NL3D::CFontGenerator</a>* </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o2">_FontGen</a></td></tr> +<tr><td> </td><td><font size=-1><em>font generator.</em> <a href="#o2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o3">_FontSize</a></td></tr> +<tr><td> </td><td><font size=-1><em>font size;.</em> <a href="#o3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NLMISC__CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o4">_Color</a></td></tr> +<tr><td> </td><td><font size=-1><em>current text color.</em> <a href="#o4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CComputedString.html#s12">NL3D::CComputedString::THotSpot</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o5">_HotSpot</a></td></tr> +<tr><td> </td><td><font size=-1><em>hotspot.</em> <a href="#o5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o6">_ScaleX</a></td></tr> +<tr><td> </td><td><font size=-1><em>X scale.</em> <a href="#o6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o7">_ScaleZ</a></td></tr> +<tr><td> </td><td><font size=-1><em>Z scale.</em> <a href="#o7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o8">_RotateY</a></td></tr> +<tr><td> </td><td><font size=-1><em>Y axe rotation angle.</em> <a href="#o8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__std__map.html">std::map</a><<a class="el" href="types_nl_h.html#a9">uint32</a>,<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a>> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o9">_StringList</a></td></tr> +<tr><td> </td><td><font size=-1><em>computed strings map.</em> <a href="#o9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o10">_XBound</a></td></tr> +<tr><td> </td><td><font size=-1><em>max x coordinate of last string printed.</em> <a href="#o10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a8">sint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o11">_MaxIndex</a></td></tr> +<tr><td> </td><td><font size=-1><em>maximum index reached.</em> <a href="#o11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o12">_Shaded</a></td></tr> +<tr><td> </td><td><font size=-1><em>true if text is shaded.</em> <a href="#o12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o13">_ShadeExtent</a></td></tr> +<tr><td> </td><td><font size=-1><em>shade's extent.</em> <a href="#o13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o14">_Keep800x600Ratio</a></td></tr> +<tr><td> </td><td><font size=-1><em>resize fontSize???</em> <a href="#o14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o15">_TempString</a></td></tr> +<tr><td> </td><td><font size=-1><em>for <a class="el" href="class_NL3D__CTextContext.html#a19">printAt</a>() and <a class="el" href="class_NL3D__CTextContext.html#a21">printfAt</a>(). This prevents from creating VBdrvinfos each time they are called (N*each frame!!).</em> <a href="#o15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> </td><td valign=bottom><a class="el" href="class_NL3D__CTextContext.html#o16">_TempShadowString</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="class_NL3D__CTextContext.html">CTextContext</a>. +<p> +<dl compact><dt> +<b>Author(s): </b><dd> + Stephane Coutelas , Nevrax France </dl><dl compact><dt> +<b>Date: </b><dd> + 2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00044">44</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CTextContext::CTextContext"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +NL3D::CTextContext::CTextContext ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00100">100</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a29" doxytag="NL3D::CTextContext::~CTextContext"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +NL3D::CTextContext::~CTextContext ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +destructor. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00436">436</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a18" doxytag="NL3D::CTextContext::clear"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::clear ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +empty the map. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00296">296</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a25" doxytag="NL3D::CTextContext::computeString"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::computeString ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_ucstring.html">ucstring</a> & <em>s</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> & <em>output</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a <a class="el" href="class_ucstring.html">ucstring</a> as primitive blocks using the font manager's method computeString. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>an</em> + </td><td> + <a class="el" href="class_ucstring.html">ucstring</a> </td></tr> +<tr><td valign=top><em>the</em> + </td><td> + computed string </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00407">407</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a24" doxytag="NL3D::CTextContext::computeString"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::computeString ( + </b></td> + <td valign="bottom"><b> +const std::string & <em>s</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> & <em>output</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a string as primitive blocks using the font manager's method computeString. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>a</em> + </td><td> + string </td></tr> +<tr><td valign=top><em>the</em> + </td><td> + computed string </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00396">396</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a17" doxytag="NL3D::CTextContext::erase"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::erase ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> <em>i</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove a string from the list. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00288">288</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a23" doxytag="NL3D::CTextContext::getComputedString"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> * NL3D::CTextContext::getComputedString ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> <em>i</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +operator[]. +<p> +<dl compact><dt> +<b>Returns: </b><dd> + the computed string, NULL if not found. </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00379">379</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CTextContext::getFontSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::CTextContext::getFontSize ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the font size. +<p> +<dl compact><dt> +<b>Returns: </b><dd> + the font size </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00167">167</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NL3D::CTextContext::getHotSpot"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CComputedString.html#s12">NL3D::CComputedString::THotSpot</a> NL3D::CTextContext::getHotSpot ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the hot spot. +<p> +<dl compact><dt> +<b>Returns: </b><dd> + the hot spot </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00245">245</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a28" doxytag="NL3D::CTextContext::getKeep800x600Ratio"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::CTextContext::getKeep800x600Ratio ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return keep800x600Ratio state. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00432">432</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a26" doxytag="NL3D::CTextContext::getLastXBound"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::getLastXBound ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return max x coordinate of last string printed. +<p> +Useful to know if a string goes out of the screen (screen limit is supposed at x==4/3, should actually depend on driver's frustum). <dl compact><dt> +<b>Returns: </b><dd> + x coordinate </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00418">418</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CTextContext::getScaleX"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::getScaleX ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt> +<b>Returns: </b><dd> + the X scale </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00202">202</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NL3D::CTextContext::getScaleZ"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::getScaleZ ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt> +<b>Returns: </b><dd> + the Z scale </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00210">210</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NL3D::CTextContext::getShaded"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::CTextContext::getShaded ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt> +<b>Returns: </b><dd> + the shade state </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00227">227</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CTextContext::init"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::init ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> * <em>drv</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CFontManager.html">CFontManager</a> * <em>fmg</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the driver. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00128">128</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a22" doxytag="NL3D::CTextContext::operator[]"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> & NL3D::CTextContext::operator[] ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> <em>i</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +operator[]. +<p> +<dl compact><dt> +<b>Returns: </b><dd> + the computed string </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00367">367</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a20" doxytag="NL3D::CTextContext::printAt"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::printAt ( + </b></td> + <td valign="bottom"><b> +float <em>x</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>z</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_ucstring.html">ucstring</a> <em>ucstr</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute and print a <a class="el" href="class_ucstring.html">ucstring</a> at the location. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00323">323</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a19" doxytag="NL3D::CTextContext::printAt"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::printAt ( + </b></td> + <td valign="bottom"><b> +float <em>x</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>z</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> <em>i</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +print a string of the list (rq : it leaves the string in the stack). +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00306">306</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a21" doxytag="NL3D::CTextContext::printfAt"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::printfAt ( + </b></td> + <td valign="bottom"><b> +float <em>x</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>z</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const char * <em>format</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +... )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute and print a string at the location. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00343">343</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CTextContext::setColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setColor ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NLMISC__CRGBA.html">NLMISC::CRGBA</a> <em>color</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the font color. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>color</em> + </td><td> + the font color </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00149">149</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CTextContext::setFontGenerator"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setFontGenerator ( + </b></td> + <td valign="bottom"><b> +const std::string <em>fontFileName</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const std::string <em>fontExFileName</em> = "" )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +init the font generator. +<p> +Must be called before any print <dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>cf</em> + </td><td> + <a class="el" href="class_NL3D__CFontGenerator.html">CFontGenerator</a> constructor parameters) </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00139">139</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CTextContext::setFontSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setFontSize ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> <em>fontSize</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the font size. +<p> +Should be called before the first print <dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>fonSize</em> + </td><td> + the font size </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00158">158</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CTextContext::setHotSpot"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setHotSpot ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CComputedString.html#s12">NL3D::CComputedString::THotSpot</a> <em>hotSpot</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the hot spot. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>fonSize</em> + </td><td> + the font size </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00176">176</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a27" doxytag="NL3D::CTextContext::setKeep800x600Ratio"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setKeep800x600Ratio ( + </b></td> + <td valign="bottom"><b> +bool <em>keep</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set to true if you want that <a class="el" href="class_NL3D__CFontManager.html">CFontManager</a> look at Driver window size, and resize fontSize so it keeps same size than if it was in 800x600... +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00427">427</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CTextContext::setScaleX"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setScaleX ( + </b></td> + <td valign="bottom"><b> +float <em>scaleX</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the X scale. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>scaleX</em> + </td><td> + the X scale </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00185">185</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CTextContext::setScaleZ"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setScaleZ ( + </b></td> + <td valign="bottom"><b> +float <em>scaleZ</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the Z scale. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>scaleZ</em> + </td><td> + the Z scale </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00194">194</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NL3D::CTextContext::setShadeExtent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setShadeExtent ( + </b></td> + <td valign="bottom"><b> +float <em>shext</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the shadow's size. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>the</em> + </td><td> + shade extent </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00236">236</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NL3D::CTextContext::setShaded"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CTextContext::setShaded ( + </b></td> + <td valign="bottom"><b> +bool <em>b</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the shade states. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>the</em> + </td><td> + shade state </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00219">219</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NL3D::CTextContext::textPush"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::CTextContext::textPush ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_ucstring.html">ucstring</a> <em>str</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +computes an <a class="el" href="class_ucstring.html">ucstring</a> and adds the result to the stack. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>an</em> + </td><td> + <a class="el" href="class_ucstring.html">ucstring</a> </td></tr> +</table> +</dl><dl compact><dt> +<b>Returns: </b><dd> + the index where computed string has been inserted </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00274">274</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NL3D::CTextContext::textPush"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::CTextContext::textPush ( + </b></td> + <td valign="bottom"><b> +const char * <em>format</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +... )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute and add a string to the stack. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>a</em> + </td><td> + string </td></tr> +</table> +</dl><dl compact><dt> +<b>Returns: </b><dd> + the index where string has been inserted </dl> +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00255">255</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o4" doxytag="NL3D::CTextContext::_Color"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NLMISC__CRGBA.html">NLMISC::CRGBA</a> NL3D::CTextContext::_Color<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +current text color. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00059">59</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CTextContext::_Driver"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> * NL3D::CTextContext::_Driver<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Driver. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00047">47</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CTextContext::_FontGen"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CFontGenerator.html">NL3D::CFontGenerator</a> * NL3D::CTextContext::_FontGen<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +font generator. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00053">53</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CTextContext::_FontManager"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CFontManager.html">NL3D::CFontManager</a> * NL3D::CTextContext::_FontManager<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +font manager. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00050">50</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NL3D::CTextContext::_FontSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::CTextContext::_FontSize<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +font size;. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00056">56</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NL3D::CTextContext::_HotSpot"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CComputedString.html#s12">NL3D::CComputedString::THotSpot</a> NL3D::CTextContext::_HotSpot<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +hotspot. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00062">62</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o14" doxytag="NL3D::CTextContext::_Keep800x600Ratio"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::CTextContext::_Keep800x600Ratio<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +resize fontSize??? +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00089">89</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o11" doxytag="NL3D::CTextContext::_MaxIndex"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a8">sint32</a> NL3D::CTextContext::_MaxIndex<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +maximum index reached. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00080">80</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NL3D::CTextContext::_RotateY"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::_RotateY<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Y axe rotation angle. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00071">71</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NL3D::CTextContext::_ScaleX"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::_ScaleX<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +X scale. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00065">65</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NL3D::CTextContext::_ScaleZ"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::_ScaleZ<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Z scale. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00068">68</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o13" doxytag="NL3D::CTextContext::_ShadeExtent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::_ShadeExtent<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shade's extent. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00086">86</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o12" doxytag="NL3D::CTextContext::_Shaded"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::CTextContext::_Shaded<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +true if text is shaded. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00083">83</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o9" doxytag="NL3D::CTextContext::_StringList"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__std__map.html">std::map</a>< <a class="el" href="types_nl_h.html#a9">uint32</a>,<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> > NL3D::CTextContext::_StringList<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +computed strings map. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00074">74</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o16" doxytag="NL3D::CTextContext::_TempShadowString"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> NL3D::CTextContext::_TempShadowString<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00094">94</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o15" doxytag="NL3D::CTextContext::_TempString"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__CComputedString.html">CComputedString</a> NL3D::CTextContext::_TempString<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +for <a class="el" href="class_NL3D__CTextContext.html#a19">printAt</a>() and <a class="el" href="class_NL3D__CTextContext.html#a21">printfAt</a>(). This prevents from creating VBdrvinfos each time they are called (N*each frame!!). +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00093">93</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<a name="o10" doxytag="NL3D::CTextContext::_XBound"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +float NL3D::CTextContext::_XBound<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +max x coordinate of last string printed. +<p> + +<p> +Definition at line <a class="el" href="text_context_h-source.html#l00077">77</a> of file <a class="el" href="text_context_h-source.html">text_context.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="text_context_h-source.html">text_context.h</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |