GED 2006 (C++)
Detail souboru
Zdrojový kód
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>GED 2006: framebuffer.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</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>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<h1>framebuffer.h</h1><a href="framebuffer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * File: framebuffer.h - Bitmap memory representation</span>
<a name="l00003"></a>00003 <span class="comment"> * Project: GED - bitmap editor (ICP)</span>
<a name="l00004"></a>00004 <span class="comment"> * Author: Kamil Dudka, xdudka00</span>
<a name="l00005"></a>00005 <span class="comment"> * Team: xdudka00, xfilak01, xhefka00, xhradi08</span>
<a name="l00006"></a>00006 <span class="comment"> * Created: 2006-03-10</span>
<a name="l00007"></a>00007 <span class="comment"> */</span>
<a name="l00008"></a>00008
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef FRAMEBUFFER_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define FRAMEBUFFER_H</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00015"></a><a class="code" href="structPixel.html">00015</a> <span class="keyword">struct </span><a class="code" href="structPixel.html">Pixel</a> {
<a name="l00016"></a><a class="code" href="structPixel.html#9a622adc68318494595ccb550553d7dd">00016</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structPixel.html#9a622adc68318494595ccb550553d7dd">red</a>;
<a name="l00017"></a><a class="code" href="structPixel.html#32973e6e6250b1cd9fc1fc2e1974e4f6">00017</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structPixel.html#32973e6e6250b1cd9fc1fc2e1974e4f6">green</a>;
<a name="l00018"></a><a class="code" href="structPixel.html#9cf7f171204335c7ae7743790028db1a">00018</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structPixel.html#9cf7f171204335c7ae7743790028db1a">blue</a>;
<a name="l00019"></a><a class="code" href="structPixel.html#fc594e1458f86d8fcd70a542f45f7fba">00019</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structPixel.html#fc594e1458f86d8fcd70a542f45f7fba" title="Something as visibility. 0x00 means transparent, 0xFF means visible.">alpha</a>;
<a name="l00020"></a>00020 };
<a name="l00021"></a>00021
<a name="l00025"></a><a class="code" href="structBoxSize.html">00025</a> <span class="keyword">struct </span><a class="code" href="structBoxSize.html">BoxSize</a> {
<a name="l00026"></a><a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c">00026</a> <span class="keywordtype">int</span> <a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a>;
<a name="l00027"></a><a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba">00027</a> <span class="keywordtype">int</span> <a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba" title="Object height.">height</a>;
<a name="l00028"></a>00028
<a name="l00032"></a><a class="code" href="structBoxSize.html#41a7bca1753c8055e0a5893eac95a9c2">00032</a> <a class="code" href="structBoxSize.html#41a7bca1753c8055e0a5893eac95a9c2">BoxSize</a> (): <a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a>(0), <a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba" title="Object height.">height</a>(0) { }
<a name="l00033"></a>00033
<a name="l00039"></a><a class="code" href="structBoxSize.html#114641ad49ee0d205a9403cd9f69cb44">00039</a> <a class="code" href="structBoxSize.html#41a7bca1753c8055e0a5893eac95a9c2">BoxSize</a> (<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y): <a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a>(x), <a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba" title="Object height.">height</a>(y) { }
<a name="l00040"></a>00040
<a name="l00044"></a><a class="code" href="structBoxSize.html#a7f677ba4609a197f4f9abd08495634d">00044</a> <span class="keywordtype">int</span> <a class="code" href="structBoxSize.html#a7f677ba4609a197f4f9abd08495634d">nPixels</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a>*<a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba" title="Object height.">height</a>; }
<a name="l00045"></a>00045
<a name="l00047"></a><a class="code" href="structBoxSize.html#13eca478e4ec88b513531b007bd8cd35">00047</a> <span class="keywordtype">bool</span> <a class="code" href="structBoxSize.html#13eca478e4ec88b513531b007bd8cd35" title="BoxSize objects comparation. Same meaning of operator as for built-in types.">operator== </a>(<span class="keyword">const</span> <a class="code" href="structBoxSize.html">BoxSize</a> &b)<span class="keyword"> const</span>
<a name="l00048"></a>00048 <span class="keyword"> </span>{
<a name="l00049"></a>00049 <span class="keywordflow">return</span>
<a name="l00050"></a>00050 <a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a> == b.<a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a> &&
<a name="l00051"></a>00051 <a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba" title="Object height.">height</a> == b.<a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba" title="Object height.">height</a>;
<a name="l00052"></a>00052 }
<a name="l00054"></a><a class="code" href="structBoxSize.html#a2fd841da32c4cff87da13b67b4e34c2">00054</a> <span class="keywordtype">bool</span> <a class="code" href="structBoxSize.html#a2fd841da32c4cff87da13b67b4e34c2" title="Negated BoxSize objects comparation. Same meaning of operator as for built-in types...">operator!= </a>(<span class="keyword">const</span> <a class="code" href="structBoxSize.html">BoxSize</a> &b)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !<a class="code" href="structBoxSize.html#13eca478e4ec88b513531b007bd8cd35" title="BoxSize objects comparation. Same meaning of operator as for built-in types.">operator==</a>(b); }
<a name="l00055"></a>00055 };
<a name="l00056"></a>00056
<a name="l00060"></a><a class="code" href="structPoint.html">00060</a> <span class="keyword">struct </span><a class="code" href="structPoint.html">Point</a> {
<a name="l00061"></a><a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1">00061</a> <span class="keywordtype">int</span> <a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a>;
<a name="l00062"></a><a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a">00062</a> <span class="keywordtype">int</span> <a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>;
<a name="l00063"></a>00063
<a name="l00067"></a><a class="code" href="structPoint.html#ee65a24ddd011eacd8c18b5d2d9683d5">00067</a> <a class="code" href="structPoint.html#ee65a24ddd011eacd8c18b5d2d9683d5">Point</a> (): <a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a>(0), <a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>(0) { }
<a name="l00068"></a>00068
<a name="l00074"></a><a class="code" href="structPoint.html#783fd37c3569379fc775ba68d65c34e4">00074</a> <a class="code" href="structPoint.html#ee65a24ddd011eacd8c18b5d2d9683d5">Point</a> (<span class="keywordtype">int</span> ix, <span class="keywordtype">int</span> iy): <a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a>(ix), <a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>(iy) { }
<a name="l00075"></a>00075
<a name="l00077"></a><a class="code" href="structPoint.html#cbfd231e7fb08af70d208620e3cb08a6">00077</a> <span class="keywordtype">bool</span> <a class="code" href="structPoint.html#cbfd231e7fb08af70d208620e3cb08a6" title="Point objects comparation. Same meaning of operator as for built-in types.">operator== </a>(<span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &p)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a>==p.<a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a> && <a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>==p.<a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>; }
<a name="l00078"></a>00078
<a name="l00080"></a><a class="code" href="structPoint.html#2cf12389b5c7d5bab0908d654e1f05e5">00080</a> <span class="keywordtype">bool</span> <a class="code" href="structPoint.html#2cf12389b5c7d5bab0908d654e1f05e5" title="Negated Point objects comparation. Same meaning of operator as for built-in types...">operator!= </a>(<span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &p)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a>!=p.<a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a> || <a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>!=p.<a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>; }
<a name="l00081"></a>00081
<a name="l00083"></a><a class="code" href="structPoint.html#687123c15393cd8b1f21bc7c93a1cdfc">00083</a> <a class="code" href="structPoint.html">Point</a> &<a class="code" href="structPoint.html#687123c15393cd8b1f21bc7c93a1cdfc" title="Add an another Point object. Same meaning of operator as for built-in types.">operator+= </a>(<span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &p)
<a name="l00084"></a>00084 {
<a name="l00085"></a>00085 <a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a> += p.<a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a>;
<a name="l00086"></a>00086 <a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a> += p.<a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>;
<a name="l00087"></a>00087 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00088"></a>00088 }
<a name="l00089"></a>00089
<a name="l00091"></a><a class="code" href="structPoint.html#11f3ac67d290c06ef980d957cd2051d0">00091</a> <a class="code" href="structPoint.html">Point</a> &<a class="code" href="structPoint.html#11f3ac67d290c06ef980d957cd2051d0" title="Subtract an another Point object. Same meaning of operator as for built-in types...">operator-= </a>(<span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &p)
<a name="l00092"></a>00092 {
<a name="l00093"></a>00093 <a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a> -= p.<a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a>;
<a name="l00094"></a>00094 <a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a> -= p.<a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a>;
<a name="l00095"></a>00095 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00096"></a>00096 }
<a name="l00097"></a>00097 };
<a name="l00098"></a>00098
<a name="l00100"></a><a class="code" href="framebuffer_8h.html#dae00d42667fdd0e1e5996fc7e54676a">00100</a> <span class="keyword">inline</span> <a class="code" href="structPoint.html">Point</a> <a class="code" href="framebuffer_8h.html#dae00d42667fdd0e1e5996fc7e54676a" title="Add two Point objects together. Same meaning of operator as for built-in types.">operator+ </a>(<span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &a, <span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &b) {
<a name="l00101"></a>00101 <a class="code" href="structPoint.html">Point</a> tmp (a);
<a name="l00102"></a>00102 <span class="keywordflow">return</span> tmp+=b;
<a name="l00103"></a>00103 }
<a name="l00104"></a>00104
<a name="l00106"></a><a class="code" href="framebuffer_8h.html#8a618694111544f466bd6bc7fce60567">00106</a> <span class="keyword">inline</span> <a class="code" href="structPoint.html">Point</a> <a class="code" href="framebuffer_8h.html#8a618694111544f466bd6bc7fce60567" title="Substract two Point objects. Same meaning of operator as for built-in types.">operator- </a>(<span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &a, <span class="keyword">const</span> <a class="code" href="structPoint.html">Point</a> &b) {
<a name="l00107"></a>00107 <a class="code" href="structPoint.html">Point</a> tmp (a);
<a name="l00108"></a>00108 <span class="keywordflow">return</span> tmp-=b;
<a name="l00109"></a>00109 }
<a name="l00110"></a>00110
<a name="l00114"></a><a class="code" href="structRect.html">00114</a> <span class="keyword">struct </span><a class="code" href="structRect.html">Rect</a> {
<a name="l00115"></a><a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50">00115</a> <a class="code" href="structPoint.html">Point</a> <a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a>;
<a name="l00116"></a><a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4">00116</a> <a class="code" href="structBoxSize.html">BoxSize</a> <a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4" title="Object size.">size</a>;
<a name="l00117"></a>00117
<a name="l00121"></a><a class="code" href="structRect.html#5417f7a7c3fb836797060615dac0dd4c">00121</a> <a class="code" href="structRect.html#5417f7a7c3fb836797060615dac0dd4c">Rect</a> () { }
<a name="l00122"></a>00122
<a name="l00128"></a><a class="code" href="structRect.html#7a2b8b3305e6a2db1bf6efda0359785c">00128</a> <a class="code" href="structRect.html#5417f7a7c3fb836797060615dac0dd4c">Rect</a> (<a class="code" href="structPoint.html">Point</a> p, <a class="code" href="structBoxSize.html">BoxSize</a> s): <a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a>(p), <a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4" title="Object size.">size</a>(s) { }
<a name="l00129"></a>00129
<a name="l00131"></a><a class="code" href="structRect.html#c5c9cf7804b82b96c6c62887c46fa400">00131</a> <span class="keywordtype">bool</span> <a class="code" href="structRect.html#c5c9cf7804b82b96c6c62887c46fa400" title="Rect objects comparation. Same meaning of operator as for built-in types.">operator== </a>(<span class="keyword">const</span> <a class="code" href="structRect.html">Rect</a> &r)<span class="keyword"> const</span>
<a name="l00132"></a>00132 <span class="keyword"> </span>{
<a name="l00133"></a>00133 <span class="keywordflow">return</span>
<a name="l00134"></a>00134 <a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a> == r.<a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a> &&
<a name="l00135"></a>00135 <a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4" title="Object size.">size</a> == r.<a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4" title="Object size.">size</a>;
<a name="l00136"></a>00136 }
<a name="l00138"></a><a class="code" href="structRect.html#2b3fc5fe587b0c2fef217ce98f5838f7">00138</a> <span class="keywordtype">bool</span> <a class="code" href="structRect.html#2b3fc5fe587b0c2fef217ce98f5838f7" title="Negated Rect objects comparation. Same meaning of operator as for built-in types...">operator!= </a>(<span class="keyword">const</span> <a class="code" href="structRect.html">Rect</a> &r)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !<a class="code" href="structRect.html#c5c9cf7804b82b96c6c62887c46fa400" title="Rect objects comparation. Same meaning of operator as for built-in types.">operator==</a>(r); }
<a name="l00139"></a>00139 };
<a name="l00140"></a>00140
<a name="l00146"></a><a class="code" href="classFrameBuffer.html">00146</a> <span class="keyword">class </span><a class="code" href="classFrameBuffer.html">FrameBuffer</a> {
<a name="l00147"></a>00147 <span class="keyword">public</span>:
<a name="l00152"></a><a class="code" href="classFrameBuffer.html#6bb13f4651602402869ba10b9ce22ae7">00152</a> <a class="code" href="classFrameBuffer.html#6bb13f4651602402869ba10b9ce22ae7">FrameBuffer</a> (): <a class="code" href="classFrameBuffer.html#c0453baa88a5af0ce5e2a0b7ff692433" title="Pointer to array of Pixel objects.">_pBuff</a>(0) { }
<a name="l00153"></a>00153
<a name="l00158"></a><a class="code" href="classFrameBuffer.html#edb2f91a082b1a45f89a638843aee64a">00158</a> <a class="code" href="classFrameBuffer.html#6bb13f4651602402869ba10b9ce22ae7">FrameBuffer</a> (<span class="keyword">const</span> <a class="code" href="structBoxSize.html">BoxSize</a> &fbSize): <a class="code" href="classFrameBuffer.html#c0453baa88a5af0ce5e2a0b7ff692433" title="Pointer to array of Pixel objects.">_pBuff</a>(0) { <a class="code" href="classFrameBuffer.html#ca5cc2ea29283153451c37104b0daf8b">size</a> (fbSize); }
<a name="l00159"></a>00159
<a name="l00163"></a>00163 <a class="code" href="classFrameBuffer.html#6bb13f4651602402869ba10b9ce22ae7">FrameBuffer</a> (<span class="keyword">const</span> <a class="code" href="classFrameBuffer.html">FrameBuffer</a> &fb);
<a name="l00164"></a>00164
<a name="l00168"></a>00168 <a class="code" href="classFrameBuffer.html">FrameBuffer</a> &<a class="code" href="classFrameBuffer.html#5180a43afc554f90309c8d45120f8961">operator= </a>(<span class="keyword">const</span> <a class="code" href="classFrameBuffer.html">FrameBuffer</a> &fb);
<a name="l00169"></a>00169
<a name="l00173"></a><a class="code" href="classFrameBuffer.html#710a745c6827c38ebc36ac38cfd02500">00173</a> <a class="code" href="classFrameBuffer.html#710a745c6827c38ebc36ac38cfd02500">~FrameBuffer</a> () { <span class="keyword">delete</span>[] <a class="code" href="classFrameBuffer.html#c0453baa88a5af0ce5e2a0b7ff692433" title="Pointer to array of Pixel objects.">_pBuff</a>; }
<a name="l00174"></a>00174
<a name="l00181"></a>00181 <a class="code" href="structPixel.html">Pixel</a> *<a class="code" href="classFrameBuffer.html#daf24dff1190aa691174381c2e45b0a3">pBuff</a> ();
<a name="l00182"></a>00182
<a name="l00190"></a>00190 <span class="keywordtype">void</span> <a class="code" href="classFrameBuffer.html#e61c71e116782bc800e52b930d3582e8">setPixel</a> (<a class="code" href="structPoint.html">Point</a> pos, <a class="code" href="structPixel.html">Pixel</a> color);
<a name="l00191"></a>00191
<a name="l00199"></a><a class="code" href="classFrameBuffer.html#6be195c060901da0f6f7a14a24022fe4">00199</a> <a class="code" href="structPixel.html">Pixel</a> *<a class="code" href="classFrameBuffer.html#6be195c060901da0f6f7a14a24022fe4">operator[] </a>(<span class="keywordtype">int</span> y)
<a name="l00200"></a>00200 {
<a name="l00201"></a>00201 <span class="keywordflow">return</span> <a class="code" href="classFrameBuffer.html#daf24dff1190aa691174381c2e45b0a3">pBuff</a>() + y*_size.<a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a>;
<a name="l00202"></a>00202 }
<a name="l00203"></a>00203
<a name="l00207"></a><a class="code" href="classFrameBuffer.html#ca5cc2ea29283153451c37104b0daf8b">00207</a> <span class="keyword">const</span> <a class="code" href="structBoxSize.html">BoxSize</a> &<a class="code" href="classFrameBuffer.html#ca5cc2ea29283153451c37104b0daf8b">size</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _size; }
<a name="l00208"></a>00208
<a name="l00213"></a>00213 <span class="keywordtype">void</span> <a class="code" href="classFrameBuffer.html#cb352830aa6c4e2d23b97b8645c0133f">resize</a> (<span class="keyword">const</span> <a class="code" href="structBoxSize.html">BoxSize</a> &newSize);
<a name="l00214"></a>00214
<a name="l00220"></a>00220 <span class="keywordtype">void</span> <a class="code" href="classFrameBuffer.html#ca5cc2ea29283153451c37104b0daf8b">size</a> (<span class="keyword">const</span> <a class="code" href="structBoxSize.html">BoxSize</a> &fbSize);
<a name="l00221"></a>00221
<a name="l00225"></a><a class="code" href="classFrameBuffer.html#319b0805516f07bd78305f86f6cbe785">00225</a> <span class="keyword">const</span> <a class="code" href="structRect.html">Rect</a> &<a class="code" href="classFrameBuffer.html#319b0805516f07bd78305f86f6cbe785">select</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _select; }
<a name="l00226"></a>00226
<a name="l00231"></a>00231 <span class="keywordtype">void</span> <a class="code" href="classFrameBuffer.html#319b0805516f07bd78305f86f6cbe785">select</a> (<span class="keyword">const</span> <a class="code" href="structRect.html">Rect</a> &selectRect);
<a name="l00232"></a>00232
<a name="l00236"></a>00236 <span class="keywordtype">void</span> <a class="code" href="classFrameBuffer.html#7ac7c40621c5d57ca716d36597e8ae2e">unSelect</a> ();
<a name="l00237"></a>00237
<a name="l00241"></a><a class="code" href="classFrameBuffer_1_1ErrUnalloc.html">00241</a> <span class="keyword">class </span><a class="code" href="classFrameBuffer_1_1ErrUnalloc.html">ErrUnalloc</a> { };
<a name="l00242"></a>00242
<a name="l00243"></a><a class="code" href="classFrameBuffer.html#679a693aa49a176ad8682463920ad2e2">00243</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classSharedObject.html">SharedObject</a>;
<a name="l00244"></a><a class="code" href="classFrameBuffer.html#2842e61aec6bf9a8fd9073778f738bf5">00244</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classSharedFrameBuffer.html">SharedFrameBuffer</a>;
<a name="l00245"></a>00245
<a name="l00246"></a>00246 <span class="keyword">protected</span>:
<a name="l00247"></a><a class="code" href="classFrameBuffer.html#c0453baa88a5af0ce5e2a0b7ff692433">00247</a> <a class="code" href="structPixel.html">Pixel</a> *<a class="code" href="classFrameBuffer.html#c0453baa88a5af0ce5e2a0b7ff692433" title="Pointer to array of Pixel objects.">_pBuff</a>;
<a name="l00248"></a>00248
<a name="l00249"></a>00249 <span class="keyword">private</span>:
<a name="l00250"></a>00250 <a class="code" href="structBoxSize.html">BoxSize</a> _size;
<a name="l00251"></a>00251 <a class="code" href="structRect.html">Rect</a> _select;
<a name="l00252"></a>00252 };
<a name="l00253"></a>00253
<a name="l00254"></a>00254 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>