summaryrefslogtreecommitdiffstats
path: root/ue2/doxygen/cpixelformat__indexed8_8h-source.html
diff options
context:
space:
mode:
authormanuel <manuel@nc8430.lan>2009-05-02 18:58:26 +0200
committermanuel <manuel@nc8430.lan>2009-05-02 18:58:26 +0200
commit93a6590af7f866838d883d92fac655251685c3d7 (patch)
tree57401b84345a4a36cee8cca2731fe567577f29e2 /ue2/doxygen/cpixelformat__indexed8_8h-source.html
parentbc94c4be2e7e37f1f3e8892dc115e61ed6b640e7 (diff)
downloadooprog-93a6590af7f866838d883d92fac655251685c3d7.tar.gz
ooprog-93a6590af7f866838d883d92fac655251685c3d7.tar.bz2
ooprog-93a6590af7f866838d883d92fac655251685c3d7.zip
adding doxygen files
Diffstat (limited to 'ue2/doxygen/cpixelformat__indexed8_8h-source.html')
-rw-r--r--ue2/doxygen/cpixelformat__indexed8_8h-source.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/ue2/doxygen/cpixelformat__indexed8_8h-source.html b/ue2/doxygen/cpixelformat__indexed8_8h-source.html
new file mode 100644
index 0000000..ab1c2db
--- /dev/null
+++ b/ue2/doxygen/cpixelformat__indexed8_8h-source.html
@@ -0,0 +1,56 @@
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>imgsynth2: imgsynth2/cpixelformat_indexed8.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.3 -->
8<div class="tabs">
9 <ul>
10 <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
12 <li><a href="annotated.html"><span>Classes</span></a></li>
13 <li class="current"><a href="files.html"><span>Files</span></a></li>
14 </ul>
15</div>
16<h1>imgsynth2/cpixelformat_indexed8.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
17<a name="l00008"></a>00008 <span class="preprocessor">#ifndef CPixelFormat_Indexed8_H</span>
18<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define CPixelFormat_Indexed8_H</span>
19<a name="l00010"></a>00010 <span class="preprocessor"></span>
20<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;fstream&gt;</span>
21<a name="l00012"></a>00012 <span class="preprocessor">#include "cpixelformat.h"</span>
22<a name="l00013"></a>00013
23<a name="l00020"></a><a class="code" href="classCPixelFormat__Indexed8.html">00020</a> <span class="keyword">class </span><a class="code" href="classCPixelFormat__Indexed8.html" title="Implementation of CPixelFormat handling 24bit indexed bitmaps.">CPixelFormat_Indexed8</a> : <span class="keyword">public</span> <a class="code" href="classCPixelFormat.html" title="Abstract class for handling different color bitcount of Bitmaps.">CPixelFormat</a>
24<a name="l00021"></a>00021 {
25<a name="l00022"></a>00022 <span class="keyword">public</span>:
26<a name="l00032"></a><a class="code" href="classCPixelFormat__Indexed8.html#bbc3a8d9c76664f87d2eda110880bfb5">00032</a> <a class="code" href="classCPixelFormat__Indexed8.html#bbc3a8d9c76664f87d2eda110880bfb5" title="Default ctor.">CPixelFormat_Indexed8</a>(<a class="code" href="classCBitmap.html" title="Abstract implementation of CFile handling Bitmaps.">CBitmap</a> *bitmap)
27<a name="l00033"></a>00033 : <a class="code" href="classCPixelFormat.html" title="Abstract class for handling different color bitcount of Bitmaps.">CPixelFormat</a>(bitmap)
28<a name="l00034"></a>00034 {}
29<a name="l00035"></a>00035
30<a name="l00045"></a><a class="code" href="classCPixelFormat__Indexed8.html#781e9e7d62c23dd491b8288b1a26b393">00045</a> <a class="code" href="classCPixelFormat__Indexed8.html#781e9e7d62c23dd491b8288b1a26b393" title="Default dtor.">~CPixelFormat_Indexed8</a>()
31<a name="l00046"></a>00046 {}
32<a name="l00047"></a>00047
33<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="classCPixelFormat__Indexed8.html#d77b6e03ca34e354e1abf81ae8646eea" title="Get pixel at coordinates x, y.">getPixel</a>(RGBPIXEL&amp; pixel, uint32_t x, uint32_t y);
34<a name="l00060"></a>00060
35<a name="l00072"></a>00072 <span class="keywordtype">void</span> <a class="code" href="classCPixelFormat__Indexed8.html#6b2792a98b8f06f0ed014054b9218fdf" title="Modifies pixel at coordinates x, y.">setPixel</a>(<span class="keyword">const</span> RGBPIXEL&amp; pixel, uint32_t x, uint32_t y);
36<a name="l00073"></a>00073
37<a name="l00083"></a><a class="code" href="classCPixelFormat__Indexed8.html#677d751409dc57344b0ca5f6787ead0c">00083</a> uint32_t <a class="code" href="classCPixelFormat__Indexed8.html#677d751409dc57344b0ca5f6787ead0c" title="returns the bitcount needed for indexing the color tabel.">getBitCount</a>()
38<a name="l00084"></a>00084 {
39<a name="l00085"></a>00085 <span class="keywordflow">return</span> 24;
40<a name="l00086"></a>00086 }
41<a name="l00087"></a>00087
42<a name="l00097"></a><a class="code" href="classCPixelFormat__Indexed8.html#d56bbec5d00cbd3c60f21fecc6ebc1a4">00097</a> <span class="keywordtype">void</span> <a class="code" href="classCPixelFormat__Indexed8.html#d56bbec5d00cbd3c60f21fecc6ebc1a4" title="Get maximum values for RGB pixel.">getMaxColor</a>(RGBPIXEL&amp; pixel)
43<a name="l00098"></a>00098 {
44<a name="l00099"></a>00099 <span class="comment">/* value = 2^8 - 1 */</span>
45<a name="l00100"></a>00100 pixel.red = pixel.green = pixel.blue = 255;
46<a name="l00101"></a>00101 }
47<a name="l00102"></a>00102 };
48<a name="l00103"></a>00103
49<a name="l00104"></a>00104 <span class="preprocessor">#endif</span>
50<a name="l00105"></a>00105 <span class="preprocessor"></span>
51<a name="l00106"></a>00106 <span class="comment">/* vim: set et sw=2 ts=2: */</span>
52</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 18:58:11 2009 for imgsynth2 by&nbsp;
53<a href="http://www.doxygen.org/index.html">
54<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
55</body>
56</html>