Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > fe6e02720319b05688a94261a5d8b124 > files > 58

gtkmm2.4-doc-2.24.4-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"/>
<title>gtkmm: Gdk::Image 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.3 -->
<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">gtkmm&#160;<span id="projectnumber">2.24.4</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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="classes.html"><span>Class&#160;Index</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="namespaceGdk.html">Gdk</a> </li>
      <li class="navelem"><a class="el" href="classGdk_1_1Image.html">Image</a> </li>
    </ul>
  </div>
</div>
<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> </div>
  <div class="headertitle">
<h1>Gdk::Image Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gdk::Image" --><!-- doxytag: inherits="Glib::Object" -->
<p>This represents an area for drawing graphics. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gdk::Image:</div>
<div class="dyncontent">
<div class="center"><img src="classGdk_1_1Image__inherit__graph.png" border="0" usemap="#Gdk_1_1Image_inherit__map" alt="Inheritance graph"/></div>
<map name="Gdk_1_1Image_inherit__map" id="Gdk_1_1Image_inherit__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gdk::Image:</div>
<div class="dyncontent">
<div class="center"><img src="classGdk_1_1Image__coll__graph.png" border="0" usemap="#Gdk_1_1Image_coll__map" alt="Collaboration graph"/></div>
<map name="Gdk_1_1Image_coll__map" id="Gdk_1_1Image_coll__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGdk_1_1Image-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">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#af1f96475bc69290b6b7f206f2ba8e00b">~Image</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkImage*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#acac146964abc34b4fd7c2ee191269182">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#acac146964abc34b4fd7c2ee191269182"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdkImage*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a2bb07609aa3b2b448e0b2a6e9d34ae44">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2bb07609aa3b2b448e0b2a6e9d34ae44"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkImage*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#aea2ae6cb159201f8c9837175f92bd7f6">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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="#aea2ae6cb159201f8c9837175f92bd7f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a261f5bd8c40909f763e0c7e210931e60">put_pixel</a> (int x, int y, guint32 pixel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a9c10675434c409bae56d9a5775a65725">get_pixel</a> (int x, int y) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a042880ccdd652d3e772f2fb7688a3d1b">set_colormap</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&amp; colormap)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the colormap for the image to the given colormap. <a href="#a042880ccdd652d3e772f2fb7688a3d1b"></a><br/></td></tr>
<tr><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="classGdk_1_1Colormap.html">Colormap</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a9414d62a370fb3ed6376be93ac4147bf">get_colormap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the colormap for a given image, if it exists. <a href="#a9414d62a370fb3ed6376be93ac4147bf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a8522ac3430a2744fa10d84752c1e2ce2">get_colormap</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the colormap for a given image, if it exists. <a href="#a8522ac3430a2744fa10d84752c1e2ce2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga072162d4af37da0fbea4c8dd67509058">ImageType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#ad74c9586b466048789d2b07b5260461f">get_image_type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the type of a given image. <a href="#ad74c9586b466048789d2b07b5260461f"></a><br/></td></tr>
<tr><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="classGdk_1_1Visual.html">Visual</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a68a4f293d42503fde1bd135b5a5ae645">get_visual</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the visual that was used to create the image. <a href="#a68a4f293d42503fde1bd135b5a5ae645"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a6e03217036aa9df27c41823885c6bf09">get_visual</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the visual that was used to create the image. <a href="#a6e03217036aa9df27c41823885c6bf09"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga23c7243f15304c7a86cf6a20118a7c85">ByteOrder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#ad8c07e89516185e19f0e9798f77eeafb">get_byte_order</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the byte order of the image. <a href="#ad8c07e89516185e19f0e9798f77eeafb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#ae56de9426d2db292837ce4392e47be0c">get_width</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the width of the image. <a href="#ae56de9426d2db292837ce4392e47be0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a9223b3a765267abd4bece279b2cfecec">get_height</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the height of the image. <a href="#a9223b3a765267abd4bece279b2cfecec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#ac8dc066182917bea5ae757d45e7e17fb">get_depth</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the depth of the image. <a href="#ac8dc066182917bea5ae757d45e7e17fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a156b6e5f8eaadc1755a247b23891315c">get_bpp</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of bytes per pixel of the image. <a href="#a156b6e5f8eaadc1755a247b23891315c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#acf0305bec22e0b8973c44c83ee5638ad">get_bytes_per_pixel</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of bytes per pixel of the image. <a href="#acf0305bec22e0b8973c44c83ee5638ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a9a624bcb50829f0b920f1bbb2e76bfba">get_bpl</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of bytes per line of the image. <a href="#a9a624bcb50829f0b920f1bbb2e76bfba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#ac77d5303dafa70e649cfacfd9a704801">get_bytes_per_line</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of bytes per line of the image. <a href="#ac77d5303dafa70e649cfacfd9a704801"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a2e2b9d527ca2ef1d1e76c4ec2910a54f">get_bits_per_pixel</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the number of bits per pixel of the image. <a href="#a2e2b9d527ca2ef1d1e76c4ec2910a54f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a969a86ddd9c9c0c26290e2f56fe378c1">get_pixels</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the pixel data of the image. <a href="#a969a86ddd9c9c0c26290e2f56fe378c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a447c7e844e995e8da49316b9e4aa2b2c">get_pixels</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the pixel data of the image. <a href="#a447c7e844e995e8da49316b9e4aa2b2c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a92ae3cbb3f5893081f0429f206b09b36">get_mem</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#ac5261bdd56bfd4a7fcc8c9ffab900f6e">get_mem</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#acdffefa7e40c8e5a33c61a638aea9126">get_windowing_data</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Image.html">Image</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#ae83bda5a56ec3804c9ae5d13ccc8a16a">create</a> (<a class="el" href="group__gdkmmEnums.html#ga072162d4af37da0fbea4c8dd67509058">ImageType</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01173.html#ga2c2933c16c723af4d77eb939438617ca">type</a>, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt;&amp; visual, int width, int height)</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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a15edc58b8f519a1549df52f3049e1203">Image</a> (<a class="el" href="group__gdkmmEnums.html#ga072162d4af37da0fbea4c8dd67509058">ImageType</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01173.html#ga2c2933c16c723af4d77eb939438617ca">type</a>, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt;&amp; visual, int width, int height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiate a new <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a>. <a href="#a15edc58b8f519a1549df52f3049e1203"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<tr><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="classGdk_1_1Image.html">Gdk::Image</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Image.html#a4e12de6a4aed338274da14ee02498b47">wrap</a> (GdkImage* object, bool take_copy=false)</td></tr>
<tr><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="#a4e12de6a4aed338274da14ee02498b47"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This represents an area for drawing graphics. </p>
<p>It has now been superceded to a large extent by the much more flexible <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a> RGB functions. To create an image from part of a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> use <a class="el" href="classGdk_1_1Drawable.html#a5c758b488229b68f15b431d90e87d2b8" title="A Gdk::Image stores client-side image data (pixels).">Gdk::Drawable::get_image()</a>.</p>
<p>The image can be manipulated with <a class="el" href="classGdk_1_1Image.html#a9c10675434c409bae56d9a5775a65725">get_pixel()</a> and <a class="el" href="classGdk_1_1Image.html#a261f5bd8c40909f763e0c7e210931e60">put_pixel()</a>, or alternatively by changing the actual pixel data, though manipulating the pixel data requires complicated code to cope with the different formats that may be used. To draw a <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> in a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> or <a class="el" href="classGdk_1_1Pixmap.html" title="Pixmaps are offscreen drawables.">Gdk::Pixmap</a> use <a class="el" href="classGdk_1_1Drawable.html#a8ea32afd4ea08f6abea8de6fc268ccb6" title="Draws a Gdk::Image onto a drawable.">Gdk::Drawable::draw_image()</a>. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af1f96475bc69290b6b7f206f2ba8e00b"></a><!-- doxytag: member="Gdk::Image::~Image" ref="af1f96475bc69290b6b7f206f2ba8e00b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gdk::Image::~Image </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="a15edc58b8f519a1549df52f3049e1203"></a><!-- doxytag: member="Gdk::Image::Image" ref="a15edc58b8f519a1549df52f3049e1203" args="(ImageType type, const Glib::RefPtr&lt; Visual &gt; &amp;visual, int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Image::Image </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga072162d4af37da0fbea4c8dd67509058">ImageType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>visual</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instantiate a new <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The type of the <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a>. Gdk::IMAGE_FASTEST is probably the best choice, since it will try to create a Gdk::IMAGE_SHARED image first and if that fails it will then use Gdk::IMAGE_NORMAL. </td></tr>
    <tr><td class="paramname">visual</td><td>The <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a> to use for the image. </td></tr>
    <tr><td class="paramname">width</td><td>The width of the image in pixels. </td></tr>
    <tr><td class="paramname">height</td><td>The height of the image in pixels. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae83bda5a56ec3804c9ae5d13ccc8a16a"></a><!-- doxytag: member="Gdk::Image::create" ref="ae83bda5a56ec3804c9ae5d13ccc8a16a" args="(ImageType type, const Glib::RefPtr&lt; Visual &gt; &amp;visual, int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Image.html">Image</a>&gt; Gdk::Image::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga072162d4af37da0fbea4c8dd67509058">ImageType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>visual</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2e2b9d527ca2ef1d1e76c4ec2910a54f"></a><!-- doxytag: member="Gdk::Image::get_bits_per_pixel" ref="a2e2b9d527ca2ef1d1e76c4ec2910a54f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Gdk::Image::get_bits_per_pixel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the number of bits per pixel of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000026">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The bits per pixel. </dd></dl>

</div>
</div>
<a class="anchor" id="a9a624bcb50829f0b920f1bbb2e76bfba"></a><!-- doxytag: member="Gdk::Image::get_bpl" ref="a9a624bcb50829f0b920f1bbb2e76bfba" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Gdk::Image::get_bpl </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the number of bytes per line of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000024">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000015">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGdk_1_1Image.html#ac77d5303dafa70e649cfacfd9a704801" title="Determines the number of bytes per line of the image.">get_bytes_per_line()</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The bytes per line. </dd></dl>

</div>
</div>
<a class="anchor" id="a156b6e5f8eaadc1755a247b23891315c"></a><!-- doxytag: member="Gdk::Image::get_bpp" ref="a156b6e5f8eaadc1755a247b23891315c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Gdk::Image::get_bpp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the number of bytes per pixel of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000022">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000014">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGdk_1_1Image.html#acf0305bec22e0b8973c44c83ee5638ad" title="Determines the number of bytes per pixel of the image.">get_bytes_per_pixel()</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The bytes per pixel. </dd></dl>

</div>
</div>
<a class="anchor" id="ad8c07e89516185e19f0e9798f77eeafb"></a><!-- doxytag: member="Gdk::Image::get_byte_order" ref="ad8c07e89516185e19f0e9798f77eeafb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga23c7243f15304c7a86cf6a20118a7c85">ByteOrder</a> Gdk::Image::get_byte_order </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the byte order of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000018">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="ac77d5303dafa70e649cfacfd9a704801"></a><!-- doxytag: member="Gdk::Image::get_bytes_per_line" ref="ac77d5303dafa70e649cfacfd9a704801" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Gdk::Image::get_bytes_per_line </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the number of bytes per line of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000025">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The bytes per line. </dd></dl>

</div>
</div>
<a class="anchor" id="acf0305bec22e0b8973c44c83ee5638ad"></a><!-- doxytag: member="Gdk::Image::get_bytes_per_pixel" ref="acf0305bec22e0b8973c44c83ee5638ad" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Gdk::Image::get_bytes_per_pixel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the number of bytes per pixel of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000023">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The bytes per pixel. </dd></dl>

</div>
</div>
<a class="anchor" id="a8522ac3430a2744fa10d84752c1e2ce2"></a><!-- doxytag: member="Gdk::Image::get_colormap" ref="a8522ac3430a2744fa10d84752c1e2ce2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Image::get_colormap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the colormap for a given image, if it exists. </p>
<p>An image will have a colormap if the drawable from which it was created has a colormap, or if a colormap was set explicitely with <a class="el" href="classGdk_1_1Image.html#a042880ccdd652d3e772f2fb7688a3d1b" title="Sets the colormap for the image to the given colormap.">set_colormap()</a>.</p>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGdk_1_1Colormap.html" title="A Colormap is an object that contains the mapping between the color values stored in memory and the R...">Colormap</a> for the image. </dd></dl>

</div>
</div>
<a class="anchor" id="a9414d62a370fb3ed6376be93ac4147bf"></a><!-- doxytag: member="Gdk::Image::get_colormap" ref="a9414d62a370fb3ed6376be93ac4147bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <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="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::Image::get_colormap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the colormap for a given image, if it exists. </p>
<p>An image will have a colormap if the drawable from which it was created has a colormap, or if a colormap was set explicitely with <a class="el" href="classGdk_1_1Image.html#a042880ccdd652d3e772f2fb7688a3d1b" title="Sets the colormap for the image to the given colormap.">set_colormap()</a>.</p>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classGdk_1_1Colormap.html" title="A Colormap is an object that contains the mapping between the color values stored in memory and the R...">Colormap</a> for the image. </dd></dl>

</div>
</div>
<a class="anchor" id="ac8dc066182917bea5ae757d45e7e17fb"></a><!-- doxytag: member="Gdk::Image::get_depth" ref="ac8dc066182917bea5ae757d45e7e17fb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Gdk::Image::get_depth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the depth of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000021">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The depth. </dd></dl>

</div>
</div>
<a class="anchor" id="a9223b3a765267abd4bece279b2cfecec"></a><!-- doxytag: member="Gdk::Image::get_height" ref="a9223b3a765267abd4bece279b2cfecec" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Image::get_height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the height of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000020">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The height. </dd></dl>

</div>
</div>
<a class="anchor" id="ad74c9586b466048789d2b07b5260461f"></a><!-- doxytag: member="Gdk::Image::get_image_type" ref="ad74c9586b466048789d2b07b5260461f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga072162d4af37da0fbea4c8dd67509058">ImageType</a> Gdk::Image::get_image_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the type of a given image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000015">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The Gdk::ImageType of the image. </dd></dl>

</div>
</div>
<a class="anchor" id="a92ae3cbb3f5893081f0429f206b09b36"></a><!-- doxytag: member="Gdk::Image::get_mem" ref="a92ae3cbb3f5893081f0429f206b09b36" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* Gdk::Image::get_mem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000016">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGdk_1_1Image.html#a969a86ddd9c9c0c26290e2f56fe378c1" title="Returns a pointer to the pixel data of the image.">get_pixels()</a>.</dd></dl>

</div>
</div>
<a class="anchor" id="ac5261bdd56bfd4a7fcc8c9ffab900f6e"></a><!-- doxytag: member="Gdk::Image::get_mem" ref="ac5261bdd56bfd4a7fcc8c9ffab900f6e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const void* Gdk::Image::get_mem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9c10675434c409bae56d9a5775a65725"></a><!-- doxytag: member="Gdk::Image::get_pixel" ref="a9c10675434c409bae56d9a5775a65725" args="(int x, int y) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint32 Gdk::Image::get_pixel </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a969a86ddd9c9c0c26290e2f56fe378c1"></a><!-- doxytag: member="Gdk::Image::get_pixels" ref="a969a86ddd9c9c0c26290e2f56fe378c1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* Gdk::Image::get_pixels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the pixel data of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000027">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The pixel data of the image. </dd></dl>

</div>
</div>
<a class="anchor" id="a447c7e844e995e8da49316b9e4aa2b2c"></a><!-- doxytag: member="Gdk::Image::get_pixels" ref="a447c7e844e995e8da49316b9e4aa2b2c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const void* Gdk::Image::get_pixels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the pixel data of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000028">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The pixel data of the image. </dd></dl>

</div>
</div>
<a class="anchor" id="a68a4f293d42503fde1bd135b5a5ae645"></a><!-- doxytag: member="Gdk::Image::get_visual" ref="a68a4f293d42503fde1bd135b5a5ae645" args="()" -->
<div class="memitem">
<div class="memproto">
      <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="classGdk_1_1Visual.html">Visual</a>&gt; Gdk::Image::get_visual </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the visual that was used to create the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000016">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a6e03217036aa9df27c41823885c6bf09"></a><!-- doxytag: member="Gdk::Image::get_visual" ref="a6e03217036aa9df27c41823885c6bf09" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Visual.html">Visual</a>&gt; Gdk::Image::get_visual </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the visual that was used to create the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000017">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="ae56de9426d2db292837ce4392e47be0c"></a><!-- doxytag: member="Gdk::Image::get_width" ref="ae56de9426d2db292837ce4392e47be0c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Image::get_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the width of the image. </p>
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000019">Since gtkmm 2.22:</a></b></dt><dd></dd></dl>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The width. </dd></dl>

</div>
</div>
<a class="anchor" id="acdffefa7e40c8e5a33c61a638aea9126"></a><!-- doxytag: member="Gdk::Image::get_windowing_data" ref="acdffefa7e40c8e5a33c61a638aea9126" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* Gdk::Image::get_windowing_data </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2bb07609aa3b2b448e0b2a6e9d34ae44"></a><!-- doxytag: member="Gdk::Image::gobj" ref="a2bb07609aa3b2b448e0b2a6e9d34ae44" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdkImage* Gdk::Image::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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="acac146964abc34b4fd7c2ee191269182"></a><!-- doxytag: member="Gdk::Image::gobj" ref="acac146964abc34b4fd7c2ee191269182" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkImage* Gdk::Image::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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="aea2ae6cb159201f8c9837175f92bd7f6"></a><!-- doxytag: member="Gdk::Image::gobj_copy" ref="aea2ae6cb159201f8c9837175f92bd7f6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkImage* Gdk::Image::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>

</div>
</div>
<a class="anchor" id="a261f5bd8c40909f763e0c7e210931e60"></a><!-- doxytag: member="Gdk::Image::put_pixel" ref="a261f5bd8c40909f763e0c7e210931e60" args="(int x, int y, guint32 pixel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Image::put_pixel </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"><em>pixel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a042880ccdd652d3e772f2fb7688a3d1b"></a><!-- doxytag: member="Gdk::Image::set_colormap" ref="a042880ccdd652d3e772f2fb7688a3d1b" args="(const Glib::RefPtr&lt; Colormap &gt; &amp;colormap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Image::set_colormap </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>colormap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the colormap for the image to the given colormap. </p>
<p>Normally there's no need to use this function, images are created with the correct colormap if you get the image from a drawable. If you create the image from scratch, use the colormap of the drawable you intend to render the image to.</p>
<p>Deprecated: 2.22: <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> should not be used anymore. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">colormap</td><td>A <a class="el" href="classGdk_1_1Colormap.html" title="A Colormap is an object that contains the mapping between the color values stored in memory and the R...">Gdk::Colormap</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a4e12de6a4aed338274da14ee02498b47"></a><!-- doxytag: member="Gdk::Image::wrap" ref="a4e12de6a4aed338274da14ee02498b47" args="(GdkImage *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <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="classGdk_1_1Image.html">Gdk::Image</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdkImage *&#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><code> [related]</code></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><dt><b>Parameters:</b></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="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>gdkmm/image.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>