Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9d2fdd4aecd9332d86b03654661c855c > files > 19

atkmm-doc-2.22.7-2.mga4.noarch.rpm

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>atkmm: Atk::Image Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">atkmm
   &#160;<span id="projectnumber">2.22.7</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAtk.html">Atk</a></li><li class="navelem"><a class="el" href="classAtk_1_1Image.html">Image</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classAtk_1_1Image-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Atk::Image Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The ATK Interface implemented by components which expose image or pixmap content on-screen.  
 <a href="classAtk_1_1Image.html#details">More...</a></p>

<p><code>#include &lt;atkmm/image.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Atk::Image:</div>
<div class="dyncontent">
<div class="center"><img src="classAtk_1_1Image__inherit__graph.png" border="0" usemap="#Atk_1_1Image_inherit__map" alt="Inheritance graph"/></div>
<map name="Atk_1_1Image_inherit__map" id="Atk_1_1Image_inherit__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7649474169b7726721b1b5688420c377"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7649474169b7726721b1b5688420c377"></a>
AtkImage*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#a7649474169b7726721b1b5688420c377">gobj</a> ()</td></tr>
<tr class="memdesc:a7649474169b7726721b1b5688420c377"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr>
<tr class="separator:a7649474169b7726721b1b5688420c377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a671c40909151052e66300c1324217377"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a671c40909151052e66300c1324217377"></a>
const AtkImage*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#a671c40909151052e66300c1324217377">gobj</a> () const </td></tr>
<tr class="memdesc:a671c40909151052e66300c1324217377"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr>
<tr class="separator:a671c40909151052e66300c1324217377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53fe6d9b350bf5fd7ba19a6f7179a55c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#a53fe6d9b350bf5fd7ba19a6f7179a55c">set_image_description</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; description)</td></tr>
<tr class="memdesc:a53fe6d9b350bf5fd7ba19a6f7179a55c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the textual description for this image.  <a href="#a53fe6d9b350bf5fd7ba19a6f7179a55c">More...</a><br/></td></tr>
<tr class="separator:a53fe6d9b350bf5fd7ba19a6f7179a55c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a857112f6307dfbf5177096f3bb72d80c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#a857112f6307dfbf5177096f3bb72d80c">get_image_description</a> () const </td></tr>
<tr class="memdesc:a857112f6307dfbf5177096f3bb72d80c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a textual description of this image.  <a href="#a857112f6307dfbf5177096f3bb72d80c">More...</a><br/></td></tr>
<tr class="separator:a857112f6307dfbf5177096f3bb72d80c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22a4c26e1642a421ffec41ea6492e11b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#a22a4c26e1642a421ffec41ea6492e11b">get_image_size</a> (int&amp; width, int&amp; height) const </td></tr>
<tr class="memdesc:a22a4c26e1642a421ffec41ea6492e11b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the width and height in pixels for the specified image.  <a href="#a22a4c26e1642a421ffec41ea6492e11b">More...</a><br/></td></tr>
<tr class="separator:a22a4c26e1642a421ffec41ea6492e11b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af22f48ac491ceddb82329076cc63fca9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#af22f48ac491ceddb82329076cc63fca9">get_image_position</a> (int&amp; x, int&amp; y, CoordType coord_type) const </td></tr>
<tr class="memdesc:af22f48ac491ceddb82329076cc63fca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the position of the image in the form of a point specifying the images top-left corner.  <a href="#af22f48ac491ceddb82329076cc63fca9">More...</a><br/></td></tr>
<tr class="separator:af22f48ac491ceddb82329076cc63fca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a39e9cbc314b2bf63805ead79dcd8a745"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39e9cbc314b2bf63805ead79dcd8a745"></a>
static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#a39e9cbc314b2bf63805ead79dcd8a745">get_type</a> ()</td></tr>
<tr class="memdesc:a39e9cbc314b2bf63805ead79dcd8a745"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <br/></td></tr>
<tr class="separator:a39e9cbc314b2bf63805ead79dcd8a745"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:acbfd02f0474db188114575c0070efbca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbfd02f0474db188114575c0070efbca"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#acbfd02f0474db188114575c0070efbca">Image</a> ()</td></tr>
<tr class="memdesc:acbfd02f0474db188114575c0070efbca"><td class="mdescLeft">&#160;</td><td class="mdescRight">You should derive from this class to use it. <br/></td></tr>
<tr class="separator:acbfd02f0474db188114575c0070efbca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><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 class="memitem:a03bbf10f56b004d274029b27bd9d83f2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Image.html">Atk::Image</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1Image.html#a03bbf10f56b004d274029b27bd9d83f2">wrap</a> (AtkImage* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a03bbf10f56b004d274029b27bd9d83f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#a03bbf10f56b004d274029b27bd9d83f2">More...</a><br/></td></tr>
<tr class="separator:a03bbf10f56b004d274029b27bd9d83f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The ATK Interface implemented by components which expose image or pixmap content on-screen. </p>
<p>This should be implemented by <a class="el" href="classAtk_1_1Object.html" title="The base object class for the Accessibility Toolkit API.">Atk::Object</a> subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. For instance, icons, buttons with icons, toolbar elements, and image viewing panes typically should implement AtkImage.</p>
<p><a class="el" href="classAtk_1_1Image.html" title="The ATK Interface implemented by components which expose image or pixmap content on-screen.">Atk::Image</a> primarily provides two types of information: coordinate information (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most significant information present in the image. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a857112f6307dfbf5177096f3bb72d80c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Atk::Image::get_image_description </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a textual description of this image. </p>
<dl class="section return"><dt>Returns</dt><dd>A string representing the image description. </dd></dl>

</div>
</div>
<a class="anchor" id="af22f48ac491ceddb82329076cc63fca9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Atk::Image::get_image_position </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CoordType&#160;</td>
          <td class="paramname"><em>coord_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the position of the image in the form of a point specifying the images top-left corner. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Address of <code>int</code> to put x coordinate position; otherwise, -1 if value cannot be obtained. </td></tr>
    <tr><td class="paramname">y</td><td>Address of <code>int</code> to put y coordinate position; otherwise, -1 if value cannot be obtained. </td></tr>
    <tr><td class="paramname">coord_type</td><td>Specifies whether the coordinates are relative to the screen or to the components top level window. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a22a4c26e1642a421ffec41ea6492e11b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Atk::Image::get_image_size </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the width and height in pixels for the specified image. </p>
<p>The values of <em>width</em> and <em>height</em> are returned as -1 if the values cannot be obtained (for instance, if the object is not onscreen). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Filled with the image width, or -1 if the value cannot be obtained. </td></tr>
    <tr><td class="paramname">height</td><td>Filled with the image height, or -1 if the value cannot be obtained. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a53fe6d9b350bf5fd7ba19a6f7179a55c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Atk::Image::set_image_description </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>description</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the textual description for this image. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">description</td><td>A string description to set for <em>image</em>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Boolean <code>true</code>, or <code>false</code> if operation could not be completed. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a03bbf10f56b004d274029b27bd9d83f2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1Image.html">Atk::Image</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">AtkImage *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</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="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 24 2013 11:08:12 for atkmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>