<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Gdk::Rectangle class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- Generated by Doxygen 1.3-rc1 --> <h1>Gdk::Rectangle Class Reference</h1><a href="classGdk_1_1Rectangle-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 Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a0">Rectangle</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a1">Rectangle</a> (const GdkRectangle* gobject)</td></tr> <tr><td nowrap align=right valign=top>GdkRectangle* </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a2">gobj</a> ()</td></tr> <tr><td nowrap align=right valign=top>const GdkRectangle* </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a3">gobj</a> () const</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a4">Rectangle</a> (int x, int y, int width, int height)</td></tr> <tr><td nowrap align=right valign=top>Rectangle& </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a5">join</a> (const Rectangle& src2)</td></tr> <tr><td nowrap align=right valign=top>Rectangle& </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a6">intersect</a> (const Rectangle& src2)</td></tr> <tr><td nowrap align=right valign=top>Rectangle& </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a7">intersect</a> (const Rectangle& src2, bool& rectangles_intersect)</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a8">has_zero_area</a> () const</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a9">get_x</a> () const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a10">set_x</a> (const int& value)</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a11">get_y</a> () const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a12">set_y</a> (const int& value)</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a13">get_width</a> () const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a14">set_width</a> (const int& value)</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a15">get_height</a> () const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#a16">set_height</a> (const int& value)</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>GdkRectangle </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#n0">gobject_</a></td></tr> <tr><td colspan=2><br><h2>Related Functions</h2></td></tr> <tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr> <tr><td nowrap align=right valign=top>Gdk::Rectangle& </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#k0">wrap</a> (GdkRectangle* object)</td></tr> <tr><td nowrap align=right valign=top>const Gdk::Rectangle& </td><td valign=bottom><a class="el" href="classGdk_1_1Rectangle.html#k1">wrap</a> (const GdkRectangle* object)</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Gdk::Rectangle::Rectangle"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gdk::Rectangle::Rectangle </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="Gdk::Rectangle::Rectangle"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gdk::Rectangle::Rectangle </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const GdkRectangle* </td> <td class="mdname1" valign="top" nowrap> <em>gobject</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [explicit]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a4" doxytag="Gdk::Rectangle::Rectangle"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gdk::Rectangle::Rectangle </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>x</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>y</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>width</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>height</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a15" doxytag="Gdk::Rectangle::get_height"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Gdk::Rectangle::get_height </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a13" doxytag="Gdk::Rectangle::get_width"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Gdk::Rectangle::get_width </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a9" doxytag="Gdk::Rectangle::get_x"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Gdk::Rectangle::get_x </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a11" doxytag="Gdk::Rectangle::get_y"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Gdk::Rectangle::get_y </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a3" doxytag="Gdk::Rectangle::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const GdkRectangle* Gdk::Rectangle::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a2" doxytag="Gdk::Rectangle::gobj"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GdkRectangle* Gdk::Rectangle::gobj </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a8" doxytag="Gdk::Rectangle::has_zero_area"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Gdk::Rectangle::has_zero_area </td> <td class="md" valign="top">(</td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a7" doxytag="Gdk::Rectangle::intersect"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Rectangle& Gdk::Rectangle::intersect </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const Rectangle& </td> <td class="mdname" nowrap> <em>src2</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool& </td> <td class="mdname" nowrap> <em>rectangles_intersect</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a6" doxytag="Gdk::Rectangle::intersect"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Rectangle& Gdk::Rectangle::intersect </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const Rectangle& </td> <td class="mdname1" valign="top" nowrap> <em>src2</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a5" doxytag="Gdk::Rectangle::join"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Rectangle& Gdk::Rectangle::join </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const Rectangle& </td> <td class="mdname1" valign="top" nowrap> <em>src2</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a16" doxytag="Gdk::Rectangle::set_height"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gdk::Rectangle::set_height </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const int& </td> <td class="mdname1" valign="top" nowrap> <em>value</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a14" doxytag="Gdk::Rectangle::set_width"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gdk::Rectangle::set_width </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const int& </td> <td class="mdname1" valign="top" nowrap> <em>value</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a10" doxytag="Gdk::Rectangle::set_x"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gdk::Rectangle::set_x </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const int& </td> <td class="mdname1" valign="top" nowrap> <em>value</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a12" doxytag="Gdk::Rectangle::set_y"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Gdk::Rectangle::set_y </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const int& </td> <td class="mdname1" valign="top" nowrap> <em>value</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="k1" doxytag="Gdk::Rectangle::wrap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const Gdk::Rectangle& wrap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const GdkRectangle* </td> <td class="mdname1" valign="top" nowrap> <em>object</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [related]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="k0" doxytag="Gdk::Rectangle::wrap"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gdk::Rectangle& wrap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">GdkRectangle* </td> <td class="mdname1" valign="top" nowrap> <em>object</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [related]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="n0" doxytag="Gdk::Rectangle::gobject_"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GdkRectangle Gdk::Rectangle::gobject_<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gdk_2gdkmm_2rectangle_8h.html">gdk/gdkmm/rectangle.h</a></ul> <hr><address><small> Generated for gtkmm by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.3-rc1 © 1997-2001</small></address> </body> </html>