<!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="/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="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> <TD WIDTH=16><IMG SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF='/'><b>Home</B></FONT></A> </TD> <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF='/'><b>nevrax.com</B></FONT></A> </TD> </TR> </TABLE> <!-- banner Nevrax --> <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> <TR><TD BGCOLOR="#000000" BACKGROUND="/inc/img/black_banner.jpg"><A HREF=""><IMG SRC="/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="/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="/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="/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="/news/" TITLE="News">News</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="/docs/" TITLE="Documentation">Documentation</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="/cvs/" TITLE="CVS Web">CVS</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="/GPL.php3" TITLE="License">License</a></td></tr> </TABLE> </TD></TR></TABLE></TD></TR></TABLE> <!------ End Box ------> </TD> <TD WIDTH=15><IMG SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> <TD ALIGN=left valign=top><IMG SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> <!-- title --> <TABLE background="/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> <A HREF="/docs/"><img src="/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> </td><td><IMG SRC="/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> </td></tr></table> <!-- block --> <TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="/inc/img/reddots.gif"></TD> <TD><B>Documentation</B></TD> <TD ALIGN=RIGHT> </td> </tr></table> <!-- Generated by Doxygen 1.2.14 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:/cgi-bin/nel-search.cgi" href="/cgi-bin/nel-search.cgi">Search</a> </center> <hr><h1>NLMISC::CBGRA Class Reference</h1>Class pixel BGRA, Windows style pixel. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="rgba_8h-source.html">rgba.h</a>></code> <p> <a href="classNLMISC_1_1CBGRA-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a0">CBGRA</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Default constructor. do nothing.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a1">CBGRA</a> (<a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a> c)</td></tr> <tr><td> </td><td><font size=-1><em>Constructor from a <a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a2">CBGRA</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> <a class="el" href="driver__opengl__extension__def_8h.html#a385">r</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> g, <a class="el" href="memory__common_8h.html#a7">uint8</a> b, <a class="el" href="memory__common_8h.html#a7">uint8</a> a=255)</td></tr> <tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a3">operator CRGBA</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Cast operator to <a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a4">getPacked</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Return a packed pixel.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a5">operator<</a> (const CBGRA &c) const</td></tr> <tr><td> </td><td><font size=-1><em>Comparison operator.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a6">operator==</a> (const CBGRA &c) const</td></tr> <tr><td> </td><td><font size=-1><em>Equality operator.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a7">serial</a> (class <a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f)</td></tr> <tr><td> </td><td><font size=-1><em>Serialisation.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a8">blendFromui</a> (CBGRA &c0, CBGRA &c1, <a class="el" href="memory__common_8h.html#a15">uint</a> factor)</td></tr> <tr><td> </td><td><font size=-1><em>Blend two colors.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#a9">set</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> <a class="el" href="driver__opengl__extension__def_8h.html#a385">r</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> g, <a class="el" href="memory__common_8h.html#a7">uint8</a> b, <a class="el" href="memory__common_8h.html#a7">uint8</a> a)</td></tr> <tr><td> </td><td><font size=-1><em>Set colors.</em> <a href="#a9">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="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#m0">R</a></td></tr> <tr><td> </td><td><font size=-1><em>Red componant.</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#m1">G</a></td></tr> <tr><td> </td><td><font size=-1><em>Green componant.</em> <a href="#m1">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#m2">B</a></td></tr> <tr><td> </td><td><font size=-1><em>Blue componant.</em> <a href="#m2">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBGRA.html#m3">A</a></td></tr> <tr><td> </td><td><font size=-1><em>Alpha componant.</em> <a href="#m3">More...</a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Class pixel BGRA, Windows style pixel. <p> <dl compact><dt><b> Author: </b><dd> Cyril Corvazier , Nevrax France </dl><dl compact><dt><b> Date: </b><dd> 2000 </dl> <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00350">350</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="NLMISC::CBGRA::CBGRA"></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"> NLMISC::CBGRA::CBGRA </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> Default constructor. do nothing. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00355">355</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> Referenced by <a class="el" href="rgba_8h-source.html#l00398">operator<</a>, and <a class="el" href="rgba_8h-source.html#l00406">operator==</a>. </td> </tr> </table> <a name="a1" doxytag="NLMISC::CBGRA::CBGRA"></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"> NLMISC::CBGRA::CBGRA </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a> </td> <td class="mdname1" valign="top" nowrap> <em>c</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Constructor from a <a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>c</em> </td><td> <a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a> color. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00361">361</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> References <a class="el" href="rgba_8h-source.html#l00441">A</a>, <a class="el" href="rgba_8h-source.html#l00439">B</a>, <a class="el" href="rgba_8h-source.html#l00437">G</a>, and <a class="el" href="rgba_8h-source.html#l00435">R</a>. </td> </tr> </table> <a name="a2" doxytag="NLMISC::CBGRA::CBGRA"></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"> NLMISC::CBGRA::CBGRA </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>r</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>g</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>b</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>a</em> = 255</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> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>r</em> </td><td> Red componant. </td></tr> <tr><td valign=top><em>g</em> </td><td> Green componant. </td></tr> <tr><td valign=top><em>b</em> </td><td> Blue componant. </td></tr> <tr><td valign=top><em>a</em> </td><td> Alpha componant. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00376">376</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> References <a class="el" href="rgba_8h-source.html#l00441">A</a>, <a class="el" href="rgba_8h-source.html#l00439">B</a>, <a class="el" href="rgba_8h-source.html#l00437">G</a>, <a class="el" href="rgba_8h-source.html#l00435">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a8" doxytag="NLMISC::CBGRA::blendFromui"></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 NLMISC::CBGRA::blendFromui </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">CBGRA & </td> <td class="mdname" nowrap> <em>c0</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>CBGRA & </td> <td class="mdname" nowrap> <em>c1</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> <td class="mdname" nowrap> <em>factor</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> Blend two colors. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>c0</em> </td><td> Color 0. </td></tr> <tr><td valign=top><em>c1</em> </td><td> Color 1. </td></tr> <tr><td valign=top><em>factor</em> </td><td> Blend factor. 0~256. 0 return c0 and 256 return c1. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="rgba_8cpp-source.html#l00596">596</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>. </td> </tr> </table> <a name="a4" doxytag="NLMISC::CBGRA::getPacked"></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="memory__common_8h.html#a15">uint</a> NLMISC::CBGRA::getPacked </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return a packed pixel. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00390">390</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> References <a class="el" href="rgba_8h-source.html#l00441">A</a>, <a class="el" href="rgba_8h-source.html#l00439">B</a>, <a class="el" href="rgba_8h-source.html#l00437">G</a>, and <a class="el" href="rgba_8h-source.html#l00435">R</a>. <p> Referenced by <a class="el" href="rgba_8h-source.html#l00398">operator<</a>. </td> </tr> </table> <a name="a3" doxytag="NLMISC::CBGRA::operator CRGBA"></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"> NLMISC::CBGRA::operator <a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</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]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Cast operator to <a class="el" href="classNLMISC_1_1CRGBA.html">CRGBA</a>. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00382">382</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> References <a class="el" href="rgba_8h-source.html#l00441">A</a>, <a class="el" href="rgba_8h-source.html#l00439">B</a>, <a class="el" href="rgba_8h-source.html#l00437">G</a>, and <a class="el" href="rgba_8h-source.html#l00435">R</a>. </td> </tr> </table> <a name="a5" doxytag="NLMISC::CBGRA::operator<"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool NLMISC::CBGRA::operator< </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const CBGRA & </td> <td class="mdname1" valign="top" nowrap> <em>c</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Comparison operator. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00398">398</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> References <a class="el" href="rgba_8h-source.html#l00355">CBGRA</a>, and <a class="el" href="rgba_8h-source.html#l00390">getPacked</a>. </td> </tr> </table> <a name="a6" doxytag="NLMISC::CBGRA::operator=="></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool NLMISC::CBGRA::operator== </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const CBGRA & </td> <td class="mdname1" valign="top" nowrap> <em>c</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Equality operator. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00406">406</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> References <a class="el" href="rgba_8h-source.html#l00441">A</a>, <a class="el" href="rgba_8h-source.html#l00439">B</a>, <a class="el" href="rgba_8h-source.html#l00355">CBGRA</a>, <a class="el" href="rgba_8h-source.html#l00437">G</a>, and <a class="el" href="rgba_8h-source.html#l00435">R</a>. </td> </tr> </table> <a name="a7" doxytag="NLMISC::CBGRA::serial"></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 NLMISC::CBGRA::serial </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">class <a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> & </td> <td class="mdname1" valign="top" nowrap> <em>f</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Serialisation. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>f</em> </td><td> Stream used for serialisation. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="rgba_8cpp-source.html#l00580">580</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>. <p> References <a class="el" href="rgba_8h-source.html#l00441">A</a>, <a class="el" href="rgba_8h-source.html#l00439">B</a>, <a class="el" href="rgba_8h-source.html#l00437">G</a>, and <a class="el" href="rgba_8h-source.html#l00435">R</a>. </td> </tr> </table> <a name="a9" doxytag="NLMISC::CBGRA::set"></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 NLMISC::CBGRA::set </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>r</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>g</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>b</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> <td class="mdname" nowrap> <em>a</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> Set colors. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>r</em> </td><td> Red componant. </td></tr> <tr><td valign=top><em>g</em> </td><td> Green componant. </td></tr> <tr><td valign=top><em>b</em> </td><td> Blue componant. </td></tr> <tr><td valign=top><em>a</em> </td><td> Alpha componant. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="rgba_8cpp-source.html#l00588">588</a> of file <a class="el" href="rgba_8cpp-source.html">rgba.cpp</a>. <p> References <a class="el" href="rgba_8h-source.html#l00441">A</a>, <a class="el" href="rgba_8h-source.html#l00439">B</a>, <a class="el" href="rgba_8h-source.html#l00437">G</a>, <a class="el" href="rgba_8h-source.html#l00435">R</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="m3" doxytag="NLMISC::CBGRA::A"></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="memory__common_8h.html#a7">uint8</a> NLMISC::CBGRA::A </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Alpha componant. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00441">441</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> Referenced by <a class="el" href="rgba_8h-source.html#l00361">CBGRA</a>, <a class="el" href="rgba_8h-source.html#l00390">getPacked</a>, <a class="el" href="rgba_8h-source.html#l00382">operator CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00406">operator==</a>, <a class="el" href="rgba_8cpp-source.html#l00580">serial</a>, and <a class="el" href="rgba_8cpp-source.html#l00588">set</a>. </td> </tr> </table> <a name="m2" doxytag="NLMISC::CBGRA::B"></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="memory__common_8h.html#a7">uint8</a> NLMISC::CBGRA::B </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Blue componant. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00439">439</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> Referenced by <a class="el" href="rgba_8h-source.html#l00361">CBGRA</a>, <a class="el" href="rgba_8h-source.html#l00390">getPacked</a>, <a class="el" href="rgba_8h-source.html#l00382">operator CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00406">operator==</a>, <a class="el" href="rgba_8cpp-source.html#l00580">serial</a>, and <a class="el" href="rgba_8cpp-source.html#l00588">set</a>. </td> </tr> </table> <a name="m1" doxytag="NLMISC::CBGRA::G"></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="memory__common_8h.html#a7">uint8</a> NLMISC::CBGRA::G </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Green componant. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00437">437</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> Referenced by <a class="el" href="rgba_8h-source.html#l00361">CBGRA</a>, <a class="el" href="rgba_8h-source.html#l00390">getPacked</a>, <a class="el" href="rgba_8h-source.html#l00382">operator CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00406">operator==</a>, <a class="el" href="rgba_8cpp-source.html#l00580">serial</a>, and <a class="el" href="rgba_8cpp-source.html#l00588">set</a>. </td> </tr> </table> <a name="m0" doxytag="NLMISC::CBGRA::R"></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="memory__common_8h.html#a7">uint8</a> NLMISC::CBGRA::R </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Red componant. <p> <p> Definition at line <a class="el" href="rgba_8h-source.html#l00435">435</a> of file <a class="el" href="rgba_8h-source.html">rgba.h</a>. <p> Referenced by <a class="el" href="rgba_8h-source.html#l00361">CBGRA</a>, <a class="el" href="rgba_8h-source.html#l00390">getPacked</a>, <a class="el" href="rgba_8h-source.html#l00382">operator CRGBA</a>, <a class="el" href="rgba_8h-source.html#l00406">operator==</a>, <a class="el" href="rgba_8cpp-source.html#l00580">serial</a>, and <a class="el" href="rgba_8cpp-source.html#l00588">set</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="rgba_8h-source.html">rgba.h</a><li><a class="el" href="rgba_8cpp-source.html">rgba.cpp</a></ul> <!-- footer --> <BR><FONT Size=+5> </FONT> </TD> <TD WIDTH=15><IMG SRC=/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> </TR> </TABLE> </BODY> </HTML>