<!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>pangomm: Pango::AttrShape 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.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">pangomm <span id="projectnumber">2.28.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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 id="navrow2" class="tabs2"> <ul class="tablist"> <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="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacePango.html">Pango</a> </li> <li class="navelem"><a class="el" href="classPango_1_1AttrShape.html">AttrShape</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <div class="title">Pango::AttrShape Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="Pango::AttrShape" --><!-- doxytag: inherits="Pango::Attribute" --> <p>A <a class="el" href="classPango_1_1AttrShape.html" title="A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions...">Pango::AttrShape</a> structure is used to represent an attribute which imposes shape restrictions. <a href="classPango_1_1AttrShape.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for Pango::AttrShape:</div> <div class="dyncontent"> <div class="center"><img src="classPango_1_1AttrShape__inherit__graph.png" border="0" usemap="#Pango_1_1AttrShape_inherit__map" alt="Inheritance graph"/></div> <map name="Pango_1_1AttrShape_inherit__map" id="Pango_1_1AttrShape_inherit__map"> <area shape="rect" id="node2" href="classPango_1_1Attribute.html" title="The Pango::Attribute structure represents the common portions of all attributes." alt="" coords="9,6,124,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Pango::AttrShape:</div> <div class="dyncontent"> <div class="center"><img src="classPango_1_1AttrShape__coll__graph.png" border="0" usemap="#Pango_1_1AttrShape_coll__map" alt="Collaboration graph"/></div> <map name="Pango_1_1AttrShape_coll__map" id="Pango_1_1AttrShape_coll__map"> <area shape="rect" id="node2" href="classPango_1_1Attribute.html" title="The Pango::Attribute structure represents the common portions of all attributes." alt="" coords="9,105,124,135"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classPango_1_1AttrShape-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#a411decc2b1c5e7844c083f0422436da7">AttrShape</a> (const <a class="el" href="classPango_1_1AttrShape.html">AttrShape</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#aaa26071ce55509b8d6de37d0c2b67ce9">AttrShape</a> (PangoAttrShape* castitem, bool take_copy=true)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrShape.html">AttrShape</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#a9504d1c7d985e1c222ed1b4ce138e2bb">operator=</a> (const <a class="el" href="classPango_1_1AttrShape.html">AttrShape</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#a71ae89bf1fae040c88c0f01ac0e19e8a">get_ink_rect</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the ink rectangle to restrict to. <a href="#a71ae89bf1fae040c88c0f01ac0e19e8a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#ac706979205d41802a0a71d912661b43f">get_logical_rect</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the logical rectangle to restrict to. <a href="#ac706979205d41802a0a71d912661b43f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#a910b5c0c06bd77c6862d6fd88e7ce138">set_ink_rect</a> (const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01618.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the ink rectangle to restrict to. <a href="#a910b5c0c06bd77c6862d6fd88e7ce138"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#a724b9573669892d5c3f72b5271573ad1">set_logical_rect</a> (const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01618.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the logical rectangle to restrict to. <a href="#a724b9573669892d5c3f72b5271573ad1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">PangoAttrShape* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#a680cbd3c5aa43666328ab15f4686ac39">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a680cbd3c5aa43666328ab15f4686ac39"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const PangoAttrShape* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#ab3bc0cd7cbf84307e9f4101391c1bf2d">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ab3bc0cd7cbf84307e9f4101391c1bf2d"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#a35f85b2a68ac01c51e585c5f96e56769">AttrShape</a> ()</td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1AttrShape.html">Pango::AttrShape</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1AttrShape.html#af378f9ee7c5b0899589ccaa142eca8d7">wrap</a> (PangoAttrShape* object, bool take_copy=false)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A <a class="el" href="classPango_1_1AttrShape.html" title="A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions...">Pango::AttrShape</a> structure is used to represent an attribute which imposes shape restrictions. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a35f85b2a68ac01c51e585c5f96e56769"></a><!-- doxytag: member="Pango::AttrShape::AttrShape" ref="a35f85b2a68ac01c51e585c5f96e56769" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrShape::AttrShape </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a411decc2b1c5e7844c083f0422436da7"></a><!-- doxytag: member="Pango::AttrShape::AttrShape" ref="a411decc2b1c5e7844c083f0422436da7" args="(const AttrShape &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrShape::AttrShape </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1AttrShape.html">AttrShape</a>& </td> <td class="paramname"><em>src</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aaa26071ce55509b8d6de37d0c2b67ce9"></a><!-- doxytag: member="Pango::AttrShape::AttrShape" ref="aaa26071ce55509b8d6de37d0c2b67ce9" args="(PangoAttrShape *castitem, bool take_copy=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Pango::AttrShape::AttrShape </td> <td>(</td> <td class="paramtype">PangoAttrShape * </td> <td class="paramname"><em>castitem</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a71ae89bf1fae040c88c0f01ac0e19e8a"></a><!-- doxytag: member="Pango::AttrShape::get_ink_rect" ref="a71ae89bf1fae040c88c0f01ac0e19e8a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::AttrShape::get_ink_rect </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the ink rectangle to restrict to. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The ink rectangle of the attribute. </dd></dl> </div> </div> <a class="anchor" id="ac706979205d41802a0a71d912661b43f"></a><!-- doxytag: member="Pango::AttrShape::get_logical_rect" ref="ac706979205d41802a0a71d912661b43f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::AttrShape::get_logical_rect </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the logical rectangle to restrict to. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The logical rectangle of the attribute. </dd></dl> </div> </div> <a class="anchor" id="a680cbd3c5aa43666328ab15f4686ac39"></a><!-- doxytag: member="Pango::AttrShape::gobj" ref="a680cbd3c5aa43666328ab15f4686ac39" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">PangoAttrShape* Pango::AttrShape::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="classPango_1_1Attribute.html#a51654a81e9171adde1403e58d06997a3">Pango::Attribute</a>.</p> </div> </div> <a class="anchor" id="ab3bc0cd7cbf84307e9f4101391c1bf2d"></a><!-- doxytag: member="Pango::AttrShape::gobj" ref="ab3bc0cd7cbf84307e9f4101391c1bf2d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const PangoAttrShape* Pango::AttrShape::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="classPango_1_1Attribute.html#a0501725b34f5ab1239534180b4cd65be">Pango::Attribute</a>.</p> </div> </div> <a class="anchor" id="a9504d1c7d985e1c222ed1b4ce138e2bb"></a><!-- doxytag: member="Pango::AttrShape::operator=" ref="a9504d1c7d985e1c222ed1b4ce138e2bb" args="(const AttrShape &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1AttrShape.html">AttrShape</a>& Pango::AttrShape::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1AttrShape.html">AttrShape</a>& </td> <td class="paramname"><em>src</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a910b5c0c06bd77c6862d6fd88e7ce138"></a><!-- doxytag: member="Pango::AttrShape::set_ink_rect" ref="a910b5c0c06bd77c6862d6fd88e7ce138" args="(const Rectangle &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Pango::AttrShape::set_ink_rect </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the ink rectangle to restrict to. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">value</td><td>The new ink rectangle for the attribute. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a724b9573669892d5c3f72b5271573ad1"></a><!-- doxytag: member="Pango::AttrShape::set_logical_rect" ref="a724b9573669892d5c3f72b5271573ad1" args="(const Rectangle &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Pango::AttrShape::set_logical_rect </td> <td>(</td> <td class="paramtype">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the logical rectangle to restrict to. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">value</td><td>The new logical rectangle for the attribute. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="af378f9ee7c5b0899589ccaa142eca8d7"></a><!-- doxytag: member="Pango::AttrShape::wrap" ref="af378f9ee7c5b0899589ccaa142eca8d7" args="(PangoAttrShape *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classPango_1_1AttrShape.html">Pango::AttrShape</a> wrap </td> <td>(</td> <td class="paramtype">PangoAttrShape * </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> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>pangomm/attributes.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Oct 26 2011 13:10:53 for pangomm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>