Imported Upstream version 2.4.0~rc3
This commit is contained in:
@ -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="#id2602626" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2600776" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2627965" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2626365" 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="id2602626"></a><span class="refentrytitle">gimpchannel</span>
|
||||
<a name="id2600776"></a><span class="refentrytitle">gimpchannel</span>
|
||||
</h2>
|
||||
<p>gimpchannel — Functions for manipulating channels.</p>
|
||||
</td>
|
||||
@ -52,59 +52,131 @@
|
||||
|
||||
|
||||
|
||||
gint32 <a class="link" 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 class="link" 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 class="link" href="libgimp-gimpchannel.html#gimp-channel-new-from-component">gimp_channel_new_from_component</a> (gint32 image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new-from-component">gimp_channel_new_from_component</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
|
||||
>GimpChannelType</a> component,
|
||||
const gchar *name);
|
||||
gint32 <a class="link" href="libgimp-gimpchannel.html#gimp-channel-copy">gimp_channel_copy</a> (gint32 channel_ID);
|
||||
gboolean <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-show-masked">gimp_channel_get_show_masked</a> (gint32 channel_ID);
|
||||
gboolean <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-show-masked">gimp_channel_set_show_masked</a> (gint32 channel_ID,
|
||||
gboolean show_masked);
|
||||
gdouble <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-opacity">gimp_channel_get_opacity</a> (gint32 channel_ID);
|
||||
gboolean <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-opacity">gimp_channel_set_opacity</a> (gint32 channel_ID,
|
||||
gdouble opacity);
|
||||
gboolean <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-color">gimp_channel_get_color</a> (gint32 channel_ID,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> <a class="link" 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 class="link" 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 class="link" 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 class="link" 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 class="link" 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 class="link" 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 class="link" 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 class="link" 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 class="link" 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 class="link" 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="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
>GimpChannelOps</a> operation,
|
||||
gint offx,
|
||||
gint offy);
|
||||
<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="id2627965"></a><h2>Description</h2>
|
||||
<a name="id2626365"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions for manipulating channels.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2627981"></a><h2>Details</h2>
|
||||
<a name="id2626381"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2627991"></a><h3>
|
||||
<a name="id2626392"></a><h3>
|
||||
<a name="gimp-channel-new"></a>gimp_channel_new ()</h3>
|
||||
<a class="indexterm" name="id2628004"></a><pre class="programlisting">gint32 gimp_channel_new (gint32 image_ID,
|
||||
const gchar *name,
|
||||
guint width,
|
||||
guint height,
|
||||
gdouble opacity,
|
||||
<a class="indexterm" name="id2626404"></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>
|
||||
@ -165,13 +237,19 @@ initially.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2629793"></a><h3>
|
||||
<a name="id2629924"></a><h3>
|
||||
<a name="gimp-channel-new-from-component"></a>gimp_channel_new_from_component ()</h3>
|
||||
<a class="indexterm" name="id2629807"></a><pre class="programlisting">gint32 gimp_channel_new_from_component (gint32 image_ID,
|
||||
<a class="indexterm" name="id2629938"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> gimp_channel_new_from_component (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
|
||||
>GimpChannelType</a> component,
|
||||
const gchar *name);</pre>
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Create a new channel from a color component
|
||||
</p>
|
||||
@ -211,9 +289,13 @@ This procedure creates a new channel from a color component.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626271"></a><h3>
|
||||
<a name="id2587502"></a><h3>
|
||||
<a name="gimp-channel-copy"></a>gimp_channel_copy ()</h3>
|
||||
<a class="indexterm" name="id2626283"></a><pre class="programlisting">gint32 gimp_channel_copy (gint32 channel_ID);</pre>
|
||||
<a class="indexterm" name="id2587514"></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>
|
||||
@ -240,9 +322,13 @@ This procedure copies the specified channel and returns the copy.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626348"></a><h3>
|
||||
<a name="id2587579"></a><h3>
|
||||
<a name="gimp-channel-get-show-masked"></a>gimp_channel_get_show_masked ()</h3>
|
||||
<a class="indexterm" name="id2626359"></a><pre class="programlisting">gboolean gimp_channel_get_show_masked (gint32 channel_ID);</pre>
|
||||
<a class="indexterm" name="id2587592"></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>
|
||||
@ -271,10 +357,16 @@ masked regions are shown. Otherwise, selected regions are shown.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626428"></a><h3>
|
||||
<a name="id2587661"></a><h3>
|
||||
<a name="gimp-channel-set-show-masked"></a>gimp_channel_set_show_masked ()</h3>
|
||||
<a class="indexterm" name="id2626442"></a><pre class="programlisting">gboolean gimp_channel_set_show_masked (gint32 channel_ID,
|
||||
gboolean show_masked);</pre>
|
||||
<a class="indexterm" name="id2587674"></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>
|
||||
@ -308,9 +400,13 @@ masked regions are shown. Otherwise, selected regions are shown.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626532"></a><h3>
|
||||
<a name="id2587765"></a><h3>
|
||||
<a name="gimp-channel-get-opacity"></a>gimp_channel_get_opacity ()</h3>
|
||||
<a class="indexterm" name="id2625992"></a><pre class="programlisting">gdouble gimp_channel_get_opacity (gint32 channel_ID);</pre>
|
||||
<a class="indexterm" name="id2627359"></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>
|
||||
@ -337,10 +433,16 @@ This procedure returns the specified channel's opacity.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626056"></a><h3>
|
||||
<a name="id2627423"></a><h3>
|
||||
<a name="gimp-channel-set-opacity"></a>gimp_channel_set_opacity ()</h3>
|
||||
<a class="indexterm" name="id2626067"></a><pre class="programlisting">gboolean gimp_channel_set_opacity (gint32 channel_ID,
|
||||
gdouble opacity);</pre>
|
||||
<a class="indexterm" name="id2627435"></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>
|
||||
@ -372,9 +474,13 @@ This procedure sets the specified channel's opacity.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626153"></a><h3>
|
||||
<a name="id2627520"></a><h3>
|
||||
<a name="gimp-channel-get-color"></a>gimp_channel_get_color ()</h3>
|
||||
<a class="indexterm" name="id2626164"></a><pre class="programlisting">gboolean gimp_channel_get_color (gint32 channel_ID,
|
||||
<a class="indexterm" name="id2627531"></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>
|
||||
@ -409,9 +515,13 @@ This procedure returns the specified channel's compositing color.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626252"></a><h3>
|
||||
<a name="id2627619"></a><h3>
|
||||
<a name="gimp-channel-set-color"></a>gimp_channel_set_color ()</h3>
|
||||
<a class="indexterm" name="id2632058"></a><pre class="programlisting">gboolean gimp_channel_set_color (gint32 channel_ID,
|
||||
<a class="indexterm" name="id2627630"></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>
|
||||
@ -446,15 +556,25 @@ This procedure sets the specified channel's compositing color.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2632136"></a><h3>
|
||||
<a name="id2632268"></a><h3>
|
||||
<a name="gimp-channel-combine-masks"></a>gimp_channel_combine_masks ()</h3>
|
||||
<a class="indexterm" name="id2632146"></a><pre class="programlisting">gboolean gimp_channel_combine_masks (gint32 channel1_ID,
|
||||
gint32 channel2_ID,
|
||||
<a class="indexterm" name="id2632278"></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="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
>GimpChannelOps</a> operation,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user