diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03483.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03483.html | 2437 |
1 files changed, 2437 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03483.html b/docs/doxygen/nel/a03483.html new file mode 100644 index 00000000..7ea27e23 --- /dev/null +++ b/docs/doxygen/nel/a03483.html @@ -0,0 +1,2437 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CTextContext class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CTextContext Class Reference</h1><code>#include <<a class="el" href="a06502.html">text_context.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a03483.html">CTextContext</a><p> +<dl compact><dt><b>Author:</b></dt><dd>Stephane Coutelas <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00044">44</a> of file <a class="el" href="a06502.html">text_context.h</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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta0">clear</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear the cache. <a href="#NL3D_1_1CTextContexta0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta1">computeString</a> (const <a class="el" href="a03924.html">ucstring</a> &<a class="el" href="a04223.html#a626">s</a>, <a class="el" href="a02397.html">CComputedString</a> &output)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta2">computeString</a> (const std::string &<a class="el" href="a04223.html#a626">s</a>, <a class="el" href="a02397.html">CComputedString</a> &output)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta3">computeStringInfo</a> (const <a class="el" href="a03924.html">ucstring</a> &<a class="el" href="a04223.html#a626">s</a>, <a class="el" href="a02397.html">CComputedString</a> &output)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta4">CTextContext</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta5">dumpCache</a> (const char *<a class="el" href="a04560.html#a1">filename</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Debug : write to the disk the texture cache. <a href="#NL3D_1_1CTextContexta5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta6">erase</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">remove a string from the cache <a href="#NL3D_1_1CTextContexta6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta7">getColor</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02397.html">CComputedString</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta8">getComputedString</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02541.html">NL3D::CFontGenerator</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta9">getFontGenerator</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02542.html">CFontManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta10">getFontManager</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta11">getFontSize</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02397.html#NL3D_1_1CComputedStringw8">CComputedString::THotSpot</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta12">getHotSpot</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta13">getKeep800x600Ratio</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta14">getScaleX</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta15">getScaleZ</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta16">getShadeColor</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta17">getShaded</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta18">init</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02542.html">CFontManager</a> *fmg)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the driver. <a href="#NL3D_1_1CTextContexta18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02397.html">CComputedString</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta19">operator[]</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get computed string from index. <a href="#NL3D_1_1CTextContexta19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta20">printAt</a> (float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a574">z</a>, const <a class="el" href="a03924.html">ucstring</a> &ucstr)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Directly print a string. <a href="#NL3D_1_1CTextContexta20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta21">printAt</a> (float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a574">z</a>, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta22">printClipAt</a> (<a class="el" href="a03324.html">CRenderStringBuffer</a> &rdrBuffer, float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a574">z</a>, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>, float xmin, float ymin, float xmax, float ymax)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta23">printClipAtUnProjected</a> (<a class="el" href="a03324.html">CRenderStringBuffer</a> &renderBuffer, class <a class="el" href="a02562.html">NL3D::CFrustum</a> &frustum, const <a class="el" href="a02851.html">NLMISC::CMatrix</a> &scaleMatrix, float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, float <a class="el" href="a04223.html#a634">depth</a>, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>, float xmin, float ymin, float xmax, float ymax)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta24">printfAt</a> (float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a574">z</a>, const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Directly print a string. <a href="#NL3D_1_1CTextContexta24"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta25">setColor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> color)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta26">setFontGenerator</a> (const std::string fontFileName, const std::string fontExFileName="")</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Must be called before any print. <a href="#NL3D_1_1CTextContexta26"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta27">setFontSize</a> (<a class="el" href="a04558.html#a11">uint32</a> fontSize)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta28">setHotSpot</a> (<a class="el" href="a02397.html#NL3D_1_1CComputedStringw8">CComputedString::THotSpot</a> hotSpot)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta29">setKeep800x600Ratio</a> (bool keep)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta30">setScaleX</a> (float scaleX)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta31">setScaleZ</a> (float scaleZ)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta32">setShadeColor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> color)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta33">setShaded</a> (bool b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta34">setShadeExtent</a> (float shext)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta35">textPush</a> (const <a class="el" href="a03924.html">ucstring</a> &str)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">computes an ucstring and adds the result to the cache (return the index) <a href="#NL3D_1_1CTextContexta35"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta36">textPush</a> (const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">compute and add a string to the cache (return the index) <a href="#NL3D_1_1CTextContexta36"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContexta37">~CTextContext</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#NL3D_1_1CTextContexta37"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a11">uint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02397.html">CComputedString</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Cache to manipulate strings with indexes. <a href="#NL3D_1_1CTextContextr2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr3">_Color</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Current text color. <a href="#NL3D_1_1CTextContextr3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02434.html">IDriver</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr4">_Driver</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Driver. <a href="#NL3D_1_1CTextContextr4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02541.html">NL3D::CFontGenerator</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr5">_FontGen</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Font generator. <a href="#NL3D_1_1CTextContextr5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02542.html">NL3D::CFontManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Font manager. <a href="#NL3D_1_1CTextContextr6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr7">_FontSize</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Font size;. <a href="#NL3D_1_1CTextContextr7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02397.html#NL3D_1_1CComputedStringw8">CComputedString::THotSpot</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr8">_HotSpot</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Hotspot. <a href="#NL3D_1_1CTextContextr8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr9">_Keep800x600Ratio</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">resize the font to keep the same aspect ratio than in 800x600 <a href="#NL3D_1_1CTextContextr9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr10">_ScaleX</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">X scale. <a href="#NL3D_1_1CTextContextr10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr11">_ScaleZ</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Z scale. <a href="#NL3D_1_1CTextContextr11"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shade color (default is black). <a href="#NL3D_1_1CTextContextr12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">true if text is shaded <a href="#NL3D_1_1CTextContextr13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr14">_ShadeExtent</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shade's extent (shadow size) <a href="#NL3D_1_1CTextContextr14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02397.html">CComputedString</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextContexta4" doxytag="NL3D::CTextContext::CTextContext" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CTextContext::CTextContext </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor defaults : fontsize=12, color=(0,0,0,255), hotspot=bottomleft, scale=1, shaded=false, shadeExtent=0.001f shadecolor=(0,0,0,255), 800x600ratio=true +<p> +Definition at line <a class="el" href="a06501.html#l00036">36</a> of file <a class="el" href="a06501.html">text_context.cpp</a>. +<p> +References <a class="el" href="a06502.html#l00339">_CacheNbFreePlaces</a>, <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a06502.html#l00315">_ScaleX</a>, <a class="el" href="a06502.html#l00318">_ScaleZ</a>, <a class="el" href="a06502.html#l00327">_ShadeColor</a>, <a class="el" href="a06502.html#l00321">_Shaded</a>, and <a class="el" href="a06502.html#l00324">_ShadeExtent</a>. +<p> +<div class="fragment"><pre>00037 { +00038 <a class="code" href="a03483.html#NL3D_1_1CTextContextr4">_Driver</a> = NULL; +00039 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a> = NULL; +00040 <a class="code" href="a03483.html#NL3D_1_1CTextContextr5">_FontGen</a> = NULL; +00041 +00042 <a class="code" href="a03483.html#NL3D_1_1CTextContextr7">_FontSize</a> = 12; +00043 +00044 <a class="code" href="a03483.html#NL3D_1_1CTextContextr3">_Color</a> = <a class="code" href="a03337.html">NLMISC::CRGBA</a>(0,0,0); +00045 +00046 <a class="code" href="a03483.html#NL3D_1_1CTextContextr8">_HotSpot</a> = CComputedString::BottomLeft; +00047 +00048 <a class="code" href="a03483.html#NL3D_1_1CTextContextr10">_ScaleX</a> = 1.0f; +00049 <a class="code" href="a03483.html#NL3D_1_1CTextContextr11">_ScaleZ</a> = 1.0f; +00050 +00051 <a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a> = <span class="keyword">false</span>; +00052 <a class="code" href="a03483.html#NL3D_1_1CTextContextr14">_ShadeExtent</a> = 0.001f; +00053 <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a> = NLMISC::CRGBA(0,0,0); +00054 +00055 <a class="code" href="a03483.html#NL3D_1_1CTextContextr9">_Keep800x600Ratio</a>= <span class="keyword">true</span>; +00056 +00057 <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a> = 0; +00058 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta37" doxytag="NL3D::CTextContext::~CTextContext" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CTextContext::~<a class="el" href="a03483.html">CTextContext</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></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="a06501.html#l00061">61</a> of file <a class="el" href="a06501.html">text_context.cpp</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>. +<p> +<div class="fragment"><pre>00062 { +00063 <span class="keywordflow">if</span> (<a class="code" href="a03483.html#NL3D_1_1CTextContextr5">_FontGen</a>) +00064 <span class="keyword">delete</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr5">_FontGen</a>; +00065 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextContexta0" doxytag="NL3D::CTextContext::clear" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::clear </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Clear the cache. +<p> + +<p> +Definition at line <a class="el" href="a06501.html#l00140">140</a> of file <a class="el" href="a06501.html">text_context.cpp</a>. +<p> +References <a class="el" href="a06502.html#l00338">_CacheFreePlaces</a>, <a class="el" href="a06502.html#l00339">_CacheNbFreePlaces</a>, and <a class="el" href="a06502.html#l00337">_CacheStrings</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00287">NL3D::CTextContextUser::clear()</a>. +<p> +<div class="fragment"><pre>00141 { +00142 <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>.clear(); +00143 <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a> = 0; +00144 <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.clear(); +00145 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta1" doxytag="NL3D::CTextContext::computeString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::computeString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03924.html">ucstring</a> & </td> + <td class="mdname" nowrap> <em>s</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02397.html">CComputedString</a> & </td> + <td class="mdname" nowrap> <em>output</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a ucstring as primitive blocks using the font manager's method computeString <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>an</em> </td><td>ucstring </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="a06502.html#l00274">274</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a05722.html#l00072">NL3D::CFontManager::computeString()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00275 { +00276 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera2">computeString</a> (s, _FontGen, _Color, _FontSize, _Driver, output, _Keep800x600Ratio); +00277 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta2" doxytag="NL3D::CTextContext::computeString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::computeString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>s</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02397.html">CComputedString</a> & </td> + <td class="mdname" nowrap> <em>output</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></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 <dl compact><dt><b>Parameters:</b></dt><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="a06502.html#l00263">263</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a05722.html#l00072">NL3D::CFontManager::computeString()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00345">NL3D::CTextContextUser::render3D()</a>. +<p> +<div class="fragment"><pre>00264 { +00265 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera2">computeString</a> (s, _FontGen, _Color, _FontSize, _Driver, output, _Keep800x600Ratio); +00266 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta3" doxytag="NL3D::CTextContext::computeStringInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::computeStringInfo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03924.html">ucstring</a> & </td> + <td class="mdname" nowrap> <em>s</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02397.html">CComputedString</a> & </td> + <td class="mdname" nowrap> <em>output</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></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="a06502.html#l00279">279</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a05722.html#l00229">NL3D::CFontManager::computeStringInfo()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00279">NL3D::CTextContextUser::getStringInfo()</a>. +<p> +<div class="fragment"><pre>00280 { +00281 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera3">computeStringInfo</a> (s, _FontGen, _Color, _FontSize, _Driver, output, _Keep800x600Ratio); +00282 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta5" doxytag="NL3D::CTextContext::dumpCache" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::dumpCache </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>filename</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Debug : write to the disk the texture cache. +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00285">285</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a05723.html#l00154">NL3D::CFontManager::dumpCache()</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00380">NL3D::CTextContextUser::dumpCacheTexture()</a>. +<p> +<div class="fragment"><pre>00286 { +00287 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera4">dumpCache</a> (filename); +00288 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta6" doxytag="NL3D::CTextContext::erase" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::erase </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove a string from the cache +<p> + +<p> +Definition at line <a class="el" href="a06501.html#l00125">125</a> of file <a class="el" href="a06501.html">text_context.cpp</a>. +<p> +References <a class="el" href="a06502.html#l00338">_CacheFreePlaces</a>, <a class="el" href="a06502.html#l00339">_CacheNbFreePlaces</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00261">NL3D::CTextContextUser::erase()</a>. +<p> +<div class="fragment"><pre>00126 { +00127 <span class="keywordflow">if</span> (<a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>.size() == <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a>) +00128 { +00129 <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>.push_back (i); +00130 } +00131 <span class="keywordflow">else</span> +00132 { +00133 <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>[<a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a>] = i; +00134 } +00135 <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a>++; +00136 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta7" doxytag="NL3D::CTextContext::getColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03337.html">NLMISC::CRGBA</a> NL3D::CTextContext::getColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Accessors GET +<p> +Definition at line <a class="el" href="a06502.html#l00105">105</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +<div class="fragment"><pre>00105 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr3">_Color</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta8" doxytag="NL3D::CTextContext::getComputedString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02397.html">CComputedString</a>* NL3D::CTextContext::getComputedString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00248">248</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00337">_CacheStrings</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00268">NL3D::CTextContextUser::getStringInfo()</a>, <a class="el" href="a06503.html#l00251">NL3D::CTextContextUser::resetStringSelection()</a>, <a class="el" href="a06503.html#l00233">NL3D::CTextContextUser::setStringColor()</a>, and <a class="el" href="a06503.html#l00241">NL3D::CTextContextUser::setStringSelection()</a>. +<p> +<div class="fragment"><pre>00249 { +00250 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> < <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.size()) +00251 <span class="keywordflow">return</span> &<a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>[<a class="code" href="a04223.html#a566">index</a>]; +00252 <span class="keywordflow">else</span> +00253 <span class="keywordflow">return</span> NULL; +00254 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta9" doxytag="NL3D::CTextContext::getFontGenerator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02541.html">NL3D::CFontGenerator</a>* NL3D::CTextContext::getFontGenerator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00075">75</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>. +<p> +<div class="fragment"><pre>00075 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr5">_FontGen</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta10" doxytag="NL3D::CTextContext::getFontManager" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02542.html">CFontManager</a>* NL3D::CTextContext::getFontManager </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00071">71</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00398">NL3D::CTextContextUser::flushRenderBuffer()</a>, and <a class="el" href="a06503.html#l00411">NL3D::CTextContextUser::flushRenderBufferUnProjected()</a>. +<p> +<div class="fragment"><pre>00071 {<span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta11" doxytag="NL3D::CTextContext::getFontSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CTextContext::getFontSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00107">107</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00306">_FontSize</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00115">NL3D::CTextContextUser::getFontSize()</a>. +<p> +<div class="fragment"><pre>00107 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr7">_FontSize</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta12" doxytag="NL3D::CTextContext::getHotSpot" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02397.html#NL3D_1_1CComputedStringw8">CComputedString::THotSpot</a> NL3D::CTextContext::getHotSpot </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00109">109</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00129">NL3D::CTextContextUser::getHotSpot()</a>. +<p> +<div class="fragment"><pre>00109 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr8">_HotSpot</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta13" doxytag="NL3D::CTextContext::getKeep800x600Ratio" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextContext::getKeep800x600Ratio </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00117">117</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00206">NL3D::CTextContextUser::getKeep800x600Ratio()</a>. +<p> +<div class="fragment"><pre>00117 {<span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr9">_Keep800x600Ratio</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta14" doxytag="NL3D::CTextContext::getScaleX" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CTextContext::getScaleX </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00111">111</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00315">_ScaleX</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00150">NL3D::CTextContextUser::getScaleX()</a>. +<p> +<div class="fragment"><pre>00111 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr10">_ScaleX</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta15" doxytag="NL3D::CTextContext::getScaleZ" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CTextContext::getScaleZ </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00113">113</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00318">_ScaleZ</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00157">NL3D::CTextContextUser::getScaleY()</a>. +<p> +<div class="fragment"><pre>00113 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr11">_ScaleZ</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta16" doxytag="NL3D::CTextContext::getShadeColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03337.html">NLMISC::CRGBA</a> NL3D::CTextContext::getShadeColor </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00119">119</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00327">_ShadeColor</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00192">NL3D::CTextContextUser::getShadeColor()</a>. +<p> +<div class="fragment"><pre>00119 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta17" doxytag="NL3D::CTextContext::getShaded" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CTextContext::getShaded </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></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="a06502.html#l00115">115</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00321">_Shaded</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00171">NL3D::CTextContextUser::getShaded()</a>. +<p> +<div class="fragment"><pre>00115 { <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta18" doxytag="NL3D::CTextContext::init" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> * </td> + <td class="mdname" nowrap> <em>drv</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02542.html">CFontManager</a> * </td> + <td class="mdname" nowrap> <em>fmg</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the driver. +<p> +Inits +<p> +Definition at line <a class="el" href="a06502.html#l00063">63</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06504.html#l00057">NL3D::CTextContextUser::CTextContextUser()</a>. +<p> +<div class="fragment"><pre>00064 { +00065 <a class="code" href="a04199.html#a6">nlassert</a>(drv && fmg); +00066 <a class="code" href="a03483.html#NL3D_1_1CTextContextr4">_Driver</a>= drv; +00067 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>= fmg; +00068 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta19" doxytag="NL3D::CTextContext::operator[]" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02397.html">CComputedString</a>& NL3D::CTextContext::operator[] </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get computed string from index. +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00242">242</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00337">_CacheStrings</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00243 { +00244 <a class="code" href="a04199.html#a6">nlassert</a> (index < <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.size()); +00245 <span class="keywordflow">return</span> <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>[<a class="code" href="a04223.html#a566">index</a>]; +00246 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta20" doxytag="NL3D::CTextContext::printAt" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::printAt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>z</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03924.html">ucstring</a> & </td> + <td class="mdname" nowrap> <em>ucstr</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Directly print a string. +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00196">196</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a06502.html#l00315">_ScaleX</a>, <a class="el" href="a06502.html#l00318">_ScaleZ</a>, <a class="el" href="a06502.html#l00327">_ShadeColor</a>, <a class="el" href="a06502.html#l00321">_Shaded</a>, <a class="el" href="a06502.html#l00324">_ShadeExtent</a>, <a class="el" href="a06502.html#l00344">_TempString</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a05596.html#l00088">NL3D::CComputedString::Color</a>, <a class="el" href="a05722.html#l00072">NL3D::CFontManager::computeString()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05595.html#l00084">NL3D::CComputedString::render2D()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">z</a>. +<p> +<div class="fragment"><pre>00197 { +00198 <a class="code" href="a04199.html#a6">nlassert</a>(_FontGen); +00199 +00200 <span class="comment">// compute the string just one time</span> +00201 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera2">computeString</a> (ucstr, _FontGen, _Color, _FontSize, _Driver, _TempString, _Keep800x600Ratio); +00202 +00203 <span class="comment">// draw shaded</span> +00204 <span class="keywordflow">if</span>(<a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a>) +00205 { +00206 <a class="code" href="a03337.html">CRGBA</a> bkup = <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color; +00207 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color= <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a>; +00208 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color.A = bkup.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00209 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.render2D (*_Driver,x+_ShadeExtent,z-_ShadeExtent,_HotSpot,_ScaleX,_ScaleZ); +00210 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color= bkup; +00211 } +00212 +00213 <span class="comment">// draw</span> +00214 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.render2D (*_Driver, x, z, _HotSpot, _ScaleX, _ScaleZ); +00215 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta21" doxytag="NL3D::CTextContext::printAt" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::printAt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>z</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>index</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Print a string that is in the cache from its index (it leaves the string in the cache) z : if the hotspot is bottom z is the position of the line of the string, not the bottom of the string bounding box ! +<p> +Definition at line <a class="el" href="a06502.html#l00144">144</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00337">_CacheStrings</a>, <a class="el" href="a06502.html#l00315">_ScaleX</a>, <a class="el" href="a06502.html#l00318">_ScaleZ</a>, <a class="el" href="a06502.html#l00327">_ShadeColor</a>, <a class="el" href="a06502.html#l00321">_Shaded</a>, <a class="el" href="a06502.html#l00324">_ShadeExtent</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a05596.html#l00088">NL3D::CComputedString::Color</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05595.html#l00084">NL3D::CComputedString::render2D()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">z</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00294">NL3D::CTextContextUser::printAt()</a>, and <a class="el" href="a06503.html#l00333">NL3D::CTextContextUser::printfAt()</a>. +<p> +<div class="fragment"><pre>00145 { +00146 <a class="code" href="a04199.html#a6">nlassert</a> (index < <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.size()); +00147 CComputedString &rCS = <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>[<a class="code" href="a04223.html#a566">index</a>]; +00148 <span class="keywordflow">if</span>(<a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a>) +00149 { +00150 <a class="code" href="a03337.html">CRGBA</a> bkup = rCS.Color; +00151 rCS.Color = <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a>; +00152 rCS.Color.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a> = bkup.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00153 rCS.render2D (*_Driver, x+_ShadeExtent, z-_ShadeExtent, _HotSpot, _ScaleX, _ScaleZ); +00154 rCS.Color= bkup; +00155 } +00156 rCS.render2D (*_Driver, x, z, _HotSpot, _ScaleX, _ScaleZ); +00157 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta22" doxytag="NL3D::CTextContext::printClipAt" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::printClipAt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03324.html">CRenderStringBuffer</a> & </td> + <td class="mdname" nowrap> <em>rdrBuffer</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>z</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>xmin</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>ymin</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>xmax</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>ymax</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Clip and print a string that is in the cache (it leaves the string in the cache) z : if the hotspot is bottom z is the position of the line of the string, not the bottom of the string bounding box ! +<p> +Definition at line <a class="el" href="a06502.html#l00162">162</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00337">_CacheStrings</a>, <a class="el" href="a06502.html#l00327">_ShadeColor</a>, <a class="el" href="a06502.html#l00321">_Shaded</a>, <a class="el" href="a06502.html#l00324">_ShadeExtent</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a05596.html#l00088">NL3D::CComputedString::Color</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05595.html#l00183">NL3D::CComputedString::render2DClip()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">z</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00302">NL3D::CTextContextUser::printClipAt()</a>. +<p> +<div class="fragment"><pre>00163 { +00164 <a class="code" href="a04199.html#a6">nlassert</a> (index < <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.size()); +00165 CComputedString &rCS = <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>[<a class="code" href="a04223.html#a566">index</a>]; +00166 <span class="keywordflow">if</span>(<a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a>) +00167 { +00168 <a class="code" href="a03337.html">CRGBA</a> bkup = rCS.Color; +00169 rCS.Color= <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a>; +00170 rCS.Color.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a> = bkup.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00171 rCS.render2DClip(*_Driver, rdrBuffer, x+_ShadeExtent, z-_ShadeExtent, xmin, ymin, xmax, ymax); +00172 rCS.Color= bkup; +00173 } +00174 rCS.render2DClip (*_Driver, rdrBuffer, x, z, xmin, ymin, xmax, ymax); +00175 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta23" doxytag="NL3D::CTextContext::printClipAtUnProjected" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::printClipAtUnProjected </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03324.html">CRenderStringBuffer</a> & </td> + <td class="mdname" nowrap> <em>renderBuffer</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>class <a class="el" href="a02562.html">NL3D::CFrustum</a> & </td> + <td class="mdname" nowrap> <em>frustum</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td> + <td class="mdname" nowrap> <em>scaleMatrix</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>y</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>depth</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>xmin</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>ymin</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>xmax</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>ymax</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Clip and print a string that is in the cache (it leaves the string in the cache) z : if the hotspot is bottom z is the position of the line of the string, not the bottom of the string bounding box ! +<p> +Definition at line <a class="el" href="a06502.html#l00180">180</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00337">_CacheStrings</a>, <a class="el" href="a06502.html#l00327">_ShadeColor</a>, <a class="el" href="a06502.html#l00321">_Shaded</a>, <a class="el" href="a06502.html#l00324">_ShadeExtent</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a05596.html#l00088">NL3D::CComputedString::Color</a>, <a class="el" href="a05646.html#l01013">depth</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05595.html#l00378">NL3D::CComputedString::render2DUnProjected()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00310">NL3D::CTextContextUser::printClipAtUnProjected()</a>. +<p> +<div class="fragment"><pre>00181 { +00182 <a class="code" href="a04199.html#a6">nlassert</a> (index < <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.size()); +00183 CComputedString &rCS = <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>[<a class="code" href="a04223.html#a566">index</a>]; +00184 <span class="keywordflow">if</span>(<a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a>) +00185 { +00186 <a class="code" href="a03337.html">CRGBA</a> bkup = rCS.Color; +00187 rCS.Color= <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a>; +00188 rCS.Color.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a> = bkup.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00189 rCS.render2DUnProjected (*_Driver, renderBuffer, frustum, scaleMatrix, x+_ShadeExtent, y-_ShadeExtent, depth, xmin, ymin, xmax, ymax); +00190 rCS.Color= bkup; +00191 } +00192 rCS.render2DUnProjected (*_Driver, renderBuffer, frustum, scaleMatrix, x, y, depth, xmin, ymin, xmax, ymax); +00193 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta24" doxytag="NL3D::CTextContext::printfAt" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::printfAt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>z</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>format</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>... </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Directly print a string. +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00218">218</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a06502.html#l00315">_ScaleX</a>, <a class="el" href="a06502.html#l00318">_ScaleZ</a>, <a class="el" href="a06502.html#l00327">_ShadeColor</a>, <a class="el" href="a06502.html#l00321">_Shaded</a>, <a class="el" href="a06502.html#l00324">_ShadeExtent</a>, <a class="el" href="a06502.html#l00344">_TempString</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a05596.html#l00088">NL3D::CComputedString::Color</a>, <a class="el" href="a05722.html#l00072">NL3D::CFontManager::computeString()</a>, <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06465.html#l00070">NLMISC_CONVERT_VARGS</a>, <a class="el" href="a05595.html#l00084">NL3D::CComputedString::render2D()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">z</a>. +<p> +<div class="fragment"><pre>00219 { +00220 <a class="code" href="a04199.html#a6">nlassert</a>(_FontGen); +00221 +00222 <span class="comment">// compute the string just one time</span> +00223 <span class="keywordtype">char</span> *str; +00224 <a class="code" href="a05042.html#a0">NLMISC_CONVERT_VARGS</a> (str, format, NLMISC::MaxCStringSize); +00225 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera2">computeString</a> (str, _FontGen, _Color, _FontSize, _Driver, _TempString, _Keep800x600Ratio); +00226 +00227 <span class="comment">// draw shaded</span> +00228 <span class="keywordflow">if</span>(<a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a>) +00229 { +00230 <a class="code" href="a03337.html">CRGBA</a> bkup = <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color; +00231 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color = <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a>; +00232 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color.A = bkup.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00233 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.render2D (*_Driver,x+_ShadeExtent,z-_ShadeExtent,_HotSpot,_ScaleX,_ScaleZ); +00234 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.Color= bkup; +00235 } +00236 +00237 <span class="comment">// draw</span> +00238 <a class="code" href="a03483.html#NL3D_1_1CTextContextr15">_TempString</a>.render2D (*_Driver, x, z, _HotSpot, _ScaleX, _ScaleZ); +00239 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta25" doxytag="NL3D::CTextContext::setColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>color</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Accessors SET +<p> +Definition at line <a class="el" href="a06502.html#l00081">81</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00101">NL3D::CTextContextUser::setColor()</a>. +<p> +<div class="fragment"><pre>00081 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr3">_Color</a> = color; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta26" doxytag="NL3D::CTextContext::setFontGenerator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setFontGenerator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string </td> + <td class="mdname" nowrap> <em>fontFileName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string </td> + <td class="mdname" nowrap> <em>fontExFileName</em> = ""</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Must be called before any print. +<p> + +<p> +Definition at line <a class="el" href="a06501.html#l00149">149</a> of file <a class="el" href="a06501.html">text_context.cpp</a>. +<p> +References <a class="el" href="a06502.html#l00299">_FontGen</a>. +<p> +Referenced by <a class="el" href="a06504.html#l00057">NL3D::CTextContextUser::CTextContextUser()</a>. +<p> +<div class="fragment"><pre>00150 { +00151 <a class="code" href="a03483.html#NL3D_1_1CTextContextr5">_FontGen</a> = <span class="keyword">new</span> <a class="code" href="a02541.html">NL3D::CFontGenerator</a>(fontFileName, fontExFileName); +00152 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta27" doxytag="NL3D::CTextContext::setFontSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setFontSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>fontSize</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00083">83</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00306">_FontSize</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00108">NL3D::CTextContextUser::setFontSize()</a>. +<p> +<div class="fragment"><pre>00083 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr7">_FontSize</a> = fontSize; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta28" doxytag="NL3D::CTextContext::setHotSpot" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setHotSpot </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02397.html#NL3D_1_1CComputedStringw8">CComputedString::THotSpot</a> </td> + <td class="mdname1" valign="top" nowrap> <em>hotSpot</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00085">85</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00122">NL3D::CTextContextUser::setHotSpot()</a>. +<p> +<div class="fragment"><pre>00085 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr8">_HotSpot</a> = hotSpot; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta29" doxytag="NL3D::CTextContext::setKeep800x600Ratio" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setKeep800x600Ratio </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>keep</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If true the <a class="el" href="a02542.html">CFontManager</a> look at Driver window size, and resize fontSize to keep the same size than if it was in 800x600... +<p> +Definition at line <a class="el" href="a06502.html#l00099">99</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00199">NL3D::CTextContextUser::setKeep800x600Ratio()</a>. +<p> +<div class="fragment"><pre>00099 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr9">_Keep800x600Ratio</a> = keep; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta30" doxytag="NL3D::CTextContext::setScaleX" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setScaleX </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>scaleX</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00087">87</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00315">_ScaleX</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00136">NL3D::CTextContextUser::setScaleX()</a>. +<p> +<div class="fragment"><pre>00087 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr10">_ScaleX</a> = scaleX; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta31" doxytag="NL3D::CTextContext::setScaleZ" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setScaleZ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>scaleZ</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00089">89</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00318">_ScaleZ</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00143">NL3D::CTextContextUser::setScaleY()</a>. +<p> +<div class="fragment"><pre>00089 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr11">_ScaleZ</a> = scaleZ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta32" doxytag="NL3D::CTextContext::setShadeColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setShadeColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>color</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00095">95</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00327">_ShadeColor</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00185">NL3D::CTextContextUser::setShadeColor()</a>. +<p> +<div class="fragment"><pre>00095 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr12">_ShadeColor</a> = color; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta33" doxytag="NL3D::CTextContext::setShaded" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setShaded </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00091">91</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00321">_Shaded</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00164">NL3D::CTextContextUser::setShaded()</a>. +<p> +<div class="fragment"><pre>00091 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr13">_Shaded</a> = b; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta34" doxytag="NL3D::CTextContext::setShadeExtent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTextContext::setShadeExtent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>shext</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></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="a06502.html#l00093">93</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +References <a class="el" href="a06502.html#l00324">_ShadeExtent</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00178">NL3D::CTextContextUser::setShadeExtent()</a>. +<p> +<div class="fragment"><pre>00093 { <a class="code" href="a03483.html#NL3D_1_1CTextContextr14">_ShadeExtent</a> = shext; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta35" doxytag="NL3D::CTextContext::textPush" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CTextContext::textPush </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03924.html">ucstring</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>str</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +computes an ucstring and adds the result to the cache (return the index) +<p> + +<p> +Definition at line <a class="el" href="a06501.html#l00098">98</a> of file <a class="el" href="a06501.html">text_context.cpp</a>. +<p> +References <a class="el" href="a06502.html#l00338">_CacheFreePlaces</a>, <a class="el" href="a06502.html#l00339">_CacheNbFreePlaces</a>, <a class="el" href="a06502.html#l00337">_CacheStrings</a>, <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a05722.html#l00072">NL3D::CFontManager::computeString()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00099 { +00100 <a class="code" href="a04199.html#a6">nlassert</a>(_FontGen); +00101 +00102 <span class="keywordflow">if</span> (<a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a> == 0) +00103 { +00104 CComputedString csTmp; +00105 +00106 <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.push_back (csTmp); +00107 <span class="keywordflow">if</span> (<a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>.size() == 0) +00108 <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>.resize (1); +00109 <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>[0] = <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.size()-1; +00110 <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a> = 1; +00111 } +00112 +00113 <span class="comment">// compute the string.</span> +00114 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a566">index</a> = <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>[<a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a>-1]; +00115 CComputedString &strToFill = <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>[<a class="code" href="a04223.html#a566">index</a>]; +00116 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera2">computeString</a> (str, _FontGen, _Color +00117 , _FontSize, _Driver, strToFill, _Keep800x600Ratio); +00118 +00119 <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a>--; +00120 +00121 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a566">index</a>; +00122 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContexta36" doxytag="NL3D::CTextContext::textPush" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CTextContext::textPush </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>format</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>... </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></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 cache (return the index) +<p> +Cache methods +<p> +Definition at line <a class="el" href="a06501.html#l00068">68</a> of file <a class="el" href="a06501.html">text_context.cpp</a>. +<p> +References <a class="el" href="a06502.html#l00338">_CacheFreePlaces</a>, <a class="el" href="a06502.html#l00339">_CacheNbFreePlaces</a>, <a class="el" href="a06502.html#l00337">_CacheStrings</a>, <a class="el" href="a06502.html#l00299">_FontGen</a>, <a class="el" href="a06502.html#l00306">_FontSize</a>, <a class="el" href="a06502.html#l00330">_Keep800x600Ratio</a>, <a class="el" href="a05722.html#l00072">NL3D::CFontManager::computeString()</a>, <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06465.html#l00070">NLMISC_CONVERT_VARGS</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00216">NL3D::CTextContextUser::textPush()</a>. +<p> +<div class="fragment"><pre>00069 { +00070 <a class="code" href="a04199.html#a6">nlassert</a>(_FontGen); +00071 +00072 <span class="comment">// convert the string.</span> +00073 <span class="keywordtype">char</span> *str; +00074 <a class="code" href="a05042.html#a0">NLMISC_CONVERT_VARGS</a> (str, format, NLMISC::MaxCStringSize); +00075 +00076 <span class="keywordflow">if</span> (<a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a> == 0) +00077 { +00078 CComputedString csTmp; +00079 +00080 <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.push_back (csTmp); +00081 <span class="keywordflow">if</span> (<a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>.size() == 0) +00082 <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>.resize (1); +00083 <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>[0] = <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>.size()-1; +00084 <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a> = 1; +00085 } +00086 +00087 <span class="comment">// compute the string.</span> +00088 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a566">index</a> = <a class="code" href="a03483.html#NL3D_1_1CTextContextr0">_CacheFreePlaces</a>[<a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a>-1]; +00089 CComputedString &strToFill = <a class="code" href="a03483.html#NL3D_1_1CTextContextr2">_CacheStrings</a>[<a class="code" href="a04223.html#a566">index</a>]; +00090 <a class="code" href="a03483.html#NL3D_1_1CTextContextr6">_FontManager</a>-><a class="code" href="a02542.html#NL3D_1_1CFontManagera2">computeString</a> (str, _FontGen, _Color, _FontSize, _Driver, strToFill, _Keep800x600Ratio); +00091 +00092 <a class="code" href="a03483.html#NL3D_1_1CTextContextr1">_CacheNbFreePlaces</a>--; +00093 +00094 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a566">index</a>; +00095 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextContextr0" doxytag="NL3D::CTextContext::_CacheFreePlaces" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a04558.html#a11">uint32</a>> <a class="el" href="a03483.html#NL3D_1_1CTextContextr0">NL3D::CTextContext::_CacheFreePlaces</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00338">338</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00140">clear()</a>, <a class="el" href="a06501.html#l00125">erase()</a>, and <a class="el" href="a06501.html#l00068">textPush()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr1" doxytag="NL3D::CTextContext::_CacheNbFreePlaces" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03483.html#NL3D_1_1CTextContextr1">NL3D::CTextContext::_CacheNbFreePlaces</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00339">339</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00140">clear()</a>, <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06501.html#l00125">erase()</a>, and <a class="el" href="a06501.html#l00068">textPush()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr2" doxytag="NL3D::CTextContext::_CacheStrings" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a02397.html">CComputedString</a>> <a class="el" href="a03483.html#NL3D_1_1CTextContextr2">NL3D::CTextContext::_CacheStrings</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Cache to manipulate strings with indexes. +<p> +Strings Caches +<p> +Definition at line <a class="el" href="a06502.html#l00337">337</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00140">clear()</a>, <a class="el" href="a06502.html#l00248">getComputedString()</a>, <a class="el" href="a06502.html#l00242">operator[]()</a>, <a class="el" href="a06502.html#l00144">printAt()</a>, <a class="el" href="a06502.html#l00162">printClipAt()</a>, <a class="el" href="a06502.html#l00180">printClipAtUnProjected()</a>, and <a class="el" href="a06501.html#l00068">textPush()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr3" doxytag="NL3D::CTextContext::_Color" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a03483.html#NL3D_1_1CTextContextr3">NL3D::CTextContext::_Color</a><code> [private]</code> + </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="a06502.html#l00309">309</a> of file <a class="el" href="a06502.html">text_context.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr4" doxytag="NL3D::CTextContext::_Driver" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02434.html">IDriver</a>* <a class="el" href="a03483.html#NL3D_1_1CTextContextr4">NL3D::CTextContext::_Driver</a><code> [private]</code> + </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="a06502.html#l00293">293</a> of file <a class="el" href="a06502.html">text_context.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr5" doxytag="NL3D::CTextContext::_FontGen" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02541.html">NL3D::CFontGenerator</a>* <a class="el" href="a03483.html#NL3D_1_1CTextContextr5">NL3D::CTextContext::_FontGen</a><code> [private]</code> + </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="a06502.html#l00299">299</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06502.html#l00263">computeString()</a>, <a class="el" href="a06502.html#l00279">computeStringInfo()</a>, <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00075">getFontGenerator()</a>, <a class="el" href="a06502.html#l00196">printAt()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, <a class="el" href="a06501.html#l00149">setFontGenerator()</a>, <a class="el" href="a06501.html#l00068">textPush()</a>, and <a class="el" href="a06501.html#l00061">~CTextContext()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr6" doxytag="NL3D::CTextContext::_FontManager" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02542.html">NL3D::CFontManager</a>* <a class="el" href="a03483.html#NL3D_1_1CTextContextr6">NL3D::CTextContext::_FontManager</a><code> [private]</code> + </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="a06502.html#l00296">296</a> of file <a class="el" href="a06502.html">text_context.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr7" doxytag="NL3D::CTextContext::_FontSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03483.html#NL3D_1_1CTextContextr7">NL3D::CTextContext::_FontSize</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Font size;. +<p> +Text Style properties +<p> +Definition at line <a class="el" href="a06502.html#l00306">306</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06502.html#l00263">computeString()</a>, <a class="el" href="a06502.html#l00279">computeStringInfo()</a>, <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00107">getFontSize()</a>, <a class="el" href="a06502.html#l00196">printAt()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, <a class="el" href="a06502.html#l00083">setFontSize()</a>, and <a class="el" href="a06501.html#l00068">textPush()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr8" doxytag="NL3D::CTextContext::_HotSpot" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02397.html#NL3D_1_1CComputedStringw8">CComputedString::THotSpot</a> <a class="el" href="a03483.html#NL3D_1_1CTextContextr8">NL3D::CTextContext::_HotSpot</a><code> [private]</code> + </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="a06502.html#l00312">312</a> of file <a class="el" href="a06502.html">text_context.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr9" doxytag="NL3D::CTextContext::_Keep800x600Ratio" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03483.html#NL3D_1_1CTextContextr9">NL3D::CTextContext::_Keep800x600Ratio</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +resize the font to keep the same aspect ratio than in 800x600 +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00330">330</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06502.html#l00263">computeString()</a>, <a class="el" href="a06502.html#l00279">computeStringInfo()</a>, <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00117">getKeep800x600Ratio()</a>, <a class="el" href="a06502.html#l00196">printAt()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, <a class="el" href="a06502.html#l00099">setKeep800x600Ratio()</a>, and <a class="el" href="a06501.html#l00068">textPush()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr10" doxytag="NL3D::CTextContext::_ScaleX" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03483.html#NL3D_1_1CTextContextr10">NL3D::CTextContext::_ScaleX</a><code> [private]</code> + </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="a06502.html#l00315">315</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00111">getScaleX()</a>, <a class="el" href="a06502.html#l00144">printAt()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, and <a class="el" href="a06502.html#l00087">setScaleX()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr11" doxytag="NL3D::CTextContext::_ScaleZ" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03483.html#NL3D_1_1CTextContextr11">NL3D::CTextContext::_ScaleZ</a><code> [private]</code> + </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="a06502.html#l00318">318</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00113">getScaleZ()</a>, <a class="el" href="a06502.html#l00144">printAt()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, and <a class="el" href="a06502.html#l00089">setScaleZ()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr12" doxytag="NL3D::CTextContext::_ShadeColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a03483.html#NL3D_1_1CTextContextr12">NL3D::CTextContext::_ShadeColor</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shade color (default is black). +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00327">327</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00119">getShadeColor()</a>, <a class="el" href="a06502.html#l00144">printAt()</a>, <a class="el" href="a06502.html#l00162">printClipAt()</a>, <a class="el" href="a06502.html#l00180">printClipAtUnProjected()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, and <a class="el" href="a06502.html#l00095">setShadeColor()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr13" doxytag="NL3D::CTextContext::_Shaded" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03483.html#NL3D_1_1CTextContextr13">NL3D::CTextContext::_Shaded</a><code> [private]</code> + </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="a06502.html#l00321">321</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00115">getShaded()</a>, <a class="el" href="a06502.html#l00144">printAt()</a>, <a class="el" href="a06502.html#l00162">printClipAt()</a>, <a class="el" href="a06502.html#l00180">printClipAtUnProjected()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, and <a class="el" href="a06502.html#l00091">setShaded()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr14" doxytag="NL3D::CTextContext::_ShadeExtent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03483.html#NL3D_1_1CTextContextr14">NL3D::CTextContext::_ShadeExtent</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shade's extent (shadow size) +<p> + +<p> +Definition at line <a class="el" href="a06502.html#l00324">324</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06501.html#l00036">CTextContext()</a>, <a class="el" href="a06502.html#l00144">printAt()</a>, <a class="el" href="a06502.html#l00162">printClipAt()</a>, <a class="el" href="a06502.html#l00180">printClipAtUnProjected()</a>, <a class="el" href="a06502.html#l00218">printfAt()</a>, and <a class="el" href="a06502.html#l00093">setShadeExtent()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextr15" doxytag="NL3D::CTextContext::_TempString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02397.html">CComputedString</a> <a class="el" href="a03483.html#NL3D_1_1CTextContextr15">NL3D::CTextContext::_TempString</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Cache for for <a class="el" href="a03483.html#NL3D_1_1CTextContexta21">printAt()</a> and <a class="el" href="a03483.html#NL3D_1_1CTextContexta24">printfAt()</a>. This prevents from creating VBdrvinfos each time they are called (N*each frame!!). +<p> +Definition at line <a class="el" href="a06502.html#l00344">344</a> of file <a class="el" href="a06502.html">text_context.h</a>. +<p> +Referenced by <a class="el" href="a06502.html#l00196">printAt()</a>, and <a class="el" href="a06502.html#l00218">printfAt()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06502.html">text_context.h</a><li><a class="el" href="a06501.html">text_context.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:49:28 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |