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/class_NLMISC__CRGBA.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/class_NLMISC__CRGBA.html | 1151 |
1 files changed, 1151 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NLMISC__CRGBA.html b/docs/doxygen/nel/class_NLMISC__CRGBA.html new file mode 100644 index 00000000..ccbf803f --- /dev/null +++ b/docs/doxygen/nel/class_NLMISC__CRGBA.html @@ -0,0 +1,1151 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.2 on Thu May 24 22:34:48 2001 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NLMISC::CRGBA Class Reference</h1>Class pixel RGBA. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="rgba_h-source.html">rgba.h</a>></code> +<p> +Collaboration diagram for NLMISC::CRGBA:<p><center><img src="class_NLMISC__CRGBA_coll_graph.gif" border="0" usemap="#NLMISC::CRGBA_coll_map" alt="Collaboration graph"></center> +<map name="NLMISC::CRGBA_coll_map"> +</map> +<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NLMISC__CRGBA-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a0">CRGBA</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="class_NLMISC__CRGBA.html#a1">CRGBA</a> (<a class="el" href="types_nl_h.html#a5">uint8</a> r, <a class="el" href="types_nl_h.html#a5">uint8</a> g, <a class="el" href="types_nl_h.html#a5">uint8</a> b, <a class="el" href="types_nl_h.html#a5">uint8</a> a=255)</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a13">uint</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a2">getPacked</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return a packed pixel.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a3">operator<</a> (const CRGBA &c) const</td></tr> +<tr><td> </td><td><font size=-1><em>Comparison operator.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a4">operator!=</a> (const CRGBA &c) const</td></tr> +<tr><td> </td><td><font size=-1><em>Comparison operator.</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="class_NLMISC__CRGBA.html#a5">operator==</a> (const CRGBA &c) const</td></tr> +<tr><td> </td><td><font size=-1><em>Equality operator.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a6">serial</a> (class <a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a> &f)</td></tr> +<tr><td> </td><td><font size=-1><em>Serialisation.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a7">blendFromui</a> (const CRGBA &c0, const CRGBA &c1, <a class="el" href="types_nl_h.html#a13">uint</a> coef)</td></tr> +<tr><td> </td><td><font size=-1><em>Blend two colors.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a8">modulateFromui</a> (CRGBA &c0, <a class="el" href="types_nl_h.html#a13">uint</a> a)</td></tr> +<tr><td> </td><td><font size=-1><em>Modulate colors with a constant.</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="class_NLMISC__CRGBA.html#a9">modulateFromColor</a> (const CRGBA &c0, const CRGBA &c1)</td></tr> +<tr><td> </td><td><font size=-1><em>Modulate colors with another color.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a10">set</a> (<a class="el" href="types_nl_h.html#a5">uint8</a> r, <a class="el" href="types_nl_h.html#a5">uint8</a> g, <a class="el" href="types_nl_h.html#a5">uint8</a> b, <a class="el" href="types_nl_h.html#a5">uint8</a> a=255)</td></tr> +<tr><td> </td><td><font size=-1><em>Set colors.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a7">uint16</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a11">get565</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get a 16 bits 565 pixel.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a12">set565</a> (<a class="el" href="types_nl_h.html#a7">uint16</a> col)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the RGB fields with a 16 bits 565 pixel.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a13">avg2</a> (const CRGBA &a, const CRGBA &b)</td></tr> +<tr><td> </td><td><font size=-1><em>Compute in this the average of 2 RGBA.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#a14">avg4</a> (const CRGBA &a, const CRGBA &b, const CRGBA &c, const CRGBA &d)</td></tr> +<tr><td> </td><td><font size=-1><em>Compute in this the average of 4 RGBA.</em> <a href="#a14">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="types_nl_h.html#a5">uint8</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.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="types_nl_h.html#a5">uint8</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.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="types_nl_h.html#a5">uint8</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.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="types_nl_h.html#a5">uint8</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.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> +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p0">Black</a></td></tr> +<tr><td> </td><td><font size=-1><em>some colors.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p1">Red</a></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p2">Green</a></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p3">Yellow</a></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p4">Blue</a></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p5">Magenta</a></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p6">Cyan</a></td></tr> +<tr><td nowrap align=right valign=top>const CRGBA </td><td valign=bottom><a class="el" href="class_NLMISC__CRGBA.html#p7">White</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Class pixel RGBA. +<p> +<dl compact><dt> +<b>Author(s): </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_h-source.html#l00043">43</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +NLMISC::CRGBA::CRGBA ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Default constructor. do nothing. +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00048">48</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +NLMISC::CRGBA::CRGBA ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>r</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>g</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>b</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>a</em> = 255 )<code> [inline]</code> + </b></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_h-source.html#l00057">57</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a13" doxytag="NLMISC::CRGBA::avg2"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CRGBA::avg2 ( + </b></td> + <td valign="bottom"><b> +const CRGBA & <em>a</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CRGBA & <em>b</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute in this the average of 2 RGBA. +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00166">166</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NLMISC::CRGBA::avg4"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CRGBA::avg4 ( + </b></td> + <td valign="bottom"><b> +const CRGBA & <em>a</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CRGBA & <em>b</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CRGBA & <em>c</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CRGBA & <em>d</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute in this the average of 4 RGBA. +<p> +The average is "correct": +1 is added to the four color, to make a "round" like average. +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00178">178</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +void NLMISC::CRGBA::blendFromui ( + </b></td> + <td valign="bottom"><b> +const CRGBA & <em>c0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CRGBA & <em>c1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>coef</em> )<code> [inline]</code> + </b></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>coef</em> + </td><td> + Blend factor. 0~255. 0 return c0 and 255 return c1. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00092">92</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. +<p> +Referenced by <a class="el" href="bitmap_cpp-source.html#l00843">NLMISC::CBitmap::decompressDXT1</a>(), <a class="el" href="bitmap_cpp-source.html#l00958">NLMISC::CBitmap::decompressDXT3</a>(), and <a class="el" href="bitmap_cpp-source.html#l01075">NLMISC::CBitmap::decompressDXT5</a>(). </td> + </tr> +</table> +<a name="a11" doxytag="NLMISC::CRGBA::get565"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a7">uint16</a> NLMISC::CRGBA::get565 ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a 16 bits 565 pixel. +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00142">142</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a13">uint</a> NLMISC::CRGBA::getPacked ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a packed pixel. +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00063">63</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NLMISC::CRGBA::modulateFromColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CRGBA::modulateFromColor ( + </b></td> + <td valign="bottom"><b> +const CRGBA & <em>c0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CRGBA & <em>c1</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Modulate colors with another color. +<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. c0*c1 returned into this. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00121">121</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLMISC::CRGBA::modulateFromui"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CRGBA::modulateFromui ( + </b></td> + <td valign="bottom"><b> +CRGBA & <em>c0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>a</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Modulate colors with a constant. +<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>a</em> + </td><td> + E [0,255]. c0*a returned into this. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00107">107</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. +<p> +Referenced by <a class="el" href="ps_particle_cpp-source.html#l02606">NL3D::CPSRibbon::setupColor</a>(), and <a class="el" href="ps_particle_cpp-source.html#l01711">NL3D::CPSTailDot::setupColor</a>(). </td> + </tr> +</table> +<a name="a4" doxytag="NLMISC::CRGBA::operator!="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NLMISC::CRGBA::operator!= ( + </b></td> + <td valign="bottom"><b> +const CRGBA & <em>c</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00072">72</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NLMISC::CRGBA::operator<"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NLMISC::CRGBA::operator< ( + </b></td> + <td valign="bottom"><b> +const CRGBA & <em>c</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00068">68</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLMISC::CRGBA::operator=="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NLMISC::CRGBA::operator== ( + </b></td> + <td valign="bottom"><b> +const CRGBA & <em>c</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00077">77</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +void NLMISC::CRGBA::serial ( + </b></td> + <td valign="bottom"><b> +class <a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a> & <em>f</em> ) + </b></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_cpp-source.html#l00052">52</a> of file <a class="el" href="rgba_cpp-source.html">rgba.cpp</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +void NLMISC::CRGBA::set ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>r</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>g</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>b</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>a</em> = 255 ) + </b></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_cpp-source.html#l00060">60</a> of file <a class="el" href="rgba_cpp-source.html">rgba.cpp</a>. +<p> +Referenced by <a class="el" href="bitmap_cpp-source.html#l00843">NLMISC::CBitmap::decompressDXT1</a>(), <a class="el" href="bitmap_cpp-source.html#l00958">NLMISC::CBitmap::decompressDXT3</a>(), <a class="el" href="bitmap_cpp-source.html#l01075">NLMISC::CBitmap::decompressDXT5</a>(), and <a class="el" href="bitmap_cpp-source.html#l00140">NLMISC::CBitmap::makeDummy</a>(). </td> + </tr> +</table> +<a name="a12" doxytag="NLMISC::CRGBA::set565"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CRGBA::set565 ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a7">uint16</a> <em>col</em> )<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the RGB fields with a 16 bits 565 pixel. +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00150">150</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="m3" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> NLMISC::CRGBA::A + </b></td> + </tr> + + </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_h-source.html#l00194">194</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="m2" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> NLMISC::CRGBA::B + </b></td> + </tr> + + </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_h-source.html#l00192">192</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="p0" doxytag="NLMISC::CRGBA::Black"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::Black<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +some colors. +<p> + </td> + </tr> +</table> +<a name="p4" doxytag="NLMISC::CRGBA::Blue"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::Blue<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00202">202</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="p6" doxytag="NLMISC::CRGBA::Cyan"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::Cyan<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00204">204</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="m1" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> NLMISC::CRGBA::G + </b></td> + </tr> + + </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_h-source.html#l00190">190</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="p2" doxytag="NLMISC::CRGBA::Green"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::Green<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00200">200</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="p5" doxytag="NLMISC::CRGBA::Magenta"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::Magenta<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00203">203</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="m0" doxytag="NLMISC::CRGBA::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 nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> NLMISC::CRGBA::R + </b></td> + </tr> + + </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_h-source.html#l00188">188</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="p1" doxytag="NLMISC::CRGBA::Red"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::Red<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00199">199</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="p7" doxytag="NLMISC::CRGBA::White"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::White<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00205">205</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<a name="p3" doxytag="NLMISC::CRGBA::Yellow"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const CRGBA NLMISC::CRGBA::Yellow<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="rgba_h-source.html#l00201">201</a> of file <a class="el" href="rgba_h-source.html">rgba.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="rgba_h-source.html">rgba.h</a><li><a class="el" href="rgba_cpp-source.html">rgba.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |