<?xml version="1.0"?>
<page id="Gimp.pattern_get_info"
      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_pattern_get_info</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>name</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.pattern_get_info</title>
  <synopsis><code mime="text/x-gjs">
function pattern_get_info(name: String): [ok: Boolean, width: Number(gint), height: Number(gint), bpp: Number(gint)] {
    // Gjs wrapper for gimp_pattern_get_info()
}
  </code></synopsis>
  <p>Retrieve information about the specified pattern.</p>  <p>This procedure retrieves information about the specified pattern.
This includes the pattern extents (width and height).</p>
  <p>Since 2.2</p>
<terms>
<item>
<title><code>name</code></title>
  <p>The pattern name.</p>
</item>
<item>
<title><code>ok</code></title>
  <p>TRUE on success.</p>
</item>
<item>
<title><code>width</code></title>
  <p>The pattern width.</p>
</item>
<item>
<title><code>height</code></title>
  <p>The pattern height.</p>
</item>
<item>
<title><code>bpp</code></title>
  <p>The pattern bpp.</p>
</item>
</terms>

</page>
