Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > d2855e9970bf9a8259f08fe181d69f9d > files > 73

gnome-chemistry-utils-devel-0.14.2-1.mga3.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>The Gnome Chemistry Utils: gccv::Group Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">The Gnome Chemistry Utils
   &#160;<span id="projectnumber">0.14.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegccv.html">gccv</a></li><li class="navelem"><a class="el" href="classgccv_1_1Group.html">Group</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classgccv_1_1Group-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gccv::Group Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> with <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> children.  
 <a href="classgccv_1_1Group.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="group_8h_source.html">group.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gccv::Group:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgccv_1_1Group.png" usemap="#gccv::Group_map" alt=""/>
  <map id="gccv::Group_map" name="gccv::Group_map">
<area href="classgccv_1_1Item.html" title="The base class for the canvas contents." alt="gccv::Item" shape="rect" coords="0,0,81,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9120de19a47cd96b9737246decaed8db"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a9120de19a47cd96b9737246decaed8db">Group</a> (<a class="el" href="classgccv_1_1Canvas.html">Canvas</a> *canvas)</td></tr>
<tr class="memitem:a402b093d09d0886ed13ee00d54f3c5b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a402b093d09d0886ed13ee00d54f3c5b0">Group</a> (<a class="el" href="classgccv_1_1Canvas.html">Canvas</a> *canvas, double x, double y)</td></tr>
<tr class="memitem:ad850b13ca4940f10b0b2d5faec2f7079"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#ad850b13ca4940f10b0b2d5faec2f7079">Group</a> (<a class="el" href="classgccv_1_1Group.html">Group</a> *parent, <a class="el" href="classgccv_1_1ItemClient.html">ItemClient</a> *client=NULL)</td></tr>
<tr class="memitem:a33216289570d4c9d09447a5d8ad92f1c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a33216289570d4c9d09447a5d8ad92f1c">Group</a> (<a class="el" href="classgccv_1_1Group.html">Group</a> *parent, double x, double y, <a class="el" href="classgccv_1_1ItemClient.html">ItemClient</a> *client=NULL)</td></tr>
<tr class="memitem:a45903c71a7b2da6025dca0223a86b90c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a45903c71a7b2da6025dca0223a86b90c">~Group</a> ()</td></tr>
<tr class="memitem:a6e0e96c881b43469761b0c8c27faf625"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a6e0e96c881b43469761b0c8c27faf625">AddChild</a> (<a class="el" href="classgccv_1_1Item.html">Item</a> *item)</td></tr>
<tr class="memitem:acae5c712e1d4647a6796929390dd9d2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#acae5c712e1d4647a6796929390dd9d2e">RemoveChild</a> (<a class="el" href="classgccv_1_1Item.html">Item</a> *item)</td></tr>
<tr class="memitem:a8af23894325e553eb7ebeec5144c9b58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a8af23894325e553eb7ebeec5144c9b58">MoveToFront</a> (<a class="el" href="classgccv_1_1Item.html">Item</a> *item)</td></tr>
<tr class="memitem:a1ccff02e4f75c65aa36a4aaaff7b2053"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a1ccff02e4f75c65aa36a4aaaff7b2053">MoveToBack</a> (<a class="el" href="classgccv_1_1Item.html">Item</a> *item)</td></tr>
<tr class="memitem:a7f719ca1c9a6ffb3373c1d2f1ce75927"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1Item.html">Item</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a7f719ca1c9a6ffb3373c1d2f1ce75927">GetFirstChild</a> (std::list&lt; <a class="el" href="classgccv_1_1Item.html">Item</a> * &gt;::iterator &amp;it)</td></tr>
<tr class="memitem:a6206e7a4ef555776e1170be0015e15b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1Item.html">Item</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a6206e7a4ef555776e1170be0015e15b1">GetNextChild</a> (std::list&lt; <a class="el" href="classgccv_1_1Item.html">Item</a> * &gt;::iterator &amp;it)</td></tr>
<tr class="memitem:ae5a06fd30ace7a4d07ecb7a615cfbc4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#ae5a06fd30ace7a4d07ecb7a615cfbc4f">AdjustBounds</a> (double &amp;x0, double &amp;y0, double &amp;x1, double &amp;y1) const </td></tr>
<tr class="memitem:a736ef4db91f6632544a14a6f1487d3e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a736ef4db91f6632544a14a6f1487d3e0">SetPosition</a> (double x, double y)</td></tr>
<tr class="memitem:a77fe0946f7c37317755a3cfefbc908f4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a77fe0946f7c37317755a3cfefbc908f4">Distance</a> (double x, double y, <a class="el" href="classgccv_1_1Item.html">Item</a> **item) const </td></tr>
<tr class="memitem:a0bf1f7cd7095add2704059a96cf506e2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a0bf1f7cd7095add2704059a96cf506e2">Draw</a> (cairo_t *cr, double x0, double y0, double x1, double y1, bool is_vector) const </td></tr>
<tr class="memitem:a435d6a3fcf4d049320fa00fa9f326599"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a435d6a3fcf4d049320fa00fa9f326599">Move</a> (double x, double y)</td></tr>
<tr class="inherit_header pub_methods_classgccv_1_1Item"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgccv_1_1Item')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classgccv_1_1Item.html">gccv::Item</a></td></tr>
<tr class="memitem:a00dc502013d3805e8e9582cbe04f8e86 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a00dc502013d3805e8e9582cbe04f8e86">Item</a> (<a class="el" href="classgccv_1_1Canvas.html">Canvas</a> *canvas)</td></tr>
<tr class="memitem:a300f88fb4a14e60c60b701d77eaf7732 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a300f88fb4a14e60c60b701d77eaf7732">Item</a> (<a class="el" href="classgccv_1_1Group.html">Group</a> *parent, <a class="el" href="classgccv_1_1ItemClient.html">ItemClient</a> *client=NULL)</td></tr>
<tr class="memitem:a3212226483cc34733ebb96f4d8c92aec inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a3212226483cc34733ebb96f4d8c92aec">~Item</a> ()</td></tr>
<tr class="memitem:a0e99b3280b4094c2f08a0a3091a810ad inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a0e99b3280b4094c2f08a0a3091a810ad">GetBounds</a> (double &amp;x0, double &amp;y0, double &amp;x1, double &amp;y1) const </td></tr>
<tr class="memitem:a1d47eb21c54ace4a3a0daec7ef7cc7d9 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a1d47eb21c54ace4a3a0daec7ef7cc7d9">Invalidate</a> () const </td></tr>
<tr class="memitem:a4695bfd756d24f51a442d261665b58b4 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a4695bfd756d24f51a442d261665b58b4">SetVisible</a> (bool visible)</td></tr>
<tr class="memitem:a32b6613d909867aaf1722228bf50d12e inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a32b6613d909867aaf1722228bf50d12e">BuildPath</a> (cairo_t *cr) const </td></tr>
<tr class="memitem:ae1786a80fb60d04cd3ae1565a4483ebf inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#ae1786a80fb60d04cd3ae1565a4483ebf">Draw</a> (cairo_t *cr, bool is_vector) const </td></tr>
<tr class="memitem:adaa5a67b57b1d3bc6641e7c78f205876 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#adaa5a67b57b1d3bc6641e7c78f205876">IsTopLevel</a> () const </td></tr>
<tr class="memitem:a24d1a344e5a3a9f8c5643daad858d35e inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a24d1a344e5a3a9f8c5643daad858d35e">SetClient</a> (<a class="el" href="classgccv_1_1ItemClient.html">ItemClient</a> *val)</td></tr>
<tr class="memitem:a835fbe58ce89d6bd491a6441473331cf inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1ItemClient.html">ItemClient</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a835fbe58ce89d6bd491a6441473331cf">GetClient</a> (void)</td></tr>
<tr class="memitem:a53778f0146ad57cebcb31f331e2ad31c inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1Group.html">Group</a> const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a53778f0146ad57cebcb31f331e2ad31c">GetParent</a> (void) const </td></tr>
<tr class="memitem:a442697870dedfce3a268f193f2d7e6a2 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a442697870dedfce3a268f193f2d7e6a2">GetVisible</a> (void) const </td></tr>
<tr class="memitem:aa1cb07da6bcaf0f6128510316ee21749 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#aa1cb07da6bcaf0f6128510316ee21749">SetOperator</a> (cairo_operator_t val)</td></tr>
<tr class="memitem:ace3bbb8e3f977cec7d335eac2c109eb6 inherit pub_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">cairo_operator_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#ace3bbb8e3f977cec7d335eac2c109eb6">GetOperator</a> (void) const </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a253137936cd03e1ece988552a2642e44"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Group.html#a253137936cd03e1ece988552a2642e44">UpdateBounds</a> ()</td></tr>
<tr class="inherit_header pro_methods_classgccv_1_1Item"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgccv_1_1Item')"><img src="closed.png" alt="-"/>&nbsp;Protected Member Functions inherited from <a class="el" href="classgccv_1_1Item.html">gccv::Item</a></td></tr>
<tr class="memitem:a821084c10ce3b8b928ec5125e8bd7145 inherit pro_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a821084c10ce3b8b928ec5125e8bd7145">BoundsChanged</a> ()</td></tr>
<tr class="memitem:a5adfad5f7619558d07c02b391ec2567b inherit pro_methods_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgccv_1_1Canvas.html">Canvas</a> const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a5adfad5f7619558d07c02b391ec2567b">GetCanvas</a> () const </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classgccv_1_1Item"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgccv_1_1Item')"><img src="closed.png" alt="-"/>&nbsp;Protected Attributes inherited from <a class="el" href="classgccv_1_1Item.html">gccv::Item</a></td></tr>
<tr class="memitem:a1670f7c6eaa6704b73c163d6a8482b92 inherit pro_attribs_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a1670f7c6eaa6704b73c163d6a8482b92">m_x0</a></td></tr>
<tr class="memitem:a1a7d69cc97c2a37e514be121f14f1575 inherit pro_attribs_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a1a7d69cc97c2a37e514be121f14f1575">m_y0</a></td></tr>
<tr class="memitem:a26a2adc7bb1afd939400f952273f9612 inherit pro_attribs_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a26a2adc7bb1afd939400f952273f9612">m_x1</a></td></tr>
<tr class="memitem:a4e8d6af8f5ad9c92b9c7935b1d016cdc inherit pro_attribs_classgccv_1_1Item"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgccv_1_1Item.html#a4e8d6af8f5ad9c92b9c7935b1d016cdc">m_y1</a></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> with <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> children. </p>
<p>A <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> is an <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> grouping several children <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> instances in a std::list. Children might also be <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> items themselves so that it allows for a hierarchical tree if <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> instances. The <a class="el" href="classgccv_1_1Canvas.html" title="the Canvas class">Canvas</a> class owns a top level <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> (see <a class="el" href="classgccv_1_1Canvas.html#a3ee6c326b4c13ab52d68773d8ca30089">Canvas::GetRoot()</a>) and all <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> instances in the canvas are descendants of this root <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a>. The <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> class owns a pair of coordinates, x and y, which are used to shift all the children. </p>

<p>Definition at line <a class="el" href="group_8h_source.html#l00046">46</a> of file <a class="el" href="group_8h_source.html">group.h</a>.</p>
</div><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9120de19a47cd96b9737246decaed8db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gccv::Group::Group </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Canvas.html">Canvas</a> *&#160;</td>
          <td class="paramname"><em>canvas</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">canvas</td><td>a <a class="el" href="classgccv_1_1Canvas.html" title="the Canvas class">Canvas</a>.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> and sets it as a child of the root <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> of <em>canvas</em>. </p>

</div>
</div>
<a class="anchor" id="a402b093d09d0886ed13ee00d54f3c5b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gccv::Group::Group </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Canvas.html">Canvas</a> *&#160;</td>
          <td class="paramname"><em>canvas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">canvas</td><td>a <a class="el" href="classgccv_1_1Canvas.html" title="the Canvas class">Canvas</a>. </td></tr>
    <tr><td class="paramname">x</td><td>the horizontal group shift. </td></tr>
    <tr><td class="paramname">y</td><td>the vertical group shift.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> at (<em>x</em>, <em>y</em>) and sets it as a child of the root <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> of <em>canvas</em>. </p>

</div>
</div>
<a class="anchor" id="ad850b13ca4940f10b0b2d5faec2f7079"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gccv::Group::Group </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Group.html">Group</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgccv_1_1ItemClient.html">ItemClient</a> *&#160;</td>
          <td class="paramname"><em>client</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>the <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> to which the new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> will be added. </td></tr>
    <tr><td class="paramname">client</td><td>the <a class="el" href="classgccv_1_1ItemClient.html" title="the base class for objects associated with a canvas item.">ItemClient</a> for the new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> if any.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> inside <em>parent</em> and sets <em>client</em> as its associated <a class="el" href="classgccv_1_1ItemClient.html" title="the base class for objects associated with a canvas item.">ItemClient</a>. </p>

</div>
</div>
<a class="anchor" id="a33216289570d4c9d09447a5d8ad92f1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gccv::Group::Group </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Group.html">Group</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgccv_1_1ItemClient.html">ItemClient</a> *&#160;</td>
          <td class="paramname"><em>client</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>the <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> to which the new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> will be added. </td></tr>
    <tr><td class="paramname">x</td><td>the horizontal group shift. </td></tr>
    <tr><td class="paramname">y</td><td>the vertical group shift. </td></tr>
    <tr><td class="paramname">client</td><td>the <a class="el" href="classgccv_1_1ItemClient.html" title="the base class for objects associated with a canvas item.">ItemClient</a> for the new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> if any.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> at (<em>x</em>, <em>y</em>) inside <em>parent</em> and sets <em>client</em> as its associated <a class="el" href="classgccv_1_1ItemClient.html" title="the base class for objects associated with a canvas item.">ItemClient</a>. </p>

</div>
</div>
<a class="anchor" id="a45903c71a7b2da6025dca0223a86b90c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual gccv::Group::~Group </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The destructor. When a <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> is destroyed, all its children are destroyed too. </p>

</div>
</div>
<h2>Member Function Documentation</h2>
<a class="anchor" id="a6e0e96c881b43469761b0c8c27faf625"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::AddChild </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Item.html">Item</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>the new child.</td></tr>
  </table>
  </dd>
</dl>
<p>Adds <em>item</em> to the children list so that it will be displayed first, and so will appear under other overlapping children. To add an <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> on top all other children, use thius method and then <a class="el" href="classgccv_1_1Group.html#a8af23894325e553eb7ebeec5144c9b58">Group::MoveToFront()</a>. </p>

</div>
</div>
<a class="anchor" id="ae5a06fd30ace7a4d07ecb7a615cfbc4f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::AdjustBounds </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x0</td><td>the top left horizontal bound to adjust. </td></tr>
    <tr><td class="paramname">y0</td><td>the top left vertical bound to adjust. </td></tr>
    <tr><td class="paramname">x1</td><td>the bottom right horizontal bound to adjust. </td></tr>
    <tr><td class="paramname">y1</td><td>the bottom right top left vertical to adjustw.</td></tr>
  </table>
  </dd>
</dl>
<p>Adjusts the parameters according to the shift values. This allows to evaluate the absolute position of an <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> inside the <a class="el" href="classgccv_1_1Canvas.html" title="the Canvas class">Canvas</a>. </p>

</div>
</div>
<a class="anchor" id="a77fe0946f7c37317755a3cfefbc908f4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double gccv::Group::Distance </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Item.html">Item</a> **&#160;</td>
          <td class="paramname"><em>item</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>horizontal position </td></tr>
    <tr><td class="paramname">y</td><td>vertical position </td></tr>
    <tr><td class="paramname">item</td><td>where to store the nearest <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a>.</td></tr>
  </table>
  </dd>
</dl>
<p>Implementation of <a class="el" href="classgccv_1_1Item.html#a910577616d9b99707382ab338ff469cb">Item::Distance()</a> for the <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> class. Sets <em>item</em> to the descendant <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> nearest to the given position. </p>

<p>Reimplemented from <a class="el" href="classgccv_1_1Item.html#a910577616d9b99707382ab338ff469cb">gccv::Item</a>.</p>

</div>
</div>
<a class="anchor" id="a0bf1f7cd7095add2704059a96cf506e2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gccv::Group::Draw </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&#160;</td>
          <td class="paramname"><em>cr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>is_vector</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cr</td><td>a cairo_t. </td></tr>
    <tr><td class="paramname">x0</td><td>the top left horizontal bound of the region to draw. </td></tr>
    <tr><td class="paramname">y0</td><td>the top left vertical bound of the region to draw. </td></tr>
    <tr><td class="paramname">x1</td><td>the bottom right horizontal bound of the region to draw. </td></tr>
    <tr><td class="paramname">y1</td><td>the bottom right top left vertical bound of the region to draw. </td></tr>
    <tr><td class="paramname">is_vector</td><td>whether the cairo_t is a vectorial context.</td></tr>
  </table>
  </dd>
</dl>
<p>Draws <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> children to <em>cr</em>, limiting things to the given region. </p>

<p>Reimplemented from <a class="el" href="classgccv_1_1Item.html#a9cb81e956e84ab6174be0a07457e98b9">gccv::Item</a>.</p>

</div>
</div>
<a class="anchor" id="a7f719ca1c9a6ffb3373c1d2f1ce75927"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgccv_1_1Item.html">Item</a>* gccv::Group::GetFirstChild </td>
          <td>(</td>
          <td class="paramtype">std::list&lt; <a class="el" href="classgccv_1_1Item.html">Item</a> * &gt;::iterator &amp;&#160;</td>
          <td class="paramname"><em>it</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">it</td><td>a list iterator.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the first child <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a>. Actually, the one displayed first. </dd></dl>

</div>
</div>
<a class="anchor" id="a6206e7a4ef555776e1170be0015e15b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgccv_1_1Item.html">Item</a>* gccv::Group::GetNextChild </td>
          <td>(</td>
          <td class="paramtype">std::list&lt; <a class="el" href="classgccv_1_1Item.html">Item</a> * &gt;::iterator &amp;&#160;</td>
          <td class="paramname"><em>it</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">it</td><td>a list iterator initalized by a call to <a class="el" href="classgccv_1_1Group.html#a7f719ca1c9a6ffb3373c1d2f1ce75927">GetFirstChild()</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the next child <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> if any. </dd></dl>

</div>
</div>
<a class="anchor" id="a435d6a3fcf4d049320fa00fa9f326599"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::Move </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the horizontal deplacement </td></tr>
    <tr><td class="paramname">y</td><td>the vertical deplacement</td></tr>
  </table>
  </dd>
</dl>
<p>Moves the <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> and hence all its descendants by changing the <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> shift values. </p>

<p>Reimplemented from <a class="el" href="classgccv_1_1Item.html#a7ac5c751e6c2d384c9f64b85bb1e3333">gccv::Item</a>.</p>

</div>
</div>
<a class="anchor" id="a1ccff02e4f75c65aa36a4aaaff7b2053"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::MoveToBack </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Item.html">Item</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>to move in the list.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> position in the children list so that it is displayed first below other overlapping children. </p>

</div>
</div>
<a class="anchor" id="a8af23894325e553eb7ebeec5144c9b58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::MoveToFront </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Item.html">Item</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>to move in the list.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the <a class="el" href="classgccv_1_1Item.html" title="The base class for the canvas contents.">Item</a> position in the children list so that it is displayed last on top of other overlapping children. </p>

</div>
</div>
<a class="anchor" id="acae5c712e1d4647a6796929390dd9d2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::RemoveChild </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgccv_1_1Item.html">Item</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>to remove.</td></tr>
  </table>
  </dd>
</dl>
<p>Removes <em>item</em> to the children list but does not destroys it. <em>item</em> will not be displayed anymore unless it is added to a new <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a>. </p>

</div>
</div>
<a class="anchor" id="a736ef4db91f6632544a14a6f1487d3e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::SetPosition </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the horizontal position </td></tr>
    <tr><td class="paramname">y</td><td>the vertical position</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the <a class="el" href="classgccv_1_1Group.html" title="Item with Item children.">Group</a> shift values. </p>

</div>
</div>
<a class="anchor" id="a253137936cd03e1ece988552a2642e44"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gccv::Group::UpdateBounds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Updates <a class="el" href="classgccv_1_1Item.html#a1670f7c6eaa6704b73c163d6a8482b92">Item::m_x0</a>, <a class="el" href="classgccv_1_1Item.html#a1a7d69cc97c2a37e514be121f14f1575">Item::m_y0</a>, <a class="el" href="classgccv_1_1Item.html#a26a2adc7bb1afd939400f952273f9612">Item::m_x1</a> and <a class="el" href="classgccv_1_1Item.html#a4e8d6af8f5ad9c92b9c7935b1d016cdc">Item::m_y1</a>. All derived classes should implement this method to set the bounds and call <a class="el" href="classgccv_1_1Item.html#a6b7dea0690c98e25b1f497123d1dc1ef">Item::UpdateBounds()</a> when done. </p>

<p>Reimplemented from <a class="el" href="classgccv_1_1Item.html#a6b7dea0690c98e25b1f497123d1dc1ef">gccv::Item</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="group_8h_source.html">group.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Mar 14 2013 17:34:29 for The Gnome Chemistry Utils by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>