Imported Upstream version 2.2.7

This commit is contained in:
Ari Pollak
2010-08-11 01:14:42 -04:00
parent 60968fd622
commit 5cf49fb71c
466 changed files with 23173 additions and 18530 deletions

View File

@ -2,41 +2,107 @@
gint32 <a href="libgimp-gimpchannel.html#gimp-channel-new">gimp_channel_new</a> (gint32 image_ID,
const gchar *name,
guint width,
guint height,
gdouble opacity,
<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> <a href="libgimp-gimpchannel.html#gimp-channel-new">gimp_channel_new</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> image_ID,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> width,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> height,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
gint32 <a href="libgimp-gimpchannel.html#gimp-channel-copy">gimp_channel_copy</a> (gint32 channel_ID);
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-get-show-masked">gimp_channel_get_show_masked</a> (gint32 channel_ID);
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-set-show-masked">gimp_channel_set_show_masked</a> (gint32 channel_ID,
gboolean show_masked);
gdouble <a href="libgimp-gimpchannel.html#gimp-channel-get-opacity">gimp_channel_get_opacity</a> (gint32 channel_ID);
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-set-opacity">gimp_channel_set_opacity</a> (gint32 channel_ID,
gdouble opacity);
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-get-color">gimp_channel_get_color</a> (gint32 channel_ID,
<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> <a href="libgimp-gimpchannel.html#gimp-channel-copy">gimp_channel_copy</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpchannel.html#gimp-channel-get-show-masked">gimp_channel_get_show_masked</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpchannel.html#gimp-channel-set-show-masked">gimp_channel_set_show_masked</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_masked);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="libgimp-gimpchannel.html#gimp-channel-get-opacity">gimp_channel_get_opacity</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpchannel.html#gimp-channel-set-opacity">gimp_channel_set_opacity</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpchannel.html#gimp-channel-get-color">gimp_channel_get_color</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-set-color">gimp_channel_set_color</a> (gint32 channel_ID,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpchannel.html#gimp-channel-set-color">gimp_channel_set_color</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-combine-masks">gimp_channel_combine_masks</a> (gint32 channel1_ID,
gint32 channel2_ID,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpchannel.html#gimp-channel-combine-masks">gimp_channel_combine_masks</a> (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel1_ID,
<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel2_ID,
<a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> operation,
gint offx,
gint offy);
</pre></div><div class="refsect1" lang="en"><a name="id2584434"></a><h2>Description</h2><p>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offx,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offy);
</pre></div><div class="refsect1" lang="en"><a name="id2581898"></a><h2>Description</h2><p>
Functions for manipulating channels.
</p></div><div class="refsect1" lang="en"><a name="id2584444"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2584449"></a><h3><a name="gimp-channel-new"></a>gimp_channel_new ()</h3><a class="indexterm" name="id2584457"></a><pre class="programlisting">gint32 gimp_channel_new (gint32 image_ID,
const gchar *name,
guint width,
guint height,
gdouble opacity,
</p></div><div class="refsect1" lang="en"><a name="id2581908"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2581913"></a><h3><a name="gimp-channel-new"></a>gimp_channel_new ()</h3><a class="indexterm" name="id2581921"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> gimp_channel_new (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> image_ID,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> width,
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> height,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre><p>
@ -57,14 +123,22 @@ initially.</p><p>
</td></tr><tr><td><span class="term"><i class="parameter"><tt>opacity</tt></i><EFBFBD>:</span></td><td> The channel opacity.
</td></tr><tr><td><span class="term"><i class="parameter"><tt>color</tt></i><EFBFBD>:</span></td><td> The channel compositing color.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The newly created channel.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2591180"></a><h3><a name="gimp-channel-copy"></a>gimp_channel_copy ()</h3><a class="indexterm" name="id2591189"></a><pre class="programlisting">gint32 gimp_channel_copy (gint32 channel_ID);</pre><p>
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2590129"></a><h3><a name="gimp-channel-copy"></a>gimp_channel_copy ()</h3><a class="indexterm" name="id2590138"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> gimp_channel_copy (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID);</pre><p>
Copy a channel.
</p><p>
This procedure copies the specified channel and returns the copy.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>channel_ID</tt></i><EFBFBD>:</span></td><td> The channel to copy.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The newly copied channel.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2591240"></a><h3><a name="gimp-channel-get-show-masked"></a>gimp_channel_get_show_masked ()</h3><a class="indexterm" name="id2591251"></a><pre class="programlisting">gboolean gimp_channel_get_show_masked (gint32 channel_ID);</pre><p>
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2590189"></a><h3><a name="gimp-channel-get-show-masked"></a>gimp_channel_get_show_masked ()</h3><a class="indexterm" name="id2590197"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_channel_get_show_masked (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID);</pre><p>
Get the composite method of the specified channel.
</p><p>
This procedure returns the specified channel's composite method. If
@ -74,8 +148,14 @@ shown.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>channel_ID</tt></i><EFBFBD>:</span></td><td> The channel.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The channel composite method.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2591307"></a><h3><a name="gimp-channel-set-show-masked"></a>gimp_channel_set_show_masked ()</h3><a class="indexterm" name="id2591318"></a><pre class="programlisting">gboolean gimp_channel_set_show_masked (gint32 channel_ID,
gboolean show_masked);</pre><p>
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2590251"></a><h3><a name="gimp-channel-set-show-masked"></a>gimp_channel_set_show_masked ()</h3><a class="indexterm" name="id2590260"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_channel_set_show_masked (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_masked);</pre><p>
Set the composite method of the specified channel.
</p><p>
This procedure sets the specified channel's composite method. If it
@ -85,15 +165,25 @@ masked regions are shown. Otherwise, selected regions are shown.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>channel_ID</tt></i><EFBFBD>:</span></td><td> The channel.
</td></tr><tr><td><span class="term"><i class="parameter"><tt>show_masked</tt></i><EFBFBD>:</span></td><td> The new channel composite method.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2589753"></a><h3><a name="gimp-channel-get-opacity"></a>gimp_channel_get_opacity ()</h3><a class="indexterm" name="id2589762"></a><pre class="programlisting">gdouble gimp_channel_get_opacity (gint32 channel_ID);</pre><p>
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2581311"></a><h3><a name="gimp-channel-get-opacity"></a>gimp_channel_get_opacity ()</h3><a class="indexterm" name="id2581319"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_channel_get_opacity (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID);</pre><p>
Get the opacity of the specified channel.
</p><p>
This procedure returns the specified channel's opacity.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>channel_ID</tt></i><EFBFBD>:</span></td><td> The channel.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The channel opacity.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2589814"></a><h3><a name="gimp-channel-set-opacity"></a>gimp_channel_set_opacity ()</h3><a class="indexterm" name="id2589822"></a><pre class="programlisting">gboolean gimp_channel_set_opacity (gint32 channel_ID,
gdouble opacity);</pre><p>
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2581371"></a><h3><a name="gimp-channel-set-opacity"></a>gimp_channel_set_opacity ()</h3><a class="indexterm" name="id2581380"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_channel_set_opacity (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity);</pre><p>
Set the opacity of the specified channel.
</p><p>
This procedure sets the specified channel's opacity.</p><p>
@ -101,7 +191,11 @@ This procedure sets the specified channel's opacity.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>channel_ID</tt></i><EFBFBD>:</span></td><td> The channel.
</td></tr><tr><td><span class="term"><i class="parameter"><tt>opacity</tt></i><EFBFBD>:</span></td><td> The new channel opacity.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2589892"></a><h3><a name="gimp-channel-get-color"></a>gimp_channel_get_color ()</h3><a class="indexterm" name="id2589900"></a><pre class="programlisting">gboolean gimp_channel_get_color (gint32 channel_ID,
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2581449"></a><h3><a name="gimp-channel-get-color"></a>gimp_channel_get_color ()</h3><a class="indexterm" name="id2581458"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_channel_get_color (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre><p>
@ -112,7 +206,11 @@ This procedure returns the specified channel's compositing color.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>channel_ID</tt></i><EFBFBD>:</span></td><td> The channel.
</td></tr><tr><td><span class="term"><i class="parameter"><tt>color</tt></i><EFBFBD>:</span></td><td> The channel compositing color.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2589970"></a><h3><a name="gimp-channel-set-color"></a>gimp_channel_set_color ()</h3><a class="indexterm" name="id2589979"></a><pre class="programlisting">gboolean gimp_channel_set_color (gint32 channel_ID,
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2581528"></a><h3><a name="gimp-channel-set-color"></a>gimp_channel_set_color ()</h3><a class="indexterm" name="id2581536"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_channel_set_color (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel_ID,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre><p>
@ -123,11 +221,21 @@ This procedure sets the specified channel's compositing color.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>channel_ID</tt></i><EFBFBD>:</span></td><td> The channel.
</td></tr><tr><td><span class="term"><i class="parameter"><tt>color</tt></i><EFBFBD>:</span></td><td> The new channel compositing color.
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595067"></a><h3><a name="gimp-channel-combine-masks"></a>gimp_channel_combine_masks ()</h3><a class="indexterm" name="id2595076"></a><pre class="programlisting">gboolean gimp_channel_combine_masks (gint32 channel1_ID,
gint32 channel2_ID,
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593010"></a><h3><a name="gimp-channel-combine-masks"></a>gimp_channel_combine_masks ()</h3><a class="indexterm" name="id2593019"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_channel_combine_masks (<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel1_ID,
<a
href="../glib/glib-Basic-Types.html#gint32"
>gint32</a> channel2_ID,
<a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> operation,
gint offx,
gint offy);</pre><p>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offx,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offy);</pre><p>
Combine two channel masks.
</p><p>
This procedure combines two channel masks. The result is stored in