Česky
Kamil Dudka

GED 2006 (C++)

File detail

Name:DownloadstructBoxSize.html [Download]
Location: ged2006 > doc > classes
Size:11.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: BoxSize Struct 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>BoxSize Struct Reference</h1><!-- doxytag: class="BoxSize" --><code>#include &lt;<a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>&gt;</code>
<p>
<a href="structBoxSize-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="structBoxSize.html#41a7bca1753c8055e0a5893eac95a9c2">BoxSize</a> ()</td></tr>
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBoxSize.html#114641ad49ee0d205a9403cd9f69cb44">BoxSize</a> (int x, int y)</td></tr>
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBoxSize.html#a7f677ba4609a197f4f9abd08495634d">nPixels</a> () const</td></tr>
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBoxSize.html#13eca478e4ec88b513531b007bd8cd35">operator==</a> (const <a class="el" href="structBoxSize.html">BoxSize</a> &amp;b) const </td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="structBoxSize.html">BoxSize</a> objects comparation. Same meaning of operator as for built-in types.  <a href="#13eca478e4ec88b513531b007bd8cd35"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBoxSize.html#a2fd841da32c4cff87da13b67b4e34c2">operator!=</a> (const <a class="el" href="structBoxSize.html">BoxSize</a> &amp;b) const </td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Negated <a class="el" href="structBoxSize.html">BoxSize</a> objects comparation. Same meaning of operator as for built-in types.  <a href="#a2fd841da32c4cff87da13b67b4e34c2"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c">width</a></td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Object width.  <a href="#0e375184b9d95ee1d2306a95995ef22c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba">height</a></td></tr>
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Object height.  <a href="#1f1467549b4ba79825cfd64207e24fba"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
2D ortogonal object size 
<p>
 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00025">25</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="41a7bca1753c8055e0a5893eac95a9c2"></a><!-- doxytag: member="BoxSize::BoxSize" ref="41a7bca1753c8055e0a5893eac95a9c2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BoxSize::BoxSize           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Construct <a class="el" href="structBoxSize.html">BoxSize</a> with zero size. 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00032">32</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.
</div>
</div><p>
<a class="anchor" name="114641ad49ee0d205a9403cd9f69cb44"></a><!-- doxytag: member="BoxSize::BoxSize" ref="114641ad49ee0d205a9403cd9f69cb44" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BoxSize::BoxSize           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>y</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>
Construct <a class="el" href="structBoxSize.html">BoxSize</a> with given size. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>Object width. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Object height. </td></tr>
  </table>
</dl>
 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00039">39</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a7f677ba4609a197f4f9abd08495634d"></a><!-- doxytag: member="BoxSize::nPixels" ref="a7f677ba4609a197f4f9abd08495634d" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int BoxSize::nPixels           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Return object pixels count. </dd></dl>
 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00044">44</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.
<p>
References <a class="el" href="framebuffer_8h-source.html#l00027">height</a>, and <a class="el" href="framebuffer_8h-source.html#l00026">width</a>.
</div>
</div><p>
<a class="anchor" name="13eca478e4ec88b513531b007bd8cd35"></a><!-- doxytag: member="BoxSize::operator==" ref="13eca478e4ec88b513531b007bd8cd35" args="(const BoxSize &amp;b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BoxSize::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structBoxSize.html">BoxSize</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
<a class="el" href="structBoxSize.html">BoxSize</a> objects comparation. Same meaning of operator as for built-in types. 
<p>
 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00047">47</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.
<p>
References <a class="el" href="framebuffer_8h-source.html#l00027">height</a>, and <a class="el" href="framebuffer_8h-source.html#l00026">width</a>.
<p>
Referenced by <a class="el" href="framebuffer_8h-source.html#l00054">operator!=()</a>.
</div>
</div><p>
<a class="anchor" name="a2fd841da32c4cff87da13b67b4e34c2"></a><!-- doxytag: member="BoxSize::operator!=" ref="a2fd841da32c4cff87da13b67b4e34c2" args="(const BoxSize &amp;b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BoxSize::operator!=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structBoxSize.html">BoxSize</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Negated <a class="el" href="structBoxSize.html">BoxSize</a> objects comparation. Same meaning of operator as for built-in types. 
<p>
 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00054">54</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.
<p>
References <a class="el" href="framebuffer_8h-source.html#l00047">operator==()</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="0e375184b9d95ee1d2306a95995ef22c"></a><!-- doxytag: member="BoxSize::width" ref="0e375184b9d95ee1d2306a95995ef22c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structBoxSize.html#0e375184b9d95ee1d2306a95995ef22c">BoxSize::width</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Object width. 
<p>
 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00026">26</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.
<p>
Referenced by <a class="el" href="framebuffer_8h-source.html#l00044">nPixels()</a>, <a class="el" href="framebuffer_8h-source.html#l00047">operator==()</a>, <a class="el" href="framebuffer_8h-source.html#l00199">FrameBuffer::operator[]()</a>, and <a class="el" href="docwnd_8h-source.html#l00291">MyFl_Image::uncache()</a>.
</div>
</div><p>
<a class="anchor" name="1f1467549b4ba79825cfd64207e24fba"></a><!-- doxytag: member="BoxSize::height" ref="1f1467549b4ba79825cfd64207e24fba" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structBoxSize.html#1f1467549b4ba79825cfd64207e24fba">BoxSize::height</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>
Object height. 
<p>
 
<p>
Definition at line <a class="el" href="framebuffer_8h-source.html#l00027">27</a> of file <a class="el" href="framebuffer_8h-source.html">framebuffer.h</a>.
<p>
Referenced by <a class="el" href="framebuffer_8h-source.html#l00044">nPixels()</a>, <a class="el" href="framebuffer_8h-source.html#l00047">operator==()</a>, and <a class="el" href="docwnd_8h-source.html#l00291">MyFl_Image::uncache()</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="framebuffer_8h-source.html">framebuffer.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>