Imported Upstream version 2.8.0
This commit is contained in:
@ -37,31 +37,31 @@
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="libgimp-gimpchannel.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new" title="gimp_channel_new ()">gimp_channel_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>,
|
||||
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new-from-component" title="gimp_channel_new_from_component ()">gimp_channel_new_from_component</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"><span class="type">GimpChannelType</span></a> component</code></em>,
|
||||
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-copy" title="gimp_channel_copy ()">gimp_channel_copy</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-show-masked" title="gimp_channel_get_show_masked ()">gimp_channel_get_show_masked</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-show-masked" title="gimp_channel_set_show_masked ()">gimp_channel_set_show_masked</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_masked</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-opacity" title="gimp_channel_get_opacity ()">gimp_channel_get_opacity</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-opacity" title="gimp_channel_set_opacity ()">gimp_channel_set_opacity</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-color" title="gimp_channel_get_color ()">gimp_channel_get_color</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-color" title="gimp_channel_set_color ()">gimp_channel_set_color</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-combine-masks" title="gimp_channel_combine_masks ()">gimp_channel_combine_masks</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel1_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel2_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"><span class="type">GimpChannelOps</span></a> operation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offx</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offy</code></em>);
|
||||
<pre class="synopsis"><span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new" title="gimp_channel_new ()">gimp_channel_new</a> (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> height</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>,
|
||||
<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new-from-component" title="gimp_channel_new_from_component ()">gimp_channel_new_from_component</a> (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"><span class="type">GimpChannelType</span></a> component</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-copy" title="gimp_channel_copy ()">gimp_channel_copy</a> (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>);
|
||||
<span class="returnvalue">gboolean</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-show-masked" title="gimp_channel_get_show_masked ()">gimp_channel_get_show_masked</a> (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>);
|
||||
<span class="returnvalue">gboolean</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-show-masked" title="gimp_channel_set_show_masked ()">gimp_channel_set_show_masked</a> (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> show_masked</code></em>);
|
||||
<span class="returnvalue">gdouble</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-opacity" title="gimp_channel_get_opacity ()">gimp_channel_get_opacity</a> (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>);
|
||||
<span class="returnvalue">gboolean</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-opacity" title="gimp_channel_set_opacity ()">gimp_channel_set_opacity</a> (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>);
|
||||
<span class="returnvalue">gboolean</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-color" title="gimp_channel_get_color ()">gimp_channel_get_color</a> (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
|
||||
<span class="returnvalue">gboolean</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-color" title="gimp_channel_set_color ()">gimp_channel_set_color</a> (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
|
||||
<span class="returnvalue">gboolean</span> <a class="link" href="libgimp-gimpchannel.html#gimp-channel-combine-masks" title="gimp_channel_combine_masks ()">gimp_channel_combine_masks</a> (<em class="parameter"><code><span class="type">gint32</span> channel1_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint32</span> channel2_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"><span class="type">GimpChannelOps</span></a> operation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> offx</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> offy</code></em>);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -74,12 +74,12 @@ Functions for manipulating channels.
|
||||
<a name="libgimp-gimpchannel.details"></a><h2>Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-new"></a><h3>gimp_channel_new ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_channel_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>,
|
||||
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_channel_new (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> height</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>,
|
||||
<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
|
||||
<p>
|
||||
Create a new channel.
|
||||
</p>
|
||||
@ -87,10 +87,10 @@ Create a new channel.
|
||||
This procedure creates a new channel with the specified width and
|
||||
height. Name, opacity, and color are also supplied parameters. The
|
||||
new channel still needs to be added to the image, as this is not
|
||||
automatic. Add the new channel with the 'gimp_image_add_channel'
|
||||
command. Other attributes such as channel show masked, should be set
|
||||
with explicit procedure calls. The channel's contents are undefined
|
||||
initially.
|
||||
automatic. Add the new channel with the <a class="link" href="libgimp-gimpimage.html#gimp-image-insert-channel" title="gimp_image_insert_channel ()"><code class="function">gimp_image_insert_channel()</code></a>
|
||||
command. Other attributes such as channel show masked, should be
|
||||
set with explicit procedure calls. The channel's contents are
|
||||
undefined initially.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -129,9 +129,9 @@ initially.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-new-from-component"></a><h3>gimp_channel_new_from_component ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_channel_new_from_component (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"><span class="type">GimpChannelType</span></a> component</code></em>,
|
||||
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_channel_new_from_component (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"><span class="type">GimpChannelType</span></a> component</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
||||
<p>
|
||||
Create a new channel from a color component
|
||||
</p>
|
||||
@ -164,7 +164,7 @@ This procedure creates a new channel from a color component.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-copy"></a><h3>gimp_channel_copy ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_channel_copy (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_channel_copy (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>);</pre>
|
||||
<p>
|
||||
Copy a channel.
|
||||
</p>
|
||||
@ -188,7 +188,7 @@ This procedure copies the specified channel and returns the copy.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-get-show-masked"></a><h3>gimp_channel_get_show_masked ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_channel_get_show_masked (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_channel_get_show_masked (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>);</pre>
|
||||
<p>
|
||||
Get the composite method of the specified channel.
|
||||
</p>
|
||||
@ -214,8 +214,8 @@ masked regions are shown. Otherwise, selected regions are shown.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-set-show-masked"></a><h3>gimp_channel_set_show_masked ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_channel_set_show_masked (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_masked</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_channel_set_show_masked (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> show_masked</code></em>);</pre>
|
||||
<p>
|
||||
Set the composite method of the specified channel.
|
||||
</p>
|
||||
@ -245,7 +245,7 @@ masked regions are shown. Otherwise, selected regions are shown.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-get-opacity"></a><h3>gimp_channel_get_opacity ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> gimp_channel_get_opacity (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span> gimp_channel_get_opacity (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>);</pre>
|
||||
<p>
|
||||
Get the opacity of the specified channel.
|
||||
</p>
|
||||
@ -269,8 +269,8 @@ This procedure returns the specified channel's opacity.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-set-opacity"></a><h3>gimp_channel_set_opacity ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_channel_set_opacity (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> opacity</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_channel_set_opacity (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> opacity</code></em>);</pre>
|
||||
<p>
|
||||
Set the opacity of the specified channel.
|
||||
</p>
|
||||
@ -298,8 +298,8 @@ This procedure sets the specified channel's opacity.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-get-color"></a><h3>gimp_channel_get_color ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_channel_get_color (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_channel_get_color (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
|
||||
<p>
|
||||
Get the compositing color of the specified channel.
|
||||
</p>
|
||||
@ -327,8 +327,8 @@ This procedure returns the specified channel's compositing color.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-set-color"></a><h3>gimp_channel_set_color ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_channel_set_color (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_channel_set_color (<em class="parameter"><code><span class="type">gint32</span> channel_ID</code></em>,
|
||||
<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
|
||||
<p>
|
||||
Set the compositing color of the specified channel.
|
||||
</p>
|
||||
@ -356,11 +356,11 @@ This procedure sets the specified channel's compositing color.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-channel-combine-masks"></a><h3>gimp_channel_combine_masks ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_channel_combine_masks (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel1_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel2_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"><span class="type">GimpChannelOps</span></a> operation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offx</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offy</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_channel_combine_masks (<em class="parameter"><code><span class="type">gint32</span> channel1_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint32</span> channel2_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"><span class="type">GimpChannelOps</span></a> operation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> offx</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> offy</code></em>);</pre>
|
||||
<p>
|
||||
Combine two channel masks.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user