<?xml version="1.0"?>
<page id="Gimp.Item.transform_translate"
      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.Item" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Item</api:type>
      </api:returns>
      <api:name>gimp_item_transform_translate</api:name>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>off_x</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>off_y</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Item.prototype.transform_translate</title>
  <synopsis><code mime="text/x-gjs">
function transform_translate(off_x: Number(gdouble), off_y: Number(gdouble)): <link xref="Gimp.Item">Gimp.Item</link> {
    // Gjs wrapper for gimp_item_transform_translate()
}
  </code></synopsis>
  <p>Translate the item by the specified offsets.</p>  <p>This procedure translates the item by the amounts specified in the
off_x and off_y arguments. These can be negative, and are considered
offsets from the current position. The offsets will be rounded to
the nearest pixel unless the item is a path.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>off_x</code></title>
  <p>Offset in x direction.</p>
</item>
<item>
<title><code>off_y</code></title>
  <p>Offset in y direction.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>The translated item.</p>
</item>
</terms>

</page>
