Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 36a4a1ce4320fd74059ccc32828cc5d4 > files > 46

gtkmm3.0-doc-3.14.0-2.mga5.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.7"/>
<title>gtkmm: Gdk::Pixbuf 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">gtkmm
   &#160;<span id="projectnumber">3.14.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <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_1Pixbuf.html">Pixbuf</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<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="classGdk_1_1Pixbuf-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gdk::Pixbuf Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;gdkmm/pixbuf.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Gdk::Pixbuf:</div>
<div class="dyncontent">
<div class="center"><img src="classGdk_1_1Pixbuf__inherit__graph.png" border="0" usemap="#Gdk_1_1Pixbuf_inherit__map" alt="Inheritance graph"/></div>
<map name="Gdk_1_1Pixbuf_inherit__map" id="Gdk_1_1Pixbuf_inherit__map">
<area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,229,99,256"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="39,80,165,107"/><area shape="rect" id="node6" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="102,155,212,181"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="45,5,160,32"/><area shape="rect" id="node5" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Icon.html" title="Gio::Icon" alt="" coords="124,229,200,256"/></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-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a0d6aea44bfbf45635b461e2cf2a12c68"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void, <br class="typebreak" />
const guint8* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a0d6aea44bfbf45635b461e2cf2a12c68">SlotDestroyData</a></td></tr>
<tr class="separator:a0d6aea44bfbf45635b461e2cf2a12c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a275644e5e1adce04cddf67baa263e26b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a275644e5e1adce04cddf67baa263e26b">~Pixbuf</a> ()</td></tr>
<tr class="separator:a275644e5e1adce04cddf67baa263e26b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13edc3418dd409e931ed8f83b93b4cdd"><td class="memItemLeft" align="right" valign="top">GdkPixbuf*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a13edc3418dd409e931ed8f83b93b4cdd">gobj</a> ()</td></tr>
<tr class="memdesc:a13edc3418dd409e931ed8f83b93b4cdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a13edc3418dd409e931ed8f83b93b4cdd">More...</a><br /></td></tr>
<tr class="separator:a13edc3418dd409e931ed8f83b93b4cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b76fd288e49f110a07558d35193fdc2"><td class="memItemLeft" align="right" valign="top">const GdkPixbuf*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a9b76fd288e49f110a07558d35193fdc2">gobj</a> () const </td></tr>
<tr class="memdesc:a9b76fd288e49f110a07558d35193fdc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a9b76fd288e49f110a07558d35193fdc2">More...</a><br /></td></tr>
<tr class="separator:a9b76fd288e49f110a07558d35193fdc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab339b9473c5d4f2eb646dc94d1606f40"><td class="memItemLeft" align="right" valign="top">GdkPixbuf*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ab339b9473c5d4f2eb646dc94d1606f40">gobj_copy</a> ()</td></tr>
<tr class="memdesc:ab339b9473c5d4f2eb646dc94d1606f40"><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="#ab339b9473c5d4f2eb646dc94d1606f40">More...</a><br /></td></tr>
<tr class="separator:ab339b9473c5d4f2eb646dc94d1606f40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa29db4f8d4410dc74916b53d231a1fbd"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aa29db4f8d4410dc74916b53d231a1fbd">copy</a> () const </td></tr>
<tr class="memdesc:aa29db4f8d4410dc74916b53d231a1fbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> with a copy of the information in the specified <em>pixbuf</em>.  <a href="#aa29db4f8d4410dc74916b53d231a1fbd">More...</a><br /></td></tr>
<tr class="separator:aa29db4f8d4410dc74916b53d231a1fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61c4798177de9429c58db866e9a7d35f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a61c4798177de9429c58db866e9a7d35f">get_colorspace</a> () const </td></tr>
<tr class="memdesc:a61c4798177de9429c58db866e9a7d35f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the color space of a pixbuf.  <a href="#a61c4798177de9429c58db866e9a7d35f">More...</a><br /></td></tr>
<tr class="separator:a61c4798177de9429c58db866e9a7d35f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadda0282837e2815927179c6af91286d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aadda0282837e2815927179c6af91286d">get_n_channels</a> () const </td></tr>
<tr class="memdesc:aadda0282837e2815927179c6af91286d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the number of channels of a pixbuf.  <a href="#aadda0282837e2815927179c6af91286d">More...</a><br /></td></tr>
<tr class="separator:aadda0282837e2815927179c6af91286d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af467c7efa88fa42b067de1b98428fad7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#af467c7efa88fa42b067de1b98428fad7">get_has_alpha</a> () const </td></tr>
<tr class="memdesc:af467c7efa88fa42b067de1b98428fad7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries whether a pixbuf has an alpha channel (opacity information).  <a href="#af467c7efa88fa42b067de1b98428fad7">More...</a><br /></td></tr>
<tr class="separator:af467c7efa88fa42b067de1b98428fad7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9e2312c80e5ebc911c469c822dee96e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ae9e2312c80e5ebc911c469c822dee96e">get_bits_per_sample</a> () const </td></tr>
<tr class="memdesc:ae9e2312c80e5ebc911c469c822dee96e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the number of bits per color sample in a pixbuf.  <a href="#ae9e2312c80e5ebc911c469c822dee96e">More...</a><br /></td></tr>
<tr class="separator:ae9e2312c80e5ebc911c469c822dee96e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf7f4e324769b180dc0f0bfd053ff47a"><td class="memItemLeft" align="right" valign="top">guint8*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#adf7f4e324769b180dc0f0bfd053ff47a">get_pixels</a> () const </td></tr>
<tr class="memdesc:adf7f4e324769b180dc0f0bfd053ff47a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries a pointer to the pixel data of a pixbuf.  <a href="#adf7f4e324769b180dc0f0bfd053ff47a">More...</a><br /></td></tr>
<tr class="separator:adf7f4e324769b180dc0f0bfd053ff47a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa465be4bf65b9fedf471848c21bfab98"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aa465be4bf65b9fedf471848c21bfab98">get_width</a> () const </td></tr>
<tr class="memdesc:aa465be4bf65b9fedf471848c21bfab98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the width of a pixbuf.  <a href="#aa465be4bf65b9fedf471848c21bfab98">More...</a><br /></td></tr>
<tr class="separator:aa465be4bf65b9fedf471848c21bfab98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a65cd750a2048a621a8f199cb2c3d68"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a2a65cd750a2048a621a8f199cb2c3d68">get_height</a> () const </td></tr>
<tr class="memdesc:a2a65cd750a2048a621a8f199cb2c3d68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the height of a pixbuf.  <a href="#a2a65cd750a2048a621a8f199cb2c3d68">More...</a><br /></td></tr>
<tr class="separator:a2a65cd750a2048a621a8f199cb2c3d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef37137e7f42a5734deb0f9be25ef030"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aef37137e7f42a5734deb0f9be25ef030">get_rowstride</a> () const </td></tr>
<tr class="memdesc:aef37137e7f42a5734deb0f9be25ef030"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries the rowstride of a pixbuf, which is the number of bytes between the start of a row and the start of the next row.  <a href="#aef37137e7f42a5734deb0f9be25ef030">More...</a><br /></td></tr>
<tr class="separator:aef37137e7f42a5734deb0f9be25ef030"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad023c117c8556505e1f934a41c62f324"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ad023c117c8556505e1f934a41c62f324">get_byte_length</a> () const </td></tr>
<tr class="memdesc:ad023c117c8556505e1f934a41c62f324"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the pixel data, in bytes.  <a href="#ad023c117c8556505e1f934a41c62f324">More...</a><br /></td></tr>
<tr class="separator:ad023c117c8556505e1f934a41c62f324"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15afdfdd5d5d75b0b692f987e74cbae4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a15afdfdd5d5d75b0b692f987e74cbae4">fill</a> (guint32 pixel)</td></tr>
<tr class="memdesc:a15afdfdd5d5d75b0b692f987e74cbae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears a pixbuf to the given <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color. ">RGBA</a> value, converting the <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color. ">RGBA</a> value into the pixbuf's pixel format.  <a href="#a15afdfdd5d5d75b0b692f987e74cbae4">More...</a><br /></td></tr>
<tr class="separator:a15afdfdd5d5d75b0b692f987e74cbae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32ef63686fc58a26d9776dc42190f566"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a32ef63686fc58a26d9776dc42190f566">save</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type) const </td></tr>
<tr class="memdesc:a32ef63686fc58a26d9776dc42190f566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves pixbuf to a file in format <em>type</em>.  <a href="#a32ef63686fc58a26d9776dc42190f566">More...</a><br /></td></tr>
<tr class="separator:a32ef63686fc58a26d9776dc42190f566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0c406bdb9baa2ba37a6004a9525faf2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ad0c406bdb9baa2ba37a6004a9525faf2">save</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type)</td></tr>
<tr class="memdesc:ad0c406bdb9baa2ba37a6004a9525faf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as the const version.  <a href="#ad0c406bdb9baa2ba37a6004a9525faf2">More...</a><br /></td></tr>
<tr class="separator:ad0c406bdb9baa2ba37a6004a9525faf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac164cc3569648ac5fee15453f05a963a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ac164cc3569648ac5fee15453f05a963a">save</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_keys, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_values) const </td></tr>
<tr class="memdesc:ac164cc3569648ac5fee15453f05a963a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves pixbuf to a file in format <em>type</em>.  <a href="#ac164cc3569648ac5fee15453f05a963a">More...</a><br /></td></tr>
<tr class="separator:ac164cc3569648ac5fee15453f05a963a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a729b73e6619d783e8a5224b170195b80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a729b73e6619d783e8a5224b170195b80">save</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_keys, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_values)</td></tr>
<tr class="memdesc:a729b73e6619d783e8a5224b170195b80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as the const version.  <a href="#a729b73e6619d783e8a5224b170195b80">More...</a><br /></td></tr>
<tr class="separator:a729b73e6619d783e8a5224b170195b80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95e7378ee7b6267b5fc9436d4a917e6b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a95e7378ee7b6267b5fc9436d4a917e6b">save_to_buffer</a> (gchar*&amp; buffer, gsize&amp; buffer_size, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type=&quot;png&quot;) const </td></tr>
<tr class="memdesc:a95e7378ee7b6267b5fc9436d4a917e6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the pixbuf to a new buffer in format <em>type</em>.  <a href="#a95e7378ee7b6267b5fc9436d4a917e6b">More...</a><br /></td></tr>
<tr class="separator:a95e7378ee7b6267b5fc9436d4a917e6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfa7bec224e7296ec70510f375c457e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#acfa7bec224e7296ec70510f375c457e9">save_to_buffer</a> (gchar*&amp; buffer, gsize&amp; buffer_size, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type=&quot;png&quot;)</td></tr>
<tr class="memdesc:acfa7bec224e7296ec70510f375c457e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as the const version.  <a href="#acfa7bec224e7296ec70510f375c457e9">More...</a><br /></td></tr>
<tr class="separator:acfa7bec224e7296ec70510f375c457e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75f14167effc3187670d28065251ac76"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a75f14167effc3187670d28065251ac76">save_to_buffer</a> (gchar*&amp; buffer, gsize&amp; buffer_size, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_keys, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_values) const </td></tr>
<tr class="memdesc:a75f14167effc3187670d28065251ac76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the pixbuf to a new buffer in format <em>type</em>.  <a href="#a75f14167effc3187670d28065251ac76">More...</a><br /></td></tr>
<tr class="separator:a75f14167effc3187670d28065251ac76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c319e0671eb11414f35edd7b776a62a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a4c319e0671eb11414f35edd7b776a62a">save_to_buffer</a> (gchar*&amp; buffer, gsize&amp; buffer_size, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; type, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_keys, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&amp; option_values)</td></tr>
<tr class="memdesc:a4c319e0671eb11414f35edd7b776a62a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as the const version.  <a href="#a4c319e0671eb11414f35edd7b776a62a">More...</a><br /></td></tr>
<tr class="separator:a4c319e0671eb11414f35edd7b776a62a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a573577de851722e9a14b287e6a8038b2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a573577de851722e9a14b287e6a8038b2">add_alpha</a> (bool substitute_color, guint8 r, guint8 g, guint8 b) const </td></tr>
<tr class="memdesc:a573577de851722e9a14b287e6a8038b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Takes an existing pixbuf and adds an alpha channel to it.  <a href="#a573577de851722e9a14b287e6a8038b2">More...</a><br /></td></tr>
<tr class="separator:a573577de851722e9a14b287e6a8038b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabf9cf1e0b94659da02fc86aa80d6602"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aabf9cf1e0b94659da02fc86aa80d6602">copy_area</a> (int src_x, int src_y, int width, int height, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; dest_pixbuf, int dest_x, int dest_y) const </td></tr>
<tr class="memdesc:aabf9cf1e0b94659da02fc86aa80d6602"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies a rectangular area from <em>src_pixbuf</em> to <em>dest_pixbuf</em>.  <a href="#aabf9cf1e0b94659da02fc86aa80d6602">More...</a><br /></td></tr>
<tr class="separator:aabf9cf1e0b94659da02fc86aa80d6602"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8435f1c148800c46440d35699c32575a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a8435f1c148800c46440d35699c32575a">saturate_and_pixelate</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; dest, float saturation, bool pixelate) const </td></tr>
<tr class="memdesc:a8435f1c148800c46440d35699c32575a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies saturation and optionally pixelates <em>src</em>, placing the result in <em>dest</em>.  <a href="#a8435f1c148800c46440d35699c32575a">More...</a><br /></td></tr>
<tr class="separator:a8435f1c148800c46440d35699c32575a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae5d9d6b41607425eed948645a3a76f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aae5d9d6b41607425eed948645a3a76f5">scale</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, <a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a> interp_type) const </td></tr>
<tr class="memdesc:aae5d9d6b41607425eed948645a3a76f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a transformation of the source image <em>src</em> by scaling by <em>scale_x</em> and <em>scale_y</em> then translating by <em>offset_x</em> and <em>offset_y</em>, then renders the rectangle ( <em>dest_x</em>, <em>dest_y</em>, <em>dest_width</em>, <em>dest_height</em>) of the resulting image onto the destination image replacing the previous contents.  <a href="#aae5d9d6b41607425eed948645a3a76f5">More...</a><br /></td></tr>
<tr class="separator:aae5d9d6b41607425eed948645a3a76f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8425e18bd16f6059cc5f763a138a19cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a8425e18bd16f6059cc5f763a138a19cb">composite</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, <a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a> interp_type, int overall_alpha) const </td></tr>
<tr class="memdesc:a8425e18bd16f6059cc5f763a138a19cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a transformation of the source image <em>src</em> by scaling by <em>scale_x</em> and <em>scale_y</em> then translating by <em>offset_x</em> and <em>offset_y</em>.  <a href="#a8425e18bd16f6059cc5f763a138a19cb">More...</a><br /></td></tr>
<tr class="separator:a8425e18bd16f6059cc5f763a138a19cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a9f2f801f1f18ce4cd735dbb4afd16d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a7a9f2f801f1f18ce4cd735dbb4afd16d">composite_color</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, <a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a> interp_type, int overall_alpha, int check_x, int check_y, int check_size, guint32 color1, guint32 color2) const </td></tr>
<tr class="memdesc:a7a9f2f801f1f18ce4cd735dbb4afd16d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a transformation of the source image <em>src</em> by scaling by <em>scale_x</em> and <em>scale_y</em> then translating by <em>offset_x</em> and <em>offset_y</em>, then composites the rectangle ( <em>dest_x</em> , <em>dest_y</em>, <em>dest_width</em>, <em>dest_height</em>) of the resulting image with a checkboard of the colors <em>color1</em> and <em>color2</em> and renders it onto the destination image.  <a href="#a7a9f2f801f1f18ce4cd735dbb4afd16d">More...</a><br /></td></tr>
<tr class="separator:a7a9f2f801f1f18ce4cd735dbb4afd16d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e2c7be0469e402cc20fbad27015767"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a73e2c7be0469e402cc20fbad27015767">scale_simple</a> (int dest_width, int dest_height, <a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a> interp_type) const </td></tr>
<tr class="memdesc:a73e2c7be0469e402cc20fbad27015767"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> containing a copy of <em>src</em> scaled to <em>dest_width</em> x <em>dest_height</em>.  <a href="#a73e2c7be0469e402cc20fbad27015767">More...</a><br /></td></tr>
<tr class="separator:a73e2c7be0469e402cc20fbad27015767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae77f26e8ceef4340ea412949cfb3fff8"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ae77f26e8ceef4340ea412949cfb3fff8">composite_color_simple</a> (int dest_width, int dest_height, <a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a> interp_type, int overall_alpha, int check_size, guint32 color1, guint32 color2) const </td></tr>
<tr class="memdesc:ae77f26e8ceef4340ea412949cfb3fff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> by scaling <em>src</em> to <em>dest_width</em> x <em>dest_height</em> and compositing the result with a checkboard of colors <em>color1</em> and <em>color2</em>.  <a href="#ae77f26e8ceef4340ea412949cfb3fff8">More...</a><br /></td></tr>
<tr class="separator:ae77f26e8ceef4340ea412949cfb3fff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91a5dc6fba52403feeb32318b7f8510a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a91a5dc6fba52403feeb32318b7f8510a">rotate_simple</a> (<a class="el" href="group__gdkmmEnums.html#ga2587434fd0a409f88feba9e5311e6240">PixbufRotation</a> angle) const </td></tr>
<tr class="memdesc:a91a5dc6fba52403feeb32318b7f8510a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf.  <a href="#a91a5dc6fba52403feeb32318b7f8510a">More...</a><br /></td></tr>
<tr class="separator:a91a5dc6fba52403feeb32318b7f8510a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30439c05aa086c565671772a9fd32efc"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a30439c05aa086c565671772a9fd32efc">flip</a> (bool horizontal=true) const </td></tr>
<tr class="memdesc:a30439c05aa086c565671772a9fd32efc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flips a pixbuf horizontally or vertically and returns the result in a new pixbuf.  <a href="#a30439c05aa086c565671772a9fd32efc">More...</a><br /></td></tr>
<tr class="separator:a30439c05aa086c565671772a9fd32efc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a020d67bf052da46a0ae1c689f18102be"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a020d67bf052da46a0ae1c689f18102be">get_option</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; key) const </td></tr>
<tr class="memdesc:a020d67bf052da46a0ae1c689f18102be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up <em>key</em> in the list of options that may have been attached to the <em>pixbuf</em> when it was loaded, or that may have been attached by another function using set_option().  <a href="#a020d67bf052da46a0ae1c689f18102be">More...</a><br /></td></tr>
<tr class="separator:a020d67bf052da46a0ae1c689f18102be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1808b7279e47d7df62748a54b16a2a4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#af1808b7279e47d7df62748a54b16a2a4">apply_embedded_orientation</a> ()</td></tr>
<tr class="memdesc:af1808b7279e47d7df62748a54b16a2a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Takes an existing pixbuf and checks for the presence of an associated "orientation" option, which may be provided by the jpeg loader (which reads the exif orientation tag) or the tiff loader (which reads the tiff orientation tag, and compensates it for the partial transforms performed by libtiff).  <a href="#af1808b7279e47d7df62748a54b16a2a4">More...</a><br /></td></tr>
<tr class="separator:af1808b7279e47d7df62748a54b16a2a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8eaab15e172f4c98411a58039974414"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" />
&lt; <a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ad8eaab15e172f4c98411a58039974414">property_colorspace</a> () const </td></tr>
<tr class="memdesc:ad8eaab15e172f4c98411a58039974414"><td class="mdescLeft">&#160;</td><td class="mdescRight">The colorspace in which the samples are interpreted.  <a href="#ad8eaab15e172f4c98411a58039974414">More...</a><br /></td></tr>
<tr class="separator:ad8eaab15e172f4c98411a58039974414"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d985320959289058e3d63f9a6d512c4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a5d985320959289058e3d63f9a6d512c4">property_n_channels</a> () const </td></tr>
<tr class="memdesc:a5d985320959289058e3d63f9a6d512c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of samples per pixel.  <a href="#a5d985320959289058e3d63f9a6d512c4">More...</a><br /></td></tr>
<tr class="separator:a5d985320959289058e3d63f9a6d512c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8262d503f5033446a60d04fd8e68c81b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" />
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a8262d503f5033446a60d04fd8e68c81b">property_has_alpha</a> () const </td></tr>
<tr class="memdesc:a8262d503f5033446a60d04fd8e68c81b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the pixbuf has an alpha channel.  <a href="#a8262d503f5033446a60d04fd8e68c81b">More...</a><br /></td></tr>
<tr class="separator:a8262d503f5033446a60d04fd8e68c81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98cfd95ee71c2f65db26eec821daf84d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a98cfd95ee71c2f65db26eec821daf84d">property_bits_per_sample</a> () const </td></tr>
<tr class="memdesc:a98cfd95ee71c2f65db26eec821daf84d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of bits per sample.  <a href="#a98cfd95ee71c2f65db26eec821daf84d">More...</a><br /></td></tr>
<tr class="separator:a98cfd95ee71c2f65db26eec821daf84d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5432db69e0d7f42ed6207c24ca900df9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a5432db69e0d7f42ed6207c24ca900df9">property_width</a> () const </td></tr>
<tr class="memdesc:a5432db69e0d7f42ed6207c24ca900df9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of columns of the pixbuf.  <a href="#a5432db69e0d7f42ed6207c24ca900df9">More...</a><br /></td></tr>
<tr class="separator:a5432db69e0d7f42ed6207c24ca900df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae49274770275ff75a738e2c3a5f72c2a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ae49274770275ff75a738e2c3a5f72c2a">property_height</a> () const </td></tr>
<tr class="memdesc:ae49274770275ff75a738e2c3a5f72c2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of rows of the pixbuf.  <a href="#ae49274770275ff75a738e2c3a5f72c2a">More...</a><br /></td></tr>
<tr class="separator:ae49274770275ff75a738e2c3a5f72c2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27cdaa7e4b1e5b17c0022aad2f8c0415"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a27cdaa7e4b1e5b17c0022aad2f8c0415">property_rowstride</a> () const </td></tr>
<tr class="memdesc:a27cdaa7e4b1e5b17c0022aad2f8c0415"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of bytes between the start of a row and the start of the next row.  <a href="#a27cdaa7e4b1e5b17c0022aad2f8c0415">More...</a><br /></td></tr>
<tr class="separator:a27cdaa7e4b1e5b17c0022aad2f8c0415"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a488db69c734c02638934ba77a3c5a715"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" />
&lt; void* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a488db69c734c02638934ba77a3c5a715">property_pixels</a> () const </td></tr>
<tr class="memdesc:a488db69c734c02638934ba77a3c5a715"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the pixel data of the pixbuf.  <a href="#a488db69c734c02638934ba77a3c5a715">More...</a><br /></td></tr>
<tr class="separator:a488db69c734c02638934ba77a3c5a715"><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:a2db5672d540799a640706e7da87ffd72"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a2db5672d540799a640706e7da87ffd72">get_type</a> ()</td></tr>
<tr class="memdesc:a2db5672d540799a640706e7da87ffd72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#a2db5672d540799a640706e7da87ffd72">More...</a><br /></td></tr>
<tr class="separator:a2db5672d540799a640706e7da87ffd72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a940ac5b1eb6ae80cb54d9013faf761a5"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a940ac5b1eb6ae80cb54d9013faf761a5">create</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Window.html">Window</a> &gt;&amp; src, int src_x, int src_y, int width, int height)</td></tr>
<tr class="memdesc:a940ac5b1eb6ae80cb54d9013faf761a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfers image data from a #GdkWindow and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>.  <a href="#a940ac5b1eb6ae80cb54d9013faf761a5">More...</a><br /></td></tr>
<tr class="separator:a940ac5b1eb6ae80cb54d9013faf761a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5ca16c0ba15e4b9abb9bbc3a8f3d121"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aa5ca16c0ba15e4b9abb9bbc3a8f3d121">create</a> (const <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> &gt;&amp; src, int src_x, int src_y, int width, int height)</td></tr>
<tr class="memdesc:aa5ca16c0ba15e4b9abb9bbc3a8f3d121"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfers image data from a <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>.  <a href="#aa5ca16c0ba15e4b9abb9bbc3a8f3d121">More...</a><br /></td></tr>
<tr class="separator:aa5ca16c0ba15e4b9abb9bbc3a8f3d121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c635f730b93c774c35a32e4338fda9f"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a8c635f730b93c774c35a32e4338fda9f">create</a> (<a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a> colorspace, bool has_alpha, int bits_per_sample, int width, int height)</td></tr>
<tr class="memdesc:a8c635f730b93c774c35a32e4338fda9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> structure and allocates a buffer for it.  <a href="#a8c635f730b93c774c35a32e4338fda9f">More...</a><br /></td></tr>
<tr class="separator:a8c635f730b93c774c35a32e4338fda9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35e610247014f8e2fe7969ff6c8da074"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a35e610247014f8e2fe7969ff6c8da074">create_subpixbuf</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&amp; src_pixbuf, int src_x, int src_y, int width, int height)</td></tr>
<tr class="memdesc:a35e610247014f8e2fe7969ff6c8da074"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf which represents a sub-region of <em>src_pixbuf</em>.  <a href="#a35e610247014f8e2fe7969ff6c8da074">More...</a><br /></td></tr>
<tr class="separator:a35e610247014f8e2fe7969ff6c8da074"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20d7a2a52dab246e4bb758ecba38e4ca"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a20d7a2a52dab246e4bb758ecba38e4ca">create_from_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename)</td></tr>
<tr class="memdesc:a20d7a2a52dab246e4bb758ecba38e4ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf by loading an image from a file.  <a href="#a20d7a2a52dab246e4bb758ecba38e4ca">More...</a><br /></td></tr>
<tr class="separator:a20d7a2a52dab246e4bb758ecba38e4ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5000775e43142f3e764ba64236c95d47"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a5000775e43142f3e764ba64236c95d47">create_from_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename, int width, int height, bool preserve_aspect_ratio=true)</td></tr>
<tr class="memdesc:a5000775e43142f3e764ba64236c95d47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf by loading an image from a file.  <a href="#a5000775e43142f3e764ba64236c95d47">More...</a><br /></td></tr>
<tr class="separator:a5000775e43142f3e764ba64236c95d47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed492f5942ef53f12a20469ba72cecf4"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aed492f5942ef53f12a20469ba72cecf4">create_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; resource_path)</td></tr>
<tr class="memdesc:aed492f5942ef53f12a20469ba72cecf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf by loading an image from a resource.  <a href="#aed492f5942ef53f12a20469ba72cecf4">More...</a><br /></td></tr>
<tr class="separator:aed492f5942ef53f12a20469ba72cecf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad932ebff2c5dd0892c92d64cc038b1c2"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ad932ebff2c5dd0892c92d64cc038b1c2">create_from_resource</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; resource_path, int width, int height, bool preserve_aspect_ratio=true)</td></tr>
<tr class="memdesc:ad932ebff2c5dd0892c92d64cc038b1c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf by loading an image from a resource.  <a href="#ad932ebff2c5dd0892c92d64cc038b1c2">More...</a><br /></td></tr>
<tr class="separator:ad932ebff2c5dd0892c92d64cc038b1c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a3b524f26acd2f9efc4abe9c294d341"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a8a3b524f26acd2f9efc4abe9c294d341">create_from_data</a> (const guint8* data, <a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a> colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride)</td></tr>
<tr class="memdesc:a8a3b524f26acd2f9efc4abe9c294d341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> out of in-memory image data.  <a href="#a8a3b524f26acd2f9efc4abe9c294d341">More...</a><br /></td></tr>
<tr class="separator:a8a3b524f26acd2f9efc4abe9c294d341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a526129d481ff04e8953c18b0b12c4c55"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a526129d481ff04e8953c18b0b12c4c55">create_from_data</a> (const guint8* data, <a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a> colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, const <a class="el" href="classGdk_1_1Pixbuf.html#a0d6aea44bfbf45635b461e2cf2a12c68">SlotDestroyData</a>&amp; destroy_slot)</td></tr>
<tr class="memdesc:a526129d481ff04e8953c18b0b12c4c55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> out of in-memory image data.  <a href="#a526129d481ff04e8953c18b0b12c4c55">More...</a><br /></td></tr>
<tr class="separator:a526129d481ff04e8953c18b0b12c4c55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad00762020e4802e9bb0cbd7645a44032"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ad00762020e4802e9bb0cbd7645a44032">create_from_xpm_data</a> (const char* const* data)</td></tr>
<tr class="memdesc:ad00762020e4802e9bb0cbd7645a44032"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf by parsing XPM data in memory.  <a href="#ad00762020e4802e9bb0cbd7645a44032">More...</a><br /></td></tr>
<tr class="separator:ad00762020e4802e9bb0cbd7645a44032"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaac78677d8310866334827db2a9f753c"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aaac78677d8310866334827db2a9f753c">create_from_inline</a> (int data_length, const guint8* data, bool copy_pixels=false)</td></tr>
<tr class="memdesc:aaac78677d8310866334827db2a9f753c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> from a flat representation that is suitable for storing as inline data in a program.  <a href="#aaac78677d8310866334827db2a9f753c">More...</a><br /></td></tr>
<tr class="separator:aaac78677d8310866334827db2a9f753c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e29a1ac165b38764136eb26a9fd3c18"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a1e29a1ac165b38764136eb26a9fd3c18">create_from_stream</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt;&amp; stream, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Cancellable.html">Gio::Cancellable</a> &gt;&amp; cancellable)</td></tr>
<tr class="memdesc:a1e29a1ac165b38764136eb26a9fd3c18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf by loading an image from an input stream.  <a href="#a1e29a1ac165b38764136eb26a9fd3c18">More...</a><br /></td></tr>
<tr class="separator:a1e29a1ac165b38764136eb26a9fd3c18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae757183c249a0e6d48b798482b0e3004"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#ae757183c249a0e6d48b798482b0e3004">create_from_stream</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt;&amp; stream)</td></tr>
<tr class="separator:ae757183c249a0e6d48b798482b0e3004"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a200f8adc8eb8903c09ded7c5685e5d7b"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a200f8adc8eb8903c09ded7c5685e5d7b">create_from_stream_at_scale</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt;&amp; stream, int width, int height, bool preserve_aspect_ratio, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Cancellable.html">Gio::Cancellable</a> &gt;&amp; cancellable)</td></tr>
<tr class="memdesc:a200f8adc8eb8903c09ded7c5685e5d7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new pixbuf by loading an image from an input stream.  <a href="#a200f8adc8eb8903c09ded7c5685e5d7b">More...</a><br /></td></tr>
<tr class="separator:a200f8adc8eb8903c09ded7c5685e5d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97aba56587ee9faa6ca358efcd1a9948"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a97aba56587ee9faa6ca358efcd1a9948">create_from_stream_at_scale</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt;&amp; stream, int width, int height, bool preserve_aspect_ratio)</td></tr>
<tr class="separator:a97aba56587ee9faa6ca358efcd1a9948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4469806e3c612bd9dd54641afc7ba1c7"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a4469806e3c612bd9dd54641afc7ba1c7">get_formats</a> ()</td></tr>
<tr class="memdesc:a4469806e3c612bd9dd54641afc7ba1c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the available information about the image formats supported by GdkPixbuf.  <a href="#a4469806e3c612bd9dd54641afc7ba1c7">More...</a><br /></td></tr>
<tr class="separator:a4469806e3c612bd9dd54641afc7ba1c7"><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:aee9aacffbe81190ab7deadb2c8d0f593"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#aee9aacffbe81190ab7deadb2c8d0f593">Pixbuf</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Window.html">Window</a> &gt;&amp; src, int src_x, int src_y, int width, int height)</td></tr>
<tr class="memdesc:aee9aacffbe81190ab7deadb2c8d0f593"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfers image data from a #GdkWindow and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>.  <a href="#aee9aacffbe81190ab7deadb2c8d0f593">More...</a><br /></td></tr>
<tr class="separator:aee9aacffbe81190ab7deadb2c8d0f593"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a018984acbc039503d1ae45a49e7a8946"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a018984acbc039503d1ae45a49e7a8946">Pixbuf</a> (const <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> &gt;&amp; src, int src_x, int src_y, int width, int height)</td></tr>
<tr class="memdesc:a018984acbc039503d1ae45a49e7a8946"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfers image data from a <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>.  <a href="#a018984acbc039503d1ae45a49e7a8946">More...</a><br /></td></tr>
<tr class="separator:a018984acbc039503d1ae45a49e7a8946"><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:a0688e4500d3b17ffcf12a93da257c312"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Pixbuf.html#a0688e4500d3b17ffcf12a93da257c312">wrap</a> (GdkPixbuf* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a0688e4500d3b17ffcf12a93da257c312"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#a0688e4500d3b17ffcf12a93da257c312">More...</a><br /></td></tr>
<tr class="separator:a0688e4500d3b17ffcf12a93da257c312"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a0d6aea44bfbf45635b461e2cf2a12c68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt;void, const guint8*&gt; <a class="el" href="classGdk_1_1Pixbuf.html#a0d6aea44bfbf45635b461e2cf2a12c68">Gdk::Pixbuf::SlotDestroyData</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a275644e5e1adce04cddf67baa263e26b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gdk::Pixbuf::~Pixbuf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aee9aacffbe81190ab7deadb2c8d0f593"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Pixbuf::Pixbuf </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Window.html">Window</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_y</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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Transfers image data from a #GdkWindow and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<p>In other words, copies image data from a server-side drawable to a client-side RGB(A) buffer. This allows you to efficiently read individual pixels on the client side.</p>
<p>This function will create an RGB pixbuf with 8 bits per channel with the same size specified by the <em>width</em> and <em>height</em> arguments. The pixbuf will contain an alpha channel if the <em>window</em> contains one.</p>
<p>If the window is off the screen, then there is no image data in the obscured/offscreen regions to be placed in the pixbuf. The contents of portions of the pixbuf corresponding to the offscreen region are undefined.</p>
<p>If the window you're obtaining data from is partially obscured by other windows, then the contents of the pixbuf areas corresponding to the obscured regions are undefined.</p>
<p>If the window is not mapped (typically because it's iconified/minimized or not on the current workspace), then an invalid object will be returned.</p>
<p>If memory can't be allocated for the return value, an invalid object will be returned instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Source window. </td></tr>
    <tr><td class="paramname">src_x</td><td>Source X coordinate within the window. </td></tr>
    <tr><td class="paramname">src_y</td><td>Source Y coordinate within the window. </td></tr>
    <tr><td class="paramname">width</td><td>Width in pixels of region to get. </td></tr>
    <tr><td class="paramname">height</td><td>Height in pixels of region to get.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000002">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a018984acbc039503d1ae45a49e7a8946"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Pixbuf::Pixbuf </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_y</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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Transfers image data from a <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<p>This allows you to efficiently read individual pixels from cairo surfaces. For Gdk::Windows, use the constructor that takes a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen. ">Gdk::Window</a> instead.</p>
<p>This will create an RGB pixbuf with 8 bits per channel. The pixbuf will contain an alpha channel if the surface contains one.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">surface</td><td>Surface to copy from. </td></tr>
    <tr><td class="paramname">src_x</td><td>Source X coordinate within the surface. </td></tr>
    <tr><td class="paramname">src_y</td><td>Source Y coordinate within the surface. </td></tr>
    <tr><td class="paramname">width</td><td>Width in pixels of region to get. </td></tr>
    <tr><td class="paramname">height</td><td>Height in pixels of region to get.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_30"><dt><b><a class="el" href="since_2_30.html#_since_2_30000001">Since gtkmm 2.30:</a></b></dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a573577de851722e9a14b287e6a8038b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gdk::Pixbuf::add_alpha </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>substitute_color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint8&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint8&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint8&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Takes an existing pixbuf and adds an alpha channel to it. </p>
<p>If the existing pixbuf already had an alpha channel, the channel values are copied from the original; otherwise, the alpha channel is initialized to 255 (full opacity).</p>
<p>If <em>substitute_color</em> is <code>true</code>, then the color specified by ( <em>r</em>, <em>g</em>, <em>b</em>) will be assigned zero opacity. That is, if you pass (255, 255, 255) for the substitute color, all white pixels will become fully transparent.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">substitute_color</td><td>Whether to set a color to zero opacity. If this is <code>false</code>, then the ( <em>r</em>, <em>g</em>, <em>b</em>) arguments will be ignored. </td></tr>
    <tr><td class="paramname">r</td><td>Red value to substitute. </td></tr>
    <tr><td class="paramname">g</td><td>Green value to substitute. </td></tr>
    <tr><td class="paramname">b</td><td>Blue value to substitute. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created pixbuf with a reference count of 1. </dd></dl>

</div>
</div>
<a class="anchor" id="af1808b7279e47d7df62748a54b16a2a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::apply_embedded_orientation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Takes an existing pixbuf and checks for the presence of an associated "orientation" option, which may be provided by the jpeg loader (which reads the exif orientation tag) or the tiff loader (which reads the tiff orientation tag, and compensates it for the partial transforms performed by libtiff). </p>
<p>If an orientation option/tag is present, the appropriate transform will be performed so that the pixbuf is oriented correctly.</p>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000004">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created pixbuf, or a reference to the input pixbuf (with an increased reference count). </dd></dl>

</div>
</div>
<a class="anchor" id="a8425e18bd16f6059cc5f763a138a19cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::composite </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a>&#160;</td>
          <td class="paramname"><em>interp_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>overall_alpha</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a transformation of the source image <em>src</em> by scaling by <em>scale_x</em> and <em>scale_y</em> then translating by <em>offset_x</em> and <em>offset_y</em>. </p>
<p>This gives an image in the coordinates of the destination pixbuf. The rectangle ( <em>dest_x</em>, <em>dest_y</em>, <em>dest_width</em>, <em>dest_height</em>) is then composited onto the corresponding rectangle of the original destination image.</p>
<p>When the destination rectangle contains parts not in the source image, the data at the edges of the source image is replicated to infinity.</p>
<div class="image">
<img src="composite.png" />
</div>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>The <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> into which to render the results. </td></tr>
    <tr><td class="paramname">dest_x</td><td>The left coordinate for region to render. </td></tr>
    <tr><td class="paramname">dest_y</td><td>The top coordinate for region to render. </td></tr>
    <tr><td class="paramname">dest_width</td><td>The width of the region to render. </td></tr>
    <tr><td class="paramname">dest_height</td><td>The height of the region to render. </td></tr>
    <tr><td class="paramname">offset_x</td><td>The offset in the X direction (currently rounded to an integer). </td></tr>
    <tr><td class="paramname">offset_y</td><td>The offset in the Y direction (currently rounded to an integer). </td></tr>
    <tr><td class="paramname">scale_x</td><td>The scale factor in the X direction. </td></tr>
    <tr><td class="paramname">scale_y</td><td>The scale factor in the Y direction. </td></tr>
    <tr><td class="paramname">interp_type</td><td>The interpolation type for the transformation. </td></tr>
    <tr><td class="paramname">overall_alpha</td><td>Overall alpha for source image (0..255). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7a9f2f801f1f18ce4cd735dbb4afd16d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::composite_color </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a>&#160;</td>
          <td class="paramname"><em>interp_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>overall_alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>check_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>check_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>check_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"><em>color1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"><em>color2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a transformation of the source image <em>src</em> by scaling by <em>scale_x</em> and <em>scale_y</em> then translating by <em>offset_x</em> and <em>offset_y</em>, then composites the rectangle ( <em>dest_x</em> , <em>dest_y</em>, <em>dest_width</em>, <em>dest_height</em>) of the resulting image with a checkboard of the colors <em>color1</em> and <em>color2</em> and renders it onto the destination image. </p>
<p>See <a class="el" href="classGdk_1_1Pixbuf.html#ae77f26e8ceef4340ea412949cfb3fff8" title="Creates a new Gdk::Pixbuf by scaling src to dest_width x dest_height and compositing the result with ...">composite_color_simple()</a> for a simpler variant of this function suitable for many tasks.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>The <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> into which to render the results. </td></tr>
    <tr><td class="paramname">dest_x</td><td>The left coordinate for region to render. </td></tr>
    <tr><td class="paramname">dest_y</td><td>The top coordinate for region to render. </td></tr>
    <tr><td class="paramname">dest_width</td><td>The width of the region to render. </td></tr>
    <tr><td class="paramname">dest_height</td><td>The height of the region to render. </td></tr>
    <tr><td class="paramname">offset_x</td><td>The offset in the X direction (currently rounded to an integer). </td></tr>
    <tr><td class="paramname">offset_y</td><td>The offset in the Y direction (currently rounded to an integer). </td></tr>
    <tr><td class="paramname">scale_x</td><td>The scale factor in the X direction. </td></tr>
    <tr><td class="paramname">scale_y</td><td>The scale factor in the Y direction. </td></tr>
    <tr><td class="paramname">interp_type</td><td>The interpolation type for the transformation. </td></tr>
    <tr><td class="paramname">overall_alpha</td><td>Overall alpha for source image (0..255). </td></tr>
    <tr><td class="paramname">check_x</td><td>The X offset for the checkboard (origin of checkboard is at - <em>check_x</em>, - <em>check_y</em>). </td></tr>
    <tr><td class="paramname">check_y</td><td>The Y offset for the checkboard. </td></tr>
    <tr><td class="paramname">check_size</td><td>The size of checks in the checkboard (must be a power of two). </td></tr>
    <tr><td class="paramname">color1</td><td>The color of check at upper left. </td></tr>
    <tr><td class="paramname">color2</td><td>The color of the other check. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae77f26e8ceef4340ea412949cfb3fff8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gdk::Pixbuf::composite_color_simple </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a>&#160;</td>
          <td class="paramname"><em>interp_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>overall_alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>check_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"><em>color1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"><em>color2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> by scaling <em>src</em> to <em>dest_width</em> x <em>dest_height</em> and compositing the result with a checkboard of colors <em>color1</em> and <em>color2</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest_width</td><td>The width of destination image. </td></tr>
    <tr><td class="paramname">dest_height</td><td>The height of destination image. </td></tr>
    <tr><td class="paramname">interp_type</td><td>The interpolation type for the transformation. </td></tr>
    <tr><td class="paramname">overall_alpha</td><td>Overall alpha for source image (0..255). </td></tr>
    <tr><td class="paramname">check_size</td><td>The size of checks in the checkboard (must be a power of two). </td></tr>
    <tr><td class="paramname">color1</td><td>The color of check at upper left. </td></tr>
    <tr><td class="paramname">color2</td><td>The color of the other check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, or <code>0</code> if not enough memory could be allocated for it. </dd></dl>

</div>
</div>
<a class="anchor" id="aa29db4f8d4410dc74916b53d231a1fbd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> with a copy of the information in the specified <em>pixbuf</em>. </p>
<dl class="section return"><dt>Returns</dt><dd>A newly-created pixbuf with a reference count of 1, or <code>0</code> if not enough memory could be allocated. </dd></dl>

</div>
</div>
<a class="anchor" id="aabf9cf1e0b94659da02fc86aa80d6602"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::copy_area </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_y</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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>dest_pixbuf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copies a rectangular area from <em>src_pixbuf</em> to <em>dest_pixbuf</em>. </p>
<p>Conversion of pixbuf formats is done automatically.</p>
<p>If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the copy operation. Therefore, you can not use this function to scroll a pixbuf.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_x</td><td>Source X coordinate within <em>src_pixbuf</em>. </td></tr>
    <tr><td class="paramname">src_y</td><td>Source Y coordinate within <em>src_pixbuf</em>. </td></tr>
    <tr><td class="paramname">width</td><td>Width of the area to copy. </td></tr>
    <tr><td class="paramname">height</td><td>Height of the area to copy. </td></tr>
    <tr><td class="paramname">dest_pixbuf</td><td>Destination pixbuf. </td></tr>
    <tr><td class="paramname">dest_x</td><td>X coordinate within <em>dest_pixbuf</em>. </td></tr>
    <tr><td class="paramname">dest_y</td><td>Y coordinate within <em>dest_pixbuf</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a940ac5b1eb6ae80cb54d9013faf761a5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Window.html">Window</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_y</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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Transfers image data from a #GdkWindow and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<p>In other words, copies image data from a server-side drawable to a client-side RGB(A) buffer. This allows you to efficiently read individual pixels on the client side.</p>
<p>This function will create an RGB pixbuf with 8 bits per channel with the same size specified by the <em>width</em> and <em>height</em> arguments. The pixbuf will contain an alpha channel if the <em>window</em> contains one.</p>
<p>If the window is off the screen, then there is no image data in the obscured/offscreen regions to be placed in the pixbuf. The contents of portions of the pixbuf corresponding to the offscreen region are undefined.</p>
<p>If the window you're obtaining data from is partially obscured by other windows, then the contents of the pixbuf areas corresponding to the obscured regions are undefined.</p>
<p>If the window is not mapped (typically because it's iconified/minimized or not on the current workspace), then an invalid object will be returned.</p>
<p>If memory can't be allocated for the return value, an invalid object will be returned instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Source window. </td></tr>
    <tr><td class="paramname">src_x</td><td>Source X coordinate within the window. </td></tr>
    <tr><td class="paramname">src_y</td><td>Source Y coordinate within the window. </td></tr>
    <tr><td class="paramname">width</td><td>Width in pixels of region to get. </td></tr>
    <tr><td class="paramname">height</td><td>Height in pixels of region to get.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_12"><dt><b><a class="el" href="since_2_12.html#_since_2_12000003">Since gtkmm 2.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="aa5ca16c0ba15e4b9abb9bbc3a8f3d121"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1RefPtr.html">Cairo::RefPtr</a>&lt; <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_y</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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Transfers image data from a <a class="elRef" href="http://www.cairographics.org/documentation/cairomm/reference/classCairo_1_1Surface.html">Cairo::Surface</a> and converts it to an RGB(A) representation inside a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </p>
<p>This allows you to efficiently read individual pixels from cairo surfaces. For Gdk::Windows, use the <a class="el" href="classGdk_1_1Pixbuf.html#a940ac5b1eb6ae80cb54d9013faf761a5" title="Transfers image data from a #GdkWindow and converts it to an RGB(A) representation inside a Gdk::Pixb...">create()</a> method that takes a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen. ">Gdk::Window</a> instead.</p>
<p>This will create an RGB pixbuf with 8 bits per channel. The pixbuf will contain an alpha channel if the surface contains one.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">surface</td><td>Surface to copy from. </td></tr>
    <tr><td class="paramname">src_x</td><td>Source X coordinate within the surface. </td></tr>
    <tr><td class="paramname">src_y</td><td>Source Y coordinate within the surface. </td></tr>
    <tr><td class="paramname">width</td><td>Width in pixels of region to get. </td></tr>
    <tr><td class="paramname">height</td><td>Height in pixels of region to get.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_30"><dt><b><a class="el" href="since_2_30.html#_since_2_30000002">Since gtkmm 2.30:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a8c635f730b93c774c35a32e4338fda9f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a>&#160;</td>
          <td class="paramname"><em>colorspace</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bits_per_sample</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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> structure and allocates a buffer for it. </p>
<p>The buffer has an optimal rowstride. Note that the buffer is not cleared; you will have to fill it completely yourself.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">colorspace</td><td><a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color. ">Color</a> space for image. </td></tr>
    <tr><td class="paramname">has_alpha</td><td>Whether the image should have transparency information. </td></tr>
    <tr><td class="paramname">bits_per_sample</td><td>Number of bits per color sample. </td></tr>
    <tr><td class="paramname">width</td><td>Width of image in pixels, must be &gt; 0. </td></tr>
    <tr><td class="paramname">height</td><td>Height of image in pixels, must be &gt; 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> with a reference count of 1, or <code>0</code> if not enough memory could be allocated for the image buffer. </dd></dl>

</div>
</div>
<a class="anchor" id="a8a3b524f26acd2f9efc4abe9c294d341"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_data </td>
          <td>(</td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a>&#160;</td>
          <td class="paramname"><em>colorspace</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bits_per_sample</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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rowstride</em>&#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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> out of in-memory image data. </p>
<p>Currently only RGB images with 8 bits per sample are supported.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>Image data in 8-bit/sample packed format. </td></tr>
    <tr><td class="paramname">colorspace</td><td>Colorspace for the image data. </td></tr>
    <tr><td class="paramname">has_alpha</td><td>Whether the data has an opacity channel. </td></tr>
    <tr><td class="paramname">bits_per_sample</td><td>Number of bits per sample. </td></tr>
    <tr><td class="paramname">width</td><td>Width of the image in pixels. </td></tr>
    <tr><td class="paramname">height</td><td>Height of the image in pixels. </td></tr>
    <tr><td class="paramname">rowstride</td><td>Distance in bytes between rows. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="a526129d481ff04e8953c18b0b12c4c55"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_data </td>
          <td>(</td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a>&#160;</td>
          <td class="paramname"><em>colorspace</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bits_per_sample</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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rowstride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Pixbuf.html#a0d6aea44bfbf45635b461e2cf2a12c68">SlotDestroyData</a>&amp;&#160;</td>
          <td class="paramname"><em>destroy_slot</em>&#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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> out of in-memory image data. </p>
<p>Currently only RGB images with 8 bits per sample are supported.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>Image data in 8-bit/sample packed format. </td></tr>
    <tr><td class="paramname">colorspace</td><td>Colorspace for the image data. </td></tr>
    <tr><td class="paramname">has_alpha</td><td>Whether the data has an opacity channel. </td></tr>
    <tr><td class="paramname">bits_per_sample</td><td>Number of bits per sample. </td></tr>
    <tr><td class="paramname">width</td><td>Width of the image in pixels. </td></tr>
    <tr><td class="paramname">height</td><td>Height of the image in pixels. </td></tr>
    <tr><td class="paramname">rowstride</td><td>Distance in bytes between rows. </td></tr>
    <tr><td class="paramname">destroy_slot</td><td>Slot used to free the data when the pixbuf's reference count drops to zero. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="a20d7a2a52dab246e4bb758ecba38e4ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf by loading an image from a file. </p>
<p>The file format is detected automatically. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The path to the pixbuf file.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5000775e43142f3e764ba64236c95d47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>preserve_aspect_ratio</em> = <code>true</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf by loading an image from a file. </p>
<p>The file format is detected automatically. The image will be scaled to fit in the requested size. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The path to the pixbuf file. </td></tr>
    <tr><td class="paramname">width</td><td>The desired width </td></tr>
    <tr><td class="paramname">height</td><td>The desired height </td></tr>
    <tr><td class="paramname">preserve_aspect_ratio</td><td>Whether the image's aspect ratio will be preserved when scaling.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaac78677d8310866334827db2a9f753c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_inline </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>data_length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guint8 *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>copy_pixels</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> from a flat representation that is suitable for storing as inline data in a program. </p>
<p>This is useful if you want to ship a program with images, but don't want to depend on any external files.</p>
<p>GTK+ ships with a program called <code>gdk-pixbuf-csource</code> which allows for conversion of GdkPixbufs into such a inline representation. In almost all cases, you should pass the <code>&#8211;raw</code> flag to <code>gdk-pixbuf-csource</code>. A sample invocation would be:</p>
<p><code>gdk-pixbuf-csource &#8211;raw &#8211;name=myimage_inline myimage.png</code></p>
<p>For the typical case where the inline pixbuf is read-only static data, you don't need to copy the pixel data unless you intend to write to it, so you can pass <code>false</code> for <em>copy_pixels</em>. (If you pass <code>&#8211;rle</code> to <code>gdk-pixbuf-csource</code>, a copy will be made even if <em>copy_pixels</em> is <code>false</code>, so using this option is generally a bad idea.)</p>
<p>If you create a pixbuf from const inline data compiled into your program, it's probably safe to ignore errors, since things will always succeed. For non-const inline data, you could get out of memory. For untrusted inline data located at runtime, you could have corrupt inline data in addition.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data_length</td><td>Length in bytes of the <em>data</em> argument. </td></tr>
    <tr><td class="paramname">data</td><td>Byte data containing a serialized GdkPixdata structure. </td></tr>
    <tr><td class="paramname">copy_pixels</td><td>Whether to copy the pixel data, or use direct pointers to <em>data</em> for the resulting pixbuf. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aed492f5942ef53f12a20469ba72cecf4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_resource </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>resource_path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf by loading an image from a resource. </p>
<p>The file format is detected automatically.  The path of the resource file.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::ResourceError</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_3_12"><dt><b><a class="el" href="since_3_12.html#_since_3_12000003">Since gtkmm 3.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ad932ebff2c5dd0892c92d64cc038b1c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_resource </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>resource_path</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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>preserve_aspect_ratio</em> = <code>true</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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf by loading an image from a resource. </p>
<p>The file format is detected automatically. The image will be scaled to fit in the requested size, optionally preserving the image's aspect ratio. When preserving the aspect ratio, a <em>width</em> of -1 will cause the image to be scaled to the exact given height, and a <em>height</em> of -1 will cause the image to be scaled to the exact given width. When not preserving aspect ratio, a <em>width</em> or <em>height</em> of -1 means to not scale the image at all in that dimension.  The path of the resource file. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The desired width </td></tr>
    <tr><td class="paramname">height</td><td>The desired height </td></tr>
    <tr><td class="paramname">preserve_aspect_ratio</td><td>Whether the image's aspect ratio will be preserved when scaling.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Glib::ResourceError</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="since_3_12"><dt><b><a class="el" href="since_3_12.html#_since_3_12000004">Since gtkmm 3.12:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a1e29a1ac165b38764136eb26a9fd3c18"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_stream </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Cancellable.html">Gio::Cancellable</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>cancellable</em>&#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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf by loading an image from an input stream. </p>
<p>The file format is detected automatically. If <code>0</code> is returned, then <em>error</em> will be set. The <em>cancellable</em> can be used to abort the operation from another thread. If the operation was cancelled, the error IO_ERROR_CANCELLED will be returned. Other possible errors are in the Gdk::PIXBUF_ERROR and IO_ERROR domains.</p>
<p>The stream is not closed.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000006">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stream</td><td>A InputStream to load the pixbuf from. </td></tr>
    <tr><td class="paramname">cancellable</td><td>Optional Cancellable object, <code>0</code> to ignore. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created pixbuf, or <code>0</code> if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled. </dd></dl>

</div>
</div>
<a class="anchor" id="ae757183c249a0e6d48b798482b0e3004"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_stream </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a200f8adc8eb8903c09ded7c5685e5d7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_stream_at_scale </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>stream</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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>preserve_aspect_ratio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1Cancellable.html">Gio::Cancellable</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>cancellable</em>&#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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf by loading an image from an input stream. </p>
<p>The file format is detected automatically. If <code>0</code> is returned, then <em>error</em> will be set. The <em>cancellable</em> can be used to abort the operation from another thread. If the operation was cancelled, the error IO_ERROR_CANCELLED will be returned. Other possible errors are in the Gdk::PIXBUF_ERROR and IO_ERROR domains.</p>
<p>The image will be scaled to fit in the requested size, optionally preserving the image's aspect ratio. When preserving the aspect ratio, a <em>width</em> of -1 will cause the image to be scaled to the exact given height, and a <em>height</em> of -1 will cause the image to be scaled to the exact given width. When not preserving aspect ratio, a <em>width</em> or <em>height</em> of -1 means to not scale the image at all in that dimension.</p>
<p>The stream is not closed.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000007">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stream</td><td>A InputStream to load the pixbuf from. </td></tr>
    <tr><td class="paramname">width</td><td>The width the image should have or -1 to not constrain the width. </td></tr>
    <tr><td class="paramname">height</td><td>The height the image should have or -1 to not constrain the height. </td></tr>
    <tr><td class="paramname">preserve_aspect_ratio</td><td><code>true</code> to preserve the image's aspect ratio. </td></tr>
    <tr><td class="paramname">cancellable</td><td>Optional Cancellable object, <code>0</code> to ignore. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created pixbuf, or <code>0</code> if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled. </dd></dl>

</div>
</div>
<a class="anchor" id="a97aba56587ee9faa6ca358efcd1a9948"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_stream_at_scale </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGio_1_1InputStream.html">Gio::InputStream</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>stream</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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>preserve_aspect_ratio</em>&#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">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad00762020e4802e9bb0cbd7645a44032"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_from_xpm_data </td>
          <td>(</td>
          <td class="paramtype">const char *const *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf by parsing XPM data in memory. </p>
<p>This data is commonly the result of including an XPM file into a program's C source.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>Pointer to inline XPM data. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-created pixbuf with a reference count of 1. </dd></dl>

</div>
</div>
<a class="anchor" id="a35e610247014f8e2fe7969ff6c8da074"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a>&gt; Gdk::Pixbuf::create_subpixbuf </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>src_pixbuf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>src_y</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></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new pixbuf which represents a sub-region of <em>src_pixbuf</em>. </p>
<p>The new pixbuf shares its pixels with the original pixbuf, so writing to one affects both. The new pixbuf holds a reference to <em>src_pixbuf</em>, so <em>src_pixbuf</em> will not be finalized until the new pixbuf is finalized.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src_pixbuf</td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </td></tr>
    <tr><td class="paramname">src_x</td><td>X coord in <em>src_pixbuf</em>. </td></tr>
    <tr><td class="paramname">src_y</td><td>Y coord in <em>src_pixbuf</em>. </td></tr>
    <tr><td class="paramname">width</td><td>Width of region in <em>src_pixbuf</em>. </td></tr>
    <tr><td class="paramname">height</td><td>Height of region in <em>src_pixbuf</em>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A new pixbuf. </dd></dl>

</div>
</div>
<a class="anchor" id="a15afdfdd5d5d75b0b692f987e74cbae4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::fill </td>
          <td>(</td>
          <td class="paramtype">guint32&#160;</td>
          <td class="paramname"><em>pixel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears a pixbuf to the given <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color. ">RGBA</a> value, converting the <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color. ">RGBA</a> value into the pixbuf's pixel format. </p>
<p>The alpha will be ignored if the pixbuf doesn't have an alpha channel.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pixel</td><td><a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color. ">RGBA</a> pixel to clear to (0xffffffff is opaque white, 0x00000000 transparent black). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a30439c05aa086c565671772a9fd32efc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gdk::Pixbuf::flip </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>horizontal</em> = <code>true</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flips a pixbuf horizontally or vertically and returns the result in a new pixbuf. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000006">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">horizontal</td><td><code>true</code> to flip horizontally, <code>false</code> to flip vertically. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, or <code>0</code> if not enough memory could be allocated for it. </dd></dl>

</div>
</div>
<a class="anchor" id="ae9e2312c80e5ebc911c469c822dee96e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Pixbuf::get_bits_per_sample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the number of bits per color sample in a pixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of bits per color sample. </dd></dl>

</div>
</div>
<a class="anchor" id="ad023c117c8556505e1f934a41c62f324"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Gdk::Pixbuf::get_byte_length </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the length of the pixel data, in bytes. </p>
<dl class="since_2_26"><dt><b><a class="el" href="since_2_26.html#_since_2_26000001">Since gtkmm 2.26:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The length of the pixel data. </dd></dl>

</div>
</div>
<a class="anchor" id="a61c4798177de9429c58db866e9a7d35f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a> Gdk::Pixbuf::get_colorspace </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the color space of a pixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color. ">Color</a> space. </dd></dl>

</div>
</div>
<a class="anchor" id="a4469806e3c612bd9dd54641afc7ba1c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt;<a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>&gt; Gdk::Pixbuf::get_formats </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Obtains the available information about the image formats supported by GdkPixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd>A list of PixbufFormats describing the supported image formats. </dd></dl>

</div>
</div>
<a class="anchor" id="af467c7efa88fa42b067de1b98428fad7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gdk::Pixbuf::get_has_alpha </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries whether a pixbuf has an alpha channel (opacity information). </p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if it has an alpha channel, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a2a65cd750a2048a621a8f199cb2c3d68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Pixbuf::get_height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the height of a pixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd>Height in pixels. </dd></dl>

</div>
</div>
<a class="anchor" id="aadda0282837e2815927179c6af91286d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Pixbuf::get_n_channels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the number of channels of a pixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of channels. </dd></dl>

</div>
</div>
<a class="anchor" id="a020d67bf052da46a0ae1c689f18102be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::Pixbuf::get_option </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Looks up <em>key</em> in the list of options that may have been attached to the <em>pixbuf</em> when it was loaded, or that may have been attached by another function using set_option(). </p>
<p>For instance, the ANI loader provides "Title" and "Artist" options. The ICO, XBM, and XPM loaders provide "x_hot" and "y_hot" hot-spot options for cursor definitions. The PNG loader provides the tEXt ancillary chunk key/value pairs as options. Since 2.12, the TIFF and JPEG loaders return an "orientation" option string that corresponds to the embedded TIFF/Exif orientation tag (if present).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>A nul-terminated string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value associated with <em>key</em>. This is a nul-terminated string that should not be freed or <code>0</code> if <em>key</em> was not found. </dd></dl>

</div>
</div>
<a class="anchor" id="adf7f4e324769b180dc0f0bfd053ff47a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint8* Gdk::Pixbuf::get_pixels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries a pointer to the pixel data of a pixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the pixbuf's pixel data. Please see the section on [image data](image-data) for information about how the pixel data is stored in memory. </dd></dl>

</div>
</div>
<a class="anchor" id="aef37137e7f42a5734deb0f9be25ef030"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Pixbuf::get_rowstride </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the rowstride of a pixbuf, which is the number of bytes between the start of a row and the start of the next row. </p>
<dl class="section return"><dt>Returns</dt><dd>Distance between row starts. </dd></dl>

</div>
</div>
<a class="anchor" id="a2db5672d540799a640706e7da87ffd72"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gdk::Pixbuf::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="aa465be4bf65b9fedf471848c21bfab98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Pixbuf::get_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries the width of a pixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd>Width in pixels. </dd></dl>

</div>
</div>
<a class="anchor" id="a13edc3418dd409e931ed8f83b93b4cdd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbuf* Gdk::Pixbuf::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a class="anchor" id="a9b76fd288e49f110a07558d35193fdc2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GdkPixbuf* Gdk::Pixbuf::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

</div>
</div>
<a class="anchor" id="ab339b9473c5d4f2eb646dc94d1606f40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbuf* Gdk::Pixbuf::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="a98cfd95ee71c2f65db26eec821daf84d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt; Gdk::Pixbuf::property_bits_per_sample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of bits per sample. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad8eaab15e172f4c98411a58039974414"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; <a class="el" href="group__gdkmmEnums.html#ga866d716154abb7f5be26bd36b3017d3f">Colorspace</a> &gt; Gdk::Pixbuf::property_colorspace </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The colorspace in which the samples are interpreted. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a8262d503f5033446a60d04fd8e68c81b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; bool &gt; Gdk::Pixbuf::property_has_alpha </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the pixbuf has an alpha channel. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ae49274770275ff75a738e2c3a5f72c2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt; Gdk::Pixbuf::property_height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of rows of the pixbuf. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a5d985320959289058e3d63f9a6d512c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt; Gdk::Pixbuf::property_n_channels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of samples per pixel. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a488db69c734c02638934ba77a3c5a715"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; void* &gt; Gdk::Pixbuf::property_pixels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A pointer to the pixel data of the pixbuf. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a27cdaa7e4b1e5b17c0022aad2f8c0415"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt; Gdk::Pixbuf::property_rowstride </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of bytes between the start of a row and the start of the next row. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a5432db69e0d7f42ed6207c24ca900df9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt; Gdk::Pixbuf::property_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of columns of the pixbuf. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a91a5dc6fba52403feeb32318b7f8510a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gdk::Pixbuf::rotate_simple </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga2587434fd0a409f88feba9e5311e6240">PixbufRotation</a>&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf. </p>
<dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000005">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>The angle to rotate by. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, or <code>0</code> if not enough memory could be allocated for it. </dd></dl>

</div>
</div>
<a class="anchor" id="a8435f1c148800c46440d35699c32575a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::saturate_and_pixelate </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>saturation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>pixelate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies saturation and optionally pixelates <em>src</em>, placing the result in <em>dest</em>. </p>
<p><em>src</em> and <em>dest</em> may be the same pixbuf with no ill effects. If <em>saturation</em> is 1.0 then saturation is not changed. If it's less than 1.0, saturation is reduced (the image turns toward grayscale); if greater than 1.0, saturation is increased (the image gets more vivid colors). If <em>pixelate</em> is <code>true</code>, then pixels are faded in a checkerboard pattern to create a pixelated image. <em>src</em> and <em>dest</em> must have the same image format, size, and rowstride.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>Place to write modified version of <em>src</em>. </td></tr>
    <tr><td class="paramname">saturation</td><td>Saturation factor. </td></tr>
    <tr><td class="paramname">pixelate</td><td>Whether to pixelate. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a32ef63686fc58a26d9776dc42190f566"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Saves pixbuf to a file in format <em>type</em>. </p>
<p>By default, "jpeg", "png", "ico" and "bmp" are possible file formats to save in, but more formats may be installed. The list of all writable formats can be determined by using <a class="el" href="classGdk_1_1Pixbuf.html#a4469806e3c612bd9dd54641afc7ba1c7" title="Obtains the available information about the image formats supported by GdkPixbuf. ...">get_formats()</a> with is_writable().</p>
<dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000001">Since gtkmm 3.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The path of the file to be created. </td></tr>
    <tr><td class="paramname">type</td><td>The file type.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad0c406bdb9baa2ba37a6004a9525faf2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as the const version. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>3.6: Use the const version instead. </dd></dl>

</div>
</div>
<a class="anchor" id="ac164cc3569648ac5fee15453f05a963a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Saves pixbuf to a file in format <em>type</em>. </p>
<p>By default, "jpeg", "png", "ico" and "bmp" are possible file formats to save in, but more formats may be installed. TThe list of all writable formats can be determined by using <a class="el" href="classGdk_1_1Pixbuf.html#a4469806e3c612bd9dd54641afc7ba1c7" title="Obtains the available information about the image formats supported by GdkPixbuf. ...">get_formats()</a> with <a class="el" href="classGdk_1_1PixbufFormat.html#a8edfd0d77c074d7aa87a2b07b3ff1b3e" title="Returns whether pixbufs can be saved in the given format. ">Gdk::PixbufFormat::is_writable()</a>.</p>
<p>The <em>option_keys</em> and <em>option_values</em>, if not empty, should contain pairs of strings that modify the save parameters. For example, "quality", "100".</p>
<p>Currently only a few parameters exist. JPEG images can be saved with a "quality" parameter; its value should be in the range [0,100]. Text chunks can be attached to PNG images by specifying parameters of the form "tEXt::key", where key is an ASCII string of length 1-79. The values are UTF-8 encoded strings. ICO images can be saved in depth 16, 24, or 32, by using the "depth" parameter. When the ICO saver is given "x_hot" and "y_hot" parameters, it produces a CUR instead of an ICO.</p>
<dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000002">Since gtkmm 3.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The path of the file to be created. </td></tr>
    <tr><td class="paramname">type</td><td>The file type. </td></tr>
    <tr><td class="paramname">option_keys</td><td></td></tr>
    <tr><td class="paramname">option_values</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a729b73e6619d783e8a5224b170195b80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as the const version. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>3.6: Use the const version instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a95e7378ee7b6267b5fc9436d4a917e6b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save_to_buffer </td>
          <td>(</td>
          <td class="paramtype">gchar *&amp;&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>buffer_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>type</em> = <code>&quot;png&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Saves the pixbuf to a new buffer in format <em>type</em>. </p>
<p>Note that the buffer is not nul-terminated and may contain embedded nulls. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classGdk_1_1Pixbuf.html#a32ef63686fc58a26d9776dc42190f566" title="Saves pixbuf to a file in format type. ">save()</a>.</dd></dl>
<dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000003">Since gtkmm 3.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>This will be set to the address of a new buffer. </td></tr>
    <tr><td class="paramname">buffer_size</td><td>This will be set to the size of the <em>buffer</em>. </td></tr>
    <tr><td class="paramname">type</td><td>Currently "jpeg", "png", "ico" or "bmp".</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acfa7bec224e7296ec70510f375c457e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save_to_buffer </td>
          <td>(</td>
          <td class="paramtype">gchar *&amp;&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>buffer_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>type</em> = <code>&quot;png&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as the const version. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000006">Deprecated:</a></b></dt><dd>3.6: Use the const version instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a75f14167effc3187670d28065251ac76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save_to_buffer </td>
          <td>(</td>
          <td class="paramtype">gchar *&amp;&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>buffer_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Saves the pixbuf to a new buffer in format <em>type</em>. </p>
<p>Note that the buffer is not nul-terminated and may contain embedded nulls. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classGdk_1_1Pixbuf.html#a32ef63686fc58a26d9776dc42190f566" title="Saves pixbuf to a file in format type. ">save()</a>.</dd></dl>
<dl class="since_3_6"><dt><b><a class="el" href="since_3_6.html#_since_3_6000004">Since gtkmm 3.6:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>This will be set to the address of a new buffer. </td></tr>
    <tr><td class="paramname">buffer_size</td><td>This will be set to the size of the <em>buffer</em>. </td></tr>
    <tr><td class="paramname">type</td><td>Currently "jpeg", "png", "ico" or "bmp". </td></tr>
    <tr><td class="paramname">option_keys</td><td>Names of options to set. </td></tr>
    <tr><td class="paramname">option_values</td><td>Values for named options.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1FileError.html">Glib::FileError</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classGdk_1_1PixbufError.html" title="Exception class for Gdk::Pixbuf errors. ">Gdk::PixbufError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4c319e0671eb11414f35edd7b776a62a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::save_to_buffer </td>
          <td>(</td>
          <td class="paramtype">gchar *&amp;&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>buffer_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>option_values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as the const version. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>3.6: Use the const version instead. </dd></dl>

</div>
</div>
<a class="anchor" id="aae5d9d6b41607425eed948645a3a76f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Pixbuf::scale </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a>&#160;</td>
          <td class="paramname"><em>interp_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a transformation of the source image <em>src</em> by scaling by <em>scale_x</em> and <em>scale_y</em> then translating by <em>offset_x</em> and <em>offset_y</em>, then renders the rectangle ( <em>dest_x</em>, <em>dest_y</em>, <em>dest_width</em>, <em>dest_height</em>) of the resulting image onto the destination image replacing the previous contents. </p>
<p>Try to use <a class="el" href="classGdk_1_1Pixbuf.html#a73e2c7be0469e402cc20fbad27015767" title="Create a new Gdk::Pixbuf containing a copy of src scaled to dest_width x dest_height. ">scale_simple()</a> first, this function is the industrial-strength power tool you can fall back to if <a class="el" href="classGdk_1_1Pixbuf.html#a73e2c7be0469e402cc20fbad27015767" title="Create a new Gdk::Pixbuf containing a copy of src scaled to dest_width x dest_height. ">scale_simple()</a> isn't powerful enough.</p>
<p>If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the scaling which results in rendering artifacts.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>The <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> into which to render the results. </td></tr>
    <tr><td class="paramname">dest_x</td><td>The left coordinate for region to render. </td></tr>
    <tr><td class="paramname">dest_y</td><td>The top coordinate for region to render. </td></tr>
    <tr><td class="paramname">dest_width</td><td>The width of the region to render. </td></tr>
    <tr><td class="paramname">dest_height</td><td>The height of the region to render. </td></tr>
    <tr><td class="paramname">offset_x</td><td>The offset in the X direction (currently rounded to an integer). </td></tr>
    <tr><td class="paramname">offset_y</td><td>The offset in the Y direction (currently rounded to an integer). </td></tr>
    <tr><td class="paramname">scale_x</td><td>The scale factor in the X direction. </td></tr>
    <tr><td class="paramname">scale_y</td><td>The scale factor in the Y direction. </td></tr>
    <tr><td class="paramname">interp_type</td><td>The interpolation type for the transformation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a73e2c7be0469e402cc20fbad27015767"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>&gt; Gdk::Pixbuf::scale_simple </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dest_height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga709a35a3eb48c0b819041e3414715fac">InterpType</a>&#160;</td>
          <td class="paramname"><em>interp_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> containing a copy of <em>src</em> scaled to <em>dest_width</em> x <em>dest_height</em>. </p>
<p>Leaves <em>src</em> unaffected. <em>interp_type</em> should be <a class="el" href="namespaceGdk.html#ga709a35a3eb48c0b819041e3414715facaa75a2321f8f1457aa426a6ab0c0a0a90" title="Nearest neighbor sampling; this is the fastest and lowest quality mode. ">Gdk::INTERP_NEAREST</a> if you want maximum speed (but when scaling down <a class="el" href="namespaceGdk.html#ga709a35a3eb48c0b819041e3414715facaa75a2321f8f1457aa426a6ab0c0a0a90" title="Nearest neighbor sampling; this is the fastest and lowest quality mode. ">Gdk::INTERP_NEAREST</a> is usually unusably ugly). The default <em>interp_type</em> should be <a class="el" href="namespaceGdk.html#ga709a35a3eb48c0b819041e3414715facaf5cb778e1de880033206f6e37fc62b53" title="Best quality/speed balance; use this mode by default. ">Gdk::INTERP_BILINEAR</a> which offers reasonable quality and speed.</p>
<p>You can scale a sub-portion of <em>src</em> by creating a sub-pixbuf pointing into <em>src</em>; see new_subpixbuf().</p>
<p>For more complicated scaling/compositing see <a class="el" href="classGdk_1_1Pixbuf.html#aae5d9d6b41607425eed948645a3a76f5" title="Creates a transformation of the source image src by scaling by scale_x and scale_y then translating b...">scale()</a> and <a class="el" href="classGdk_1_1Pixbuf.html#a8425e18bd16f6059cc5f763a138a19cb" title="Creates a transformation of the source image src by scaling by scale_x and scale_y then translating b...">composite()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest_width</td><td>The width of destination image. </td></tr>
    <tr><td class="paramname">dest_height</td><td>The height of destination image. </td></tr>
    <tr><td class="paramname">interp_type</td><td>The interpolation type for the transformation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>, or <code>0</code> if not enough memory could be allocated for it. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a0688e4500d3b17ffcf12a93da257c312"></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="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdkPixbuf *&#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="http://library.gnome.org/devel/glibmm/unstable/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 Tue Sep 23 2014 12:59:12 for gtkmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>