<!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>Pango::AttrShape 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>Pango::AttrShape Class Reference</h1>A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions. <a href="#_details">More...</a> <p> Inheritance diagram for Pango::AttrShape:<p><center><img src="classPango_1_1AttrShape__inherit__graph.png" border="0" usemap="#Pango_1_1AttrShape__inherit__map" alt="Inheritance graph"></center> <map name="Pango_1_1AttrShape__inherit__map"> <area href="classPango_1_1Attribute.html" shape="rect" coords="12,17,116,36" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classPango_1_1AttrShape-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="classPango_1_1AttrShape.html#a0">AttrShape</a> (const AttrShape& src)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a1">AttrShape</a> (PangoAttrShape* castitem, bool take_copy=true)</td></tr> <tr><td nowrap align=right valign=top>AttrShape& </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a2">operator=</a> (const AttrShape& src)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a3">get_ink_rect</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Gets the ink rectangle to restrict to.</em> <a href="#a3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a4">get_logical_rect</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Gets the logical rectangle to restrict to.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a5">set_ink_rect</a> (const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& value)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the ink rectangle to restrict to.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a6">set_logical_rect</a> (const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& value)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the logical rectangle to restrict to.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>PangoAttrShape* </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a7">gobj</a> ()</td></tr> <tr><td nowrap align=right valign=top>const PangoAttrShape* </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#a8">gobj</a> () const</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#b0">AttrShape</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>Pango::AttrShape </td><td valign=bottom><a class="el" href="classPango_1_1AttrShape.html#k0">wrap</a> (PangoAttrShape* object, bool take_copy=false)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="b0" doxytag="Pango::AttrShape::AttrShape"></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"> Pango::AttrShape::AttrShape </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> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a0" doxytag="Pango::AttrShape::AttrShape"></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"> Pango::AttrShape::AttrShape </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const AttrShape& </td> <td class="mdname1" valign="top" nowrap> <em>src</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="a1" doxytag="Pango::AttrShape::AttrShape"></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"> Pango::AttrShape::AttrShape </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">PangoAttrShape* </td> <td class="mdname" nowrap> <em>castitem</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>take_copy</em> = true</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [explicit]</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 Function Documentation</h2> <a name="a3" doxytag="Pango::AttrShape::get_ink_rect"></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"> <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::AttrShape::get_ink_rect </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> Gets the ink rectangle to restrict to. <p> <dl compact><dt><b>Returns:</b></dt><dd>The ink rectangle of the attribute. </dd></dl> </td> </tr> </table> <a name="a4" doxytag="Pango::AttrShape::get_logical_rect"></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"> <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::AttrShape::get_logical_rect </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> Gets the logical rectangle to restrict to. <p> <dl compact><dt><b>Returns:</b></dt><dd>The logical rectangle of the attribute. </dd></dl> </td> </tr> </table> <a name="a8" doxytag="Pango::AttrShape::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 PangoAttrShape* Pango::AttrShape::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> <p> Reimplemented from <a class="el" href="classPango_1_1Attribute.html#a12">Pango::Attribute</a>. </td> </tr> </table> <a name="a7" doxytag="Pango::AttrShape::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"> PangoAttrShape* Pango::AttrShape::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> <p> Reimplemented from <a class="el" href="classPango_1_1Attribute.html#a11">Pango::Attribute</a>. </td> </tr> </table> <a name="a2" doxytag="Pango::AttrShape::operator="></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"> AttrShape& Pango::AttrShape::operator= </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const AttrShape& </td> <td class="mdname1" valign="top" nowrap> <em>src</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="Pango::AttrShape::set_ink_rect"></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 Pango::AttrShape::set_ink_rect </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </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> Sets the ink rectangle to restrict to. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>ink_rect</em> </td><td>The new ink rectangle for the attribute. </td></tr> </table> </dl> </td> </tr> </table> <a name="a6" doxytag="Pango::AttrShape::set_logical_rect"></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 Pango::AttrShape::set_logical_rect </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </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> Sets the logical rectangle to restrict to. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>logical_rect</em> </td><td>The new logical rectangle for the attribute. </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="k0" doxytag="Pango::AttrShape::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"> Pango::AttrShape wrap </td> <td class="md" valign="top">(</td> <td class="md" nowrap valign="top">PangoAttrShape* </td> <td class="mdname" nowrap> <em>object</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>take_copy</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><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>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="attributes_8h.html">attributes.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>