Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 100

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>gtkmm: Gdk::Drawable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <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 class="tabs">
    <ul>
      <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="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGdk.html">Gdk</a>::<a class="el" href="classGdk_1_1Drawable.html">Drawable</a>
  </div>
</div>
<div class="contents">
<h1>Gdk::Drawable Class Reference</h1><!-- doxytag: class="Gdk::Drawable" --><!-- doxytag: inherits="Glib::Object" -->
<p>Drawing Primitives. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>

<p>Inherited by <a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a>.</p>
<div class="dynheader">
Collaboration diagram for Gdk::Drawable:</div>
<div class="dynsection">
<div class="center"><img src="classGdk_1_1Drawable__coll__graph.png" border="0" usemap="#Gdk_1_1Drawable_coll__map" alt="Collaboration graph"/></div>
<map name="Gdk_1_1Drawable_coll__map" id="Gdk_1_1Drawable_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGdk_1_1Drawable-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ade454159e7d40afe5fd0ef494388fa2e">~Drawable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkDrawable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a935facc32f620b59c0cfb2e1fd1f5675">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a935facc32f620b59c0cfb2e1fd1f5675"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdkDrawable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a42a8fa022e5ba2b06e3cfd0f2a9b656f">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a42a8fa022e5ba2b06e3cfd0f2a9b656f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkDrawable*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a1500131ec8c995df7f20203c885ca4a8">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a1500131ec8c995df7f20203c885ca4a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a938f9da906aafcfa089a9aab8e30749d">get_size</a> (int&amp; width, int&amp; height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. <a href="#a938f9da906aafcfa089a9aab8e30749d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ac6679ddd01683134ab8072bbc6bfa08f">get_size</a> (int&amp; width, int&amp; height) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. <a href="#ac6679ddd01683134ab8072bbc6bfa08f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a5309b1be72155e0d0fae2f2b5a5ec468">get_depth</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. <a href="#a5309b1be72155e0d0fae2f2b5a5ec468"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a676623cd9318e60e5dfb075f9ae53d6b">set_colormap</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&amp; colormap)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the colormap associated with <em>drawable</em>. <a href="#a676623cd9318e60e5dfb075f9ae53d6b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#aabd203bf1c824e2aa8d8c9eb9c3e641c">get_colormap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the colormap for <em>drawable</em>, if one is set; returns <code>0</code> otherwise. <a href="#aabd203bf1c824e2aa8d8c9eb9c3e641c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Visual.html">Visual</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a24118338658bd2bf7d56c9f6dc7eafbf">get_visual</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a> describing the pixel format of <em>drawable</em>. <a href="#a24118338658bd2bf7d56c9f6dc7eafbf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a906830d41266be3056d0e1ac8ea2dc6d">draw_point</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a point, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. <a href="#a906830d41266be3056d0e1ac8ea2dc6d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ab7c474844251ed7561900530b55406f1">draw_points</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGdk_1_1Point.html">Point</a> &gt;&amp; points)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a6b9603c642fd297ebcc5893a129f4df2">draw_line</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x1, int y1, int x2, int y2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. <a href="#a6b9603c642fd297ebcc5893a129f4df2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a38a6e490519e5ab89adef59b78ee2590">draw_lines</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGdk_1_1Point.html">Point</a> &gt;&amp; points)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a0999885c93656c0587a4d4dac46a9d6c">draw_rectangle</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, bool filled, int x, int y, int width, int height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. <a href="#a0999885c93656c0587a4d4dac46a9d6c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a03a3398d6e4e193bdba4cfa4d7a5aab4">draw_arc</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, bool filled, int x, int y, int width, int height, int angle1, int angle2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an arc or a filled 'pie slice'. <a href="#a03a3398d6e4e193bdba4cfa4d7a5aab4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ae8667a9c4f1f527ec415357dbc48a4de">draw_polygon</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, bool filled, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGdk_1_1Point.html">Point</a> &gt;&amp; points)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ab083c8726dcf649e5278749a296bdc28">draw_drawable</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Drawable.html">Drawable</a> &gt;&amp; src, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the <em>width</em> x <em>height</em> region of <em>src</em> at coordinates ( <em>xsrc</em>, <em>ysrc</em>) to coordinates ( <em>xdest</em>, <em>ydest</em>) in <em>drawable</em>. <a href="#ab083c8726dcf649e5278749a296bdc28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a8ea32afd4ea08f6abea8de6fc268ccb6">draw_image</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Image.html">Image</a> &gt;&amp; image, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> onto a drawable. <a href="#a8ea32afd4ea08f6abea8de6fc268ccb6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a91a34288b75797a66a14812bb963e09a">draw_segments</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, GdkSegment* segs, int nsegs)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a number of unconnected lines. <a href="#a91a34288b75797a66a14812bb963e09a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a3be58bd209c18fc9263ccfb090a51875">draw_glyphs</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Font.html">Pango::Font</a> &gt;&amp; font, int x, int y, const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1GlyphString.html">Pango::GlyphString</a>&amp; glyphs)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a low-level function; 99% of text rendering should be done using gdk_draw_layout() instead. <a href="#a3be58bd209c18fc9263ccfb090a51875"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a6690d8fb0eb8546c48a566cb3fe6e4f4">draw_layout_line</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> &gt;&amp; line)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto an GDK drawable. <a href="#a6690d8fb0eb8546c48a566cb3fe6e4f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ac2b6b4315f030da7247a13c2347c4007">draw_layout_line</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> &gt;&amp; line, const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; foreground, const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; background)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. <a href="#ac2b6b4315f030da7247a13c2347c4007"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a08959f92c57e03537207698a63f57882">draw_layout</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> &gt;&amp; layout)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> onto a GDK drawable. <a href="#a08959f92c57e03537207698a63f57882"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a802de1ed660d88a490868e385a2eb889">draw_layout</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> &gt;&amp; layout, const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; foreground, const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; background)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. <a href="#a802de1ed660d88a490868e385a2eb889"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a7530941e96a44e882961d5358fb8eb68">draw_pixbuf</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&amp; pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dither, int x_dither, int y_dither)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders a rectangular portion of a pixbuf to a drawable. <a href="#a7530941e96a44e882961d5358fb8eb68"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a2b0f0fa71a27ef18f53a47b6e81787e6">draw_pixbuf</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&amp; pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dither, int x_dither, int y_dither)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders a rectangular portion of a pixbuf to a drawable. <a href="#a2b0f0fa71a27ef18f53a47b6e81787e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Image.html">Image</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a5c758b488229b68f15b431d90e87d2b8">get_image</a> (int x, int y, int width, int height) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> stores client-side image data (pixels). <a href="#a5c758b488229b68f15b431d90e87d2b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#af2e43b74900bdcc0289ad4e73f65b214">copy_to_image</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Image.html">Image</a> &gt;&amp; image, int src_x, int src_y, int dest_x, int dest_y, int width, int height) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Region.html">Region</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a3b693270cd26ebe5eed180ff0cb7cf72">get_clip_region</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the region of a drawable that potentially can be written to by drawing primitives. <a href="#a3b693270cd26ebe5eed180ff0cb7cf72"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Region.html">Region</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9ecbe1937db689685cc9820d5a264d85">get_visible_region</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the region of a drawable that is potentially visible. <a href="#a9ecbe1937db689685cc9820d5a264d85"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a014f7c7bba354373889470c63a1734dd">draw_rgb_image</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a1d24e9ee4461d45557531144afc1a8fa">draw_rgb_image_dithalign</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride, int xdith, int ydith)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a620c4da6bc6da4cd99e94ac610d15e76">draw_rgb_32_image</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a1cde8450de8300ed60b9c2eb037a3be6">draw_rgb_32_image_dithalign</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* buf, int rowstride, int xdith, int ydith)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Like gdk_draw_rgb_32_image(), but allows you to specify the dither offsets. <a href="#a1cde8450de8300ed60b9c2eb037a3be6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#afa94c2411ae1df47f8859180cf590afc">draw_gray_image</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a680c0b6248c7e8cd6bc62c551f25e99e">draw_indexed_image</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp; gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride, const <a class="el" href="classGdk_1_1RgbCmap.html">RgbCmap</a>&amp; cmap)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Screen</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#aef4f5224e3cdf93a3de4aca91758f50c">get_screen</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#aef4f5224e3cdf93a3de4aca91758f50c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Screen.html">Screen</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9985ca42f887388dc2f51b0d8d3eaf18">get_screen</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#a9985ca42f887388dc2f51b0d8d3eaf18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Display.html">Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#aefdf42d02473609fc552aec4cc718be5">get_display</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#aefdf42d02473609fc552aec4cc718be5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Display.html">Display</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a18d3a8e6a9c7cb5338a19a7768404c6a">get_display</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#a18d3a8e6a9c7cb5338a19a7768404c6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Cairo::RefPtr&lt; Cairo::Context &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9d4fb469ceab1175d9d4b788ae034d2e">create_cairo_context</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context for drawing to <em>drawable</em>. <a href="#a9d4fb469ceab1175d9d4b788ae034d2e"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Drawable.html">Drawable</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a58c1ad7b171102076a353b4fca770c89">create</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9647da75ddc17d3bee7cb2d2c2746bdf">Drawable</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Drawable.html">Gdk::Drawable</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ac00f801e2af4c5cb8545b424e045473b">wrap</a> (GdkDrawable* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ac00f801e2af4c5cb8545b424e045473b"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Drawing Primitives. </p>
<p><a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a> is the base class for all of the objects that accept drawing commands. The available drawables include pixmaps, windows, and bitmaps. <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Drawable</a> is abstract as there is no such type on the server side.</p>
<p>To use a drawable, create a concrete <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Drawable</a> of the type you wish to use and a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a> (graphics context) for that <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Drawable</a>. With the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> you can draw lines, text, arcs and such.</p>
<p>An alternative is to create a Cairo::Context with get_cairo_context() while you handle the 'exposed' event of the drawable. For more about this, please see "Using cairo with GTK+" in the "Common questions" section of the GTK+ Reference Manual. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ade454159e7d40afe5fd0ef494388fa2e"></a><!-- doxytag: member="Gdk::Drawable::~Drawable" ref="ade454159e7d40afe5fd0ef494388fa2e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gdk::Drawable::~Drawable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9647da75ddc17d3bee7cb2d2c2746bdf"></a><!-- doxytag: member="Gdk::Drawable::Drawable" ref="a9647da75ddc17d3bee7cb2d2c2746bdf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::Drawable::Drawable </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af2e43b74900bdcc0289ad4e73f65b214"></a><!-- doxytag: member="Gdk::Drawable::copy_to_image" ref="af2e43b74900bdcc0289ad4e73f65b214" args="(const Glib::RefPtr&lt; Image &gt; &amp;image, int src_x, int src_y, int dest_x, int dest_y, int width, int height) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::copy_to_image </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Image.html">Image</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>image</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>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>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>height</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a58c1ad7b171102076a353b4fca770c89"></a><!-- doxytag: member="Gdk::Drawable::create" ref="a58c1ad7b171102076a353b4fca770c89" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Drawable.html">Drawable</a>&gt; Gdk::Drawable::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9d4fb469ceab1175d9d4b788ae034d2e"></a><!-- doxytag: member="Gdk::Drawable::create_cairo_context" ref="a9d4fb469ceab1175d9d4b788ae034d2e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::RefPtr&lt;Cairo::Context&gt; Gdk::Drawable::create_cairo_context </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context for drawing to <em>drawable</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly created <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context.</dd></dl>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000003">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a03a3398d6e4e193bdba4cfa4d7a5aab4"></a><!-- doxytag: member="Gdk::Drawable::draw_arc" ref="a03a3398d6e4e193bdba4cfa4d7a5aab4" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, bool filled, int x, int y, int width, int height, int angle1, int angle2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_arc </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>filled</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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>angle1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>angle2</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an arc or a filled 'pie slice'. </p>
<p>The arc is defined by the bounding rectangle of the entire ellipse, and the start and end angles of the part of the ellipse to be drawn. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>filled</em>&#160;</td><td><code>true</code> if the arc should be filled, producing a 'pie slice'. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The x coordinate of the left edge of the bounding rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The y coordinate of the top edge of the bounding rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>The width of the bounding rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>The height of the bounding rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>angle1</em>&#160;</td><td>The start angle of the arc, relative to the 3 o'clock position, counter-clockwise, in 1/64ths of a degree. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>angle2</em>&#160;</td><td>The end angle of the arc, relative to <em>angle1</em>, in 1/64ths of a degree. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab083c8726dcf649e5278749a296bdc28"></a><!-- doxytag: member="Gdk::Drawable::draw_drawable" ref="ab083c8726dcf649e5278749a296bdc28" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, const Glib::RefPtr&lt; const Drawable &gt; &amp;src, int xsrc, int ysrc, int xdest, int ydest, int width=&#45;1, int height=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_drawable </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Drawable.html">Drawable</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>xsrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>ysrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>xdest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>ydest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>width</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>height</em> = <code>-1</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies the <em>width</em> x <em>height</em> region of <em>src</em> at coordinates ( <em>xsrc</em>, <em>ysrc</em>) to coordinates ( <em>xdest</em>, <em>ydest</em>) in <em>drawable</em>. </p>
<p><em>width</em> and/or <em>height</em> may be given as -1, in which case the entire <em>src</em> drawable will be copied.</p>
<p>Most fields in <em>gc</em> are not used for this operation, but notably the clip mask or clip region will be honored.</p>
<p>The source and destination drawables must have the same visual and colormap, or errors will result. (On X11, failure to match visual/colormap results in a BadMatch error from the X server.) A common cause of this problem is an attempt to draw a bitmap to a color drawable. The way to draw a bitmap is to set the bitmap as the stipple on the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>, set the fill mode to <a class="el" href="group__gdkmmEnums.html#ggaf945088bf264cc01bf858c3468d2a451a63132d7995c2c73fb2054ec7e83fbbae">Gdk::STIPPLED</a>, and then draw the rectangle. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a> sharing the drawable's visual and colormap. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>src</em>&#160;</td><td>The source <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, which may be the same as <em>drawable</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xsrc</em>&#160;</td><td>X position in <em>src</em> of rectangle to draw. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ysrc</em>&#160;</td><td>Y position in <em>src</em> of rectangle to draw. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xdest</em>&#160;</td><td>X position in <em>drawable</em> where the rectangle should be drawn. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ydest</em>&#160;</td><td>Y position in <em>drawable</em> where the rectangle should be drawn. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Width of rectangle to draw, or -1 for entire <em>src</em> width. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Height of rectangle to draw, or -1 for entire <em>src</em> height. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3be58bd209c18fc9263ccfb090a51875"></a><!-- doxytag: member="Gdk::Drawable::draw_glyphs" ref="a3be58bd209c18fc9263ccfb090a51875" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, const Glib::RefPtr&lt; const Pango::Font &gt; &amp;font, int x, int y, const Pango::GlyphString &amp;glyphs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_glyphs </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Font.html">Pango::Font</a> &gt; &amp;&#160;</td>
          <td class="paramname"> <em>font</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1GlyphString.html">Pango::GlyphString</a> &amp;&#160;</td>
          <td class="paramname"> <em>glyphs</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is a low-level function; 99% of text rendering should be done using gdk_draw_layout() instead. </p>
<p>A glyph is a single image in a font. This function draws a sequence of glyphs. To obtain a sequence of glyphs you have to understand a lot about internationalized text handling, which you don't want to understand; thus, use gdk_draw_layout() instead of this function, gdk_draw_layout() handles the details. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>font</em>&#160;</td><td>Font to be used. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>X coordinate of baseline origin. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>Y coordinate of baseline origin. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>glyphs</em>&#160;</td><td>The glyph string to draw. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afa94c2411ae1df47f8859180cf590afc"></a><!-- doxytag: member="Gdk::Drawable::draw_gray_image" ref="afa94c2411ae1df47f8859180cf590afc" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_gray_image </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guchar *&#160;</td>
          <td class="paramname"> <em>rgb_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>rowstride</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8ea32afd4ea08f6abea8de6fc268ccb6"></a><!-- doxytag: member="Gdk::Drawable::draw_image" ref="a8ea32afd4ea08f6abea8de6fc268ccb6" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, const Glib::RefPtr&lt; const Image &gt; &amp;image, int xsrc, int ysrc, int xdest, int ydest, int width=&#45;1, int height=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_image </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Image.html">Image</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>xsrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>ysrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>xdest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>ydest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>width</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>height</em> = <code>-1</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> onto a drawable. </p>
<p>The depth of the <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> must match the depth of the <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>image</em>&#160;</td><td>The <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> to draw. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xsrc</em>&#160;</td><td>The left edge of the source rectangle within <em>image</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ysrc</em>&#160;</td><td>The top of the source rectangle within <em>image</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xdest</em>&#160;</td><td>The x coordinate of the destination within <em>drawable</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ydest</em>&#160;</td><td>The y coordinate of the destination within <em>drawable</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>The width of the area to be copied, or -1 to make the area extend to the right edge of <em>image</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>The height of the area to be copied, or -1 to make the area extend to the bottom edge of <em>image</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a680c0b6248c7e8cd6bc62c551f25e99e"></a><!-- doxytag: member="Gdk::Drawable::draw_indexed_image" ref="a680c0b6248c7e8cd6bc62c551f25e99e" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride, const RgbCmap &amp;cmap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_indexed_image </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guchar *&#160;</td>
          <td class="paramname"> <em>rgb_buf</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_1RgbCmap.html">RgbCmap</a>&amp;&#160;</td>
          <td class="paramname"> <em>cmap</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a802de1ed660d88a490868e385a2eb889"></a><!-- doxytag: member="Gdk::Drawable::draw_layout" ref="a802de1ed660d88a490868e385a2eb889" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, const Glib::RefPtr&lt; const Pango::Layout &gt; &amp;layout, const Color &amp;foreground, const Color &amp;background)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_layout </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> &gt; &amp;&#160;</td>
          <td class="paramname"> <em>layout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>foreground</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>background</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. </p>
<p><em>foreground</em> and <em>background</em> need not be allocated.</p>
<p>If the layout's <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the top left corner of the bounding box (in device space) of the transformed layout.</p>
<p>If you're using GTK+, the ususal way to obtain a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> is gtk_widget_create_pango_layout(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>Base graphics context to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The X position of the left of the layout (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The Y position of the top of the layout (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>layout</em>&#160;</td><td>A <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>foreground</em>&#160;</td><td>Foreground override color, or <code>0</code> for none. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>background</em>&#160;</td><td>Background override color, or <code>0</code> for none. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a08959f92c57e03537207698a63f57882"></a><!-- doxytag: member="Gdk::Drawable::draw_layout" ref="a08959f92c57e03537207698a63f57882" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, const Glib::RefPtr&lt; const Pango::Layout &gt; &amp;layout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_layout </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> &gt; &amp;&#160;</td>
          <td class="paramname"> <em>layout</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> onto a GDK drawable. </p>
<p>If the layout's <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the top left corner of the bounding box (in device space) of the transformed layout.</p>
<p>If you're using GTK+, the usual way to obtain a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a> is gtk_widget_create_pango_layout(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>Base graphics context to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The X position of the left of the layout (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The Y position of the top of the layout (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>layout</em>&#160;</td><td>A <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Layout.html">Pango::Layout</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac2b6b4315f030da7247a13c2347c4007"></a><!-- doxytag: member="Gdk::Drawable::draw_layout_line" ref="ac2b6b4315f030da7247a13c2347c4007" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, const Glib::RefPtr&lt; const Pango::LayoutLine &gt; &amp;line, const Color &amp;foreground, const Color &amp;background)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_layout_line </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> &gt; &amp;&#160;</td>
          <td class="paramname"> <em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>foreground</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>background</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. </p>
<p><em>foreground</em> and <em>background</em> need not be allocated.</p>
<p>If the layout's <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>Base graphics to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The x position of start of string (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The y position of baseline (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>line</em>&#160;</td><td>A <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>foreground</em>&#160;</td><td>Foreground override color, or <code>0</code> for none. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>background</em>&#160;</td><td>Background override color, or <code>0</code> for none. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6690d8fb0eb8546c48a566cb3fe6e4f4"></a><!-- doxytag: member="Gdk::Drawable::draw_layout_line" ref="a6690d8fb0eb8546c48a566cb3fe6e4f4" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, const Glib::RefPtr&lt; const Pango::LayoutLine &gt; &amp;line)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_layout_line </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> &gt; &amp;&#160;</td>
          <td class="paramname"> <em>line</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Render a <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto an GDK drawable. </p>
<p>If the layout's <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>Base graphics to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The x position of start of string (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The y position of baseline (in pixels). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>line</em>&#160;</td><td>A <a class="elRef" href="../../../pangomm-1.4/reference/html/classPango_1_1LayoutLine.html">Pango::LayoutLine</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6b9603c642fd297ebcc5893a129f4df2"></a><!-- doxytag: member="Gdk::Drawable::draw_line" ref="a6b9603c642fd297ebcc5893a129f4df2" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x1, int y1, int x2, int y2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_line </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y2</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a line, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x1</em>&#160;</td><td>The x coordinate of the start point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y1</em>&#160;</td><td>The y coordinate of the start point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x2</em>&#160;</td><td>The x coordinate of the end point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y2</em>&#160;</td><td>The y coordinate of the end point. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a38a6e490519e5ab89adef59b78ee2590"></a><!-- doxytag: member="Gdk::Drawable::draw_lines" ref="a38a6e490519e5ab89adef59b78ee2590" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, const Glib::ArrayHandle&lt; Point &gt; &amp;points)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_lines </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGdk_1_1Point.html">Point</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>points</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2b0f0fa71a27ef18f53a47b6e81787e6"></a><!-- doxytag: member="Gdk::Drawable::draw_pixbuf" ref="a2b0f0fa71a27ef18f53a47b6e81787e6" args="(const Glib::RefPtr&lt; Pixbuf &gt; &amp;pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, RgbDither dither, int x_dither, int y_dither)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_pixbuf </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>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>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>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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dither</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x_dither</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y_dither</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renders a rectangular portion of a pixbuf to a drawable. </p>
<p>The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-<code>0</code> window argument. Otherwise a colormap must be set on them with <a class="el" href="classGdk_1_1Drawable.html#a676623cd9318e60e5dfb075f9ae53d6b" title="Sets the colormap associated with drawable.">Gdk::Drawable::set_colormap()</a>.</p>
<p>On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.</p>
<p>If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf function is accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable.</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000001">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pixbuf</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>src_x</em>&#160;</td><td>Source X coordinate within pixbuf. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>src_y</em>&#160;</td><td>Source Y coordinates within pixbuf. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dest_x</em>&#160;</td><td>Destination X coordinate within drawable. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dest_y</em>&#160;</td><td>Destination Y coordinate within drawable. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Width of region to render, in pixels, or -1 to use pixbuf width. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Height of region to render, in pixels, or -1 to use pixbuf height. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dither</em>&#160;</td><td>Dithering mode for Gdk::RGB. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x_dither</em>&#160;</td><td>X offset for dither. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y_dither</em>&#160;</td><td>Y offset for dither. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7530941e96a44e882961d5358fb8eb68"></a><!-- doxytag: member="Gdk::Drawable::draw_pixbuf" ref="a7530941e96a44e882961d5358fb8eb68" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, const Glib::RefPtr&lt; Pixbuf &gt; &amp;pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, RgbDither dither, int x_dither, int y_dither)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_pixbuf </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>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>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>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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dither</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x_dither</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y_dither</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renders a rectangular portion of a pixbuf to a drawable. </p>
<p>The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-<code>0</code> window argument. Otherwise a colormap must be set on them with <a class="el" href="classGdk_1_1Drawable.html#a676623cd9318e60e5dfb075f9ae53d6b" title="Sets the colormap associated with drawable.">Gdk::Drawable::set_colormap()</a>.</p>
<p>On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.</p>
<p>The clip mask of <em>gc</em> is ignored, but clip rectangles and clip regions work fine.</p>
<p>If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf function is accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000046">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>, used for clipping. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pixbuf</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>src_x</em>&#160;</td><td>Source X coordinate within pixbuf. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>src_y</em>&#160;</td><td>Source Y coordinates within pixbuf. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dest_x</em>&#160;</td><td>Destination X coordinate within drawable. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dest_y</em>&#160;</td><td>Destination Y coordinate within drawable. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Width of region to render, in pixels, or -1 to use pixbuf width. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Height of region to render, in pixels, or -1 to use pixbuf height. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dither</em>&#160;</td><td>Dithering mode for Gdk::RGB. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x_dither</em>&#160;</td><td>X offset for dither. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y_dither</em>&#160;</td><td>Y offset for dither. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a906830d41266be3056d0e1ac8ea2dc6d"></a><!-- doxytag: member="Gdk::Drawable::draw_point" ref="a906830d41266be3056d0e1ac8ea2dc6d" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_point </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a point, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The x coordinate of the point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The y coordinate of the point. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab7c474844251ed7561900530b55406f1"></a><!-- doxytag: member="Gdk::Drawable::draw_points" ref="ab7c474844251ed7561900530b55406f1" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, const Glib::ArrayHandle&lt; Point &gt; &amp;points)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_points </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGdk_1_1Point.html">Point</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>points</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae8667a9c4f1f527ec415357dbc48a4de"></a><!-- doxytag: member="Gdk::Drawable::draw_polygon" ref="ae8667a9c4f1f527ec415357dbc48a4de" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, bool filled, const Glib::ArrayHandle&lt; Point &gt; &amp;points)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_polygon </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>filled</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; <a class="el" href="classGdk_1_1Point.html">Point</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>points</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0999885c93656c0587a4d4dac46a9d6c"></a><!-- doxytag: member="Gdk::Drawable::draw_rectangle" ref="a0999885c93656c0587a4d4dac46a9d6c" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, bool filled, int x, int y, int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_rectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>filled</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </p>
<p>A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling &lt;literal&gt;gdk_draw_rectangle (window, gc, <code>true</code>, 0, 0, 20, 20)&lt;/literal&gt; results in a filled rectangle 20 pixels wide and 20 pixels high. Calling &lt;literal&gt;gdk_draw_rectangle (window, gc, <code>false</code>, 0, 0, 20, 20)&lt;/literal&gt; results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>filled</em>&#160;</td><td><code>true</code> if the rectangle should be filled. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The x coordinate of the left edge of the rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The y coordinate of the top edge of the rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>The width of the rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>The height of the rectangle. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a620c4da6bc6da4cd99e94ac610d15e76"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_32_image" ref="a620c4da6bc6da4cd99e94ac610d15e76" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_rgb_32_image </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guchar *&#160;</td>
          <td class="paramname"> <em>rgb_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>rowstride</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1cde8450de8300ed60b9c2eb037a3be6"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_32_image_dithalign" ref="a1cde8450de8300ed60b9c2eb037a3be6" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, int width, int height, RgbDither dith, const guchar *buf, int rowstride, int xdith, int ydith)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_rgb_32_image_dithalign </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guchar *&#160;</td>
          <td class="paramname"> <em>buf</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">int&#160;</td>
          <td class="paramname"> <em>xdith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>ydith</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Like gdk_draw_rgb_32_image(), but allows you to specify the dither offsets. </p>
<p>See gdk_draw_rgb_image_dithalign() for more details. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>X coordinate on <em>drawable</em> where image should go. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>Y coordinate on <em>drawable</em> where image should go. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Width of area of image to draw. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Height of area of image to draw. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dith</em>&#160;</td><td>Dithering mode. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>buf</em>&#160;</td><td>RGB image data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rowstride</em>&#160;</td><td>Rowstride of RGB image data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>xdith</em>&#160;</td><td>X dither offset. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ydith</em>&#160;</td><td>Y dither offset. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a014f7c7bba354373889470c63a1734dd"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_image" ref="a014f7c7bba354373889470c63a1734dd" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_rgb_image </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guchar *&#160;</td>
          <td class="paramname"> <em>rgb_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>rowstride</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1d24e9ee4461d45557531144afc1a8fa"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_image_dithalign" ref="a1d24e9ee4461d45557531144afc1a8fa" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride, int xdith, int ydith)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_rgb_image_dithalign </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a>&#160;</td>
          <td class="paramname"> <em>dith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const guchar *&#160;</td>
          <td class="paramname"> <em>rgb_buf</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">int&#160;</td>
          <td class="paramname"> <em>xdith</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>ydith</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a91a34288b75797a66a14812bb963e09a"></a><!-- doxytag: member="Gdk::Drawable::draw_segments" ref="a91a34288b75797a66a14812bb963e09a" args="(const Glib::RefPtr&lt; const GC &gt; &amp;gc, GdkSegment *segs, int nsegs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::draw_segments </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>gc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GdkSegment *&#160;</td>
          <td class="paramname"> <em>segs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>nsegs</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a number of unconnected lines. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gc</em>&#160;</td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>segs</em>&#160;</td><td>An array of Gdk::Segment structures specifying the start and end points of the lines to be drawn. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>n_segs</em>&#160;</td><td>The number of line segments to draw, i.e. the size of the <em>segs</em> array. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b693270cd26ebe5eed180ff0cb7cf72"></a><!-- doxytag: member="Gdk::Drawable::get_clip_region" ref="a3b693270cd26ebe5eed180ff0cb7cf72" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGdk_1_1Region.html">Region</a> Gdk::Drawable::get_clip_region </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Computes the region of a drawable that potentially can be written to by drawing primitives. </p>
<p>This region will not take into account the clip region for the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>, and may also not take into account other factors such as if the window is obscured by other windows, but no area outside of this region will be affected by drawing primitives. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Region.html" title="This is an opaque data type holding a set of arbitrary pixels, and is usually used...">Gdk::Region</a>. This must be freed with gdk_region_destroy() when you are done. </dd></dl>

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

<p>Gets the colormap for <em>drawable</em>, if one is set; returns <code>0</code> otherwise. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The colormap, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a5309b1be72155e0d0fae2f2b5a5ec468"></a><!-- doxytag: member="Gdk::Drawable::get_depth" ref="a5309b1be72155e0d0fae2f2b5a5ec468" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gdk::Drawable::get_depth </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. </p>
<p>Examples are 8 bits per pixel, 24 bits per pixel, etc. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Number of bits per pixel. </dd></dl>

</div>
</div>
<a class="anchor" id="a18d3a8e6a9c7cb5338a19a7768404c6a"></a><!-- doxytag: member="Gdk::Drawable::get_display" ref="a18d3a8e6a9c7cb5338a19a7768404c6a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Display.html">Display</a>&gt; Gdk::Drawable::get_display </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000050">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>drawable</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="aefdf42d02473609fc552aec4cc718be5"></a><!-- doxytag: member="Gdk::Drawable::get_display" ref="aefdf42d02473609fc552aec4cc718be5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Display.html">Display</a>&gt; Gdk::Drawable::get_display </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000049">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object&#39;s purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>drawable</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c758b488229b68f15b431d90e87d2b8"></a><!-- doxytag: member="Gdk::Drawable::get_image" ref="a5c758b488229b68f15b431d90e87d2b8" args="(int x, int y, int width, int height) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Image.html">Image</a>&gt; Gdk::Drawable::get_image </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">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><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> stores client-side image data (pixels). </p>
<p>In contrast, <a class="el" href="classGdk_1_1Pixmap.html" title="Pixmaps are offscreen drawables.">Gdk::Pixmap</a> and <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> are server-side objects. <a class="el" href="classGdk_1_1Drawable.html#a5c758b488229b68f15b431d90e87d2b8" title="A Gdk::Image stores client-side image data (pixels).">get_image()</a> obtains the pixels from a server-side drawable as a client-side <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a>. The format of a <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> depends on the <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a> of the current display, which makes manipulating <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> extremely difficult; therefore, in most cases you should use the <a class="el" href="classGdk_1_1Pixbuf.html#a519fae58f951e669b3693a624661e076">Gdk::Pixbuf::create()</a> method that takes a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, instead of this lower-level function. A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> contains image data in a canonicalized RGB format, rather than a display-dependent format. Of course, there's a convenience vs. speed tradeoff here, so you'll want to think about what makes sense for your application.</p>
<p><em>x</em>, <em>y</em>, <em>width</em>, and <em>height</em> define the region of <em>drawable</em> to obtain as an image.</p>
<p>You would usually copy image data to the client side if you intend to examine the values of individual pixels, for example to darken an image or add a red tint. It would be prohibitively slow to make a round-trip request to the windowing system for each pixel, so instead you get all of them at once, modify them, then copy them all back at once.</p>
<p>If the X server or other windowing system backend is on the local machine, this function may use shared memory to avoid copying the image data.</p>
<p>If the source drawable is a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> and partially offscreen or obscured, then the obscured portions of the returned image will contain undefined data. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>X coordinate on <em>drawable</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>Y coordinate on <em>drawable</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Width of region to get. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Height or region to get. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> containing the contents of <em>drawable</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a9985ca42f887388dc2f51b0d8d3eaf18"></a><!-- doxytag: member="Gdk::Drawable::get_screen" ref="a9985ca42f887388dc2f51b0d8d3eaf18" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt; Gdk::Drawable::get_screen </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000048">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with <em>drawable</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="aef4f5224e3cdf93a3de4aca91758f50c"></a><!-- doxytag: member="Gdk::Drawable::get_screen" ref="aef4f5224e3cdf93a3de4aca91758f50c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt; Gdk::Drawable::get_screen </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000047">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with <em>drawable</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="ac6679ddd01683134ab8072bbc6bfa08f"></a><!-- doxytag: member="Gdk::Drawable::get_size" ref="ac6679ddd01683134ab8072bbc6bfa08f" args="(int &amp;width, int &amp;height) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::get_size </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"> <em>height</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. </p>
<p><em>width</em> or <em>height</em> can be <code>0</code> if you only want the other one.</p>
<p>On the X11 platform, if <em>drawable</em> is a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a>, the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Location to store drawable's width, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Location to store drawable's height, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a938f9da906aafcfa089a9aab8e30749d"></a><!-- doxytag: member="Gdk::Drawable::get_size" ref="a938f9da906aafcfa089a9aab8e30749d" args="(int &amp;width, int &amp;height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Drawable::get_size </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"> <em>height</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. </p>
<p><em>width</em> or <em>height</em> can be <code>0</code> if you only want the other one.</p>
<p>On the X11 platform, if <em>drawable</em> is a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a>, the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Use the const version of this method. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>width</em>&#160;</td><td>Location to store drawable's width, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&#160;</td><td>Location to store drawable's height, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9ecbe1937db689685cc9820d5a264d85"></a><!-- doxytag: member="Gdk::Drawable::get_visible_region" ref="a9ecbe1937db689685cc9820d5a264d85" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGdk_1_1Region.html">Region</a> Gdk::Drawable::get_visible_region </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Computes the region of a drawable that is potentially visible. </p>
<p>This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Region.html" title="This is an opaque data type holding a set of arbitrary pixels, and is usually used...">Gdk::Region</a>. This must be freed with gdk_region_destroy() when you are done. </dd></dl>

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

<p>Gets the <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a> describing the pixel format of <em>drawable</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a42a8fa022e5ba2b06e3cfd0f2a9b656f"></a><!-- doxytag: member="Gdk::Drawable::gobj" ref="a42a8fa022e5ba2b06e3cfd0f2a9b656f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdkDrawable* Gdk::Drawable::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

<p>Reimplemented in <a class="el" href="classGdk_1_1Pixmap.html#a1846174eec3830107a67c894d40c488e">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html#a9cd1fbdc140ff77e1b005938bd439f49">Gdk::Window</a>.</p>

</div>
</div>
<a class="anchor" id="a935facc32f620b59c0cfb2e1fd1f5675"></a><!-- doxytag: member="Gdk::Drawable::gobj" ref="a935facc32f620b59c0cfb2e1fd1f5675" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkDrawable* Gdk::Drawable::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

<p>Reimplemented in <a class="el" href="classGdk_1_1Pixmap.html#afce42f221533d3d70d9b569fcdc04ba7">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html#a0bc9fc92bac3c509b0a0d754488903b0">Gdk::Window</a>.</p>

</div>
</div>
<a class="anchor" id="a1500131ec8c995df7f20203c885ca4a8"></a><!-- doxytag: member="Gdk::Drawable::gobj_copy" ref="a1500131ec8c995df7f20203c885ca4a8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkDrawable* Gdk::Drawable::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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>

<p>Reimplemented in <a class="el" href="classGdk_1_1Pixmap.html#a8f7ae27c4d426b29f0c78768558c540f">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html#addb464bdf61c63040afe7bae6d1ed4bf">Gdk::Window</a>.</p>

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

<p>Sets the colormap associated with <em>drawable</em>. </p>
<p>Normally this will happen automatically when the drawable is created; you only need to use this function if the drawable-creating function did not have a way to determine the colormap, and you then use drawable operations that require a colormap. The colormap for all drawables and graphics contexts you intend to use together should match. i.e. when using a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a> to draw to a drawable, or copying one drawable to another, the colormaps should match. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>colormap</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Colormap.html" title="A Colormap is an object that contains the mapping between the color values stored...">Gdk::Colormap</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ac00f801e2af4c5cb8545b424e045473b"></a><!-- doxytag: member="Gdk::Drawable::wrap" ref="ac00f801e2af4c5cb8545b424e045473b" args="(GdkDrawable *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Drawable.html">Gdk::Drawable</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdkDrawable *&#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></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gdkmm/drawable.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:43 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>