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/a03484.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03484.html')
-rw-r--r-- | docs/doxygen/nel/a03484.html | 2575 |
1 files changed, 2575 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03484.html b/docs/doxygen/nel/a03484.html new file mode 100644 index 00000000..d870cb5a --- /dev/null +++ b/docs/doxygen/nel/a03484.html @@ -0,0 +1,2575 @@ +<!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::CTextContextUser 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::CTextContextUser Class Reference</h1><code>#include <<a class="el" href="a06504.html">text_context_user.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CTextContextUser: +<p><center><img src="a03484.png" usemap="#NL3D::CTextContextUser_map" border="0" alt=""></center> +<map name="NL3D::CTextContextUser_map"> +<area href="a03485.html" alt="NL3D::UTextContext" shape="rect" coords="0,0,150,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a03485.html">UTextContext</a> implementation. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06504.html#l00046">46</a> of file <a class="el" href="a06504.html">text_context_user.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03485.html#NL3D_1_1UTextContextw8">THotSpot</a> { <br> + <a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw0">BottomLeft</a> = 0, +<a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw4">MiddleLeft</a>, +<a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw9">TopLeft</a>, +<a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw3">MiddleBottom</a>, +<br> + <a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw5">MiddleMiddle</a>, +<a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw7">MiddleTop</a>, +<a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw1">BottomRight</a>, +<a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw6">MiddleRight</a>, +<br> + <a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw10">TopRight</a>, +<a class="el" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw2">HotSpotCount</a> +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03941.html">URenderStringBuffer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera0">createRenderBuffer</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">create a renderBuffer for <a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_7">printClipAt()</a>. Must delete it with <a class="el" href="a03484.html#NL3D_1_1CTextContextUsera2">deleteRenderBuffer()</a> <a href="#NL3D_1_1CTextContextUsera0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera1">CTextContextUser</a> (const std::string fontFileName, const std::string fontExFileName, <a class="el" href="a02437.html">CDriverUser</a> *drv, <a class="el" href="a02542.html">CFontManager</a> *fmg)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CTextContextUsera1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera2">deleteRenderBuffer</a> (<a class="el" href="a03941.html">URenderStringBuffer</a> *<a class="el" href="a04223.html#a589">buffer</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera3">dumpCacheTexture</a> (const char *<a class="el" href="a04560.html#a1">filename</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Used for debug. <a href="#NL3D_1_1CTextContextUsera3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera4">flushRenderBuffer</a> (<a class="el" href="a03941.html">URenderStringBuffer</a> *<a class="el" href="a04223.html#a589">buffer</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Flush the rendered string buffer. This method sets the driver matrix to a 2d11 matrix and sets ztest to always and disable z write. <a href="#NL3D_1_1CTextContextUsera4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera5">flushRenderBufferUnProjected</a> (<a class="el" href="a03941.html">URenderStringBuffer</a> *<a class="el" href="a04223.html#a589">buffer</a>, bool zwrite)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Flush the rendered string buffer. This method doesn't change the current matrices nor the material properties. <a href="#NL3D_1_1CTextContextUsera5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03483.html">CTextContext</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera6">getTextContext</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUsera7">~CTextContextUser</a> ()</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Rendering.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_0">clear</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_1">erase</a> (<a class="el" href="a04558.html#a11">uint32</a> i)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_2">getLastXBound</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CStringInfo </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_3">getStringInfo</a> (const <a class="el" href="a03924.html">ucstring</a> &ucstr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CStringInfo </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_4">getStringInfo</a> (<a class="el" href="a04558.html#a11">uint32</a> i)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_5">printAt</a> (float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, const <a class="el" href="a03924.html">ucstring</a> &ucstr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_6">printAt</a> (float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a11">uint32</a> i)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_7">printClipAt</a> (<a class="el" href="a03941.html">URenderStringBuffer</a> &renderBuffer, float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a11">uint32</a> i, 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="a03484.html#NL3D_1_1CTextContextUserz978_8">printClipAtOld</a> (float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a11">uint32</a> i, 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="a03484.html#NL3D_1_1CTextContextUserz978_9">printClipAtUnProjected</a> (<a class="el" href="a03941.html">URenderStringBuffer</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> i, 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="a03484.html#NL3D_1_1CTextContextUserz978_10">printfAt</a> (float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_11">render3D</a> (const <a class="el" href="a02851.html">CMatrix</a> &mat, const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_12">render3D</a> (const <a class="el" href="a02851.html">CMatrix</a> &mat, const <a class="el" href="a03924.html">ucstring</a> &ucstr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_13">resetStringSelection</a> (<a class="el" href="a04558.html#a11">uint32</a> i)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_14">setStringColor</a> (<a class="el" href="a04558.html#a11">uint32</a> i, <a class="el" href="a03337.html">CRGBA</a> newCol)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_15">setStringSelection</a> (<a class="el" href="a04558.html#a11">uint32</a> i, <a class="el" href="a04558.html#a11">uint32</a> selectStart, <a class="el" href="a04558.html#a11">uint32</a> selectSize)</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="a03484.html#NL3D_1_1CTextContextUserz978_16">textPush</a> (const <a class="el" href="a03924.html">ucstring</a> &str)</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="a03484.html#NL3D_1_1CTextContextUserz978_17">textPush</a> (const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Text look.</div></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="a03484.html#NL3D_1_1CTextContextUserz976_0">getFontSize</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03485.html#NL3D_1_1UTextContextw8">THotSpot</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz976_1">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="a03484.html#NL3D_1_1CTextContextUserz976_2">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="a03484.html#NL3D_1_1CTextContextUserz976_3">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="a03484.html#NL3D_1_1CTextContextUserz976_4">getScaleY</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="a03484.html#NL3D_1_1CTextContextUserz976_5">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="a03484.html#NL3D_1_1CTextContextUserz976_6">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="a03484.html#NL3D_1_1CTextContextUserz976_7">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="a03484.html#NL3D_1_1CTextContextUserz976_8">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="a03484.html#NL3D_1_1CTextContextUserz976_9">setHotSpot</a> (<a class="el" href="a03485.html#NL3D_1_1UTextContextw8">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="a03484.html#NL3D_1_1CTextContextUserz976_10">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="a03484.html#NL3D_1_1CTextContextUserz976_11">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="a03484.html#NL3D_1_1CTextContextUserz976_12">setScaleY</a> (float scaleY)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz976_13">setShadeColor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> sc)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserz976_14">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="a03484.html#NL3D_1_1CTextContextUserz976_15">setShadeExtent</a> (float shext)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Rendering.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_11">render3D</a> (const <a class="el" href="a02851.html">NLMISC::CMatrix</a> &mat, const char *<a class="el" href="a04223.html#a641">format</a>,...)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_12">render3D</a> (const <a class="el" href="a02851.html">NLMISC::CMatrix</a> &mat, const <a class="el" href="a03924.html">ucstring</a> &ucstr)=0</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></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="a03484.html#NL3D_1_1CTextContextUserr0">_CacheString</a></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="a03484.html#NL3D_1_1CTextContextUserr1">_Driver</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02437.html">CDriverUser</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03483.html">CTextContext</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1UTextContextw8" doxytag="NL3D::CTextContextUser::THotSpot" ></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"> enum <a class="el" href="a03485.html#NL3D_1_1UTextContextw8">NL3D::UTextContext::THotSpot</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw0" doxytag="BottomLeft" ></a>BottomLeft</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw4" doxytag="MiddleLeft" ></a>MiddleLeft</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw9" doxytag="TopLeft" ></a>TopLeft</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw3" doxytag="MiddleBottom" ></a>MiddleBottom</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw5" doxytag="MiddleMiddle" ></a>MiddleMiddle</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw7" doxytag="MiddleTop" ></a>MiddleTop</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw1" doxytag="BottomRight" ></a>BottomRight</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw6" doxytag="MiddleRight" ></a>MiddleRight</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw10" doxytag="TopRight" ></a>TopRight</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UTextContextw8NL3D_1_1UTextContextw2" doxytag="HotSpotCount" ></a>HotSpotCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06631.html#l00070">70</a> of file <a class="el" href="a06631.html">u_text_context.h</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw0">BottomLeft</a>=0, +00073 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw4">MiddleLeft</a>, +00074 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw9">TopLeft</a>, +00075 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw3">MiddleBottom</a>, +00076 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw5">MiddleMiddle</a>, +00077 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw7">MiddleTop</a>, +00078 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw1">BottomRight</a>, +00079 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw6">MiddleRight</a>, +00080 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw10">TopRight</a>, +00081 +00082 <a class="code" href="a03485.html#NL3D_1_1UTextContextw8NL3D_1_1UTextContextw2">HotSpotCount</a> +00083 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextContextUsera1" doxytag="NL3D::CTextContextUser::CTextContextUser" ></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::CTextContextUser::CTextContextUser </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 class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02437.html">CDriverUser</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> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06504.html#l00057">57</a> of file <a class="el" href="a06504.html">text_context_user.h</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00063">NL3D::CTextContext::init()</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06501.html#l00149">NL3D::CTextContext::setFontGenerator()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00058 { +00059 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00060 <a class="code" href="a04199.html#a6">nlassert</a>(drv); +00061 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a>= drv; +00062 +00063 <span class="comment">// The enum of CComputedString and UTextContext MUST be the same!!!</span> +00064 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UTextContext::HotSpotCount== (<a class="code" href="a04558.html#a15">uint</a>)CComputedString::HotSpotCount); +00065 +00066 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr1">_Driver</a>= drv->getDriver(); +00067 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.init(_Driver, fmg); +00068 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setFontGenerator(fontFileName, fontExFileName); +00069 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUsera7" doxytag="NL3D::CTextContextUser::~CTextContextUser" ></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"> virtual NL3D::CTextContextUser::~<a class="el" href="a03484.html">CTextContextUser</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><code> [inline, virtual]</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="a06504.html#l00070">70</a> of file <a class="el" href="a06504.html">text_context_user.h</a>. +<p> +References <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00073 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_0" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +empty the map +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_0">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00287">287</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06501.html#l00140">NL3D::CTextContext::clear()</a>, and <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>. +<p> +<div class="fragment"><pre>00288 { +00289 NL_ALLOC_CONTEXT( 3dTCClr ) +00290 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00291 +00292 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.clear(); +00293 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUsera0" doxytag="NL3D::CTextContextUser::createRenderBuffer" ></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="a03941.html">URenderStringBuffer</a> * NL3D::CTextContextUser::createRenderBuffer </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +create a renderBuffer for <a class="el" href="a03484.html#NL3D_1_1CTextContextUserz978_7">printClipAt()</a>. Must delete it with <a class="el" href="a03484.html#NL3D_1_1CTextContextUsera2">deleteRenderBuffer()</a> +<p> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContexta0">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00388">388</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +<div class="fragment"><pre>00389 { +00390 NL_ALLOC_CONTEXT( 3dTCBuf ) +00391 <span class="keywordflow">return</span> <span class="keyword">new</span> CRenderStringBuffer; +00392 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUsera2" doxytag="NL3D::CTextContextUser::deleteRenderBuffer" ></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::CTextContextUser::deleteRenderBuffer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03941.html">URenderStringBuffer</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>buffer</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContexta1">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00393">393</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00649">buffer</a>. +<p> +<div class="fragment"><pre>00394 { +00395 NL_ALLOC_CONTEXT( 3dTCBuf ) +00396 <span class="keyword">delete</span> <a class="code" href="a04223.html#a589">buffer</a>; +00397 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUsera3" doxytag="NL3D::CTextContextUser::dumpCacheTexture" ></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::CTextContextUser::dumpCacheTexture </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Used for debug. +<p> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContexta2">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00380">380</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, and <a class="el" href="a06502.html#l00285">NL3D::CTextContext::dumpCache()</a>. +<p> +<div class="fragment"><pre>00381 { +00382 NL_ALLOC_CONTEXT( 3dTCDup ) +00383 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.dumpCache (filename); +00384 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_1" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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>i</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove a string from the list +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_1">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00261">261</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06501.html#l00125">NL3D::CTextContext::erase()</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00262 { +00263 NL_ALLOC_CONTEXT( 3dTCErs ) +00264 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00265 +00266 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.erase(i); +00267 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUsera4" doxytag="NL3D::CTextContextUser::flushRenderBuffer" ></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::CTextContextUser::flushRenderBuffer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03941.html">URenderStringBuffer</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>buffer</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Flush the rendered string buffer. This method sets the driver matrix to a 2d11 matrix and sets ztest to always and disable z write. +<p> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContexta3">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00398">398</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a05595.html#l00605">NL3D::CRenderStringBuffer::flush()</a>, <a class="el" href="a06502.html#l00071">NL3D::CTextContext::getFontManager()</a>, <a class="el" href="a05722.html#l00049">NL3D::CFontManager::getFontMaterial()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05596.html#l00055">NL3D::CRenderStringBuffer::NumQuads</a>, and <a class="el" href="a05657.html#l00351">NL3D::CDriverUser::restoreMatrixContextMatrixOnly()</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00318">printClipAtOld()</a>. +<p> +<div class="fragment"><pre>00399 { +00400 NL_ALLOC_CONTEXT( 3dTCBuf ) +00401 <a class="code" href="a04199.html#a6">nlassert</a>(buffer); +00402 CRenderStringBuffer *rdrBuffer= static_cast<CRenderStringBuffer*>(<a class="code" href="a04223.html#a589">buffer</a>); +00403 <span class="keywordflow">if</span>(rdrBuffer->NumQuads) +00404 { +00405 rdrBuffer->flush(*_Driver, <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getFontManager()->getFontMaterial()); +00406 +00407 <span class="comment">// must restore the Matrix context if some display done. Need just for Frustum/Matrixes</span> +00408 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a>->restoreMatrixContextMatrixOnly(); +00409 } +00410 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUsera5" doxytag="NL3D::CTextContextUser::flushRenderBufferUnProjected" ></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::CTextContextUser::flushRenderBufferUnProjected </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03941.html">URenderStringBuffer</a> * </td> + <td class="mdname" nowrap> <em>buffer</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>zwrite</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Flush the rendered string buffer. This method doesn't change the current matrices nor the material properties. +<p> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContexta4">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00411">411</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a05595.html#l00637">NL3D::CRenderStringBuffer::flushUnProjected()</a>, <a class="el" href="a06502.html#l00071">NL3D::CTextContext::getFontManager()</a>, <a class="el" href="a05722.html#l00049">NL3D::CFontManager::getFontMaterial()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05596.html#l00055">NL3D::CRenderStringBuffer::NumQuads</a>. +<p> +<div class="fragment"><pre>00412 { +00413 NL_ALLOC_CONTEXT( 3dTCBuf ) +00414 <a class="code" href="a04199.html#a6">nlassert</a>(buffer); +00415 CRenderStringBuffer *rdrBuffer= static_cast<CRenderStringBuffer*>(<a class="code" href="a04223.html#a589">buffer</a>); +00416 <span class="keywordflow">if</span>(rdrBuffer->NumQuads) +00417 { +00418 rdrBuffer->flushUnProjected(*_Driver, <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getFontManager()->getFontMaterial(), zwrite); +00419 } +00420 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_0" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the font size <dl compact><dt><b>Returns:</b></dt><dd>the font size</dd></dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_0">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00115">115</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00107">NL3D::CTextContext::getFontSize()</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00116 { +00117 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00118 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00119 +00120 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getFontSize(); +00121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_1" doxytag="NL3D::CTextContextUser::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="a03485.html#NL3D_1_1UTextContextw8">UTextContext::THotSpot</a> NL3D::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the hot spot <dl compact><dt><b>Returns:</b></dt><dd>the hot spot</dd></dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_1">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00129">129</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00109">NL3D::CTextContext::getHotSpot()</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00130 { +00131 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00132 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00133 +00134 <span class="keywordflow">return</span> (<a class="code" href="a03485.html#NL3D_1_1UTextContextw8">THotSpot</a>)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getHotSpot(); +00135 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_2" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return keep800x600Ratio state. +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_2">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00206">206</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00117">NL3D::CTextContext::getKeep800x600Ratio()</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, and <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>. +<p> +<div class="fragment"><pre>00207 { +00208 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00209 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00210 +00211 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getKeep800x600Ratio(); +00212 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_2" doxytag="NL3D::CTextContextUser::getLastXBound" ></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::CTextContextUser::getLastXBound </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return max x coordinate of last string printed. Useful to know if a string goes out of the screen (screen limit is supposed at x==4/3, should actually depend on driver's frustum). <dl compact><dt><b>Returns:</b></dt><dd>x coordinate</dd></dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_2">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00371">371</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, and <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>. +<p> +<div class="fragment"><pre>00372 { +00373 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00374 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00375 +00376 <span class="keywordflow">return</span> 0.0f; +00377 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_3" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Returns:</b></dt><dd>the X scale</dd></dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_3">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00150">150</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00111">NL3D::CTextContext::getScaleX()</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, and <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>. +<p> +<div class="fragment"><pre>00151 { +00152 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00153 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00154 +00155 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getScaleX(); +00156 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_4" doxytag="NL3D::CTextContextUser::getScaleY" ></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::CTextContextUser::getScaleY </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Returns:</b></dt><dd>the Y scale</dd></dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_4">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00157">157</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00113">NL3D::CTextContext::getScaleZ()</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, and <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>. +<p> +<div class="fragment"><pre>00158 { +00159 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00160 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00161 +00162 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getScaleZ(); +00163 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_5" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the shadow's color the shadow color +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_5">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00192">192</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00119">NL3D::CTextContext::getShadeColor()</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, and <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>. +<p> +<div class="fragment"><pre>00193 { +00194 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00195 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00196 +00197 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getShadeColor(); +00198 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_6" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Returns:</b></dt><dd>the shade state</dd></dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_6">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00171">171</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00115">NL3D::CTextContext::getShaded()</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, and <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>. +<p> +<div class="fragment"><pre>00172 { +00173 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00174 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00175 +00176 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getShaded(); +00177 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_3" doxytag="NL3D::CTextContextUser::getStringInfo" ></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="a03946.html">UTextContext::CStringInfo</a> NL3D::CTextContextUser::getStringInfo </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>ucstr</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a string information from the ucstring The returned string info is in pixel size per default. +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_3">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00279">279</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00052">_CacheString</a>, <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00279">NL3D::CTextContext::computeStringInfo()</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a05596.html#l00092">NL3D::CComputedString::StringHeight</a>, <a class="el" href="a05596.html#l00101">NL3D::CComputedString::StringLine</a>, and <a class="el" href="a05596.html#l00090">NL3D::CComputedString::StringWidth</a>. +<p> +<div class="fragment"><pre>00280 { +00281 NL_ALLOC_CONTEXT( 3dTCIfo ) +00282 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00283 +00284 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.computeStringInfo(str, _CacheString); +00285 <span class="keywordflow">return</span> CStringInfo (<a class="code" href="a03484.html#NL3D_1_1CTextContextUserr0">_CacheString</a>.StringWidth, <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr0">_CacheString</a>.StringHeight, <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr0">_CacheString</a>.StringLine); +00286 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_4" doxytag="NL3D::CTextContextUser::getStringInfo" ></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="a03946.html">UTextContext::CStringInfo</a> NL3D::CTextContextUser::getStringInfo </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>i</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a string information from the list. return CStringInfo(0,0) if not found. The returned string info is in pixel size per default. +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_4">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00268">268</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00248">NL3D::CTextContext::getComputedString()</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a05596.html#l00092">NL3D::CComputedString::StringHeight</a>, <a class="el" href="a05596.html#l00101">NL3D::CComputedString::StringLine</a>, <a class="el" href="a05596.html#l00090">NL3D::CComputedString::StringWidth</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00269 { +00270 NL_ALLOC_CONTEXT( 3dTCIfo ) +00271 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00272 +00273 CComputedString *cstr= <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getComputedString(i); +00274 <span class="keywordflow">if</span>(!cstr) +00275 <span class="keywordflow">return</span> CStringInfo(0, 0, 0); +00276 <span class="keywordflow">else</span> +00277 <span class="keywordflow">return</span> CStringInfo(cstr->StringWidth, cstr->StringHeight, cstr->StringLine); +00278 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUsera6" doxytag="NL3D::CTextContextUser::getTextContext" ></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="a03483.html">CTextContext</a>& NL3D::CTextContextUser::getTextContext </td> + <td class="md" valign="top">( </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="a06504.html#l00133">133</a> of file <a class="el" href="a06504.html">text_context_user.h</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>. +<p> +<div class="fragment"><pre>00133 {<span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_5" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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>y</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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute and print a ucstring at the location (2D method) x/y E [0,1] +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_5">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00325">325</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a06502.html#l00144">NL3D::CTextContext::printAt()</a>, <a class="el" href="a05658.html#l00467">NL3D::CDriverUser::restoreMatrixContext()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +<div class="fragment"><pre>00326 { +00327 NL_ALLOC_CONTEXT( 3dTCPt3 ) +00328 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00329 +00330 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.printAt(x, y, ucstr); +00331 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a>->restoreMatrixContext(); +00332 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_6" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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>y</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>i</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +print a string of the list (2D method). x/y E [0,1] (rq : it leaves the string in the stack) 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> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_6">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00294">294</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a06502.html#l00144">NL3D::CTextContext::printAt()</a>, <a class="el" href="a05658.html#l00467">NL3D::CDriverUser::restoreMatrixContext()</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> +<div class="fragment"><pre>00295 { +00296 NL_ALLOC_CONTEXT( 3dTCPt0 ) +00297 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00298 +00299 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.printAt(x, y, i); +00300 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a>->restoreMatrixContext(); +00301 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_7" doxytag="NL3D::CTextContextUser::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::CTextContextUser::printClipAt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03941.html">URenderStringBuffer</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>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><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>i</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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Same as printAt but special version for interface: clip and insert in a temp buffer. 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> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_7">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00302">302</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a06502.html#l00162">NL3D::CTextContext::printClipAt()</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#l00318">printClipAtOld()</a>. +<p> +<div class="fragment"><pre>00303 { +00304 NL_ALLOC_CONTEXT( 3dTCPt1 ) +00305 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00306 +00307 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.printClipAt(static_cast<CRenderStringBuffer&>(renderBuffer), x, y, i, xmin, ymin, xmax, ymax); +00308 <span class="comment">// Don't need to restore Matrix context here since no driver change</span> +00309 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_8" doxytag="NL3D::CTextContextUser::printClipAtOld" ></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::CTextContextUser::printClipAtOld </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>y</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>i</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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +empty the map +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_8">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00318">318</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06503.html#l00398">flushRenderBuffer()</a>, <a class="el" href="a06503.html#l00302">printClipAt()</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> +<div class="fragment"><pre>00319 { +00320 NL_ALLOC_CONTEXT( 3dTCPt2 ) +00321 <span class="keyword">static</span> CRenderStringBuffer rdrBuffer; +00322 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserz978_7">printClipAt</a>(rdrBuffer, x, y ,i, xmin, ymin, xmax, ymax); +00323 <a class="code" href="a03484.html#NL3D_1_1CTextContextUsera4">flushRenderBuffer</a>(&rdrBuffer); +00324 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_9" doxytag="NL3D::CTextContextUser::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::CTextContextUser::printClipAtUnProjected </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03941.html">URenderStringBuffer</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>i</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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Same as printClipAt but special version for planar 3d interface: the final vertices are unproject using a frustum. depth is the positive depth to used to unproject the string worldSpaceMatrix is used to mul each vertex (when in 0..1 coordinate for x/y and in meter for z coordinate) +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_9">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00310">310</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05646.html#l01013">depth</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a06502.html#l00180">NL3D::CTextContext::printClipAtUnProjected()</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> +<div class="fragment"><pre>00311 { +00312 NL_ALLOC_CONTEXT( 3dTCPt1 ) +00313 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00314 +00315 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.printClipAtUnProjected(static_cast<CRenderStringBuffer&>(renderBuffer), frustum, scaleMatrix, x, y, depth, i, xmin, ymin, xmax, ymax); +00316 <span class="comment">// Don't need to restore Matrix context here since no driver change</span> +00317 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_10" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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>y</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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute and print a string at the location (2D method) x/y E [0,1] +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_10">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00333">333</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a06465.html#l00070">NLMISC_CONVERT_VARGS</a>, <a class="el" href="a06502.html#l00144">NL3D::CTextContext::printAt()</a>, <a class="el" href="a05658.html#l00467">NL3D::CDriverUser::restoreMatrixContext()</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +<div class="fragment"><pre>00334 { +00335 NL_ALLOC_CONTEXT( 3dTCPt4 ) +00336 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00337 +00338 <span class="keywordtype">char</span> *str; +00339 <a class="code" href="a05042.html#a0">NLMISC_CONVERT_VARGS</a> (str, format, NLMISC::MaxCStringSize); +00340 +00341 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.printAt(x, y, <a class="code" href="a03924.html">ucstring</a>(str)) ; +00342 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a>->restoreMatrixContext(); +00343 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextContextz1566_11" doxytag="NL3D::CTextContextUser::render3D" ></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"> virtual void NL3D::UTextContext::render3D </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td> + <td class="mdname" nowrap> <em>mat</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> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute and render a string at the location (3D method) <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_12">render3D()</a> use <a class="el" href="a02438.html">UDriver</a> Matrix context for Frustum/ViewMatrix, but use its own modelmatrix (mat). </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UTextContextz1566_12" doxytag="NL3D::CTextContextUser::render3D" ></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"> virtual void NL3D::UTextContext::render3D </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td> + <td class="mdname" nowrap> <em>mat</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> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute and render a ucstring at the location (3D method) <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_12">render3D()</a> use <a class="el" href="a02438.html">UDriver</a> Matrix context for Frustum/ViewMatrix, but use its own modelmatrix (mat). </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_11" doxytag="NL3D::CTextContextUser::render3D" ></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::CTextContextUser::render3D </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02851.html">CMatrix</a> & </td> + <td class="mdname" nowrap> <em>mat</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"></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="a06503.html#l00357">357</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05080.html#a2">NL3D_HAUTO_RENDER_3D_TEXTCONTEXT</a>, <a class="el" href="a06465.html#l00070">NLMISC_CONVERT_VARGS</a>, <a class="el" href="a06503.html#l00345">render3D()</a>, and <a class="el" href="a05658.html#l00467">NL3D::CDriverUser::restoreMatrixContext()</a>. +<p> +<div class="fragment"><pre>00358 { +00359 NL_ALLOC_CONTEXT( 3dTCRd1 ) +00360 <a class="code" href="a05080.html#a2">NL3D_HAUTO_RENDER_3D_TEXTCONTEXT</a>; +00361 +00362 <span class="keywordtype">char</span> *str; +00363 <a class="code" href="a05042.html#a0">NLMISC_CONVERT_VARGS</a> (str, format, NLMISC::MaxCStringSize); +00364 +00365 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserz978_12">render3D</a>(mat, <a class="code" href="a03924.html">ucstring</a>(str)); +00366 +00367 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a>->restoreMatrixContext(); +00368 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_12" doxytag="NL3D::CTextContextUser::render3D" ></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::CTextContextUser::render3D </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02851.html">CMatrix</a> & </td> + <td class="mdname" nowrap> <em>mat</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"></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="a06503.html#l00345">345</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00263">NL3D::CTextContext::computeString()</a>, <a class="el" href="a05080.html#a2">NL3D_HAUTO_RENDER_3D_TEXTCONTEXT</a>, <a class="el" href="a05595.html#l00151">NL3D::CComputedString::render3D()</a>, and <a class="el" href="a05658.html#l00467">NL3D::CDriverUser::restoreMatrixContext()</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00357">render3D()</a>. +<p> +<div class="fragment"><pre>00346 { +00347 NL_ALLOC_CONTEXT( 3dTCRd0 ) +00348 <a class="code" href="a05080.html#a2">NL3D_HAUTO_RENDER_3D_TEXTCONTEXT</a>; +00349 +00350 CComputedString computedStr; +00351 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.computeString(ucstr,computedStr); +00352 +00353 computedStr.render3D(*_Driver,mat); +00354 +00355 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr2">_DriverUser</a>->restoreMatrixContext(); +00356 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_13" doxytag="NL3D::CTextContextUser::resetStringSelection" ></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::CTextContextUser::resetStringSelection </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>i</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +reset the letter selection of a string to 0/0xFFFFFFFF (all displayed) +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_13">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00251">251</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00248">NL3D::CTextContext::getComputedString()</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00252 { +00253 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00254 CComputedString *str= <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getComputedString(i); +00255 <span class="keywordflow">if</span>(str) +00256 { +00257 str->SelectStart= 0; +00258 str->SelectSize= ~0; +00259 } +00260 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_7" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the font color <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>color</em> </td><td>the font color</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_7">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00101">101</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a06502.html#l00081">NL3D::CTextContext::setColor()</a>. +<p> +<div class="fragment"><pre>00102 { +00103 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00104 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00105 +00106 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setColor(color); +00107 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_8" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the font size. Should be called before the first print <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>fonSize</em> </td><td>the font size</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_8">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00108">108</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, <a class="el" href="a06502.html#l00083">NL3D::CTextContext::setFontSize()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00109 { +00110 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00111 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00112 +00113 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setFontSize(fontSize); +00114 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_9" doxytag="NL3D::CTextContextUser::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::CTextContextUser::setHotSpot </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03485.html#NL3D_1_1UTextContextw8">THotSpot</a> </td> + <td class="mdname1" valign="top" nowrap> <em>hotSpot</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the hot spot <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>fonSize</em> </td><td>the font size</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_9">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00122">122</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, <a class="el" href="a06502.html#l00085">NL3D::CTextContext::setHotSpot()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00123 { +00124 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00125 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00126 +00127 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setHotSpot((CComputedString::THotSpot)(<a class="code" href="a04558.html#a11">uint32</a>)hotSpot) ; +00128 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_10" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set to true if you want that the font manager look at Driver window size, and resize fontSize so it keeps same size than if it was in 800x600... +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_10">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00199">199</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a06502.html#l00099">NL3D::CTextContext::setKeep800x600Ratio()</a>. +<p> +<div class="fragment"><pre>00200 { +00201 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00202 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00203 +00204 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setKeep800x600Ratio(keep); +00205 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_11" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the X scale <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>scaleX</em> </td><td>the X scale</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_11">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00136">136</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a06502.html#l00087">NL3D::CTextContext::setScaleX()</a>. +<p> +<div class="fragment"><pre>00137 { +00138 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00139 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00140 +00141 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setScaleX(scaleX); +00142 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_12" doxytag="NL3D::CTextContextUser::setScaleY" ></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::CTextContextUser::setScaleY </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>scaleY</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the Y scale <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>scaleY</em> </td><td>the Y scale</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_12">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00143">143</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a06502.html#l00089">NL3D::CTextContext::setScaleZ()</a>. +<p> +<div class="fragment"><pre>00144 { +00145 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00146 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00147 +00148 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setScaleZ(scaleY); +00149 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_13" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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>sc</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the shadow's color <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>the</em> </td><td>shadow color</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_13">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00185">185</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a06502.html#l00095">NL3D::CTextContext::setShadeColor()</a>. +<p> +<div class="fragment"><pre>00186 { +00187 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00188 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00189 +00190 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setShadeColor (sc); +00191 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_14" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the shade states <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>the</em> </td><td>shade state</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_14">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00164">164</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a06502.html#l00091">NL3D::CTextContext::setShaded()</a>. +<p> +<div class="fragment"><pre>00165 { +00166 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00167 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00168 +00169 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setShaded(b); +00170 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz976_15" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the shadow's size <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>the</em> </td><td>shade extent</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1564_15">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00178">178</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a06502.html#l00093">NL3D::CTextContext::setShadeExtent()</a>. +<p> +<div class="fragment"><pre>00179 { +00180 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00181 <a class="code" href="a05080.html#a0">NL3D_HAUTO_UI_TEXTCONTEXT</a>; +00182 +00183 <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.setShadeExtent(shext); +00184 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_14" doxytag="NL3D::CTextContextUser::setStringColor" ></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::CTextContextUser::setStringColor </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="mdname" nowrap> <em>i</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03337.html">CRGBA</a> </td> + <td class="mdname" nowrap> <em>newCol</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the color of a string. +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_14">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00233">233</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05596.html#l00088">NL3D::CComputedString::Color</a>, <a class="el" href="a06502.html#l00248">NL3D::CTextContext::getComputedString()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00234 { +00235 CComputedString *str= <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getComputedString(i); +00236 <span class="keywordflow">if</span>(str) +00237 { +00238 str->Color= newCol; +00239 } +00240 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_15" doxytag="NL3D::CTextContextUser::setStringSelection" ></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::CTextContextUser::setStringSelection </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="mdname" nowrap> <em>i</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>selectStart</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>selectSize</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the letter selection of a string. Only letters in the range given are displayed. Default is 0/0xFFFFFFFF +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_15">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00241">241</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a06502.html#l00248">NL3D::CTextContext::getComputedString()</a>, <a class="el" href="a06504.html#l00034">NL3D_MEM_TEXT_CONTEXT</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00242 { +00243 <a class="code" href="a05081.html#a0">NL3D_MEM_TEXT_CONTEXT</a> +00244 CComputedString *str= <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.getComputedString(i); +00245 <span class="keywordflow">if</span>(str) +00246 { +00247 str->SelectStart= selectStart; +00248 str->SelectSize= selectSize; +00249 } +00250 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_16" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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><code> [virtual]</code></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 stack <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> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the index where computed string has been inserted</dd></dl> + +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_16">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00226">226</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a06501.html#l00068">NL3D::CTextContext::textPush()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00227 { +00228 NL_ALLOC_CONTEXT( 3dTCPh1 ) +00229 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00230 +00231 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.textPush(str) ; +00232 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserz978_17" doxytag="NL3D::CTextContextUser::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::CTextContextUser::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"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +All rendering are done in current <a class="el" href="a02438.html">UDriver</a> matrix context. So verify your 2D/3D modes. +<p> +Implements <a class="el" href="a03485.html#NL3D_1_1UTextContextz1566_17">NL3D::UTextContext</a>. +<p> +Definition at line <a class="el" href="a06503.html#l00216">216</a> of file <a class="el" href="a06503.html">text_context_user.cpp</a>. +<p> +References <a class="el" href="a06504.html#l00049">_TextContext</a>, <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>, <a class="el" href="a06465.html#l00070">NLMISC_CONVERT_VARGS</a>, <a class="el" href="a06501.html#l00068">NL3D::CTextContext::textPush()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00217 { +00218 NL_ALLOC_CONTEXT( 3dTCPh0 ) +00219 <a class="code" href="a05080.html#a1">NL3D_HAUTO_RENDER_2D_TEXTCONTEXT</a>; +00220 +00221 <span class="keywordtype">char</span> *str; +00222 <a class="code" href="a05042.html#a0">NLMISC_CONVERT_VARGS</a> (str, format, NLMISC::MaxCStringSize); +00223 +00224 <span class="keywordflow">return</span> <a class="code" href="a03484.html#NL3D_1_1CTextContextUserr3">_TextContext</a>.textPush(<a class="code" href="a03924.html">ucstring</a>(str)) ; +00225 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTextContextUserr0" doxytag="NL3D::CTextContextUser::_CacheString" ></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="a03484.html#NL3D_1_1CTextContextUserr0">NL3D::CTextContextUser::_CacheString</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="a06504.html#l00052">52</a> of file <a class="el" href="a06504.html">text_context_user.h</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00279">getStringInfo()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserr1" doxytag="NL3D::CTextContextUser::_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="a03484.html#NL3D_1_1CTextContextUserr1">NL3D::CTextContextUser::_Driver</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="a06504.html#l00051">51</a> of file <a class="el" href="a06504.html">text_context_user.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserr2" doxytag="NL3D::CTextContextUser::_DriverUser" ></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="a02437.html">CDriverUser</a>* <a class="el" href="a03484.html#NL3D_1_1CTextContextUserr2">NL3D::CTextContextUser::_DriverUser</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="a06504.html#l00050">50</a> of file <a class="el" href="a06504.html">text_context_user.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTextContextUserr3" doxytag="NL3D::CTextContextUser::_TextContext" ></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="a03483.html">CTextContext</a> <a class="el" href="a03484.html#NL3D_1_1CTextContextUserr3">NL3D::CTextContextUser::_TextContext</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="a06504.html#l00049">49</a> of file <a class="el" href="a06504.html">text_context_user.h</a>. +<p> +Referenced by <a class="el" href="a06503.html#l00287">clear()</a>, <a class="el" href="a06504.html#l00057">CTextContextUser()</a>, <a class="el" href="a06503.html#l00380">dumpCacheTexture()</a>, <a class="el" href="a06503.html#l00261">erase()</a>, <a class="el" href="a06503.html#l00398">flushRenderBuffer()</a>, <a class="el" href="a06503.html#l00411">flushRenderBufferUnProjected()</a>, <a class="el" href="a06503.html#l00115">getFontSize()</a>, <a class="el" href="a06503.html#l00129">getHotSpot()</a>, <a class="el" href="a06503.html#l00206">getKeep800x600Ratio()</a>, <a class="el" href="a06503.html#l00150">getScaleX()</a>, <a class="el" href="a06503.html#l00157">getScaleY()</a>, <a class="el" href="a06503.html#l00192">getShadeColor()</a>, <a class="el" href="a06503.html#l00171">getShaded()</a>, <a class="el" href="a06503.html#l00268">getStringInfo()</a>, <a class="el" href="a06504.html#l00133">getTextContext()</a>, <a class="el" href="a06503.html#l00294">printAt()</a>, <a class="el" href="a06503.html#l00302">printClipAt()</a>, <a class="el" href="a06503.html#l00310">printClipAtUnProjected()</a>, <a class="el" href="a06503.html#l00333">printfAt()</a>, <a class="el" href="a06503.html#l00345">render3D()</a>, <a class="el" href="a06503.html#l00251">resetStringSelection()</a>, <a class="el" href="a06503.html#l00101">setColor()</a>, <a class="el" href="a06503.html#l00108">setFontSize()</a>, <a class="el" href="a06503.html#l00122">setHotSpot()</a>, <a class="el" href="a06503.html#l00199">setKeep800x600Ratio()</a>, <a class="el" href="a06503.html#l00136">setScaleX()</a>, <a class="el" href="a06503.html#l00143">setScaleY()</a>, <a class="el" href="a06503.html#l00185">setShadeColor()</a>, <a class="el" href="a06503.html#l00164">setShaded()</a>, <a class="el" href="a06503.html#l00178">setShadeExtent()</a>, <a class="el" href="a06503.html#l00233">setStringColor()</a>, <a class="el" href="a06503.html#l00241">setStringSelection()</a>, and <a class="el" href="a06503.html#l00216">textPush()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06504.html">text_context_user.h</a><li><a class="el" href="a06503.html">text_context_user.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:49:48 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> |