diff options
| author | manuel <manuel@nc8430.lan> | 2009-04-27 00:24:16 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-04-27 00:24:16 +0200 |
| commit | 384539f7cc9feaa7ef7cee385cce472c6966c843 (patch) | |
| tree | 42d3cbc96d44087c0b6bbe8d41710e5c5f1efced /ue1/doxygen/cpixelformat_8h-source.html | |
| download | ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.tar.gz ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.tar.bz2 ooprog-384539f7cc9feaa7ef7cee385cce472c6966c843.zip | |
Adding ue1
Diffstat (limited to 'ue1/doxygen/cpixelformat_8h-source.html')
| -rw-r--r-- | ue1/doxygen/cpixelformat_8h-source.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/ue1/doxygen/cpixelformat_8h-source.html b/ue1/doxygen/cpixelformat_8h-source.html new file mode 100644 index 0000000..09a2096 --- /dev/null +++ b/ue1/doxygen/cpixelformat_8h-source.html | |||
| @@ -0,0 +1,59 @@ | |||
| 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>imgsynth: imgsynth/cpixelformat.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 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>imgsynth/cpixelformat.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 | ||
| 17 | <a name="l00009"></a>00009 <span class="preprocessor">#ifndef CPIXELFORMAT_H</span> | ||
| 18 | <a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define CPIXELFORMAT_H</span> | ||
| 19 | <a name="l00011"></a>00011 <span class="preprocessor"></span> | ||
| 20 | <a name="l00012"></a>00012 <span class="preprocessor">#include <fstream></span> | ||
| 21 | <a name="l00013"></a>00013 <span class="preprocessor">#include <stdexcept></span> | ||
| 22 | <a name="l00014"></a>00014 | ||
| 23 | <a name="l00015"></a>00015 <span class="keyword">class </span><a class="code" href="classCBitmap.html" title="Implementation of CFile handling Windows Bitmaps.">CBitmap</a>; | ||
| 24 | <a name="l00016"></a>00016 <span class="preprocessor">#include "cbitmap.h"</span> | ||
| 25 | <a name="l00017"></a>00017 | ||
| 26 | <a name="l00026"></a><a class="code" href="classCPixelFormat.html">00026</a> <span class="keyword">class </span><a class="code" href="classCPixelFormat.html" title="Abstract class for handling different color bitcount of Bitmaps.">CPixelFormat</a> | ||
| 27 | <a name="l00027"></a>00027 { | ||
| 28 | <a name="l00028"></a>00028 <span class="keyword">public</span>: | ||
| 29 | <a name="l00033"></a><a class="code" href="classCPixelFormat_1_1PixelFormatError.html">00033</a> <span class="keyword">class </span><a class="code" href="classCPixelFormat_1_1PixelFormatError.html" title="Exception thrown by implemententations of CPixelFormat.">PixelFormatError</a> : <span class="keyword">public</span> std::invalid_argument { | ||
| 30 | <a name="l00034"></a>00034 <span class="keyword">public</span>: | ||
| 31 | <a name="l00044"></a><a class="code" href="classCPixelFormat_1_1PixelFormatError.html#f227e9261537b316f57ff8c099948df4">00044</a> <a class="code" href="classCPixelFormat_1_1PixelFormatError.html#f227e9261537b316f57ff8c099948df4" title="Default exception ctor.">PixelFormatError</a>(<span class="keyword">const</span> std::string& what) | ||
| 32 | <a name="l00045"></a>00045 : std::invalid_argument(what) | ||
| 33 | <a name="l00046"></a>00046 {} | ||
| 34 | <a name="l00047"></a>00047 }; | ||
| 35 | <a name="l00048"></a>00048 | ||
| 36 | <a name="l00058"></a><a class="code" href="classCPixelFormat.html#6216335559cf002f1e870b420b15913e">00058</a> <a class="code" href="classCPixelFormat.html#6216335559cf002f1e870b420b15913e" title="Default ctor.">CPixelFormat</a>(<a class="code" href="classCBitmap.html" title="Implementation of CFile handling Windows Bitmaps.">CBitmap</a> *bitmap) | ||
| 37 | <a name="l00059"></a>00059 : <a class="code" href="classCPixelFormat.html#0c0ab3e11535c9cda07d049cc6bd6f9a">m_bitmap</a>(bitmap) | ||
| 38 | <a name="l00060"></a>00060 {} | ||
| 39 | <a name="l00061"></a>00061 | ||
| 40 | <a name="l00071"></a><a class="code" href="classCPixelFormat.html#363edc98e8a6460466d52590679f1853">00071</a> <span class="keyword">virtual</span> <a class="code" href="classCPixelFormat.html#363edc98e8a6460466d52590679f1853" title="Default dtor (virtual).">~CPixelFormat</a>() | ||
| 41 | <a name="l00072"></a>00072 {}; | ||
| 42 | <a name="l00073"></a>00073 | ||
| 43 | <a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCPixelFormat.html#5b2dd386a12bd1c41ebe91d22c7713ec" title="Modifies pixel at coordinates x, y.">setPixel</a>(<span class="keyword">const</span> uint32_t *pixel, <span class="keyword">const</span> uint32_t x, <span class="keyword">const</span> uint32_t y) = 0; | ||
| 44 | <a name="l00086"></a>00086 | ||
| 45 | <a name="l00096"></a>00096 <span class="keyword">virtual</span> uint32_t <a class="code" href="classCPixelFormat.html#bfe1496b57a8a62be38de66ae6cfe3a7" title="returns color bitcount supported by this class">getBitCount</a>() = 0; | ||
| 46 | <a name="l00097"></a>00097 | ||
| 47 | <a name="l00098"></a>00098 <span class="keyword">protected</span>: | ||
| 48 | <a name="l00099"></a>00099 <span class="comment">/* members */</span> | ||
| 49 | <a name="l00101"></a><a class="code" href="classCPixelFormat.html#0c0ab3e11535c9cda07d049cc6bd6f9a">00101</a> <a class="code" href="classCBitmap.html" title="Implementation of CFile handling Windows Bitmaps.">CBitmap</a> *<a class="code" href="classCPixelFormat.html#0c0ab3e11535c9cda07d049cc6bd6f9a">m_bitmap</a>; | ||
| 50 | <a name="l00102"></a>00102 }; | ||
| 51 | <a name="l00103"></a>00103 | ||
| 52 | <a name="l00104"></a>00104 <span class="preprocessor">#endif</span> | ||
| 53 | <a name="l00105"></a>00105 <span class="preprocessor"></span> | ||
| 54 | <a name="l00106"></a>00106 <span class="comment">/* vim: set et sw=2 ts=2: */</span> | ||
| 55 | </pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sun Apr 26 12:25:52 2009 for imgsynth by | ||
| 56 | <a href="http://www.doxygen.org/index.html"> | ||
| 57 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> | ||
| 58 | </body> | ||
| 59 | </html> | ||
