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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpcolor/html/libgimpcolor-GimpCMYK.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:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GimpCMYK</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="GIMP Color Library Reference Manual">
8
 
<link rel="up" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
 
8
<link rel="up" href="libgimpcolor.html" title="Part I. GIMP Color Library">
9
9
<link rel="prev" href="libgimpcolor-GimpHSV.html" title="GimpHSV">
10
10
<link rel="next" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
 
13
<link rel="part" href="libgimpcolor.html" title="Part I. GIMP Color Library">
14
14
<link rel="index" href="libgimpcolor-index.html" title="Index">
15
15
<link rel="index" href="libgimpcolor-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
16
16
<link rel="index" href="libgimpcolor-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
25
25
<th width="100%" align="center">GIMP Color Library Reference Manual</th>
26
26
<td><a accesskey="n" href="libgimpcolor-GimpColorSpace.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
27
27
</tr>
28
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585136" class="shortcut">Top</a>
29
 
                  &#160;|&#160;
30
 
                  <a href="#id2584350" class="shortcut">Description</a></nobr></td></tr>
 
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#libgimpcolor-GimpCMYK.synopsis" class="shortcut">Top</a>
 
29
                   | 
 
30
                  <a href="#libgimpcolor-GimpCMYK.description" class="shortcut">Description</a></nobr></td></tr>
31
31
</table>
32
32
<div class="refentry" lang="en">
33
33
<a name="libgimpcolor-GimpCMYK"></a><div class="titlepage"></div>
34
34
<div class="refnamediv"><table width="100%"><tr>
35
35
<td valign="top">
36
 
<h2>
37
 
<a name="id2585136"></a><span class="refentrytitle">GimpCMYK</span>
38
 
</h2>
39
 
<p>GimpCMYK &#8212; Definitions and Functions relating to CMYK colors.</p>
 
36
<h2><span class="refentrytitle"><a name="libgimpcolor-GimpCMYK.top_of_page"></a>GimpCMYK</span></h2>
 
37
<p>GimpCMYK — Definitions and Functions relating to CMYK colors.</p>
40
38
</td>
41
39
<td valign="top" align="right"></td>
42
40
</tr></table></div>
43
41
<div class="refsynopsisdiv">
44
 
<h2>Synopsis</h2>
 
42
<a name="libgimpcolor-GimpCMYK.synopsis"></a><h2>Synopsis</h2>
45
43
<pre class="synopsis">
46
 
 
47
 
 
48
 
 
49
 
                    <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a>;
50
 
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set">gimp_cmyk_set</a>                       (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
51
 
                                                         <a
52
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
53
 
>gdouble</a> cyan,
54
 
                                                         <a
55
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
56
 
>gdouble</a> magenta,
57
 
                                                         <a
58
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
59
 
>gdouble</a> yellow,
60
 
                                                         <a
61
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
62
 
>gdouble</a> black);
63
 
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set-uchar">gimp_cmyk_set_uchar</a>                 (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
64
 
                                                         <a
65
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
66
 
>guchar</a> cyan,
67
 
                                                         <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
69
 
>guchar</a> magenta,
70
 
                                                         <a
71
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
72
 
>guchar</a> yellow,
73
 
                                                         <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
75
 
>guchar</a> black);
76
 
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-get-uchar">gimp_cmyk_get_uchar</a>                 (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
77
 
                                                         <a
78
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
79
 
>guchar</a> *cyan,
80
 
                                                         <a
81
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
82
 
>guchar</a> *magenta,
83
 
                                                         <a
84
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
85
 
>guchar</a> *yellow,
86
 
                                                         <a
87
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
88
 
>guchar</a> *black);
89
 
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set">gimp_cmyka_set</a>                      (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
90
 
                                                         <a
91
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
92
 
>gdouble</a> cyan,
93
 
                                                         <a
94
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
95
 
>gdouble</a> magenta,
96
 
                                                         <a
97
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
98
 
>gdouble</a> yellow,
99
 
                                                         <a
100
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
101
 
>gdouble</a> black,
102
 
                                                         <a
103
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
104
 
>gdouble</a> alpha);
105
 
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set-uchar">gimp_cmyka_set_uchar</a>                (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
106
 
                                                         <a
107
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
108
 
>guchar</a> cyan,
109
 
                                                         <a
110
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
111
 
>guchar</a> magenta,
112
 
                                                         <a
113
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
114
 
>guchar</a> yellow,
115
 
                                                         <a
116
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
117
 
>guchar</a> black,
118
 
                                                         <a
119
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
120
 
>guchar</a> alpha);
121
 
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-get-uchar">gimp_cmyka_get_uchar</a>                (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
122
 
                                                         <a
123
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
124
 
>guchar</a> *cyan,
125
 
                                                         <a
126
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
127
 
>guchar</a> *magenta,
128
 
                                                         <a
129
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
130
 
>guchar</a> *yellow,
131
 
                                                         <a
132
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
133
 
>guchar</a> *black,
134
 
                                                         <a
135
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
136
 
>guchar</a> *alpha);
137
 
#define             <a class="link" href="libgimpcolor-GimpCMYK.html#GIMP-TYPE-CMYK:CAPS">GIMP_TYPE_CMYK</a>
138
 
 
 
44
                    <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a>;
 
45
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set" title="gimp_cmyk_set ()">gimp_cmyk_set</a>                       (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk,
 
46
                                                         gdouble cyan,
 
47
                                                         gdouble magenta,
 
48
                                                         gdouble yellow,
 
49
                                                         gdouble black);
 
50
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set-uchar" title="gimp_cmyk_set_uchar ()">gimp_cmyk_set_uchar</a>                 (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk,
 
51
                                                         guchar cyan,
 
52
                                                         guchar magenta,
 
53
                                                         guchar yellow,
 
54
                                                         guchar black);
 
55
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-get-uchar" title="gimp_cmyk_get_uchar ()">gimp_cmyk_get_uchar</a>                 (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk,
 
56
                                                         guchar *cyan,
 
57
                                                         guchar *magenta,
 
58
                                                         guchar *yellow,
 
59
                                                         guchar *black);
 
60
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set" title="gimp_cmyka_set ()">gimp_cmyka_set</a>                      (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyka,
 
61
                                                         gdouble cyan,
 
62
                                                         gdouble magenta,
 
63
                                                         gdouble yellow,
 
64
                                                         gdouble black,
 
65
                                                         gdouble alpha);
 
66
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set-uchar" title="gimp_cmyka_set_uchar ()">gimp_cmyka_set_uchar</a>                (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyka,
 
67
                                                         guchar cyan,
 
68
                                                         guchar magenta,
 
69
                                                         guchar yellow,
 
70
                                                         guchar black,
 
71
                                                         guchar alpha);
 
72
void                <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-get-uchar" title="gimp_cmyka_get_uchar ()">gimp_cmyka_get_uchar</a>                (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyka,
 
73
                                                         guchar *cyan,
 
74
                                                         guchar *magenta,
 
75
                                                         guchar *yellow,
 
76
                                                         guchar *black,
 
77
                                                         guchar *alpha);
 
78
#define             <a class="link" href="libgimpcolor-GimpCMYK.html#GIMP-TYPE-CMYK:CAPS" title="GIMP_TYPE_CMYK">GIMP_TYPE_CMYK</a>
139
79
</pre>
140
80
</div>
141
81
<div class="refsect1" lang="en">
142
 
<a name="id2584350"></a><h2>Description</h2>
 
82
<a name="libgimpcolor-GimpCMYK.description"></a><h2>Description</h2>
143
83
<p>
144
84
Definitions and Functions relating to CMYK colors.
145
85
</p>
146
86
</div>
147
87
<div class="refsect1" lang="en">
148
 
<a name="id2606139"></a><h2>Details</h2>
 
88
<a name="libgimpcolor-GimpCMYK.details"></a><h2>Details</h2>
149
89
<div class="refsect2" lang="en">
150
 
<a name="id2606150"></a><h3>
151
 
<a name="GimpCMYK"></a>GimpCMYK</h3>
152
 
<a class="indexterm" name="id2606162"></a><pre class="programlisting">typedef struct {
 
90
<a name="GimpCMYK"></a><h3>GimpCMYK</h3>
 
91
<pre class="programlisting">typedef struct {
153
92
  gdouble c, m, y, k, a;
154
93
} GimpCMYK;
155
94
</pre>
159
98
</div>
160
99
<hr>
161
100
<div class="refsect2" lang="en">
162
 
<a name="id2606178"></a><h3>
163
 
<a name="gimp-cmyk-set"></a>gimp_cmyk_set ()</h3>
164
 
<a class="indexterm" name="id2606190"></a><pre class="programlisting">void                gimp_cmyk_set                       (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
165
 
                                                         <a
166
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
167
 
>gdouble</a> cyan,
168
 
                                                         <a
169
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
170
 
>gdouble</a> magenta,
171
 
                                                         <a
172
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
173
 
>gdouble</a> yellow,
174
 
                                                         <a
175
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
176
 
>gdouble</a> black);</pre>
 
101
<a name="gimp-cmyk-set"></a><h3>gimp_cmyk_set ()</h3>
 
102
<pre class="programlisting">void                gimp_cmyk_set                       (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk,
 
103
                                                         gdouble cyan,
 
104
                                                         gdouble magenta,
 
105
                                                         gdouble yellow,
 
106
                                                         gdouble black);</pre>
177
107
<p>
178
 
Very basic initialiser for the internal <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel
 
108
Very basic initialiser for the internal <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel
179
109
values are doubles in the range 0 to 1.</p>
180
110
<p>
181
111
 
184
114
<col align="left" valign="top">
185
115
<tbody>
186
116
<tr>
187
 
<td><p><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></p></td>
188
 
<td>    A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
 
117
<td><p><span class="term"><em class="parameter"><code>cmyk</code></em> :</span></p></td>
 
118
<td>    A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
189
119
</td>
190
120
</tr>
191
121
<tr>
192
 
<td><p><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></p></td>
 
122
<td><p><span class="term"><em class="parameter"><code>cyan</code></em> :</span></p></td>
193
123
<td>    The Cyan channel of the CMYK value
194
124
</td>
195
125
</tr>
196
126
<tr>
197
 
<td><p><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></p></td>
 
127
<td><p><span class="term"><em class="parameter"><code>magenta</code></em> :</span></p></td>
198
128
<td> The Magenta channel
199
129
</td>
200
130
</tr>
201
131
<tr>
202
 
<td><p><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></p></td>
 
132
<td><p><span class="term"><em class="parameter"><code>yellow</code></em> :</span></p></td>
203
133
<td>  The Yellow channel
204
134
</td>
205
135
</tr>
206
136
<tr>
207
 
<td><p><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></p></td>
 
137
<td><p><span class="term"><em class="parameter"><code>black</code></em> :</span></p></td>
208
138
<td>   The blacK channel
209
139
</td>
210
140
</tr>
213
143
</div>
214
144
<hr>
215
145
<div class="refsect2" lang="en">
216
 
<a name="id2606339"></a><h3>
217
 
<a name="gimp-cmyk-set-uchar"></a>gimp_cmyk_set_uchar ()</h3>
218
 
<a class="indexterm" name="id2606352"></a><pre class="programlisting">void                gimp_cmyk_set_uchar                 (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
219
 
                                                         <a
220
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
221
 
>guchar</a> cyan,
222
 
                                                         <a
223
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
224
 
>guchar</a> magenta,
225
 
                                                         <a
226
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
227
 
>guchar</a> yellow,
228
 
                                                         <a
229
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
230
 
>guchar</a> black);</pre>
 
146
<a name="gimp-cmyk-set-uchar"></a><h3>gimp_cmyk_set_uchar ()</h3>
 
147
<pre class="programlisting">void                gimp_cmyk_set_uchar                 (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk,
 
148
                                                         guchar cyan,
 
149
                                                         guchar magenta,
 
150
                                                         guchar yellow,
 
151
                                                         guchar black);</pre>
231
152
<p>
232
 
The same as <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set"><code class="function">gimp_cmyk_set()</code></a>, except that channel values are
 
153
The same as <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set" title="gimp_cmyk_set ()"><code class="function">gimp_cmyk_set()</code></a>, except that channel values are
233
154
unsigned chars in the range 0 to 255.</p>
234
155
<p>
235
156
 
238
159
<col align="left" valign="top">
239
160
<tbody>
240
161
<tr>
241
 
<td><p><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></p></td>
242
 
<td>    A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
 
162
<td><p><span class="term"><em class="parameter"><code>cmyk</code></em> :</span></p></td>
 
163
<td>    A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
243
164
</td>
244
165
</tr>
245
166
<tr>
246
 
<td><p><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></p></td>
 
167
<td><p><span class="term"><em class="parameter"><code>cyan</code></em> :</span></p></td>
247
168
<td>    The Cyan channel of the CMYK value
248
169
</td>
249
170
</tr>
250
171
<tr>
251
 
<td><p><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></p></td>
 
172
<td><p><span class="term"><em class="parameter"><code>magenta</code></em> :</span></p></td>
252
173
<td> The Magenta channel
253
174
</td>
254
175
</tr>
255
176
<tr>
256
 
<td><p><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></p></td>
 
177
<td><p><span class="term"><em class="parameter"><code>yellow</code></em> :</span></p></td>
257
178
<td>  The Yellow channel
258
179
</td>
259
180
</tr>
260
181
<tr>
261
 
<td><p><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></p></td>
 
182
<td><p><span class="term"><em class="parameter"><code>black</code></em> :</span></p></td>
262
183
<td>   The blacK channel
263
184
</td>
264
185
</tr>
267
188
</div>
268
189
<hr>
269
190
<div class="refsect2" lang="en">
270
 
<a name="id2574010"></a><h3>
271
 
<a name="gimp-cmyk-get-uchar"></a>gimp_cmyk_get_uchar ()</h3>
272
 
<a class="indexterm" name="id2574023"></a><pre class="programlisting">void                gimp_cmyk_get_uchar                 (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
273
 
                                                         <a
274
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
275
 
>guchar</a> *cyan,
276
 
                                                         <a
277
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
278
 
>guchar</a> *magenta,
279
 
                                                         <a
280
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
281
 
>guchar</a> *yellow,
282
 
                                                         <a
283
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
284
 
>guchar</a> *black);</pre>
 
191
<a name="gimp-cmyk-get-uchar"></a><h3>gimp_cmyk_get_uchar ()</h3>
 
192
<pre class="programlisting">void                gimp_cmyk_get_uchar                 (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk,
 
193
                                                         guchar *cyan,
 
194
                                                         guchar *magenta,
 
195
                                                         guchar *yellow,
 
196
                                                         guchar *black);</pre>
285
197
<p>
286
 
Retrieve individual channel values from a <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel
 
198
Retrieve individual channel values from a <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel
287
199
values are pointers to unsigned chars in the range 0 to 255.</p>
288
200
<p>
289
201
 
292
204
<col align="left" valign="top">
293
205
<tbody>
294
206
<tr>
295
 
<td><p><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></p></td>
296
 
<td>    A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
 
207
<td><p><span class="term"><em class="parameter"><code>cmyk</code></em> :</span></p></td>
 
208
<td>    A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
297
209
</td>
298
210
</tr>
299
211
<tr>
300
 
<td><p><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></p></td>
 
212
<td><p><span class="term"><em class="parameter"><code>cyan</code></em> :</span></p></td>
301
213
<td>    The Cyan channel of the CMYK value
302
214
</td>
303
215
</tr>
304
216
<tr>
305
 
<td><p><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></p></td>
 
217
<td><p><span class="term"><em class="parameter"><code>magenta</code></em> :</span></p></td>
306
218
<td> The Magenta channel
307
219
</td>
308
220
</tr>
309
221
<tr>
310
 
<td><p><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></p></td>
 
222
<td><p><span class="term"><em class="parameter"><code>yellow</code></em> :</span></p></td>
311
223
<td>  The Yellow channel
312
224
</td>
313
225
</tr>
314
226
<tr>
315
 
<td><p><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></p></td>
 
227
<td><p><span class="term"><em class="parameter"><code>black</code></em> :</span></p></td>
316
228
<td>   The blacK channel
317
229
</td>
318
230
</tr>
321
233
</div>
322
234
<hr>
323
235
<div class="refsect2" lang="en">
324
 
<a name="id2574172"></a><h3>
325
 
<a name="gimp-cmyka-set"></a>gimp_cmyka_set ()</h3>
326
 
<a class="indexterm" name="id2576974"></a><pre class="programlisting">void                gimp_cmyka_set                      (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
327
 
                                                         <a
328
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
329
 
>gdouble</a> cyan,
330
 
                                                         <a
331
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
332
 
>gdouble</a> magenta,
333
 
                                                         <a
334
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
335
 
>gdouble</a> yellow,
336
 
                                                         <a
337
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
338
 
>gdouble</a> black,
339
 
                                                         <a
340
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
341
 
>gdouble</a> alpha);</pre>
 
236
<a name="gimp-cmyka-set"></a><h3>gimp_cmyka_set ()</h3>
 
237
<pre class="programlisting">void                gimp_cmyka_set                      (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyka,
 
238
                                                         gdouble cyan,
 
239
                                                         gdouble magenta,
 
240
                                                         gdouble yellow,
 
241
                                                         gdouble black,
 
242
                                                         gdouble alpha);</pre>
342
243
<p>
343
 
Initialiser for the internal <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel values are
 
244
Initialiser for the internal <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel values are
344
245
doubles in the range 0 to 1.</p>
345
246
<p>
346
247
 
349
250
<col align="left" valign="top">
350
251
<tbody>
351
252
<tr>
352
 
<td><p><span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></p></td>
353
 
<td>   A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
 
253
<td><p><span class="term"><em class="parameter"><code>cmyka</code></em> :</span></p></td>
 
254
<td>   A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
354
255
</td>
355
256
</tr>
356
257
<tr>
357
 
<td><p><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></p></td>
 
258
<td><p><span class="term"><em class="parameter"><code>cyan</code></em> :</span></p></td>
358
259
<td>    The Cyan channel of the CMYK value
359
260
</td>
360
261
</tr>
361
262
<tr>
362
 
<td><p><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></p></td>
 
263
<td><p><span class="term"><em class="parameter"><code>magenta</code></em> :</span></p></td>
363
264
<td> The Magenta channel
364
265
</td>
365
266
</tr>
366
267
<tr>
367
 
<td><p><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></p></td>
 
268
<td><p><span class="term"><em class="parameter"><code>yellow</code></em> :</span></p></td>
368
269
<td>  The Yellow channel
369
270
</td>
370
271
</tr>
371
272
<tr>
372
 
<td><p><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></p></td>
 
273
<td><p><span class="term"><em class="parameter"><code>black</code></em> :</span></p></td>
373
274
<td>   The blacK channel
374
275
</td>
375
276
</tr>
376
277
<tr>
377
 
<td><p><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></p></td>
 
278
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
378
279
<td>   The Alpha channel
379
280
</td>
380
281
</tr>
383
284
</div>
384
285
<hr>
385
286
<div class="refsect2" lang="en">
386
 
<a name="id2577145"></a><h3>
387
 
<a name="gimp-cmyka-set-uchar"></a>gimp_cmyka_set_uchar ()</h3>
388
 
<a class="indexterm" name="id2577156"></a><pre class="programlisting">void                gimp_cmyka_set_uchar                (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
389
 
                                                         <a
390
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
391
 
>guchar</a> cyan,
392
 
                                                         <a
393
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
394
 
>guchar</a> magenta,
395
 
                                                         <a
396
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
397
 
>guchar</a> yellow,
398
 
                                                         <a
399
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
400
 
>guchar</a> black,
401
 
                                                         <a
402
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
403
 
>guchar</a> alpha);</pre>
 
287
<a name="gimp-cmyka-set-uchar"></a><h3>gimp_cmyka_set_uchar ()</h3>
 
288
<pre class="programlisting">void                gimp_cmyka_set_uchar                (<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyka,
 
289
                                                         guchar cyan,
 
290
                                                         guchar magenta,
 
291
                                                         guchar yellow,
 
292
                                                         guchar black,
 
293
                                                         guchar alpha);</pre>
404
294
<p>
405
 
The same as <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set"><code class="function">gimp_cmyka_set()</code></a>, except that channel values are
 
295
The same as <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set" title="gimp_cmyka_set ()"><code class="function">gimp_cmyka_set()</code></a>, except that channel values are
406
296
unsigned chars in the range 0 to 255.</p>
407
297
<p>
408
298
 
411
301
<col align="left" valign="top">
412
302
<tbody>
413
303
<tr>
414
 
<td><p><span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></p></td>
415
 
<td>   A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
 
304
<td><p><span class="term"><em class="parameter"><code>cmyka</code></em> :</span></p></td>
 
305
<td>   A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
416
306
</td>
417
307
</tr>
418
308
<tr>
419
 
<td><p><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></p></td>
 
309
<td><p><span class="term"><em class="parameter"><code>cyan</code></em> :</span></p></td>
420
310
<td>    The Cyan channel of the CMYK value
421
311
</td>
422
312
</tr>
423
313
<tr>
424
 
<td><p><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></p></td>
 
314
<td><p><span class="term"><em class="parameter"><code>magenta</code></em> :</span></p></td>
425
315
<td> The Magenta channel
426
316
</td>
427
317
</tr>
428
318
<tr>
429
 
<td><p><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></p></td>
 
319
<td><p><span class="term"><em class="parameter"><code>yellow</code></em> :</span></p></td>
430
320
<td>  The Yellow channel
431
321
</td>
432
322
</tr>
433
323
<tr>
434
 
<td><p><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></p></td>
 
324
<td><p><span class="term"><em class="parameter"><code>black</code></em> :</span></p></td>
435
325
<td>   The blacK channel
436
326
</td>
437
327
</tr>
438
328
<tr>
439
 
<td><p><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></p></td>
 
329
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
440
330
<td>   The Alpha channel
441
331
</td>
442
332
</tr>
445
335
</div>
446
336
<hr>
447
337
<div class="refsect2" lang="en">
448
 
<a name="id2577329"></a><h3>
449
 
<a name="gimp-cmyka-get-uchar"></a>gimp_cmyka_get_uchar ()</h3>
450
 
<a class="indexterm" name="id2577341"></a><pre class="programlisting">void                gimp_cmyka_get_uchar                (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
451
 
                                                         <a
452
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
453
 
>guchar</a> *cyan,
454
 
                                                         <a
455
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
456
 
>guchar</a> *magenta,
457
 
                                                         <a
458
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
459
 
>guchar</a> *yellow,
460
 
                                                         <a
461
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
462
 
>guchar</a> *black,
463
 
                                                         <a
464
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
465
 
>guchar</a> *alpha);</pre>
 
338
<a name="gimp-cmyka-get-uchar"></a><h3>gimp_cmyka_get_uchar ()</h3>
 
339
<pre class="programlisting">void                gimp_cmyka_get_uchar                (const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyka,
 
340
                                                         guchar *cyan,
 
341
                                                         guchar *magenta,
 
342
                                                         guchar *yellow,
 
343
                                                         guchar *black,
 
344
                                                         guchar *alpha);</pre>
466
345
<p>
467
 
Retrieve individual channel values from a <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure.
 
346
Retrieve individual channel values from a <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure.
468
347
Channel values are pointers to unsigned chars in the range 0 to 255.</p>
469
348
<p>
470
349
 
473
352
<col align="left" valign="top">
474
353
<tbody>
475
354
<tr>
476
 
<td><p><span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></p></td>
477
 
<td>   A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
 
355
<td><p><span class="term"><em class="parameter"><code>cmyka</code></em> :</span></p></td>
 
356
<td>   A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
478
357
</td>
479
358
</tr>
480
359
<tr>
481
 
<td><p><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></p></td>
 
360
<td><p><span class="term"><em class="parameter"><code>cyan</code></em> :</span></p></td>
482
361
<td>    The Cyan channel of the CMYK value
483
362
</td>
484
363
</tr>
485
364
<tr>
486
 
<td><p><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></p></td>
 
365
<td><p><span class="term"><em class="parameter"><code>magenta</code></em> :</span></p></td>
487
366
<td> The Magenta channel
488
367
</td>
489
368
</tr>
490
369
<tr>
491
 
<td><p><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></p></td>
 
370
<td><p><span class="term"><em class="parameter"><code>yellow</code></em> :</span></p></td>
492
371
<td>  The Yellow channel
493
372
</td>
494
373
</tr>
495
374
<tr>
496
 
<td><p><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></p></td>
 
375
<td><p><span class="term"><em class="parameter"><code>black</code></em> :</span></p></td>
497
376
<td>   The blacK channel
498
377
</td>
499
378
</tr>
500
379
<tr>
501
 
<td><p><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></p></td>
 
380
<td><p><span class="term"><em class="parameter"><code>alpha</code></em> :</span></p></td>
502
381
<td>   The Alpha channel
503
382
</td>
504
383
</tr>
507
386
</div>
508
387
<hr>
509
388
<div class="refsect2" lang="en">
510
 
<a name="id2577512"></a><h3>
511
 
<a name="GIMP-TYPE-CMYK:CAPS"></a>GIMP_TYPE_CMYK</h3>
512
 
<a class="indexterm" name="id2577525"></a><pre class="programlisting">#define GIMP_TYPE_CMYK       (gimp_cmyk_get_type ())
 
389
<a name="GIMP-TYPE-CMYK:CAPS"></a><h3>GIMP_TYPE_CMYK</h3>
 
390
<pre class="programlisting">#define GIMP_TYPE_CMYK       (gimp_cmyk_get_type ())
513
391
</pre>
514
392
<p>
515
393
 
516
394
</p>
517
395
</div>
518
396
</div>
519
 
<div class="refsect1" lang="en">
520
 
<a name="id2577543"></a><div class="refsect2" lang="en"><a name="id2577544"></a></div>
 
397
</div>
 
398
<div class="footer">
521
399
<hr>
522
 
<div class="refsect2" lang="en"><a name="id2577545"></a></div>
523
 
</div>
524
 
</div>
 
400
          Generated by GTK-Doc V1.10</div>
525
401
</body>
526
402
</html>