<?xml version="1.0"?>
<page id="Gimp.rgba_get_pixel"
      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>none</api:type>
      </api:returns>
      <api:name>gimp_rgba_get_pixel</api:name>
      <api:arg>
        <api:type>Gimp.RGB</api:type>
        <api:name>rgba</api:name>
      </api:arg>
      <api:arg>
        <api:type>Babl.Object</api:type>
        <api:name>format</api:name>
      </api:arg>
      <api:arg>
        <api:type>gpointer</api:type>
        <api:name>pixel</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.rgba_get_pixel</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.RGB, Babl.Object, gpointer)
@returns(none)
def rgba_get_pixel(rgba, format, pixel):
    # Python wrapper for gimp_rgba_get_pixel()
  </code></synopsis>
  <p>Writes the red, green, blue and alpha components of <code>rgba</code> to the
color stored in <code>pixel</code>. The pixel format of <code>pixel</code> is determined by
<code>format</code>.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>rgba</code></title>
  <p>a <link xref="Gimp.RGB"/> struct</p>
</item>
<item>
<title><code>format</code></title>
  <p>a Babl format</p>
</item>
<item>
<title><code>pixel</code></title>
  <p>pointer to the destination pixel</p>
</item>
</terms>

</page>
