aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/structNL3D_1_1CComputedString.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/structNL3D_1_1CComputedString.html')
-rw-r--r--docs/doxygen/nel/structNL3D_1_1CComputedString.html696
1 files changed, 696 insertions, 0 deletions
diff --git a/docs/doxygen/nel/structNL3D_1_1CComputedString.html b/docs/doxygen/nel/structNL3D_1_1CComputedString.html
new file mode 100644
index 00000000..f0ca5f3c
--- /dev/null
+++ b/docs/doxygen/nel/structNL3D_1_1CComputedString.html
@@ -0,0 +1,696 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NL3D::CComputedString Struct Reference</h1><a class="el" href="structNL3D_1_1CComputedString.html">CComputedString</a> A <a class="el" href="structNL3D_1_1CComputedString.html">CComputedString</a> is a structure which permits to render a string in a driver.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="computed__string_8h-source.html">computed_string.h</a>&gt;</code>
+<p>
+<a href="structNL3D_1_1CComputedString-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#s10">THotSpot</a> { <br>
+&nbsp;&nbsp;<a class="el" href="structNL3D_1_1CComputedString.html#s10s0">BottomLeft</a> = 0,
+<a class="el" href="structNL3D_1_1CComputedString.html#s10s1">MiddleLeft</a>,
+<a class="el" href="structNL3D_1_1CComputedString.html#s10s2">TopLeft</a>,
+<a class="el" href="structNL3D_1_1CComputedString.html#s10s3">MiddleBottom</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="structNL3D_1_1CComputedString.html#s10s4">MiddleMiddle</a>,
+<a class="el" href="structNL3D_1_1CComputedString.html#s10s5">MiddleTop</a>,
+<a class="el" href="structNL3D_1_1CComputedString.html#s10s6">BottomRight</a>,
+<a class="el" href="structNL3D_1_1CComputedString.html#s10s7">MiddleRight</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="structNL3D_1_1CComputedString.html#s10s8">TopRight</a>,
+<a class="el" href="structNL3D_1_1CComputedString.html#s10s9">HotSpotCount</a>
+<br>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Hotspot positions (origine for the string placement) You should take care that for vertical hotspot, an imaginary line is defined under letters with no leg (like m,b,c etc..) between the leg of p and the loop of the p.</em> <a href="#s10">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#a0">CComputedString</a> (bool bSetupVB=true)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#a1">getHotSpotVector</a> (<a class="el" href="structNL3D_1_1CComputedString.html#s10">THotSpot</a> hotspot)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the string's origin.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#a2">render2D</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;driver, float <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, float <a class="el" href="driver__opengl__extension__def_8h.html#a366">z</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10">THotSpot</a> hotspot=BottomLeft, float scaleX=1, float scaleZ=1, float rotateY=0, bool useScreenAR43=false, bool roundToNearestPixel=true)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Render the unicode string in a driver.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#a3">render2DClip</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;driver, float <a class="el" href="driver__opengl__extension__def_8h.html#a364">x</a>, float <a class="el" href="driver__opengl__extension__def_8h.html#a366">z</a>, float xmin=0, float ymin=0, float xmax=1, float ymax=1)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>same as render2D but clip the quads to xmin,ymin/xmax,ymax.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#a4">render3D</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;driver, CMatrix <a class="el" href="driver__opengl__extension__def_8h.html#a370">matrix</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10">THotSpot</a> hotspot=MiddleMiddle)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Render the unicode string in a driver, in 3D with a user matrix.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a>&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#m0">Vertices</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a>&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#m1">VerticesClipped</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> *&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#m2">Material</a></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#m3">Color</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#m4">StringWidth</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The width of the string, in pixels (eg: 30).</em> <a href="#m4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#m5">StringHeight</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The height of the string, in pixels (eg: 10).</em> <a href="#m5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="structNL3D_1_1CComputedString.html#m6">StringLine</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>StringLine is the size from bottom of the whole string image to the hotspot in pixels.</em> <a href="#m6">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="structNL3D_1_1CComputedString.html">CComputedString</a> A <a class="el" href="structNL3D_1_1CComputedString.html">CComputedString</a> is a structure which permits to render a string in a driver.
+<p>
+It computes 4 vertices per char the renderer draw quads from them.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Stephane Coutelas , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00059">59</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s10" doxytag="NL3D::CComputedString::THotSpot"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CComputedString::THotSpot
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Hotspot positions (origine for the string placement) You should take care that for vertical hotspot, an imaginary line is defined under letters with no leg (like m,b,c etc..) between the leg of p and the loop of the p.
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s10s0" doxytag="BottomLeft"></a><em>BottomLeft</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s1" doxytag="MiddleLeft"></a><em>MiddleLeft</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s2" doxytag="TopLeft"></a><em>TopLeft</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s3" doxytag="MiddleBottom"></a><em>MiddleBottom</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s4" doxytag="MiddleMiddle"></a><em>MiddleMiddle</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s5" doxytag="MiddleTop"></a><em>MiddleTop</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s6" doxytag="BottomRight"></a><em>BottomRight</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s7" doxytag="MiddleRight"></a><em>MiddleRight</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s8" doxytag="TopRight"></a><em>TopRight</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s10s9" doxytag="HotSpotCount"></a><em>HotSpotCount</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00084">84</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CComputedString::CComputedString"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CComputedString::CComputedString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>bSetupVB</em> = true </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00102">102</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.
+<p>
+References <a class="el" href="computed__string_8h-source.html#l00070">StringHeight</a>, <a class="el" href="computed__string_8h-source.html#l00068">StringWidth</a>, <a class="el" href="computed__string_8h-source.html#l00063">Vertices</a>, and <a class="el" href="computed__string_8h-source.html#l00064">VerticesClipped</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a1" doxytag="NL3D::CComputedString::getHotSpotVector"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CVector NL3D::CComputedString::getHotSpotVector </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structNL3D_1_1CComputedString.html#s10">THotSpot</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>hotspot</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the string's origin.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>hotspot</em>&nbsp;</td><td>
+the origin of the string </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="computed__string_8cpp-source.html#l00048">48</a> of file <a class="el" href="computed__string_8cpp-source.html">computed_string.cpp</a>.
+<p>
+References <a class="el" href="structNL3D_1_1CComputedString.html#s10s6">BottomRight</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10s3">MiddleBottom</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10s1">MiddleLeft</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10s4">MiddleMiddle</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10s7">MiddleRight</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10s5">MiddleTop</a>, <a class="el" href="computed__string_8h-source.html#l00070">StringHeight</a>, <a class="el" href="computed__string_8h-source.html#l00068">StringWidth</a>, <a class="el" href="structNL3D_1_1CComputedString.html#s10s2">TopLeft</a>, and <a class="el" href="structNL3D_1_1CComputedString.html#s10s8">TopRight</a>.
+<p>
+Referenced by <a class="el" href="computed__string_8cpp-source.html#l00083">render2D</a>, and <a class="el" href="computed__string_8cpp-source.html#l00268">render3D</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CComputedString::render2D"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CComputedString::render2D </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>driver</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>z</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="structNL3D_1_1CComputedString.html#s10">THotSpot</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>hotspot</em> = BottomLeft, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>scaleX</em> = 1, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>scaleZ</em> = 1, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rotateY</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>useScreenAR43</em> = false, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>roundToNearestPixel</em> = true</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Render the unicode string in a driver.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>driver</em>&nbsp;</td><td>
+the driver where to render the primitives </td></tr>
+<tr><td valign=top><em>x</em>&nbsp;</td><td>
+abscissa </td></tr>
+<tr><td valign=top><em>y</em>&nbsp;</td><td>
+ordinate </td></tr>
+<tr><td valign=top><em>hotspot</em>&nbsp;</td><td>
+position of string origine </td></tr>
+<tr><td valign=top><em>scaleX</em>&nbsp;</td><td>
+abscissa scale </td></tr>
+<tr><td valign=top><em>scaleY</em>&nbsp;</td><td>
+ordinate scale </td></tr>
+<tr><td valign=top><em>rotateY</em>&nbsp;</td><td>
+rotation angle (axe perpendicular to screen) </td></tr>
+<tr><td valign=top><em>useScreenAR43</em>&nbsp;</td><td>
+if false then string is displayed with a pixel Ratio 1:1 (independent of window resolution). if true, the string is scaled according to window width and height, to support 4:3 aspect ratio even on weird screen resolution such as 640*240 (ie the char still look square, but the pixel ratio is 2:1) </td></tr>
+<tr><td valign=top><em>roundToNearestPixel</em>&nbsp;</td><td>
+if true, snap the final string position to the nearest pixel. if set to true, and if useScreenAR43= false, you are sure that texels of the fonts fit exactly on centers of pixels (no apparent bi-linear). </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="computed__string_8cpp-source.html#l00083">83</a> of file <a class="el" href="computed__string_8cpp-source.html">computed_string.cpp</a>.
+<p>
+References <a class="el" href="computed__string_8h-source.html#l00066">Color</a>, <a class="el" href="computed__string_8cpp-source.html#l00048">getHotSpotVector</a>, <a class="el" href="computed__string_8h-source.html#l00065">Material</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00240">matrix</a>, <a class="el" href="computed__string_8h-source.html#l00063">Vertices</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">z</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CComputedString::render2DClip"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CComputedString::render2DClip </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>driver</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>z</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>xmin</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ymin</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>xmax</em> = 1, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ymax</em> = 1</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as render2D but clip the quads to xmin,ymin/xmax,ymax.
+<p>
+NB: behavior is same as render2D with: Hotspot = bottomLeft, scaleX=1, scaleZ=1, rotateY=0, useScreenAR43= false, roundToNearestPixel= false
+<p>
+Definition at line <a class="el" href="computed__string_8cpp-source.html#l00147">147</a> of file <a class="el" href="computed__string_8cpp-source.html">computed_string.cpp</a>.
+<p>
+References <a class="el" href="computed__string_8h-source.html#l00066">Color</a>, <a class="el" href="computed__string_8h-source.html#l00065">Material</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00240">matrix</a>, <a class="el" href="computed__string_8h-source.html#l00063">Vertices</a>, <a class="el" href="computed__string_8h-source.html#l00064">VerticesClipped</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">z</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CComputedString::render3D"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CComputedString::render3D </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>driver</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CMatrix&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>matrix</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="structNL3D_1_1CComputedString.html#s10">THotSpot</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>hotspot</em> = MiddleMiddle</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Render the unicode string in a driver, in 3D with a user matrix.
+<p>
+NB: size of the string is first scaled by 1/windowHeight. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>driver</em>&nbsp;</td><td>
+the driver where to render the primitives </td></tr>
+<tr><td valign=top><em>matrix</em>&nbsp;</td><td>
+transformation matrix </td></tr>
+<tr><td valign=top><em>hotspot</em>&nbsp;</td><td>
+position of string origine </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="computed__string_8cpp-source.html#l00268">268</a> of file <a class="el" href="computed__string_8cpp-source.html">computed_string.cpp</a>.
+<p>
+References <a class="el" href="computed__string_8h-source.html#l00066">Color</a>, <a class="el" href="computed__string_8cpp-source.html#l00048">getHotSpotVector</a>, <a class="el" href="computed__string_8h-source.html#l00065">Material</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00240">matrix</a>, and <a class="el" href="computed__string_8h-source.html#l00063">Vertices</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="m3" doxytag="NL3D::CComputedString::Color"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CComputedString::Color
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00066">66</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.
+<p>
+Referenced by <a class="el" href="computed__string_8cpp-source.html#l00083">render2D</a>, <a class="el" href="computed__string_8cpp-source.html#l00147">render2DClip</a>, and <a class="el" href="computed__string_8cpp-source.html#l00268">render3D</a>. </td>
+ </tr>
+</table>
+<a name="m2" doxytag="NL3D::CComputedString::Material"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a>* NL3D::CComputedString::Material
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00065">65</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.
+<p>
+Referenced by <a class="el" href="computed__string_8cpp-source.html#l00083">render2D</a>, <a class="el" href="computed__string_8cpp-source.html#l00147">render2DClip</a>, and <a class="el" href="computed__string_8cpp-source.html#l00268">render3D</a>. </td>
+ </tr>
+</table>
+<a name="m5" doxytag="NL3D::CComputedString::StringHeight"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CComputedString::StringHeight
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The height of the string, in pixels (eg: 10).
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00070">70</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.
+<p>
+Referenced by <a class="el" href="computed__string_8h-source.html#l00102">CComputedString</a>, and <a class="el" href="computed__string_8cpp-source.html#l00048">getHotSpotVector</a>. </td>
+ </tr>
+</table>
+<a name="m6" doxytag="NL3D::CComputedString::StringLine"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CComputedString::StringLine
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+StringLine is the size from bottom of the whole string image to the hotspot in pixels.
+<p>
+for instance if the hotspot is bottomLeft the imaginary line of the string "bpc" is under the b, under the loop of the p but over the leg of the p. So StringLine is a positive value in this case. It may be a negative value for the string "^" for example.
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00077">77</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>. </td>
+ </tr>
+</table>
+<a name="m4" doxytag="NL3D::CComputedString::StringWidth"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CComputedString::StringWidth
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The width of the string, in pixels (eg: 30).
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00068">68</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.
+<p>
+Referenced by <a class="el" href="computed__string_8h-source.html#l00102">CComputedString</a>, and <a class="el" href="computed__string_8cpp-source.html#l00048">getHotSpotVector</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NL3D::CComputedString::Vertices"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a> NL3D::CComputedString::Vertices
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00063">63</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.
+<p>
+Referenced by <a class="el" href="computed__string_8h-source.html#l00102">CComputedString</a>, <a class="el" href="computed__string_8cpp-source.html#l00083">render2D</a>, <a class="el" href="computed__string_8cpp-source.html#l00147">render2DClip</a>, and <a class="el" href="computed__string_8cpp-source.html#l00268">render3D</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NL3D::CComputedString::VerticesClipped"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a> NL3D::CComputedString::VerticesClipped
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="computed__string_8h-source.html#l00064">64</a> of file <a class="el" href="computed__string_8h-source.html">computed_string.h</a>.
+<p>
+Referenced by <a class="el" href="computed__string_8h-source.html#l00102">CComputedString</a>, and <a class="el" href="computed__string_8cpp-source.html#l00147">render2DClip</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following files:<ul>
+<li><a class="el" href="computed__string_8h-source.html">computed_string.h</a><li><a class="el" href="computed__string_8cpp-source.html">computed_string.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>