Česky
Kamil Dudka

GED 2006 (C++)

File detail

Name:DownloadclassCircleCmd.html [Download]
Location: ged2006 > doc > classes
Size:10.7 KB
Last modification:2022-09-09 13:06

Source code

<!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: CircleCmd Class Reference</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&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>CircleCmd Class Reference</h1><!-- doxytag: class="CircleCmd" --><!-- doxytag: inherits="PlacementCmd" --><code>#include &lt;<a class="el" href="draw_8h-source.html">draw.h</a>&gt;</code>
<p>
<p>Inheritance diagram for CircleCmd:
<p><center><img src="classCircleCmd.png" usemap="#CircleCmd_map" border="0" alt=""></center>
<map name="CircleCmd_map">
<area href="classPlacementCmd.html" alt="PlacementCmd" shape="rect" coords="0,112,128,136">
<area href="classSlowUndoSelectCmd.html" alt="SlowUndoSelectCmd" shape="rect" coords="0,56,128,80">
<area href="classCmd.html" alt="Cmd" shape="rect" coords="0,0,128,24">
</map>
<a href="classCircleCmd-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCircleCmd.html#63f90391b0c038cf2ad1327d971eed0e">CircleCmd</a> (<a class="el" href="classFrameBuffer.html">FrameBuffer</a> *pFB, <a class="el" href="structRect.html">Rect</a> placement, <a class="el" href="structDrawContext.html">DrawContext</a> dc, bool bBack=false)</td></tr>
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCircleCmd.html#7df8426dec09ec729521f77b93c92ef6">exec</a> ()</td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Command execution. This should save undo informations.  <a href="#7df8426dec09ec729521f77b93c92ef6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCircleCmd.html#9fd3d2925d23108bb46426784f21bf3b">name</a> ()</td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Command identification. This will appear in config file.  <a href="#9fd3d2925d23108bb46426784f21bf3b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCircleCmd.html#7197888052ccac3fd4e43eebdc47e827">CircleCmd</a> (<a class="el" href="classFrameBuffer.html">FrameBuffer</a> *pFB, const std::string &amp;args)</td></tr>
 
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCircleCmd.html#3bf869e6c8dac57229cabfdd7db93a67">szCmdName</a></td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">command id string  <a href="#3bf869e6c8dac57229cabfdd7db93a67"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Circle draw command class. Design pattern command. 
<p>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00220">220</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="63f90391b0c038cf2ad1327d971eed0e"></a><!-- doxytag: member="CircleCmd::CircleCmd" ref="63f90391b0c038cf2ad1327d971eed0e" args="(FrameBuffer *pFB, Rect placement, DrawContext dc, bool bBack=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CircleCmd::CircleCmd           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classFrameBuffer.html">FrameBuffer</a> *&nbsp;</td>
          <td class="paramname"> <em>pFB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structRect.html">Rect</a>&nbsp;</td>
          <td class="paramname"> <em>placement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structDrawContext.html">DrawContext</a>&nbsp;</td>
          <td class="paramname"> <em>dc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>bBack</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Construct circle command. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pFB</em>&nbsp;</td><td>Pointer to framebuffer to work with. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>placement</em>&nbsp;</td><td>Command placement. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dc</em>&nbsp;</td><td>Current draw context. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bBack</em>&nbsp;</td><td>Give true to use background brush. </td></tr>
  </table>
</dl>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00229">229</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
</div>
</div><p>
<a class="anchor" name="7197888052ccac3fd4e43eebdc47e827"></a><!-- doxytag: member="CircleCmd::CircleCmd" ref="7197888052ccac3fd4e43eebdc47e827" args="(FrameBuffer *pFB, const std::string &amp;args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CircleCmd::CircleCmd           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classFrameBuffer.html">FrameBuffer</a> *&nbsp;</td>
          <td class="paramname"> <em>pFB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>args</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Import circle command. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pFB</em>&nbsp;</td><td>Pointer to frame buffer to work with. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>args</em>&nbsp;</td><td>Data to import -- previously returned by <a class="el" href="classPlacementCmd.html#1ad8e926b4843921210412cf247f8e7b" title="Command export to text string. Needed for macro saving.">PlacementCmd::args()</a> method. </td></tr>
  </table>
</dl>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00241">241</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7df8426dec09ec729521f77b93c92ef6"></a><!-- doxytag: member="CircleCmd::exec" ref="7df8426dec09ec729521f77b93c92ef6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CircleCmd::exec           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Command execution. This should save undo informations. 
<p>
 
<p>
Reimplemented from <a class="el" href="classSlowUndoSelectCmd.html#302b2114591a5469e70c5b32225cd67e">SlowUndoSelectCmd</a>.
</div>
</div><p>
<a class="anchor" name="9fd3d2925d23108bb46426784f21bf3b"></a><!-- doxytag: member="CircleCmd::name" ref="9fd3d2925d23108bb46426784f21bf3b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string CircleCmd::name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Command identification. This will appear in config file. 
<p>
 
<p>
Implements <a class="el" href="classSlowUndoSelectCmd.html#ee3bd5a915a80da8d81d1e5934639ad2">SlowUndoSelectCmd</a>.
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00233">233</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
<p>
References <a class="el" href="draw_8h-source.html#l00234">szCmdName</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="3bf869e6c8dac57229cabfdd7db93a67"></a><!-- doxytag: member="CircleCmd::szCmdName" ref="3bf869e6c8dac57229cabfdd7db93a67" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* const <a class="el" href="classCircleCmd.html#3bf869e6c8dac57229cabfdd7db93a67">CircleCmd::szCmdName</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
command id string 
<p>
 
<p>
Definition at line <a class="el" href="draw_8h-source.html#l00234">234</a> of file <a class="el" href="draw_8h-source.html">draw.h</a>.
<p>
Referenced by <a class="el" href="draw_8h-source.html#l00233">name()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="draw_8h-source.html">draw.h</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by&nbsp;
<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>