<!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"/> <title>goocanvasmm: Goocanvas::RectModel Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</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> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGoocanvas.html">Goocanvas</a>::<a class="el" href="classGoocanvas_1_1RectModel.html">RectModel</a> </div> </div> <div class="contents"> <h1>Goocanvas::RectModel Class Reference</h1><!-- doxytag: class="Goocanvas::RectModel" --><!-- doxytag: inherits="Goocanvas::ItemModelSimple" --><div class="dynheader"> Inheritance diagram for Goocanvas::RectModel:</div> <div class="dynsection"> <div class="center"><img src="classGoocanvas_1_1RectModel__inherit__graph.png" border="0" usemap="#Goocanvas_1_1RectModel_inherit__map" alt="Inheritance graph"/></div> <map name="Goocanvas_1_1RectModel_inherit__map" id="Goocanvas_1_1RectModel_inherit__map"> <area shape="rect" href="classGoocanvas_1_1ItemModelSimple.html" title="Goocanvas::ItemModelSimple" alt="" coords="27,315,221,344"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,237,96,267"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="49,83,169,112"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="131,160,235,189"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="56,5,163,35"/><area shape="rect" href="classGoocanvas_1_1ItemModel.html" title="Goocanvas::ItemModel" alt="" coords="120,237,275,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGoocanvas_1_1RectModel-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#ad68170a3ed1d7d55a6a6a6bb6d8b21fc">~RectModel</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GooCanvasRectModel* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#a30bebe9660fe626d91579daa09d2c93d">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a30bebe9660fe626d91579daa09d2c93d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GooCanvasRectModel* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#a0f224783e69e27c5df9a91db552179a8">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a0f224783e69e27c5df9a91db552179a8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GooCanvasRectModel* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#a2e1385d9cfaba936c3d2f0ebabd63990">gobj_copy</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a2e1385d9cfaba936c3d2f0ebabd63990"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#a7eca5c452bff600cba84d1f8b9668f66">property_radius_x</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The horizontal radius to use for rounded corners. <a href="#a7eca5c452bff600cba84d1f8b9668f66"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#ade2fd9510fc64ef6a64a314ef8701d10">property_radius_x</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The horizontal radius to use for rounded corners. <a href="#ade2fd9510fc64ef6a64a314ef8701d10"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#a109bc5a2ede1ec0174d6a7279bc58135">property_radius_y</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The vertical radius to use for rounded corners. <a href="#a109bc5a2ede1ec0174d6a7279bc58135"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#ae58c133b3f876635e4339ad7c8e9e02d">property_radius_y</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The vertical radius to use for rounded corners. <a href="#ae58c133b3f876635e4339ad7c8e9e02d"></a><br/></td></tr> <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGoocanvas_1_1RectModel.html">RectModel</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#a03d6736c4d338f88db0304c83e478bc0">create</a> (double x, double y, double width, double height)</td></tr> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#a3482841c74466350a179d0e29533286f">RectModel</a> (double x, double y, double width, double height)</td></tr> <tr><td colspan="2"><h2>Related Functions</h2></td></tr> <tr><td colspan="2"><p>(Note that these are not member functions.) </p> <br/><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="el" href="classGoocanvas_1_1RectModel.html">Goocanvas::RectModel</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1RectModel.html#adbac257cf60e4158295693808575590e">wrap</a> (GooCanvasRectModel* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#adbac257cf60e4158295693808575590e"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ad68170a3ed1d7d55a6a6a6bb6d8b21fc"></a><!-- doxytag: member="Goocanvas::RectModel::~RectModel" ref="ad68170a3ed1d7d55a6a6a6bb6d8b21fc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Goocanvas::RectModel::~RectModel </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a3482841c74466350a179d0e29533286f"></a><!-- doxytag: member="Goocanvas::RectModel::RectModel" ref="a3482841c74466350a179d0e29533286f" args="(double x, double y, double width, double height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Goocanvas::RectModel::RectModel </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>height</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a03d6736c4d338f88db0304c83e478bc0"></a><!-- doxytag: member="Goocanvas::RectModel::create" ref="a03d6736c4d338f88db0304c83e478bc0" args="(double x, double y, double width, double height)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGoocanvas_1_1RectModel.html">RectModel</a>> Goocanvas::RectModel::create </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>width</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>height</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a0f224783e69e27c5df9a91db552179a8"></a><!-- doxytag: member="Goocanvas::RectModel::gobj" ref="a0f224783e69e27c5df9a91db552179a8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GooCanvasRectModel* Goocanvas::RectModel::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classGoocanvas_1_1ItemModelSimple.html#a292ac1367b152358bc3f6c98e3be1202">Goocanvas::ItemModelSimple</a>.</p> </div> </div> <a class="anchor" id="a30bebe9660fe626d91579daa09d2c93d"></a><!-- doxytag: member="Goocanvas::RectModel::gobj" ref="a30bebe9660fe626d91579daa09d2c93d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GooCanvasRectModel* Goocanvas::RectModel::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="el" href="classGoocanvas_1_1ItemModelSimple.html#aebd38c5ed0ad8b597f502dc3ac265436">Goocanvas::ItemModelSimple</a>.</p> </div> </div> <a class="anchor" id="a2e1385d9cfaba936c3d2f0ebabd63990"></a><!-- doxytag: member="Goocanvas::RectModel::gobj_copy" ref="a2e1385d9cfaba936c3d2f0ebabd63990" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GooCanvasRectModel* Goocanvas::RectModel::gobj_copy </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> <p>Reimplemented from <a class="el" href="classGoocanvas_1_1ItemModelSimple.html#a759aa0e80ecefd941d30671bee3b2d29">Goocanvas::ItemModelSimple</a>.</p> </div> </div> <a class="anchor" id="ade2fd9510fc64ef6a64a314ef8701d10"></a><!-- doxytag: member="Goocanvas::RectModel::property_radius_x" ref="ade2fd9510fc64ef6a64a314ef8701d10" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><double> Goocanvas::RectModel::property_radius_x </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The horizontal radius to use for rounded corners. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a7eca5c452bff600cba84d1f8b9668f66"></a><!-- doxytag: member="Goocanvas::RectModel::property_radius_x" ref="a7eca5c452bff600cba84d1f8b9668f66" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><double> Goocanvas::RectModel::property_radius_x </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The horizontal radius to use for rounded corners. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ae58c133b3f876635e4339ad7c8e9e02d"></a><!-- doxytag: member="Goocanvas::RectModel::property_radius_y" ref="ae58c133b3f876635e4339ad7c8e9e02d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><double> Goocanvas::RectModel::property_radius_y </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The vertical radius to use for rounded corners. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a109bc5a2ede1ec0174d6a7279bc58135"></a><!-- doxytag: member="Goocanvas::RectModel::property_radius_y" ref="a109bc5a2ede1ec0174d6a7279bc58135" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><double> Goocanvas::RectModel::property_radius_y </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The vertical radius to use for rounded corners. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="adbac257cf60e4158295693808575590e"></a><!-- doxytag: member="Goocanvas::RectModel::wrap" ref="adbac257cf60e4158295693808575590e" args="(GooCanvasRectModel *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGoocanvas_1_1RectModel.html">Goocanvas::RectModel</a> > wrap </td> <td>(</td> <td class="paramtype">GooCanvasRectModel * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>goocanvasmm/rectmodel.h</li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Oct 18 14:10:54 2010 for goocanvasmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>