~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimpchannel.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpchannel</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
 
<link rel="up" href="libgimp-image.html" title="Manupulating Images and all their Properties">
9
 
<link rel="prev" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
 
9
<link rel="prev" href="libgimp-image.html" title="Manupulating Images and their Properties">
10
10
<link rel="next" href="libgimp-gimpcolor.html" title="gimpcolor">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimpcolor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2562582" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2560828" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2545541" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2570510" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimpchannel"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2562582"></a><span class="refentrytitle">gimpchannel</span>
 
43
<a name="id2560828"></a><span class="refentrytitle">gimpchannel</span>
41
44
</h2>
42
45
<p>gimpchannel &#8212; Functions for manipulating channels.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
gint32      <a href="libgimp-gimpchannel.html#gimp-channel-new">gimp_channel_new</a>                (gint32 image_ID,
53
 
                                             const gchar *name,
54
 
                                             guint width,
55
 
                                             guint height,
56
 
                                             gdouble opacity,
57
 
                                             const <a
58
 
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
59
 
>GimpRGB</a> *color);
60
 
gint32      <a href="libgimp-gimpchannel.html#gimp-channel-copy">gimp_channel_copy</a>               (gint32 channel_ID);
61
 
gboolean    <a href="libgimp-gimpchannel.html#gimp-channel-get-show-masked">gimp_channel_get_show_masked</a>    (gint32 channel_ID);
62
 
gboolean    <a href="libgimp-gimpchannel.html#gimp-channel-set-show-masked">gimp_channel_set_show_masked</a>    (gint32 channel_ID,
63
 
                                             gboolean show_masked);
64
 
gdouble     <a href="libgimp-gimpchannel.html#gimp-channel-get-opacity">gimp_channel_get_opacity</a>        (gint32 channel_ID);
65
 
gboolean    <a href="libgimp-gimpchannel.html#gimp-channel-set-opacity">gimp_channel_set_opacity</a>        (gint32 channel_ID,
66
 
                                             gdouble opacity);
67
 
gboolean    <a href="libgimp-gimpchannel.html#gimp-channel-get-color">gimp_channel_get_color</a>          (gint32 channel_ID,
68
 
                                             <a
69
 
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
70
 
>GimpRGB</a> *color);
71
 
gboolean    <a href="libgimp-gimpchannel.html#gimp-channel-set-color">gimp_channel_set_color</a>          (gint32 channel_ID,
72
 
                                             const <a
73
 
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
74
 
>GimpRGB</a> *color);
75
 
gboolean    <a href="libgimp-gimpchannel.html#gimp-channel-combine-masks">gimp_channel_combine_masks</a>      (gint32 channel1_ID,
76
 
                                             gint32 channel2_ID,
77
 
                                             <a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> operation,
78
 
                                             gint offx,
79
 
                                             gint offy);
 
55
gint32              <a href="libgimp-gimpchannel.html#gimp-channel-new">gimp_channel_new</a>                    (gint32 image_ID,
 
56
                                                         const gchar *name,
 
57
                                                         guint width,
 
58
                                                         guint height,
 
59
                                                         gdouble opacity,
 
60
                                                         const <a
 
61
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
62
>GimpRGB</a> *color);
 
63
gint32              <a href="libgimp-gimpchannel.html#gimp-channel-new-from-component">gimp_channel_new_from_component</a>     (gint32 image_ID,
 
64
                                                         <a
 
65
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
 
66
>GimpChannelType</a> component,
 
67
                                                         const gchar *name);
 
68
gint32              <a href="libgimp-gimpchannel.html#gimp-channel-copy">gimp_channel_copy</a>                   (gint32 channel_ID);
 
69
gboolean            <a href="libgimp-gimpchannel.html#gimp-channel-get-show-masked">gimp_channel_get_show_masked</a>        (gint32 channel_ID);
 
70
gboolean            <a href="libgimp-gimpchannel.html#gimp-channel-set-show-masked">gimp_channel_set_show_masked</a>        (gint32 channel_ID,
 
71
                                                         gboolean show_masked);
 
72
gdouble             <a href="libgimp-gimpchannel.html#gimp-channel-get-opacity">gimp_channel_get_opacity</a>            (gint32 channel_ID);
 
73
gboolean            <a href="libgimp-gimpchannel.html#gimp-channel-set-opacity">gimp_channel_set_opacity</a>            (gint32 channel_ID,
 
74
                                                         gdouble opacity);
 
75
gboolean            <a href="libgimp-gimpchannel.html#gimp-channel-get-color">gimp_channel_get_color</a>              (gint32 channel_ID,
 
76
                                                         <a
 
77
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
78
>GimpRGB</a> *color);
 
79
gboolean            <a href="libgimp-gimpchannel.html#gimp-channel-set-color">gimp_channel_set_color</a>              (gint32 channel_ID,
 
80
                                                         const <a
 
81
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
82
>GimpRGB</a> *color);
 
83
gboolean            <a href="libgimp-gimpchannel.html#gimp-channel-combine-masks">gimp_channel_combine_masks</a>          (gint32 channel1_ID,
 
84
                                                         gint32 channel2_ID,
 
85
                                                         <a
 
86
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
 
87
>GimpChannelOps</a> operation,
 
88
                                                         gint offx,
 
89
                                                         gint offy);
80
90
</pre>
81
91
</div>
82
92
<div class="refsect1" lang="en">
83
 
<a name="id2545541"></a><h2>Description</h2>
 
93
<a name="id2570510"></a><h2>Description</h2>
84
94
<p>
85
95
Functions for manipulating channels.
86
96
</p>
87
97
</div>
88
98
<div class="refsect1" lang="en">
89
 
<a name="id2545556"></a><h2>Details</h2>
 
99
<a name="id2570526"></a><h2>Details</h2>
90
100
<div class="refsect2" lang="en">
91
 
<a name="id2545567"></a><h3>
 
101
<a name="id2570536"></a><h3>
92
102
<a name="gimp-channel-new"></a>gimp_channel_new ()</h3>
93
 
<a class="indexterm" name="id2545579"></a><pre class="programlisting">gint32      gimp_channel_new                (gint32 image_ID,
94
 
                                             const gchar *name,
95
 
                                             guint width,
96
 
                                             guint height,
97
 
                                             gdouble opacity,
98
 
                                             const <a
 
103
<a class="indexterm" name="id2570549"></a><pre class="programlisting">gint32              gimp_channel_new                    (gint32 image_ID,
 
104
                                                         const gchar *name,
 
105
                                                         guint width,
 
106
                                                         guint height,
 
107
                                                         gdouble opacity,
 
108
                                                         const <a
99
109
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
100
110
>GimpRGB</a> *color);</pre>
101
111
<p>
116
126
<col align="left" valign="top">
117
127
<tbody>
118
128
<tr>
119
 
<td>
120
 
<span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
 
129
<td><span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
121
130
<td> The image to which to add the channel.
122
131
</td>
123
132
</tr>
124
133
<tr>
125
 
<td>
126
 
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
134
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
127
135
<td> The channel name.
128
136
</td>
129
137
</tr>
130
138
<tr>
131
 
<td>
132
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
139
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
133
140
<td> The channel width.
134
141
</td>
135
142
</tr>
136
143
<tr>
137
 
<td>
138
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
144
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
139
145
<td> The channel height.
140
146
</td>
141
147
</tr>
142
148
<tr>
143
 
<td>
144
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
149
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
145
150
<td> The channel opacity.
146
151
</td>
147
152
</tr>
148
153
<tr>
149
 
<td>
150
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
154
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
151
155
<td> The channel compositing color.
152
156
</td>
153
157
</tr>
154
158
<tr>
155
 
<td>
156
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
157
 
<td> The newly created channel.
158
 
</td>
159
 
</tr>
160
 
</tbody>
161
 
</table></div>
162
 
</div>
163
 
<hr>
164
 
<div class="refsect2" lang="en">
165
 
<a name="id2575443"></a><h3>
 
159
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
160
<td> The newly created channel.
 
161
</td>
 
162
</tr>
 
163
</tbody>
 
164
</table></div>
 
165
</div>
 
166
<hr>
 
167
<div class="refsect2" lang="en">
 
168
<a name="id2609667"></a><h3>
 
169
<a name="gimp-channel-new-from-component"></a>gimp_channel_new_from_component ()</h3>
 
170
<a class="indexterm" name="id2609681"></a><pre class="programlisting">gint32              gimp_channel_new_from_component     (gint32 image_ID,
 
171
                                                         <a
 
172
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
 
173
>GimpChannelType</a> component,
 
174
                                                         const gchar *name);</pre>
 
175
<p>
 
176
Create a new channel from a color component
 
177
</p>
 
178
<p>
 
179
This procedure creates a new channel from a color component.</p>
 
180
<p>
 
181
 
 
182
</p>
 
183
<div class="variablelist"><table border="0">
 
184
<col align="left" valign="top">
 
185
<tbody>
 
186
<tr>
 
187
<td><span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
 
188
<td> The image to which to add the channel.
 
189
</td>
 
190
</tr>
 
191
<tr>
 
192
<td><span class="term"><em class="parameter"><code>component</code></em>&#160;:</span></td>
 
193
<td> The image component.
 
194
</td>
 
195
</tr>
 
196
<tr>
 
197
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
198
<td> The channel name.
 
199
</td>
 
200
</tr>
 
201
<tr>
 
202
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
203
<td> The newly created channel.
 
204
 
 
205
</td>
 
206
</tr>
 
207
</tbody>
 
208
</table></div>
 
209
<p class="since">Since  GIMP 2.4
 
210
</p>
 
211
</div>
 
212
<hr>
 
213
<div class="refsect2" lang="en">
 
214
<a name="id2608287"></a><h3>
166
215
<a name="gimp-channel-copy"></a>gimp_channel_copy ()</h3>
167
 
<a class="indexterm" name="id2575455"></a><pre class="programlisting">gint32      gimp_channel_copy               (gint32 channel_ID);</pre>
 
216
<a class="indexterm" name="id2608300"></a><pre class="programlisting">gint32              gimp_channel_copy                   (gint32 channel_ID);</pre>
168
217
<p>
169
218
Copy a channel.
170
219
</p>
177
226
<col align="left" valign="top">
178
227
<tbody>
179
228
<tr>
180
 
<td>
181
 
<span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
 
229
<td><span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
182
230
<td> The channel to copy.
183
231
</td>
184
232
</tr>
185
233
<tr>
186
 
<td>
187
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
234
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
188
235
<td> The newly copied channel.
189
236
</td>
190
237
</tr>
193
240
</div>
194
241
<hr>
195
242
<div class="refsect2" lang="en">
196
 
<a name="id2575519"></a><h3>
 
243
<a name="id2608364"></a><h3>
197
244
<a name="gimp-channel-get-show-masked"></a>gimp_channel_get_show_masked ()</h3>
198
 
<a class="indexterm" name="id2575530"></a><pre class="programlisting">gboolean    gimp_channel_get_show_masked    (gint32 channel_ID);</pre>
 
245
<a class="indexterm" name="id2608377"></a><pre class="programlisting">gboolean            gimp_channel_get_show_masked        (gint32 channel_ID);</pre>
199
246
<p>
200
247
Get the composite method of the specified channel.
201
248
</p>
202
249
<p>
203
250
This procedure returns the specified channel's composite method. If
204
 
it is non-zero, then the channel is composited with the image so
205
 
that masked regions are shown. Otherwise, selected regions are
206
 
shown.</p>
 
251
it is TRUE, then the channel is composited with the image so that
 
252
masked regions are shown. Otherwise, selected regions are shown.</p>
207
253
<p>
208
254
 
209
255
</p>
211
257
<col align="left" valign="top">
212
258
<tbody>
213
259
<tr>
214
 
<td>
215
 
<span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
 
260
<td><span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
216
261
<td> The channel.
217
262
</td>
218
263
</tr>
219
264
<tr>
220
 
<td>
221
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
265
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
222
266
<td> The channel composite method.
223
267
</td>
224
268
</tr>
227
271
</div>
228
272
<hr>
229
273
<div class="refsect2" lang="en">
230
 
<a name="id2567759"></a><h3>
 
274
<a name="id2608446"></a><h3>
231
275
<a name="gimp-channel-set-show-masked"></a>gimp_channel_set_show_masked ()</h3>
232
 
<a class="indexterm" name="id2567770"></a><pre class="programlisting">gboolean    gimp_channel_set_show_masked    (gint32 channel_ID,
233
 
                                             gboolean show_masked);</pre>
 
276
<a class="indexterm" name="id2608459"></a><pre class="programlisting">gboolean            gimp_channel_set_show_masked        (gint32 channel_ID,
 
277
                                                         gboolean show_masked);</pre>
234
278
<p>
235
279
Set the composite method of the specified channel.
236
280
</p>
237
281
<p>
238
282
This procedure sets the specified channel's composite method. If it
239
 
is non-zero, then the channel is composited with the image so that
 
283
is TRUE, then the channel is composited with the image so that
240
284
masked regions are shown. Otherwise, selected regions are shown.</p>
241
285
<p>
242
286
 
245
289
<col align="left" valign="top">
246
290
<tbody>
247
291
<tr>
248
 
<td>
249
 
<span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
 
292
<td><span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
250
293
<td> The channel.
251
294
</td>
252
295
</tr>
253
296
<tr>
254
 
<td>
255
 
<span class="term"><em class="parameter"><code>show_masked</code></em>&#160;:</span></td>
 
297
<td><span class="term"><em class="parameter"><code>show_masked</code></em>&#160;:</span></td>
256
298
<td> The new channel composite method.
257
299
</td>
258
300
</tr>
259
301
<tr>
260
 
<td>
261
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
302
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
262
303
<td> TRUE on success.
263
304
</td>
264
305
</tr>
267
308
</div>
268
309
<hr>
269
310
<div class="refsect2" lang="en">
270
 
<a name="id2567859"></a><h3>
 
311
<a name="id2570125"></a><h3>
271
312
<a name="gimp-channel-get-opacity"></a>gimp_channel_get_opacity ()</h3>
272
 
<a class="indexterm" name="id2567870"></a><pre class="programlisting">gdouble     gimp_channel_get_opacity        (gint32 channel_ID);</pre>
 
313
<a class="indexterm" name="id2570136"></a><pre class="programlisting">gdouble             gimp_channel_get_opacity            (gint32 channel_ID);</pre>
273
314
<p>
274
315
Get the opacity of the specified channel.
275
316
</p>
282
323
<col align="left" valign="top">
283
324
<tbody>
284
325
<tr>
285
 
<td>
286
 
<span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
 
326
<td><span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
287
327
<td> The channel.
288
328
</td>
289
329
</tr>
290
330
<tr>
291
 
<td>
292
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
331
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
293
332
<td> The channel opacity.
294
333
</td>
295
334
</tr>
298
337
</div>
299
338
<hr>
300
339
<div class="refsect2" lang="en">
301
 
<a name="id2567935"></a><h3>
 
340
<a name="id2570201"></a><h3>
302
341
<a name="gimp-channel-set-opacity"></a>gimp_channel_set_opacity ()</h3>
303
 
<a class="indexterm" name="id2567946"></a><pre class="programlisting">gboolean    gimp_channel_set_opacity        (gint32 channel_ID,
304
 
                                             gdouble opacity);</pre>
 
342
<a class="indexterm" name="id2570212"></a><pre class="programlisting">gboolean            gimp_channel_set_opacity            (gint32 channel_ID,
 
343
                                                         gdouble opacity);</pre>
305
344
<p>
306
345
Set the opacity of the specified channel.
307
346
</p>
314
353
<col align="left" valign="top">
315
354
<tbody>
316
355
<tr>
317
 
<td>
318
 
<span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
 
356
<td><span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
319
357
<td> The channel.
320
358
</td>
321
359
</tr>
322
360
<tr>
323
 
<td>
324
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
361
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
325
362
<td> The new channel opacity.
326
363
</td>
327
364
</tr>
328
365
<tr>
329
 
<td>
330
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
366
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
331
367
<td> TRUE on success.
332
368
</td>
333
369
</tr>
336
372
</div>
337
373
<hr>
338
374
<div class="refsect2" lang="en">
339
 
<a name="id2579003"></a><h3>
 
375
<a name="id2570298"></a><h3>
340
376
<a name="gimp-channel-get-color"></a>gimp_channel_get_color ()</h3>
341
 
<a class="indexterm" name="id2579013"></a><pre class="programlisting">gboolean    gimp_channel_get_color          (gint32 channel_ID,
342
 
                                             <a
 
377
<a class="indexterm" name="id2570309"></a><pre class="programlisting">gboolean            gimp_channel_get_color              (gint32 channel_ID,
 
378
                                                         <a
343
379
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
344
380
>GimpRGB</a> *color);</pre>
345
381
<p>
354
390
<col align="left" valign="top">
355
391
<tbody>
356
392
<tr>
357
 
<td>
358
 
<span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
 
393
<td><span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
359
394
<td> The channel.
360
395
</td>
361
396
</tr>
362
397
<tr>
363
 
<td>
364
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
398
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
365
399
<td> The channel compositing color.
366
400
</td>
367
401
</tr>
368
402
<tr>
369
 
<td>
370
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
403
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
371
404
<td> TRUE on success.
372
405
</td>
373
406
</tr>
376
409
</div>
377
410
<hr>
378
411
<div class="refsect2" lang="en">
379
 
<a name="id2579091"></a><h3>
 
412
<a name="id2614590"></a><h3>
380
413
<a name="gimp-channel-set-color"></a>gimp_channel_set_color ()</h3>
381
 
<a class="indexterm" name="id2579101"></a><pre class="programlisting">gboolean    gimp_channel_set_color          (gint32 channel_ID,
382
 
                                             const <a
 
414
<a class="indexterm" name="id2614600"></a><pre class="programlisting">gboolean            gimp_channel_set_color              (gint32 channel_ID,
 
415
                                                         const <a
383
416
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
384
417
>GimpRGB</a> *color);</pre>
385
418
<p>
394
427
<col align="left" valign="top">
395
428
<tbody>
396
429
<tr>
397
 
<td>
398
 
<span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
 
430
<td><span class="term"><em class="parameter"><code>channel_ID</code></em>&#160;:</span></td>
399
431
<td> The channel.
400
432
</td>
401
433
</tr>
402
434
<tr>
403
 
<td>
404
 
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
 
435
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
405
436
<td> The new channel compositing color.
406
437
</td>
407
438
</tr>
408
439
<tr>
409
 
<td>
410
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
440
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
411
441
<td> TRUE on success.
412
442
</td>
413
443
</tr>
416
446
</div>
417
447
<hr>
418
448
<div class="refsect2" lang="en">
419
 
<a name="id2579187"></a><h3>
 
449
<a name="id2614679"></a><h3>
420
450
<a name="gimp-channel-combine-masks"></a>gimp_channel_combine_masks ()</h3>
421
 
<a class="indexterm" name="id2579199"></a><pre class="programlisting">gboolean    gimp_channel_combine_masks      (gint32 channel1_ID,
422
 
                                             gint32 channel2_ID,
423
 
                                             <a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> operation,
424
 
                                             gint offx,
425
 
                                             gint offy);</pre>
 
451
<a class="indexterm" name="id2614689"></a><pre class="programlisting">gboolean            gimp_channel_combine_masks          (gint32 channel1_ID,
 
452
                                                         gint32 channel2_ID,
 
453
                                                         <a
 
454
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
 
455
>GimpChannelOps</a> operation,
 
456
                                                         gint offx,
 
457
                                                         gint offy);</pre>
426
458
<p>
427
459
Combine two channel masks.
428
460
</p>
436
468
<col align="left" valign="top">
437
469
<tbody>
438
470
<tr>
439
 
<td>
440
 
<span class="term"><em class="parameter"><code>channel1_ID</code></em>&#160;:</span></td>
 
471
<td><span class="term"><em class="parameter"><code>channel1_ID</code></em>&#160;:</span></td>
441
472
<td> The channel1.
442
473
</td>
443
474
</tr>
444
475
<tr>
445
 
<td>
446
 
<span class="term"><em class="parameter"><code>channel2_ID</code></em>&#160;:</span></td>
 
476
<td><span class="term"><em class="parameter"><code>channel2_ID</code></em>&#160;:</span></td>
447
477
<td> The channel2.
448
478
</td>
449
479
</tr>
450
480
<tr>
451
 
<td>
452
 
<span class="term"><em class="parameter"><code>operation</code></em>&#160;:</span></td>
 
481
<td><span class="term"><em class="parameter"><code>operation</code></em>&#160;:</span></td>
453
482
<td> The selection operation.
454
483
</td>
455
484
</tr>
456
485
<tr>
457
 
<td>
458
 
<span class="term"><em class="parameter"><code>offx</code></em>&#160;:</span></td>
 
486
<td><span class="term"><em class="parameter"><code>offx</code></em>&#160;:</span></td>
459
487
<td> x offset between upper left corner of channels: (second - first).
460
488
</td>
461
489
</tr>
462
490
<tr>
463
 
<td>
464
 
<span class="term"><em class="parameter"><code>offy</code></em>&#160;:</span></td>
 
491
<td><span class="term"><em class="parameter"><code>offy</code></em>&#160;:</span></td>
465
492
<td> y offset between upper left corner of channels: (second - first).
466
493
</td>
467
494
</tr>
468
495
<tr>
469
 
<td>
470
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
496
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
471
497
<td> TRUE on success.
472
498
</td>
473
499
</tr>