diff options
Diffstat (limited to 'docs/doxygen/nel/a02260.html')
-rw-r--r-- | docs/doxygen/nel/a02260.html | 656 |
1 files changed, 656 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02260.html b/docs/doxygen/nel/a02260.html new file mode 100644 index 00000000..cdc0d3c2 --- /dev/null +++ b/docs/doxygen/nel/a02260.html @@ -0,0 +1,656 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLMISC::CBGRA class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLMISC::CBGRA Class Reference</h1><code>#include <<a class="el" href="a06340.html">rgba.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Class pixel BGRA, Windows style pixel. <dl compact><dt><b>Author:</b></dt><dd>Cyril Corvazier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06340.html#l00361">361</a> of file <a class="el" href="a06340.html">rgba.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa0">blendFromui</a> (<a class="el" href="a02260.html">CBGRA</a> &c0, <a class="el" href="a02260.html">CBGRA</a> &c1, <a class="el" href="a04558.html#a15">uint</a> factor)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa1">CBGRA</a> (<a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a04223.html#a628">r</a>, <a class="el" href="a04558.html#a7">uint8</a> g, <a class="el" href="a04558.html#a7">uint8</a> b, <a class="el" href="a04558.html#a7">uint8</a> a=255)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa2">CBGRA</a> (<a class="el" href="a03337.html">CRGBA</a> c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa3">CBGRA</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. do nothing. <a href="#NLMISC_1_1CBGRAa3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa4">getPacked</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa5">operator CRGBA</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa6">operator<</a> (const <a class="el" href="a02260.html">CBGRA</a> &c) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa7">operator==</a> (const <a class="el" href="a02260.html">CBGRA</a> &c) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa8">serial</a> (class <a class="el" href="a02270.html">NLMISC::IStream</a> &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAa9">set</a> (<a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a04223.html#a628">r</a>, <a class="el" href="a04558.html#a7">uint8</a> g, <a class="el" href="a04558.html#a7">uint8</a> b, <a class="el" href="a04558.html#a7">uint8</a> a)</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAo0">A</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Alpha componant. <a href="#NLMISC_1_1CBGRAo0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAo1">B</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Blue componant. <a href="#NLMISC_1_1CBGRAo1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAo2">G</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Green componant. <a href="#NLMISC_1_1CBGRAo2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02260.html#NLMISC_1_1CBGRAo3">R</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Red componant. <a href="#NLMISC_1_1CBGRAo3"></a><br><br></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLMISC_1_1CBGRAa3" doxytag="NLMISC::CBGRA::CBGRA" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> 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="a06340.html#l00366">366</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +<div class="fragment"><pre>00366 {}; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa2" doxytag="NLMISC::CBGRA::CBGRA" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CBGRA::CBGRA </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.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="a03337.html">CRGBA</a> <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>c</em> </td><td><a class="el" href="a03337.html">CRGBA</a> color.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06340.html#l00372">372</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +References <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a06340.html#l00338">NLMISC::CRGBA::B</a>, <a class="el" href="a06340.html#l00336">NLMISC::CRGBA::G</a>, and <a class="el" href="a06340.html#l00334">NLMISC::CRGBA::R</a>. +<p> +<div class="fragment"><pre>00373 { +00374 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo3">R</a>=c.R; +00375 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo2">G</a>=c.G; +00376 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo1">B</a>=c.B; +00377 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo0">A</a>=c.A; +00378 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa1" doxytag="NLMISC::CBGRA::CBGRA" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CBGRA::CBGRA </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>r</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>g</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>b</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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. <dl compact><dt><b>Parameters:</b></dt><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="a06340.html#l00387">387</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +References <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00387 : +00388 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo3">R</a>(r), <a class="code" href="a02260.html#NLMISC_1_1CBGRAo2">G</a>(g), <a class="code" href="a02260.html#NLMISC_1_1CBGRAo1">B</a>(b), <a class="code" href="a02260.html#NLMISC_1_1CBGRAo0">A</a>(a) {} + +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1CBGRAa0" doxytag="NLMISC::CBGRA::blendFromui" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBGRA::blendFromui </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02260.html">CBGRA</a> & </td> + <td class="mdname" nowrap> <em>c0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02260.html">CBGRA</a> & </td> + <td class="mdname" nowrap> <em>c1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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. <dl compact><dt><b>Parameters:</b></dt><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="a06339.html#l00597">597</a> of file <a class="el" href="a06339.html">rgba.cpp</a>. +<p> +References <a class="el" href="a06340.html#l00452">A</a>, <a class="el" href="a06340.html#l00450">B</a>, <a class="el" href="a06340.html#l00448">G</a>, <a class="el" href="a06340.html#l00446">R</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00598 { +00599 <span class="keywordtype">int</span> a1 = coef; +00600 <span class="keywordtype">int</span> a2 = 256-a1; +00601 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo3">R</a> = (c0.R*a2 + c1.R*a1) >>8; +00602 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo2">G</a> = (c0.G*a2 + c1.G*a1) >>8; +00603 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo1">B</a> = (c0.B*a2 + c1.B*a1) >>8; +00604 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo0">A</a> = (c0.A*a2 + c1.A*a1) >>8; +00605 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa4" doxytag="NLMISC::CBGRA::getPacked" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#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> +Definition at line <a class="el" href="a06340.html#l00401">401</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06340.html#l00409">operator<()</a>. +<p> +<div class="fragment"><pre>00402 { +00403 <span class="keywordflow">return</span> ((<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02260.html#NLMISC_1_1CBGRAo3">R</a><<24) + ((<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02260.html#NLMISC_1_1CBGRAo2">G</a><<16) + ((<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02260.html#NLMISC_1_1CBGRAo1">B</a><<8) + <a class="code" href="a02260.html#NLMISC_1_1CBGRAo0">A</a>; +00404 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa5" doxytag="NLMISC::CBGRA::operator CRGBA" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CBGRA::operator <a class="el" href="a03337.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="a03337.html">CRGBA</a>. +<p> +Definition at line <a class="el" href="a06340.html#l00393">393</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +<div class="fragment"><pre>00394 { +00395 <span class="keywordflow">return</span> CRGBA (R, G, B, A); +00396 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa6" doxytag="NLMISC::CBGRA::operator<" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBGRA::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02260.html">CBGRA</a> & </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> +Definition at line <a class="el" href="a06340.html#l00409">409</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +References <a class="el" href="a06340.html#l00401">getPacked()</a>. +<p> +<div class="fragment"><pre>00410 { +00411 <span class="keywordflow">return</span> <a class="code" href="a02260.html#NLMISC_1_1CBGRAa4">getPacked</a>()<c.getPacked(); +00412 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa7" doxytag="NLMISC::CBGRA::operator==" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBGRA::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02260.html">CBGRA</a> & </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> +Definition at line <a class="el" href="a06340.html#l00417">417</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +References <a class="el" href="a06340.html#l00452">A</a>, <a class="el" href="a06340.html#l00450">B</a>, <a class="el" href="a06340.html#l00448">G</a>, and <a class="el" href="a06340.html#l00446">R</a>. +<p> +<div class="fragment"><pre>00418 { +00419 <span class="keywordflow">return</span> <a class="code" href="a02260.html#NLMISC_1_1CBGRAo3">R</a>==c.R && <a class="code" href="a02260.html#NLMISC_1_1CBGRAo2">G</a>==c.G && <a class="code" href="a02260.html#NLMISC_1_1CBGRAo1">B</a>==c.B && <a class="code" href="a02260.html#NLMISC_1_1CBGRAo0">A</a>==c.A; +00420 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa8" doxytag="NLMISC::CBGRA::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBGRA::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">class <a class="el" href="a02270.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. <dl compact><dt><b>Parameters:</b></dt><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="a06339.html#l00581">581</a> of file <a class="el" href="a06339.html">rgba.cpp</a>. +<p> +<div class="fragment"><pre>00582 { +00583 f.serial (B); +00584 f.serial (G); +00585 f.serial (R); +00586 f.serial (A); +00587 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAa9" doxytag="NLMISC::CBGRA::set" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBGRA::set </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>r</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>g</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>b</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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. <dl compact><dt><b>Parameters:</b></dt><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="a06339.html#l00589">589</a> of file <a class="el" href="a06339.html">rgba.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00590 { +00591 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo3">R</a> = <a class="code" href="a04223.html#a628">r</a>; +00592 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo2">G</a> = g; +00593 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo1">B</a> = b; +00594 <a class="code" href="a02260.html#NLMISC_1_1CBGRAo0">A</a> = a; +00595 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLMISC_1_1CBGRAo0" doxytag="NLMISC::CBGRA::A" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02260.html#NLMISC_1_1CBGRAo0">NLMISC::CBGRA::A</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="a06340.html#l00452">452</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +Referenced by <a class="el" href="a06339.html#l00597">blendFromui()</a>, and <a class="el" href="a06340.html#l00417">operator==()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAo1" doxytag="NLMISC::CBGRA::B" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02260.html#NLMISC_1_1CBGRAo1">NLMISC::CBGRA::B</a> + </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="a06340.html#l00450">450</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +Referenced by <a class="el" href="a06339.html#l00597">blendFromui()</a>, and <a class="el" href="a06340.html#l00417">operator==()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAo2" doxytag="NLMISC::CBGRA::G" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02260.html#NLMISC_1_1CBGRAo2">NLMISC::CBGRA::G</a> + </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="a06340.html#l00448">448</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +Referenced by <a class="el" href="a06339.html#l00597">blendFromui()</a>, and <a class="el" href="a06340.html#l00417">operator==()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CBGRAo3" doxytag="NLMISC::CBGRA::R" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a02260.html#NLMISC_1_1CBGRAo3">NLMISC::CBGRA::R</a> + </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="a06340.html#l00446">446</a> of file <a class="el" href="a06340.html">rgba.h</a>. +<p> +Referenced by <a class="el" href="a06339.html#l00597">blendFromui()</a>, and <a class="el" href="a06340.html#l00417">operator==()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06340.html">rgba.h</a><li><a class="el" href="a06339.html">rgba.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:02:04 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |