<?xml version="1.0"?>
<page id="Gimp.Drawable.update"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Drawable" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_drawable_update</api:name>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>x</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>y</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>width</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>height</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Drawable.prototype.update</title>
  <synopsis><code mime="text/x-gjs">
function update(x: Number(gint), y: Number(gint), width: Number(gint), height: Number(gint)): Boolean {
    // Gjs wrapper for gimp_drawable_update()
}
  </code></synopsis>
  <p>Update the specified region of the drawable.</p>  <p>This procedure updates the specified region of the drawable. The (x,
y) coordinate pair is relative to the drawable's origin, not to the
image origin. Therefore, the entire drawable can be updated using
(0, 0, width, height).</p>

<terms>
<item>
<title><code>x</code></title>
  <p>x coordinate of upper left corner of update region.</p>
</item>
<item>
<title><code>y</code></title>
  <p>y coordinate of upper left corner of update region.</p>
</item>
<item>
<title><code>width</code></title>
  <p>Width of update region.</p>
</item>
<item>
<title><code>height</code></title>
  <p>Height of update region.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
