<!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::Rect 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_1Rect.html">Rect</a> </div> </div> <div class="contents"> <h1>Goocanvas::Rect Class Reference</h1><!-- doxytag: class="Goocanvas::Rect" --><!-- doxytag: inherits="Goocanvas::ItemSimple" --><div class="dynheader"> Inheritance diagram for Goocanvas::Rect:</div> <div class="dynsection"> <div class="center"><img src="classGoocanvas_1_1Rect__inherit__graph.png" border="0" usemap="#Goocanvas_1_1Rect_inherit__map" alt="Inheritance graph"/></div> <map name="Goocanvas_1_1Rect_inherit__map" id="Goocanvas_1_1Rect_inherit__map"> <area shape="rect" href="classGoocanvas_1_1ItemSimple.html" title="Goocanvas::ItemSimple" alt="" coords="35,315,195,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="44,83,164,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="117,160,221,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="51,5,157,35"/><area shape="rect" href="classGoocanvas_1_1Item.html" title="Goocanvas::Item" alt="" coords="120,237,240,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGoocanvas_1_1Rect-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_1Rect.html#ade9d34551b81c6d2cc566ec15299ba16">~Rect</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GooCanvasRect* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Rect.html#a552600faa9e7ac80f622371486736c2e">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a552600faa9e7ac80f622371486736c2e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GooCanvasRect* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Rect.html#ac341cbfeeba19c1d3fa50dc8cc641a52">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ac341cbfeeba19c1d3fa50dc8cc641a52"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GooCanvasRect* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Rect.html#ae53dcc7dcd8793899fce4fedecdb39fd">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="#ae53dcc7dcd8793899fce4fedecdb39fd"></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_1Rect.html#aeffef46df1731873da2f719c7727451e">property_radius_x</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The horizontal radius to use for rounded corners. <a href="#aeffef46df1731873da2f719c7727451e"></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_1Rect.html#a9a909d0cc12251e43d0c38e9786ee0aa">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="#a9a909d0cc12251e43d0c38e9786ee0aa"></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_1Rect.html#a1823fffed0d74b33df320e81bf979284">property_radius_y</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The vertical radius to use for rounded corners. <a href="#a1823fffed0d74b33df320e81bf979284"></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_1Rect.html#a814e4a736d2b5b7bcadfb7badf4f67c5">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="#a814e4a736d2b5b7bcadfb7badf4f67c5"></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_1Rect.html">Rect</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Rect.html#a37ddaeafe77fdeae7fe5f01386750736">create</a> (double x=0.0, double y=0.0, double width=0.0, double height=0.0)</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_1Rect.html#a4c62f30c182996dc4d5d4fcde89100e9">Rect</a> (double x=0.0, double y=0.0, double width=0.0, double height=0.0)</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>< <a class="el" href="classGoocanvas_1_1Rect.html">Goocanvas::Rect</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Rect.html#ae21f5bc8c4f01806cf6b057236de4650">wrap</a> (GooCanvasRect* 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="#ae21f5bc8c4f01806cf6b057236de4650"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ade9d34551b81c6d2cc566ec15299ba16"></a><!-- doxytag: member="Goocanvas::Rect::~Rect" ref="ade9d34551b81c6d2cc566ec15299ba16" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Goocanvas::Rect::~Rect </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="a4c62f30c182996dc4d5d4fcde89100e9"></a><!-- doxytag: member="Goocanvas::Rect::Rect" ref="a4c62f30c182996dc4d5d4fcde89100e9" args="(double x=0.0, double y=0.0, double width=0.0, double height=0.0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Goocanvas::Rect::Rect </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>width</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>height</em> = <code>0.0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [explicit, protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a37ddaeafe77fdeae7fe5f01386750736"></a><!-- doxytag: member="Goocanvas::Rect::create" ref="a37ddaeafe77fdeae7fe5f01386750736" args="(double x=0.0, double y=0.0, double width=0.0, double height=0.0)" --> <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_1Rect.html">Rect</a>> Goocanvas::Rect::create </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>width</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>height</em> = <code>0.0</code></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="ac341cbfeeba19c1d3fa50dc8cc641a52"></a><!-- doxytag: member="Goocanvas::Rect::gobj" ref="ac341cbfeeba19c1d3fa50dc8cc641a52" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GooCanvasRect* Goocanvas::Rect::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_1ItemSimple.html#a657e0d7bb524625fe54c7d62642609c9">Goocanvas::ItemSimple</a>.</p> </div> </div> <a class="anchor" id="a552600faa9e7ac80f622371486736c2e"></a><!-- doxytag: member="Goocanvas::Rect::gobj" ref="a552600faa9e7ac80f622371486736c2e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GooCanvasRect* Goocanvas::Rect::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_1ItemSimple.html#a20d3490397b4082050a20e721fcfeec6">Goocanvas::ItemSimple</a>.</p> </div> </div> <a class="anchor" id="ae53dcc7dcd8793899fce4fedecdb39fd"></a><!-- doxytag: member="Goocanvas::Rect::gobj_copy" ref="ae53dcc7dcd8793899fce4fedecdb39fd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GooCanvasRect* Goocanvas::Rect::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_1ItemSimple.html#a9d79350e5a5ac08dff1bf49b6260e0fd">Goocanvas::ItemSimple</a>.</p> </div> </div> <a class="anchor" id="a9a909d0cc12251e43d0c38e9786ee0aa"></a><!-- doxytag: member="Goocanvas::Rect::property_radius_x" ref="a9a909d0cc12251e43d0c38e9786ee0aa" 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::Rect::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="aeffef46df1731873da2f719c7727451e"></a><!-- doxytag: member="Goocanvas::Rect::property_radius_x" ref="aeffef46df1731873da2f719c7727451e" 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::Rect::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="a814e4a736d2b5b7bcadfb7badf4f67c5"></a><!-- doxytag: member="Goocanvas::Rect::property_radius_y" ref="a814e4a736d2b5b7bcadfb7badf4f67c5" 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::Rect::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="a1823fffed0d74b33df320e81bf979284"></a><!-- doxytag: member="Goocanvas::Rect::property_radius_y" ref="a1823fffed0d74b33df320e81bf979284" 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::Rect::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="ae21f5bc8c4f01806cf6b057236de4650"></a><!-- doxytag: member="Goocanvas::Rect::wrap" ref="ae21f5bc8c4f01806cf6b057236de4650" args="(GooCanvasRect *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_1Rect.html">Goocanvas::Rect</a> > wrap </td> <td>(</td> <td class="paramtype">GooCanvasRect * </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/rect.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>