<!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: draw.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>draw.h</h1><a href="draw_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: draw.h - Draw commands</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-04-11</span>
<a name="l00007"></a>00007 <span class="comment"> */</span>
<a name="l00008"></a>00008
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef DRAW_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define DRAW_H</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include <set></span>
<a name="l00013"></a>00013
<a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="command_8h.html">command.h</a>"</span>
<a name="l00015"></a>00015
<a name="l00019"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504">00019</a> <span class="keyword">enum</span> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504">EDrawTool</a> {
<a name="l00020"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c8212850493ea79d2e19574ed582a7caf1d19f63a">00020</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c8212850493ea79d2e19574ed582a7caf1d19f63a">TOOL_NOTOOL</a> = 0,
<a name="l00021"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504bf3e03caab191e297bd364f2e06ff069">00021</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504bf3e03caab191e297bd364f2e06ff069">TOOL_BRUSH</a>,
<a name="l00022"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c8212850445208db8f92b32d254f9387dd84fe250">00022</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c8212850445208db8f92b32d254f9387dd84fe250">TOOL_RUBBER</a>,
<a name="l00023"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285045bb02a44c9ac657eb7de01de01e003ed">00023</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285045bb02a44c9ac657eb7de01de01e003ed">TOOL_LINE</a>,
<a name="l00024"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285048294b4d2462fce5439f214be7ea95f76">00024</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285048294b4d2462fce5439f214be7ea95f76">TOOL_RECT</a>,
<a name="l00025"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285047407690c8918fae27c1a6c946816e44c">00025</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285047407690c8918fae27c1a6c946816e44c">TOOL_CIRCLE</a>,
<a name="l00026"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285046ef6a404c610683107cd972a10678fb5">00026</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c821285046ef6a404c610683107cd972a10678fb5">TOOL_ELLIPSE</a>,
<a name="l00027"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504ca388a7be44dd5bb6c73e4891f296f21">00027</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504ca388a7be44dd5bb6c73e4891f296f21">TOOL_TEXT</a>,
<a name="l00028"></a><a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504849ccbcee164d1f1511814af563c8e6e">00028</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504849ccbcee164d1f1511814af563c8e6e">TOOL_SELECT</a>
<a name="l00029"></a>00029 };
<a name="l00031"></a><a class="code" href="draw_8h.html#2e520baeab5e72a8cd84e00dce61684ffd36c559a3f15f81fc6e248dfb55a0b0">00031</a> <span class="keyword">enum</span> { <a class="code" href="draw_8h.html#2e520baeab5e72a8cd84e00dce61684ffd36c559a3f15f81fc6e248dfb55a0b0">iDrawToolCnt</a> = 9 };
<a name="l00032"></a>00032
<a name="l00036"></a><a class="code" href="structDrawContext.html">00036</a> <span class="keyword">struct </span><a class="code" href="structDrawContext.html">DrawContext</a> {
<a name="l00037"></a><a class="code" href="structDrawContext.html#254bf37049cb114710f216348074dcf7">00037</a> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504">EDrawTool</a> <a class="code" href="structDrawContext.html#254bf37049cb114710f216348074dcf7" title="selected tool">tool</a>;
<a name="l00038"></a><a class="code" href="structDrawContext.html#98a4dfaa608f4dbf1d9a54489ec28cd3">00038</a> <span class="keywordtype">int</span> <a class="code" href="structDrawContext.html#98a4dfaa608f4dbf1d9a54489ec28cd3" title="brush width (in pixels)">fgBrushWidth</a>;
<a name="l00039"></a><a class="code" href="structDrawContext.html#9e0e64a95a2f19956a0c243f232ea0c8">00039</a> <span class="keywordtype">int</span> <a class="code" href="structDrawContext.html#9e0e64a95a2f19956a0c243f232ea0c8" title="rubber width (in pixels)">bgBrushWidth</a>;
<a name="l00040"></a><a class="code" href="structDrawContext.html#afa4ef48f2194e677616da6100b09ce1">00040</a> <a class="code" href="structPixel.html">Pixel</a> <a class="code" href="structDrawContext.html#afa4ef48f2194e677616da6100b09ce1" title="forground color">fgColor</a>;
<a name="l00041"></a><a class="code" href="structDrawContext.html#ef2d9e709c346c96cb9a5f871a1ffb7f">00041</a> <a class="code" href="structPixel.html">Pixel</a> <a class="code" href="structDrawContext.html#ef2d9e709c346c96cb9a5f871a1ffb7f" title="background color">bgColor</a>;
<a name="l00042"></a>00042
<a name="l00048"></a>00048 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structDrawContext.html#98cba3468779b539c9ba4545c0fb4def">toolLabel</a> (<a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504">EDrawTool</a> et);
<a name="l00049"></a>00049
<a name="l00055"></a>00055 <span class="keyword">static</span> <a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504">EDrawTool</a> <a class="code" href="structDrawContext.html#0b7a1debdd70c0d0658b68d63024295f">toolByLabel</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *szLabel);
<a name="l00056"></a>00056
<a name="l00063"></a><a class="code" href="structDrawContext.html#1343526d38ed60d0346bb4065a6b30b2">00063</a> <a class="code" href="structDrawContext.html#1343526d38ed60d0346bb4065a6b30b2">DrawContext</a> (<a class="code" href="draw_8h.html#a5f199db1342f423e3f9ec6c82128504">EDrawTool</a> initTool, <span class="keywordtype">int</span> initFgBrushWidht, <span class="keywordtype">int</span> initBgBrushWidth):
<a name="l00064"></a>00064 <a class="code" href="structDrawContext.html#254bf37049cb114710f216348074dcf7" title="selected tool">tool</a>(initTool), <a class="code" href="structDrawContext.html#98a4dfaa608f4dbf1d9a54489ec28cd3" title="brush width (in pixels)">fgBrushWidth</a> (initFgBrushWidht), <a class="code" href="structDrawContext.html#9e0e64a95a2f19956a0c243f232ea0c8" title="rubber width (in pixels)">bgBrushWidth</a>(initBgBrushWidth)
<a name="l00065"></a>00065 {
<a name="l00066"></a>00066 <a class="code" href="structDrawContext.html#afa4ef48f2194e677616da6100b09ce1" title="forground color">fgColor</a>.<a class="code" href="structPixel.html#9a622adc68318494595ccb550553d7dd">red</a> = 0;
<a name="l00067"></a>00067 <a class="code" href="structDrawContext.html#afa4ef48f2194e677616da6100b09ce1" title="forground color">fgColor</a>.<a class="code" href="structPixel.html#32973e6e6250b1cd9fc1fc2e1974e4f6">green</a> = 0;
<a name="l00068"></a>00068 <a class="code" href="structDrawContext.html#afa4ef48f2194e677616da6100b09ce1" title="forground color">fgColor</a>.<a class="code" href="structPixel.html#9cf7f171204335c7ae7743790028db1a">blue</a> = 0;
<a name="l00069"></a>00069 <a class="code" href="structDrawContext.html#afa4ef48f2194e677616da6100b09ce1" title="forground color">fgColor</a>.<a class="code" href="structPixel.html#fc594e1458f86d8fcd70a542f45f7fba" title="Something as visibility. 0x00 means transparent, 0xFF means visible.">alpha</a> = 0xFF;
<a name="l00070"></a>00070
<a name="l00071"></a>00071 <a class="code" href="structDrawContext.html#ef2d9e709c346c96cb9a5f871a1ffb7f" title="background color">bgColor</a>.<a class="code" href="structPixel.html#9a622adc68318494595ccb550553d7dd">red</a> = 0xFF;
<a name="l00072"></a>00072 <a class="code" href="structDrawContext.html#ef2d9e709c346c96cb9a5f871a1ffb7f" title="background color">bgColor</a>.<a class="code" href="structPixel.html#32973e6e6250b1cd9fc1fc2e1974e4f6">green</a> = 0xFF;
<a name="l00073"></a>00073 <a class="code" href="structDrawContext.html#ef2d9e709c346c96cb9a5f871a1ffb7f" title="background color">bgColor</a>.<a class="code" href="structPixel.html#9cf7f171204335c7ae7743790028db1a">blue</a> = 0xFF;
<a name="l00074"></a>00074 <a class="code" href="structDrawContext.html#ef2d9e709c346c96cb9a5f871a1ffb7f" title="background color">bgColor</a>.<a class="code" href="structPixel.html#fc594e1458f86d8fcd70a542f45f7fba" title="Something as visibility. 0x00 means transparent, 0xFF means visible.">alpha</a> = 0xFF;
<a name="l00075"></a>00075 }
<a name="l00076"></a>00076 };
<a name="l00077"></a>00077
<a name="l00083"></a><a class="code" href="classBrushCmd.html">00083</a> <span class="keyword">class </span><a class="code" href="classBrushCmd.html">BrushCmd</a>: <span class="keyword">public</span> <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> {
<a name="l00084"></a>00084 <span class="keyword">public</span>:
<a name="l00091"></a>00091 <a class="code" href="classBrushCmd.html#e0767503f013c85988b3f50a0305ff28">BrushCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> <a class="code" href="structDrawContext.html">DrawContext</a> &dc, <span class="keywordtype">bool</span> bBack=<span class="keyword">false</span>);
<a name="l00092"></a>00092
<a name="l00097"></a>00097 <span class="keywordtype">void</span> <span class="keyword">add</span> (<a class="code" href="structPoint.html">Point</a> p);
<a name="l00098"></a>00098
<a name="l00099"></a>00099 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBrushCmd.html#9f8e763d8aad1c1d64e6105a5fbe4956" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00100"></a><a class="code" href="classBrushCmd.html#e801b767d528289d52f8d7aef288834a">00100</a> <span class="keyword">virtual</span> std::string <a class="code" href="classBrushCmd.html#e801b767d528289d52f8d7aef288834a" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classBrushCmd.html#b1f57113e026cb8848b44843890342bb" title="Command id string.">szCmdName</a>; }
<a name="l00101"></a>00101 <span class="keyword">virtual</span> std::string <a class="code" href="classBrushCmd.html#4e58ba999d79085b851d46c4a2e6be3d" title="Command export to text string. Needed for macro saving.">args</a> ();
<a name="l00102"></a>00102
<a name="l00108"></a>00108 <a class="code" href="classBrushCmd.html#e0767503f013c85988b3f50a0305ff28">BrushCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &<a class="code" href="classBrushCmd.html#4e58ba999d79085b851d46c4a2e6be3d" title="Command export to text string. Needed for macro saving.">args</a>);
<a name="l00109"></a>00109
<a name="l00110"></a><a class="code" href="classBrushCmd.html#b1f57113e026cb8848b44843890342bb">00110</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classBrushCmd.html#b1f57113e026cb8848b44843890342bb" title="Command id string.">szCmdName</a>;
<a name="l00111"></a>00111
<a name="l00112"></a>00112 <span class="keyword">private</span>:
<a name="l00113"></a>00113 <span class="keywordtype">int</span> _iBrushWidth;
<a name="l00114"></a>00114 <a class="code" href="structPixel.html">Pixel</a> _brushColor;
<a name="l00115"></a>00115 std::set<int> _pixSet;
<a name="l00116"></a>00116 };
<a name="l00117"></a>00117
<a name="l00123"></a><a class="code" href="classPlacementCmd.html">00123</a> <span class="keyword">class </span><a class="code" href="classPlacementCmd.html">PlacementCmd</a>: <span class="keyword">public</span> <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> {
<a name="l00124"></a>00124 <span class="keyword">public</span>:
<a name="l00125"></a>00125 <span class="keyword">virtual</span> std::string <a class="code" href="classPlacementCmd.html#1ad8e926b4843921210412cf247f8e7b" title="Command export to text string. Needed for macro saving.">args</a> ();
<a name="l00126"></a>00126
<a name="l00127"></a>00127 <span class="keyword">protected</span>:
<a name="l00135"></a>00135 <a class="code" href="classPlacementCmd.html#a08bec8dbeff8601c2e326095ee7b2f0">PlacementCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <a class="code" href="structRect.html">Rect</a> &placement, <a class="code" href="structDrawContext.html">DrawContext</a> &dc, <span class="keywordtype">bool</span> bBack);
<a name="l00136"></a>00136
<a name="l00142"></a>00142 <a class="code" href="classPlacementCmd.html#a08bec8dbeff8601c2e326095ee7b2f0">PlacementCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &args);
<a name="l00143"></a>00143
<a name="l00148"></a>00148 <span class="keywordtype">void</span> <a class="code" href="classPlacementCmd.html#236e5d6e52ee34b35b74497ed61dc915">impressBrush</a> (<a class="code" href="structPoint.html">Point</a> pos);
<a name="l00149"></a>00149
<a name="l00150"></a>00150 <span class="comment">/*</span>
<a name="l00151"></a>00151 <span class="comment"> * Shared data</span>
<a name="l00152"></a>00152 <span class="comment"> */</span>
<a name="l00153"></a><a class="code" href="classPlacementCmd.html#178537b0c589e296b95b2c80ca192458">00153</a> <span class="keywordtype">int</span> <a class="code" href="classPlacementCmd.html#178537b0c589e296b95b2c80ca192458" title="Round brush radius.">_iBrushWidth</a>;
<a name="l00154"></a><a class="code" href="classPlacementCmd.html#900312846b2be64a0474aff4ff0e6b6c">00154</a> <a class="code" href="structPixel.html">Pixel</a> <a class="code" href="classPlacementCmd.html#900312846b2be64a0474aff4ff0e6b6c" title="Brush color.">_brushColor</a>;
<a name="l00155"></a><a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326">00155</a> <a class="code" href="structRect.html">Rect</a> <a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>;
<a name="l00156"></a>00156 };
<a name="l00157"></a>00157
<a name="l00162"></a><a class="code" href="classLineCmd.html">00162</a> <span class="keyword">class </span><a class="code" href="classLineCmd.html">LineCmd</a>: <span class="keyword">public</span> <a class="code" href="classPlacementCmd.html">PlacementCmd</a> {
<a name="l00163"></a>00163 <span class="keyword">public</span>:
<a name="l00171"></a><a class="code" href="classLineCmd.html#2e1e18853184d8a4b63cb2f3613355fd">00171</a> <a class="code" href="classLineCmd.html#2e1e18853184d8a4b63cb2f3613355fd">LineCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <a class="code" href="structRect.html">Rect</a> placement, <a class="code" href="structDrawContext.html">DrawContext</a> dc, <span class="keywordtype">bool</span> bBack=<span class="keyword">false</span>):
<a name="l00172"></a>00172 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, placement, dc, bBack) { }
<a name="l00173"></a>00173
<a name="l00174"></a>00174 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classLineCmd.html#3c15aede313493b9fff31fe4d8bf985b" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00175"></a><a class="code" href="classLineCmd.html#639dcb2084f2e43a57de212816c6d043">00175</a> <span class="keyword">virtual</span> std::string <a class="code" href="classLineCmd.html#639dcb2084f2e43a57de212816c6d043" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classLineCmd.html#31a1ae38639cf773493c767fc0d19b3f" title="command id string">szCmdName</a>; }
<a name="l00176"></a><a class="code" href="classLineCmd.html#31a1ae38639cf773493c767fc0d19b3f">00176</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classLineCmd.html#31a1ae38639cf773493c767fc0d19b3f" title="command id string">szCmdName</a>;
<a name="l00177"></a>00177
<a name="l00183"></a><a class="code" href="classLineCmd.html#682d4f5d3e10682bc60fcd736c0b16fd">00183</a> <a class="code" href="classLineCmd.html#2e1e18853184d8a4b63cb2f3613355fd">LineCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &<a class="code" href="classPlacementCmd.html#1ad8e926b4843921210412cf247f8e7b" title="Command export to text string. Needed for macro saving.">args</a>):
<a name="l00184"></a>00184 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, args) { }
<a name="l00185"></a>00185 };
<a name="l00186"></a>00186
<a name="l00191"></a><a class="code" href="classRectCmd.html">00191</a> <span class="keyword">class </span><a class="code" href="classRectCmd.html">RectCmd</a>: <span class="keyword">public</span> <a class="code" href="classPlacementCmd.html">PlacementCmd</a> {
<a name="l00192"></a>00192 <span class="keyword">public</span>:
<a name="l00200"></a><a class="code" href="classRectCmd.html#cbc69ea12be429e2713c79ba4a0e0842">00200</a> <a class="code" href="classRectCmd.html#cbc69ea12be429e2713c79ba4a0e0842">RectCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <a class="code" href="structRect.html">Rect</a> placement, <a class="code" href="structDrawContext.html">DrawContext</a> dc, <span class="keywordtype">bool</span> bBack=<span class="keyword">false</span>):
<a name="l00201"></a>00201 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, placement, dc, bBack) { }
<a name="l00202"></a>00202
<a name="l00203"></a>00203 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classRectCmd.html#4a793d0fd3fd35130bd423e2a58f9c5a" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00204"></a><a class="code" href="classRectCmd.html#b31c7748e026418c4684c436190e64ae">00204</a> <span class="keyword">virtual</span> std::string <a class="code" href="classRectCmd.html#b31c7748e026418c4684c436190e64ae" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classRectCmd.html#54ccf18c93982033ac8f3adcea72da53" title="command id string">szCmdName</a>; }
<a name="l00205"></a><a class="code" href="classRectCmd.html#54ccf18c93982033ac8f3adcea72da53">00205</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classRectCmd.html#54ccf18c93982033ac8f3adcea72da53" title="command id string">szCmdName</a>;
<a name="l00206"></a>00206
<a name="l00212"></a><a class="code" href="classRectCmd.html#52b16ce14fbd6250f82d756a1d5f608e">00212</a> <a class="code" href="classRectCmd.html#cbc69ea12be429e2713c79ba4a0e0842">RectCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &<a class="code" href="classPlacementCmd.html#1ad8e926b4843921210412cf247f8e7b" title="Command export to text string. Needed for macro saving.">args</a>):
<a name="l00213"></a>00213 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, args) { }
<a name="l00214"></a>00214 };
<a name="l00215"></a>00215
<a name="l00220"></a><a class="code" href="classCircleCmd.html">00220</a> <span class="keyword">class </span><a class="code" href="classCircleCmd.html">CircleCmd</a>: <span class="keyword">public</span> <a class="code" href="classPlacementCmd.html">PlacementCmd</a> {
<a name="l00221"></a>00221 <span class="keyword">public</span>:
<a name="l00229"></a><a class="code" href="classCircleCmd.html#63f90391b0c038cf2ad1327d971eed0e">00229</a> <a class="code" href="classCircleCmd.html#63f90391b0c038cf2ad1327d971eed0e">CircleCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <a class="code" href="structRect.html">Rect</a> placement, <a class="code" href="structDrawContext.html">DrawContext</a> dc, <span class="keywordtype">bool</span> bBack=<span class="keyword">false</span>):
<a name="l00230"></a>00230 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, placement, dc, bBack) { init(); }
<a name="l00231"></a>00231
<a name="l00232"></a>00232 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCircleCmd.html#7df8426dec09ec729521f77b93c92ef6" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00233"></a><a class="code" href="classCircleCmd.html#9fd3d2925d23108bb46426784f21bf3b">00233</a> <span class="keyword">virtual</span> std::string <a class="code" href="classCircleCmd.html#9fd3d2925d23108bb46426784f21bf3b" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classCircleCmd.html#3bf869e6c8dac57229cabfdd7db93a67" title="command id string">szCmdName</a>; }
<a name="l00234"></a><a class="code" href="classCircleCmd.html#3bf869e6c8dac57229cabfdd7db93a67">00234</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classCircleCmd.html#3bf869e6c8dac57229cabfdd7db93a67" title="command id string">szCmdName</a>;
<a name="l00235"></a>00235
<a name="l00241"></a><a class="code" href="classCircleCmd.html#7197888052ccac3fd4e43eebdc47e827">00241</a> <a class="code" href="classCircleCmd.html#63f90391b0c038cf2ad1327d971eed0e">CircleCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &<a class="code" href="classPlacementCmd.html#1ad8e926b4843921210412cf247f8e7b" title="Command export to text string. Needed for macro saving.">args</a>):
<a name="l00242"></a>00242 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, args) { init(); }
<a name="l00243"></a>00243
<a name="l00244"></a>00244 <span class="keyword">private</span>:
<a name="l00245"></a>00245 <span class="keywordtype">void</span> drawCirclePoints (<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00246"></a>00246
<a name="l00247"></a>00247 <span class="keywordtype">int</span> _iRadius;
<a name="l00248"></a>00248 <span class="keywordtype">int</span> _iCenterX;
<a name="l00249"></a>00249 <span class="keywordtype">int</span> _iCenterY;
<a name="l00250"></a>00250
<a name="l00251"></a>00251 <span class="keywordtype">void</span> init () {
<a name="l00252"></a>00252 _iRadius = (<a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>.<a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4" title="Object size.">size</a>.<a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a> - <a class="code" href="classPlacementCmd.html#178537b0c589e296b95b2c80ca192458" title="Round brush radius.">_iBrushWidth</a>) >> 1;
<a name="l00253"></a>00253 _iCenterX = <a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>.<a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a>.<a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a> + _iRadius;
<a name="l00254"></a>00254 _iCenterY = <a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>.<a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a>.<a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a> + _iRadius;
<a name="l00255"></a>00255 }
<a name="l00256"></a>00256 };
<a name="l00257"></a>00257
<a name="l00262"></a><a class="code" href="classEllipseCmd.html">00262</a> <span class="keyword">class </span><a class="code" href="classEllipseCmd.html">EllipseCmd</a>: <span class="keyword">public</span> <a class="code" href="classPlacementCmd.html">PlacementCmd</a> {
<a name="l00263"></a>00263 <span class="keyword">public</span>:
<a name="l00271"></a><a class="code" href="classEllipseCmd.html#6ece1cd900d7c1ee6d6e74d8408d4a50">00271</a> <a class="code" href="classEllipseCmd.html#6ece1cd900d7c1ee6d6e74d8408d4a50">EllipseCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <a class="code" href="structRect.html">Rect</a> placement, <a class="code" href="structDrawContext.html">DrawContext</a> dc, <span class="keywordtype">bool</span> bBack=<span class="keyword">false</span>):
<a name="l00272"></a>00272 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, placement, dc, bBack) { init(); }
<a name="l00273"></a>00273
<a name="l00274"></a>00274 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classEllipseCmd.html#dcbac39e8637ef45e934f15069cb70dc" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00275"></a><a class="code" href="classEllipseCmd.html#5201cbdb6719b44fde76a7f936322083">00275</a> <span class="keyword">virtual</span> std::string <a class="code" href="classEllipseCmd.html#5201cbdb6719b44fde76a7f936322083" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classEllipseCmd.html#35b1497f537824bf386c622b65d436a7" title="command id string">szCmdName</a>; }
<a name="l00276"></a><a class="code" href="classEllipseCmd.html#35b1497f537824bf386c622b65d436a7">00276</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classEllipseCmd.html#35b1497f537824bf386c622b65d436a7" title="command id string">szCmdName</a>;
<a name="l00277"></a>00277
<a name="l00283"></a><a class="code" href="classEllipseCmd.html#b9b945dbe234350e9fc97cb5a49f1a3e">00283</a> <a class="code" href="classEllipseCmd.html#6ece1cd900d7c1ee6d6e74d8408d4a50">EllipseCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &<a class="code" href="classPlacementCmd.html#1ad8e926b4843921210412cf247f8e7b" title="Command export to text string. Needed for macro saving.">args</a>):
<a name="l00284"></a>00284 <a class="code" href="classPlacementCmd.html">PlacementCmd</a> (pFB, args) { init(); }
<a name="l00285"></a>00285
<a name="l00286"></a>00286 <span class="keyword">private</span>:
<a name="l00287"></a>00287 <span class="keywordtype">void</span> drawEllipsePoints (<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00288"></a>00288
<a name="l00289"></a>00289 <span class="keywordtype">int</span> _iHalfAxisA, _iHalfAxisB;
<a name="l00290"></a>00290 <span class="keywordtype">int</span> _iCenterX, _iCenterY;
<a name="l00291"></a>00291
<a name="l00292"></a>00292 <span class="keywordtype">void</span> init () {
<a name="l00293"></a>00293 _iHalfAxisA = (<a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>.<a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4" title="Object size.">size</a>.<a class="code" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c" title="Object width.">width</a> - <a class="code" href="classPlacementCmd.html#178537b0c589e296b95b2c80ca192458" title="Round brush radius.">_iBrushWidth</a>) >> 1;
<a name="l00294"></a>00294 _iHalfAxisB = (<a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>.<a class="code" href="structRect.html#496dea3b8e646464769a5b0dfb99d3a4" title="Object size.">size</a>.<a class="code" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba" title="Object height.">height</a>- <a class="code" href="classPlacementCmd.html#178537b0c589e296b95b2c80ca192458" title="Round brush radius.">_iBrushWidth</a>) >> 1;
<a name="l00295"></a>00295 _iCenterX = <a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>.<a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a>.<a class="code" href="structPoint.html#78b0d59aea63927c0c1e832511b102c1" title="point position">x</a> + _iHalfAxisA;
<a name="l00296"></a>00296 _iCenterY = <a class="code" href="classPlacementCmd.html#2a797f8932459df1c605eb9ad37e6326" title="Placement of derived command.">_place</a>.<a class="code" href="structRect.html#a6f973a707e897157a199ed43e201e50" title="Object position.">at</a>.<a class="code" href="structPoint.html#2b0443e1b9cdf6b80f057a821fd2278a" title="point position">y</a> + _iHalfAxisB;
<a name="l00297"></a>00297 }
<a name="l00298"></a>00298 };
<a name="l00299"></a>00299
<a name="l00304"></a><a class="code" href="classTextCmd.html">00304</a> <span class="keyword">class </span><a class="code" href="classTextCmd.html">TextCmd</a>: <span class="keyword">public</span> <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> {
<a name="l00305"></a>00305 <span class="keyword">public</span>:
<a name="l00313"></a>00313 <a class="code" href="classTextCmd.html#7ec212044aa6d7a0ada839f459a17a3d">TextCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <a class="code" href="structDrawContext.html">DrawContext</a> dc, <a class="code" href="structPoint.html">Point</a> position, <span class="keyword">const</span> <span class="keywordtype">char</span> *szText);
<a name="l00314"></a>00314
<a name="l00315"></a>00315 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTextCmd.html#5b21c88907521aa5040b164ef0079fed" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00316"></a><a class="code" href="classTextCmd.html#04f61260709b9a70483188a0410760dc">00316</a> <span class="keyword">virtual</span> std::string <a class="code" href="classTextCmd.html#04f61260709b9a70483188a0410760dc" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classTextCmd.html#e2ebe13b76ea3b864a6e3741029bcdc4" title="Command id string.">szCmdName</a>; }
<a name="l00317"></a>00317 <span class="keyword">virtual</span> std::string <a class="code" href="classTextCmd.html#81a0bf34b3bb2498f86e090a7265a38b" title="Command export to text string. Needed for macro saving.">args</a> ();
<a name="l00318"></a>00318
<a name="l00324"></a>00324 <a class="code" href="classTextCmd.html#7ec212044aa6d7a0ada839f459a17a3d">TextCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &<a class="code" href="classTextCmd.html#81a0bf34b3bb2498f86e090a7265a38b" title="Command export to text string. Needed for macro saving.">args</a>);
<a name="l00325"></a>00325
<a name="l00331"></a><a class="code" href="classTextCmd_1_1ErrFreeType.html">00331</a> <span class="keyword">class </span><a class="code" href="classTextCmd_1_1ErrFreeType.html">ErrFreeType</a> { };
<a name="l00332"></a>00332
<a name="l00333"></a><a class="code" href="classTextCmd.html#e2ebe13b76ea3b864a6e3741029bcdc4">00333</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classTextCmd.html#e2ebe13b76ea3b864a6e3741029bcdc4" title="Command id string.">szCmdName</a>;
<a name="l00334"></a>00334
<a name="l00335"></a>00335 <span class="keyword">private</span>:
<a name="l00336"></a>00336 <span class="keywordtype">void</span> init ();
<a name="l00337"></a>00337
<a name="l00338"></a>00338 <span class="keywordtype">int</span> _iSize;
<a name="l00339"></a>00339 <span class="keywordtype">int</span> _iDpi;
<a name="l00340"></a>00340 <a class="code" href="structPixel.html">Pixel</a> _fgColor;
<a name="l00341"></a>00341 <a class="code" href="structPixel.html">Pixel</a> _bgColor;
<a name="l00342"></a>00342 <a class="code" href="structPoint.html">Point</a> _pos;
<a name="l00343"></a>00343 std::string _fontFile;
<a name="l00344"></a>00344 std::string _strText;
<a name="l00345"></a>00345 };
<a name="l00346"></a>00346
<a name="l00351"></a><a class="code" href="classSelectCmd.html">00351</a> <span class="keyword">class </span><a class="code" href="classSelectCmd.html">SelectCmd</a>: <span class="keyword">public</span> <a class="code" href="classCmd.html">Cmd</a> {
<a name="l00352"></a>00352 <span class="keyword">public</span>:
<a name="l00357"></a>00357 <a class="code" href="classSelectCmd.html#7e441dab385cf88becf121d57dd4b14c">SelectCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB);
<a name="l00358"></a>00358
<a name="l00364"></a>00364 <a class="code" href="classSelectCmd.html#7e441dab385cf88becf121d57dd4b14c">SelectCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> <a class="code" href="structRect.html">Rect</a> &sel);
<a name="l00365"></a>00365
<a name="l00366"></a>00366 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classSelectCmd.html#41d2b80b92c534dd8e44b0a416a23433" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00367"></a>00367 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classSelectCmd.html#e5be3dc9fd2217f6021222df47eea66c" title="Revert command execution using undo informations.">unExec</a> ();
<a name="l00368"></a><a class="code" href="classSelectCmd.html#965b66a4b5179dc81ef1914a428b53ab">00368</a> <span class="keyword">virtual</span> std::string <a class="code" href="classSelectCmd.html#965b66a4b5179dc81ef1914a428b53ab" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classSelectCmd.html#10ce1fdf06d085062f807f03c3febe81" title="Command id string.">szCmdName</a>; }
<a name="l00369"></a>00369 <span class="keyword">virtual</span> std::string <a class="code" href="classSelectCmd.html#1f237c708acec9dcce6cc58d0e545509" title="Command export to text string. Needed for macro saving.">args</a> ();
<a name="l00370"></a>00370
<a name="l00376"></a>00376 <a class="code" href="classSelectCmd.html#7e441dab385cf88becf121d57dd4b14c">SelectCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &<a class="code" href="classSelectCmd.html#1f237c708acec9dcce6cc58d0e545509" title="Command export to text string. Needed for macro saving.">args</a>);
<a name="l00377"></a>00377
<a name="l00378"></a><a class="code" href="classSelectCmd.html#10ce1fdf06d085062f807f03c3febe81">00378</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classSelectCmd.html#10ce1fdf06d085062f807f03c3febe81" title="Command id string.">szCmdName</a>;
<a name="l00379"></a>00379
<a name="l00380"></a>00380 <span class="keyword">private</span>:
<a name="l00381"></a>00381 <a class="code" href="structRect.html">Rect</a> _newSel;
<a name="l00382"></a>00382 <a class="code" href="structRect.html">Rect</a> _oldSel;
<a name="l00383"></a>00383 };
<a name="l00384"></a>00384
<a name="l00385"></a><a class="code" href="classGrayScaleCmd.html">00385</a> <span class="keyword">class </span><a class="code" href="classGrayScaleCmd.html">GrayScaleCmd</a>: <span class="keyword">public</span> <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> {
<a name="l00386"></a>00386 <span class="keyword">public</span>:
<a name="l00391"></a><a class="code" href="classGrayScaleCmd.html#1b96423b107ff85ff2ff4b31896fe79b">00391</a> <a class="code" href="classGrayScaleCmd.html#1b96423b107ff85ff2ff4b31896fe79b">GrayScaleCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB):
<a name="l00392"></a>00392 <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> (pFB)
<a name="l00393"></a>00393 {
<a name="l00394"></a>00394 }
<a name="l00395"></a>00395
<a name="l00396"></a>00396 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGrayScaleCmd.html#49a960cc7674d6c86d11c67d7a7941f5" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00397"></a><a class="code" href="classGrayScaleCmd.html#633357803bec57de6f7c7690b4173409">00397</a> <span class="keyword">virtual</span> std::string <a class="code" href="classGrayScaleCmd.html#633357803bec57de6f7c7690b4173409" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classGrayScaleCmd.html#f9f399953953c9974929fb542deb95d7" title="Command id string.">szCmdName</a>; }
<a name="l00398"></a><a class="code" href="classGrayScaleCmd.html#9290f42b0297da7124159a1bacb11153">00398</a> <span class="keyword">virtual</span> std::string <a class="code" href="classGrayScaleCmd.html#9290f42b0297da7124159a1bacb11153" title="Command export to text string. Needed for macro saving.">args</a> () { <span class="keywordflow">return</span> std::string(); }
<a name="l00399"></a>00399
<a name="l00404"></a><a class="code" href="classGrayScaleCmd.html#f0d75496521693d72c19e41316fd6f9c">00404</a> <a class="code" href="classGrayScaleCmd.html#1b96423b107ff85ff2ff4b31896fe79b">GrayScaleCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &):
<a name="l00405"></a>00405 <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> (pFB)
<a name="l00406"></a>00406 {
<a name="l00407"></a>00407 }
<a name="l00408"></a>00408
<a name="l00409"></a><a class="code" href="classGrayScaleCmd.html#f9f399953953c9974929fb542deb95d7">00409</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classGrayScaleCmd.html#f9f399953953c9974929fb542deb95d7" title="Command id string.">szCmdName</a>;
<a name="l00410"></a>00410 };
<a name="l00411"></a>00411
<a name="l00412"></a><a class="code" href="classInvertCmd.html">00412</a> <span class="keyword">class </span><a class="code" href="classInvertCmd.html">InvertCmd</a>: <span class="keyword">public</span> <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> {
<a name="l00413"></a>00413 <span class="keyword">public</span>:
<a name="l00418"></a><a class="code" href="classInvertCmd.html#ea24e5b508391b9c790e3ee3bdcdd15a">00418</a> <a class="code" href="classInvertCmd.html#ea24e5b508391b9c790e3ee3bdcdd15a">InvertCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB):
<a name="l00419"></a>00419 <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> (pFB)
<a name="l00420"></a>00420 {
<a name="l00421"></a>00421 }
<a name="l00422"></a>00422
<a name="l00423"></a>00423 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInvertCmd.html#1eee2b35bd93906806488191660ff909" title="Command execution. This should save undo informations.">exec</a> ();
<a name="l00424"></a><a class="code" href="classInvertCmd.html#a48c2025dccba4c98dacf7baa2fdb4c5">00424</a> <span class="keyword">virtual</span> std::string <a class="code" href="classInvertCmd.html#a48c2025dccba4c98dacf7baa2fdb4c5" title="Command identification. This will appear in config file.">name</a> () { <span class="keywordflow">return</span> <a class="code" href="classInvertCmd.html#9c22612a254155af48c356f83f49ce6f" title="Command id string.">szCmdName</a>; }
<a name="l00425"></a><a class="code" href="classInvertCmd.html#4c8774c21e5d9ef2a7d1c0e3d78e5a5b">00425</a> <span class="keyword">virtual</span> std::string <a class="code" href="classInvertCmd.html#4c8774c21e5d9ef2a7d1c0e3d78e5a5b" title="Command export to text string. Needed for macro saving.">args</a> () { <span class="keywordflow">return</span> std::string(); }
<a name="l00426"></a>00426
<a name="l00431"></a><a class="code" href="classInvertCmd.html#066a46a6acf81c80e07755bb900232f8">00431</a> <a class="code" href="classInvertCmd.html#ea24e5b508391b9c790e3ee3bdcdd15a">InvertCmd</a> (<a class="code" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <span class="keyword">const</span> std::string &):
<a name="l00432"></a>00432 <a class="code" href="classSlowUndoSelectCmd.html">SlowUndoSelectCmd</a> (pFB)
<a name="l00433"></a>00433 {
<a name="l00434"></a>00434 }
<a name="l00435"></a>00435
<a name="l00436"></a><a class="code" href="classInvertCmd.html#9c22612a254155af48c356f83f49ce6f">00436</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> <a class="code" href="classInvertCmd.html#9c22612a254155af48c356f83f49ce6f" title="Command id string.">szCmdName</a>;
<a name="l00437"></a>00437 };
<a name="l00438"></a>00438
<a name="l00439"></a>00439 <span class="preprocessor">#endif // DRAW_H</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>