~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): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
ImportĀ upstreamĀ versionĀ 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimpchannel.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
50
 
<a
51
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
52
 
>gint32</a>              <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new" title="gimp_channel_new ()">gimp_channel_new</a>                    (<a
53
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
54
 
>gint32</a> image_ID,
55
 
                                                         const <a
56
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
57
 
>gchar</a> *name,
58
 
                                                         <a
59
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
60
 
>guint</a> width,
61
 
                                                         <a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
63
 
>guint</a> height,
64
 
                                                         <a
65
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
66
 
>gdouble</a> opacity,
67
 
                                                         const <a
68
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
50
gint32              <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new" title="gimp_channel_new ()">gimp_channel_new</a>                    (gint32 image_ID,
 
51
                                                         const gchar *name,
 
52
                                                         guint width,
 
53
                                                         guint height,
 
54
                                                         gdouble opacity,
 
55
                                                         const <a
 
56
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
69
57
>GimpRGB</a> *color);
70
 
<a
71
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
72
 
>gint32</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>     (<a
73
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
74
 
>gint32</a> image_ID,
 
58
gint32              <a class="link" href="libgimp-gimpchannel.html#gimp-channel-new-from-component" title="gimp_channel_new_from_component ()">gimp_channel_new_from_component</a>     (gint32 image_ID,
75
59
                                                         <a
76
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
 
60
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
77
61
>GimpChannelType</a> component,
78
 
                                                         const <a
79
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
80
 
>gchar</a> *name);
81
 
<a
82
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
83
 
>gint32</a>              <a class="link" href="libgimp-gimpchannel.html#gimp-channel-copy" title="gimp_channel_copy ()">gimp_channel_copy</a>                   (<a
84
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
85
 
>gint32</a> channel_ID);
86
 
<a
87
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
88
 
>gboolean</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>        (<a
89
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
90
 
>gint32</a> channel_ID);
91
 
<a
92
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
93
 
>gboolean</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>        (<a
94
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
95
 
>gint32</a> channel_ID,
96
 
                                                         <a
97
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
98
 
>gboolean</a> show_masked);
99
 
<a
100
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
101
 
>gdouble</a>             <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-opacity" title="gimp_channel_get_opacity ()">gimp_channel_get_opacity</a>            (<a
102
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
103
 
>gint32</a> channel_ID);
104
 
<a
105
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
106
 
>gboolean</a>            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-opacity" title="gimp_channel_set_opacity ()">gimp_channel_set_opacity</a>            (<a
107
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
108
 
>gint32</a> channel_ID,
109
 
                                                         <a
110
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
111
 
>gdouble</a> opacity);
112
 
<a
113
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
114
 
>gboolean</a>            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-color" title="gimp_channel_get_color ()">gimp_channel_get_color</a>              (<a
115
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
116
 
>gint32</a> channel_ID,
117
 
                                                         <a
118
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
119
 
>GimpRGB</a> *color);
120
 
<a
121
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
122
 
>gboolean</a>            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-color" title="gimp_channel_set_color ()">gimp_channel_set_color</a>              (<a
123
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
124
 
>gint32</a> channel_ID,
125
 
                                                         const <a
126
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
127
 
>GimpRGB</a> *color);
128
 
<a
129
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
130
 
>gboolean</a>            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-combine-masks" title="gimp_channel_combine_masks ()">gimp_channel_combine_masks</a>          (<a
131
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
132
 
>gint32</a> channel1_ID,
133
 
                                                         <a
134
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
135
 
>gint32</a> channel2_ID,
136
 
                                                         <a
137
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
 
62
                                                         const gchar *name);
 
63
gint32              <a class="link" href="libgimp-gimpchannel.html#gimp-channel-copy" title="gimp_channel_copy ()">gimp_channel_copy</a>                   (gint32 channel_ID);
 
64
gboolean            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-show-masked" title="gimp_channel_get_show_masked ()">gimp_channel_get_show_masked</a>        (gint32 channel_ID);
 
65
gboolean            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-show-masked" title="gimp_channel_set_show_masked ()">gimp_channel_set_show_masked</a>        (gint32 channel_ID,
 
66
                                                         gboolean show_masked);
 
67
gdouble             <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-opacity" title="gimp_channel_get_opacity ()">gimp_channel_get_opacity</a>            (gint32 channel_ID);
 
68
gboolean            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-opacity" title="gimp_channel_set_opacity ()">gimp_channel_set_opacity</a>            (gint32 channel_ID,
 
69
                                                         gdouble opacity);
 
70
gboolean            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-get-color" title="gimp_channel_get_color ()">gimp_channel_get_color</a>              (gint32 channel_ID,
 
71
                                                         <a
 
72
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
73
>GimpRGB</a> *color);
 
74
gboolean            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-set-color" title="gimp_channel_set_color ()">gimp_channel_set_color</a>              (gint32 channel_ID,
 
75
                                                         const <a
 
76
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
77
>GimpRGB</a> *color);
 
78
gboolean            <a class="link" href="libgimp-gimpchannel.html#gimp-channel-combine-masks" title="gimp_channel_combine_masks ()">gimp_channel_combine_masks</a>          (gint32 channel1_ID,
 
79
                                                         gint32 channel2_ID,
 
80
                                                         <a
 
81
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
138
82
>GimpChannelOps</a> operation,
139
 
                                                         <a
140
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
141
 
>gint</a> offx,
142
 
                                                         <a
143
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
144
 
>gint</a> offy);
 
83
                                                         gint offx,
 
84
                                                         gint offy);
145
85
</pre>
146
86
</div>
147
87
<div class="refsect1" lang="en">
154
94
<a name="libgimp-gimpchannel.details"></a><h2>Details</h2>
155
95
<div class="refsect2" lang="en">
156
96
<a name="gimp-channel-new"></a><h3>gimp_channel_new ()</h3>
157
 
<pre class="programlisting"><a
158
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
159
 
>gint32</a>              gimp_channel_new                    (<a
160
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
161
 
>gint32</a> image_ID,
162
 
                                                         const <a
163
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
164
 
>gchar</a> *name,
165
 
                                                         <a
166
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
167
 
>guint</a> width,
168
 
                                                         <a
169
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
170
 
>guint</a> height,
171
 
                                                         <a
172
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
173
 
>gdouble</a> opacity,
174
 
                                                         const <a
175
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
97
<pre class="programlisting">gint32              gimp_channel_new                    (gint32 image_ID,
 
98
                                                         const gchar *name,
 
99
                                                         guint width,
 
100
                                                         guint height,
 
101
                                                         gdouble opacity,
 
102
                                                         const <a
 
103
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
176
104
>GimpRGB</a> *color);</pre>
177
105
<p>
178
106
Create a new channel.
232
160
<hr>
233
161
<div class="refsect2" lang="en">
234
162
<a name="gimp-channel-new-from-component"></a><h3>gimp_channel_new_from_component ()</h3>
235
 
<pre class="programlisting"><a
236
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
237
 
>gint32</a>              gimp_channel_new_from_component     (<a
238
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
239
 
>gint32</a> image_ID,
 
163
<pre class="programlisting">gint32              gimp_channel_new_from_component     (gint32 image_ID,
240
164
                                                         <a
241
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
 
165
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelType"
242
166
>GimpChannelType</a> component,
243
 
                                                         const <a
244
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
245
 
>gchar</a> *name);</pre>
 
167
                                                         const gchar *name);</pre>
246
168
<p>
247
169
Create a new channel from a color component
248
170
</p>
283
205
<hr>
284
206
<div class="refsect2" lang="en">
285
207
<a name="gimp-channel-copy"></a><h3>gimp_channel_copy ()</h3>
286
 
<pre class="programlisting"><a
287
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
288
 
>gint32</a>              gimp_channel_copy                   (<a
289
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
290
 
>gint32</a> channel_ID);</pre>
 
208
<pre class="programlisting">gint32              gimp_channel_copy                   (gint32 channel_ID);</pre>
291
209
<p>
292
210
Copy a channel.
293
211
</p>
315
233
<hr>
316
234
<div class="refsect2" lang="en">
317
235
<a name="gimp-channel-get-show-masked"></a><h3>gimp_channel_get_show_masked ()</h3>
318
 
<pre class="programlisting"><a
319
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
320
 
>gboolean</a>            gimp_channel_get_show_masked        (<a
321
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
322
 
>gint32</a> channel_ID);</pre>
 
236
<pre class="programlisting">gboolean            gimp_channel_get_show_masked        (gint32 channel_ID);</pre>
323
237
<p>
324
238
Get the composite method of the specified channel.
325
239
</p>
349
263
<hr>
350
264
<div class="refsect2" lang="en">
351
265
<a name="gimp-channel-set-show-masked"></a><h3>gimp_channel_set_show_masked ()</h3>
352
 
<pre class="programlisting"><a
353
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
354
 
>gboolean</a>            gimp_channel_set_show_masked        (<a
355
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
356
 
>gint32</a> channel_ID,
357
 
                                                         <a
358
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
359
 
>gboolean</a> show_masked);</pre>
 
266
<pre class="programlisting">gboolean            gimp_channel_set_show_masked        (gint32 channel_ID,
 
267
                                                         gboolean show_masked);</pre>
360
268
<p>
361
269
Set the composite method of the specified channel.
362
270
</p>
391
299
<hr>
392
300
<div class="refsect2" lang="en">
393
301
<a name="gimp-channel-get-opacity"></a><h3>gimp_channel_get_opacity ()</h3>
394
 
<pre class="programlisting"><a
395
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
396
 
>gdouble</a>             gimp_channel_get_opacity            (<a
397
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
398
 
>gint32</a> channel_ID);</pre>
 
302
<pre class="programlisting">gdouble             gimp_channel_get_opacity            (gint32 channel_ID);</pre>
399
303
<p>
400
304
Get the opacity of the specified channel.
401
305
</p>
423
327
<hr>
424
328
<div class="refsect2" lang="en">
425
329
<a name="gimp-channel-set-opacity"></a><h3>gimp_channel_set_opacity ()</h3>
426
 
<pre class="programlisting"><a
427
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
428
 
>gboolean</a>            gimp_channel_set_opacity            (<a
429
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
430
 
>gint32</a> channel_ID,
431
 
                                                         <a
432
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
433
 
>gdouble</a> opacity);</pre>
 
330
<pre class="programlisting">gboolean            gimp_channel_set_opacity            (gint32 channel_ID,
 
331
                                                         gdouble opacity);</pre>
434
332
<p>
435
333
Set the opacity of the specified channel.
436
334
</p>
463
361
<hr>
464
362
<div class="refsect2" lang="en">
465
363
<a name="gimp-channel-get-color"></a><h3>gimp_channel_get_color ()</h3>
466
 
<pre class="programlisting"><a
467
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
468
 
>gboolean</a>            gimp_channel_get_color              (<a
469
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
470
 
>gint32</a> channel_ID,
 
364
<pre class="programlisting">gboolean            gimp_channel_get_color              (gint32 channel_ID,
471
365
                                                         <a
472
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
366
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
473
367
>GimpRGB</a> *color);</pre>
474
368
<p>
475
369
Get the compositing color of the specified channel.
503
397
<hr>
504
398
<div class="refsect2" lang="en">
505
399
<a name="gimp-channel-set-color"></a><h3>gimp_channel_set_color ()</h3>
506
 
<pre class="programlisting"><a
507
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
508
 
>gboolean</a>            gimp_channel_set_color              (<a
509
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
510
 
>gint32</a> channel_ID,
 
400
<pre class="programlisting">gboolean            gimp_channel_set_color              (gint32 channel_ID,
511
401
                                                         const <a
512
 
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
 
402
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
513
403
>GimpRGB</a> *color);</pre>
514
404
<p>
515
405
Set the compositing color of the specified channel.
543
433
<hr>
544
434
<div class="refsect2" lang="en">
545
435
<a name="gimp-channel-combine-masks"></a><h3>gimp_channel_combine_masks ()</h3>
546
 
<pre class="programlisting"><a
547
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
548
 
>gboolean</a>            gimp_channel_combine_masks          (<a
549
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
550
 
>gint32</a> channel1_ID,
551
 
                                                         <a
552
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
553
 
>gint32</a> channel2_ID,
554
 
                                                         <a
555
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
 
436
<pre class="programlisting">gboolean            gimp_channel_combine_masks          (gint32 channel1_ID,
 
437
                                                         gint32 channel2_ID,
 
438
                                                         <a
 
439
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
556
440
>GimpChannelOps</a> operation,
557
 
                                                         <a
558
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
559
 
>gint</a> offx,
560
 
                                                         <a
561
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
562
 
>gint</a> offy);</pre>
 
441
                                                         gint offx,
 
442
                                                         gint offy);</pre>
563
443
<p>
564
444
Combine two channel masks.
565
445
</p>