<?xml version="1.0"?>
<page id="Gimp.Image.add_hguide"
      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.Image" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Number(guint)</api:type>
      </api:returns>
      <api:name>gimp_image_add_hguide</api:name>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>yposition</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.prototype.add_hguide</title>
  <synopsis><code mime="text/x-gjs">
function add_hguide(yposition: Number(gint)): Number(guint) {
    // Gjs wrapper for gimp_image_add_hguide()
}
  </code></synopsis>
  <p>Add a horizontal guide to an image.</p>  <p>This procedure adds a horizontal guide to an image. It takes the
input image and the y-position of the new guide as parameters. It
returns the guide ID of the new guide.</p>

<terms>
<item>
<title><code>yposition</code></title>
  <p>The guide's y-offset from top of image.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>The new guide.</p>
</item>
</terms>

</page>
