Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 2232

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: csgfx/rgbpixel.h File Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>csgfx/rgbpixel.h File Reference</h1>RGB colors. <a href="#_details">More...</a>
<p>
<code>#include &quot;csextern.h&quot;</code><br>
<code>#include &quot;<a class="el" href="comparator_8h-source.html">csutil/comparator.h</a>&quot;</code><br>

<p>
<a href="rgbpixel_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsComparator_3_01csRGBcolor_01_5_00_01csRGBcolor_01_5_01_4.html">csComparator&lt; csRGBcolor *, csRGBcolor * &gt;</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">csComparator&lt;&gt; specialization for csColor*.  <a href="classcsComparator_3_01csRGBcolor_01_5_00_01csRGBcolor_01_5_01_4.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsComparator_3_01csRGBcolor_00_01csRGBcolor_01_4.html">csComparator&lt; csRGBcolor, csRGBcolor &gt;</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">csComparator&lt;&gt; specialization for <a class="el" href="structcsRGBcolor.html" title="An RGB color.">csRGBcolor</a>.  <a href="classcsComparator_3_01csRGBcolor_00_01csRGBcolor_01_4.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsRGBcolor.html">csRGBcolor</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An RGB color.  <a href="structcsRGBcolor.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsRGBpixel.html">csRGBpixel</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An RGB pixel.  <a href="structcsRGBpixel.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Eye sensivity to different color components</div></td></tr>
<tr><td colspan="2"><div class="groupText">Eye sensivity to different color components, from NTSC grayscale equation.<p>
The coefficients are multiplied by 100 and rounded towards nearest integer, to facilitate integer math. The squared coefficients are also multiplied by 100 and rounded to nearest integer (thus 173 == 1.73, 242 == 2.42 etc). <br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gfx.html#gdb10058e64166c47bae8a5a2fe530d79">B_COEF</a>&nbsp;&nbsp;&nbsp;107</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Blue component sensivity.  <a href="group__gfx.html#gdb10058e64166c47bae8a5a2fe530d79"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gfx.html#g054e602cf24056da9a48adc676358e37">G_COEF</a>&nbsp;&nbsp;&nbsp;242</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Green component sensivity.  <a href="group__gfx.html#g054e602cf24056da9a48adc676358e37"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gfx.html#g7586b393cb9e1dfc0006f4b8ec945239">R_COEF</a>&nbsp;&nbsp;&nbsp;173</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Red component sensivity.  <a href="group__gfx.html#g7586b393cb9e1dfc0006f4b8ec945239"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Eye sensivity to different color components, squared</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gfx.html#g908a17fc1f44ec18e06974a1013d2a5f">B_COEF_SQ</a>&nbsp;&nbsp;&nbsp;114</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Blue component sensivity, squared.  <a href="group__gfx.html#g908a17fc1f44ec18e06974a1013d2a5f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gfx.html#g04d98bf1813193e592d83eba1712a52e">G_COEF_SQ</a>&nbsp;&nbsp;&nbsp;587</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Green component sensivity, squared.  <a href="group__gfx.html#g04d98bf1813193e592d83eba1712a52e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gfx.html#g3e6bcc20975b271236d5f6f9f9e44d86">R_COEF_SQ</a>&nbsp;&nbsp;&nbsp;299</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Red component sensivity, squared.  <a href="group__gfx.html#g3e6bcc20975b271236d5f6f9f9e44d86"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
RGB colors. 
<p>

<p>Definition in file <a class="el" href="rgbpixel_8h-source.html">rgbpixel.h</a>.</p>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>