Imported Upstream version 2.3.16

This commit is contained in:
Ari Pollak
2010-08-11 01:21:23 -04:00
parent d694295a3e
commit 2e1d89b96f
944 changed files with 103935 additions and 69090 deletions

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpchannel</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="prev" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="next" href="libgimp-gimpcolor.html" title="gimpcolor">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
@ -31,16 +31,16 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpcolor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2566759" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2560828" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2568392" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2570510" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimpchannel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2566759"></a><span class="refentrytitle">gimpchannel</span>
<a name="id2560828"></a><span class="refentrytitle">gimpchannel</span>
</h2>
<p>gimpchannel &#8212; Functions for manipulating channels.</p>
</td>
@ -52,60 +52,60 @@
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,
const <a
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,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
gint32 <a href="libgimp-gimpchannel.html#gimp-channel-new-from-component">gimp_channel_new_from_component</a> (gint32 image_ID,
<a
gint32 <a href="libgimp-gimpchannel.html#gimp-channel-new-from-component">gimp_channel_new_from_component</a> (gint32 image_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
>GimpChannelType</a> component,
const gchar *name);
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
const gchar *name);
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="../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,
const <a
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-set-color">gimp_channel_set_color</a> (gint32 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
gboolean <a href="libgimp-gimpchannel.html#gimp-channel-combine-masks">gimp_channel_combine_masks</a> (gint32 channel1_ID,
gint32 channel2_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
>GimpChannelOps</a> operation,
gint offx,
gint offy);
gint offx,
gint offy);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2568392"></a><h2>Description</h2>
<a name="id2570510"></a><h2>Description</h2>
<p>
Functions for manipulating channels.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2568407"></a><h2>Details</h2>
<a name="id2570526"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2568418"></a><h3>
<a name="id2570536"></a><h3>
<a name="gimp-channel-new"></a>gimp_channel_new ()</h3>
<a class="indexterm" name="id2568430"></a><pre class="programlisting">gint32 gimp_channel_new (gint32 image_ID,
const gchar *name,
guint width,
guint height,
gdouble opacity,
const <a
<a class="indexterm" name="id2570549"></a><pre class="programlisting">gint32 gimp_channel_new (gint32 image_ID,
const gchar *name,
guint width,
guint height,
gdouble opacity,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
<p>
@ -165,13 +165,13 @@ initially.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599745"></a><h3>
<a name="id2609667"></a><h3>
<a name="gimp-channel-new-from-component"></a>gimp_channel_new_from_component ()</h3>
<a class="indexterm" name="id2599758"></a><pre class="programlisting">gint32 gimp_channel_new_from_component (gint32 image_ID,
<a
<a class="indexterm" name="id2609681"></a><pre class="programlisting">gint32 gimp_channel_new_from_component (gint32 image_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
>GimpChannelType</a> component,
const gchar *name);</pre>
const gchar *name);</pre>
<p>
Create a new channel from a color component
</p>
@ -206,14 +206,14 @@ This procedure creates a new channel from a color component.</p>
</tr>
</tbody>
</table></div>
<p>Since GIMP 2.4
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599869"></a><h3>
<a name="id2608287"></a><h3>
<a name="gimp-channel-copy"></a>gimp_channel_copy ()</h3>
<a class="indexterm" name="id2599882"></a><pre class="programlisting">gint32 gimp_channel_copy (gint32 channel_ID);</pre>
<a class="indexterm" name="id2608300"></a><pre class="programlisting">gint32 gimp_channel_copy (gint32 channel_ID);</pre>
<p>
Copy a channel.
</p>
@ -240,9 +240,9 @@ This procedure copies the specified channel and returns the copy.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601213"></a><h3>
<a name="id2608364"></a><h3>
<a name="gimp-channel-get-show-masked"></a>gimp_channel_get_show_masked ()</h3>
<a class="indexterm" name="id2601224"></a><pre class="programlisting">gboolean gimp_channel_get_show_masked (gint32 channel_ID);</pre>
<a class="indexterm" name="id2608377"></a><pre class="programlisting">gboolean gimp_channel_get_show_masked (gint32 channel_ID);</pre>
<p>
Get the composite method of the specified channel.
</p>
@ -271,10 +271,10 @@ masked regions are shown. Otherwise, selected regions are shown.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601293"></a><h3>
<a name="id2608446"></a><h3>
<a name="gimp-channel-set-show-masked"></a>gimp_channel_set_show_masked ()</h3>
<a class="indexterm" name="id2601306"></a><pre class="programlisting">gboolean gimp_channel_set_show_masked (gint32 channel_ID,
gboolean show_masked);</pre>
<a class="indexterm" name="id2608459"></a><pre class="programlisting">gboolean gimp_channel_set_show_masked (gint32 channel_ID,
gboolean show_masked);</pre>
<p>
Set the composite method of the specified channel.
</p>
@ -308,9 +308,9 @@ masked regions are shown. Otherwise, selected regions are shown.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601395"></a><h3>
<a name="id2570125"></a><h3>
<a name="gimp-channel-get-opacity"></a>gimp_channel_get_opacity ()</h3>
<a class="indexterm" name="id2601406"></a><pre class="programlisting">gdouble gimp_channel_get_opacity (gint32 channel_ID);</pre>
<a class="indexterm" name="id2570136"></a><pre class="programlisting">gdouble gimp_channel_get_opacity (gint32 channel_ID);</pre>
<p>
Get the opacity of the specified channel.
</p>
@ -337,10 +337,10 @@ This procedure returns the specified channel's opacity.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601470"></a><h3>
<a name="id2570201"></a><h3>
<a name="gimp-channel-set-opacity"></a>gimp_channel_set_opacity ()</h3>
<a class="indexterm" name="id2601481"></a><pre class="programlisting">gboolean gimp_channel_set_opacity (gint32 channel_ID,
gdouble opacity);</pre>
<a class="indexterm" name="id2570212"></a><pre class="programlisting">gboolean gimp_channel_set_opacity (gint32 channel_ID,
gdouble opacity);</pre>
<p>
Set the opacity of the specified channel.
</p>
@ -372,10 +372,10 @@ This procedure sets the specified channel's opacity.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601567"></a><h3>
<a name="id2570298"></a><h3>
<a name="gimp-channel-get-color"></a>gimp_channel_get_color ()</h3>
<a class="indexterm" name="id2601578"></a><pre class="programlisting">gboolean gimp_channel_get_color (gint32 channel_ID,
<a
<a class="indexterm" name="id2570309"></a><pre class="programlisting">gboolean gimp_channel_get_color (gint32 channel_ID,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
<p>
@ -409,10 +409,10 @@ This procedure returns the specified channel's compositing color.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606074"></a><h3>
<a name="id2614590"></a><h3>
<a name="gimp-channel-set-color"></a>gimp_channel_set_color ()</h3>
<a class="indexterm" name="id2606084"></a><pre class="programlisting">gboolean gimp_channel_set_color (gint32 channel_ID,
const <a
<a class="indexterm" name="id2614600"></a><pre class="programlisting">gboolean gimp_channel_set_color (gint32 channel_ID,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
<p>
@ -446,15 +446,15 @@ This procedure sets the specified channel's compositing color.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606163"></a><h3>
<a name="id2614679"></a><h3>
<a name="gimp-channel-combine-masks"></a>gimp_channel_combine_masks ()</h3>
<a class="indexterm" name="id2606174"></a><pre class="programlisting">gboolean gimp_channel_combine_masks (gint32 channel1_ID,
gint32 channel2_ID,
<a
<a class="indexterm" name="id2614689"></a><pre class="programlisting">gboolean gimp_channel_combine_masks (gint32 channel1_ID,
gint32 channel2_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
>GimpChannelOps</a> operation,
gint offx,
gint offy);</pre>
gint offx,
gint offy);</pre>
<p>
Combine two channel masks.
</p>