<?xml version="1.0"?>
<page id="Gimp.heal"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_heal</api:name>
      <api:arg>
        <api:type>Gimp.Drawable</api:type>
        <api:name>drawable</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gimp.Drawable</api:type>
        <api:name>src_drawable</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>src_x</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>src_y</api:name>
      </api:arg>
      <api:arg>
        <api:type>Array(Number(gdouble))</api:type>
        <api:name>strokes</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.heal</title>
  <synopsis><code mime="text/x-gjs">
function heal(drawable: <link xref="Gimp.Drawable">Gimp.Drawable</link>, src_drawable: <link xref="Gimp.Drawable">Gimp.Drawable</link>, src_x: Number(gdouble), src_y: Number(gdouble), strokes: Array(Number(gdouble))): Boolean {
    // Gjs wrapper for gimp_heal()
}
  </code></synopsis>
  <p>Heal from the source to the dest drawable using the current brush</p>  <p>This tool heals the source drawable starting at the specified source
coordinates to the dest drawable. For image healing, if the sum of
the src coordinates and subsequent stroke offsets exceeds the
extents of the src drawable, then no paint is transferred. The
healing tool is capable of transforming between any image types
except RGB-&amp;gt;Indexed.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>drawable</code></title>
  <p>The affected drawable.</p>
</item>
<item>
<title><code>src_drawable</code></title>
  <p>The source drawable.</p>
</item>
<item>
<title><code>src_x</code></title>
  <p>The x coordinate in the source image.</p>
</item>
<item>
<title><code>src_y</code></title>
  <p>The y coordinate in the source image.</p>
</item>
<item>
<title><code>strokes</code></title>
  <p>Array of stroke coordinates: { s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y }.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
