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

« back to all changes in this revision

Viewing changes to devel-docs/libgimpcolor/html/libgimpcolor-GimpColorSpace.html

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2009-03-17 03:00:24 UTC
  • mfrom: (1.1.20 upstream)
  • Revision ID: james.westby@ubuntu.com-20090317030024-gnp1dhd0hnt80f4h
Tags: 2.6.6-0ubuntu1
* New upstream release (LP: #344052)
* debian/patches/04_from_bugzilla_572403.patch:
  - Dropped, the fix is in the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                                                         <a class="link" href="libgimpcolor-GimpHSV.html#GimpHSL" title="GimpHSL">GimpHSL</a> *hsl);
49
49
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk" title="gimp_rgb_to_cmyk ()">gimp_rgb_to_cmyk</a>                    (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
50
50
                                                         <a
51
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
51
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
52
52
>gdouble</a> pullout,
53
53
                                                         <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk);
54
54
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb" title="gimp_hsv_to_rgb ()">gimp_hsv_to_rgb</a>                     (const <a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="GimpHSV">GimpHSV</a> *hsv,
59
59
                                                         <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
60
60
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hwb" title="gimp_rgb_to_hwb ()">gimp_rgb_to_hwb</a>                     (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
61
61
                                                         <a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
63
63
>gdouble</a> *hue,
64
64
                                                         <a
65
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
66
66
>gdouble</a> *whiteness,
67
67
                                                         <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
68
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
69
69
>gdouble</a> *blackness);
70
70
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hwb-to-rgb" title="gimp_hwb_to_rgb ()">gimp_hwb_to_rgb</a>                     (<a
71
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
71
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
72
72
>gdouble</a> hue,
73
73
                                                         <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
74
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
75
75
>gdouble</a> whiteness,
76
76
                                                         <a
77
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
77
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
78
78
>gdouble</a> blackness,
79
79
                                                         <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
80
80
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv-int" title="gimp_rgb_to_hsv_int ()">gimp_rgb_to_hsv_int</a>                 (<a
81
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
81
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
82
82
>gint</a> *red,
83
83
                                                         <a
84
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
84
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
85
85
>gint</a> *green,
86
86
                                                         <a
87
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
87
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
88
88
>gint</a> *blue);
89
89
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb-int" title="gimp_hsv_to_rgb_int ()">gimp_hsv_to_rgb_int</a>                 (<a
90
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
90
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
91
91
>gint</a> *hue,
92
92
                                                         <a
93
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
94
94
>gint</a> *saturation,
95
95
                                                         <a
96
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
96
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
97
97
>gint</a> *value);
98
98
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl-int" title="gimp_rgb_to_hsl_int ()">gimp_rgb_to_hsl_int</a>                 (<a
99
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
99
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
100
100
>gint</a> *red,
101
101
                                                         <a
102
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
102
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
103
103
>gint</a> *green,
104
104
                                                         <a
105
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
105
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
106
106
>gint</a> *blue);
107
107
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk-int" title="gimp_rgb_to_cmyk_int ()">gimp_rgb_to_cmyk_int</a>                (<a
108
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
108
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
109
109
>gint</a> *red,
110
110
                                                         <a
111
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
111
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
112
112
>gint</a> *green,
113
113
                                                         <a
114
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
114
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
115
115
>gint</a> *blue,
116
116
                                                         <a
117
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
117
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
118
118
>gint</a> *pullout);
119
119
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb-int" title="gimp_cmyk_to_rgb_int ()">gimp_cmyk_to_rgb_int</a>                (<a
120
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
120
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
121
121
>gint</a> *cyan,
122
122
                                                         <a
123
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
123
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
124
124
>gint</a> *magenta,
125
125
                                                         <a
126
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
126
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
127
127
>gint</a> *yellow,
128
128
                                                         <a
129
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
129
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
130
130
>gint</a> *black);
131
131
<a
132
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
132
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
133
133
>gint</a>                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-l-int" title="gimp_rgb_to_l_int ()">gimp_rgb_to_l_int</a>                   (<a
134
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
134
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
135
135
>gint</a> red,
136
136
                                                         <a
137
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
137
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
138
138
>gint</a> green,
139
139
                                                         <a
140
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
140
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
141
141
>gint</a> blue);
142
142
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb-int" title="gimp_hsl_to_rgb_int ()">gimp_hsl_to_rgb_int</a>                 (<a
143
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
143
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
144
144
>gint</a> *hue,
145
145
                                                         <a
146
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
146
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
147
147
>gint</a> *saturation,
148
148
                                                         <a
149
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
149
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
150
150
>gint</a> *lightness);
151
151
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv4" title="gimp_rgb_to_hsv4 ()">gimp_rgb_to_hsv4</a>                    (const <a
152
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
 
152
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
153
153
>guchar</a> *rgb,
154
154
                                                         <a
155
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
155
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
156
156
>gdouble</a> *hue,
157
157
                                                         <a
158
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
158
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
159
159
>gdouble</a> *saturation,
160
160
                                                         <a
161
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
161
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
162
162
>gdouble</a> *value);
163
163
void                <a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb4" title="gimp_hsv_to_rgb4 ()">gimp_hsv_to_rgb4</a>                    (<a
164
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
 
164
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
165
165
>guchar</a> *rgb,
166
166
                                                         <a
167
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
167
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
168
168
>gdouble</a> hue,
169
169
                                                         <a
170
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
170
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
171
171
>gdouble</a> saturation,
172
172
                                                         <a
173
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
173
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
174
174
>gdouble</a> value);
175
175
</pre>
176
176
</div>
243
243
<a name="gimp-rgb-to-cmyk"></a><h3>gimp_rgb_to_cmyk ()</h3>
244
244
<pre class="programlisting">void                gimp_rgb_to_cmyk                    (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
245
245
                                                         <a
246
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
246
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
247
247
>gdouble</a> pullout,
248
248
                                                         <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="GimpCMYK">GimpCMYK</a> *cmyk);</pre>
249
249
<p>
361
361
<a name="gimp-rgb-to-hwb"></a><h3>gimp_rgb_to_hwb ()</h3>
362
362
<pre class="programlisting">void                gimp_rgb_to_hwb                     (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
363
363
                                                         <a
364
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
364
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
365
365
>gdouble</a> *hue,
366
366
                                                         <a
367
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
367
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
368
368
>gdouble</a> *whiteness,
369
369
                                                         <a
370
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
370
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
371
371
>gdouble</a> *blackness);</pre>
372
372
<p>
373
373
Theoretically, hue 0 (pure red) is identical to hue 6 in these transforms.
411
411
<div class="refsect2" lang="en">
412
412
<a name="gimp-hwb-to-rgb"></a><h3>gimp_hwb_to_rgb ()</h3>
413
413
<pre class="programlisting">void                gimp_hwb_to_rgb                     (<a
414
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
414
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
415
415
>gdouble</a> hue,
416
416
                                                         <a
417
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
417
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
418
418
>gdouble</a> whiteness,
419
419
                                                         <a
420
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
420
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
421
421
>gdouble</a> blackness,
422
422
                                                         <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);</pre>
423
423
<p>
456
456
<div class="refsect2" lang="en">
457
457
<a name="gimp-rgb-to-hsv-int"></a><h3>gimp_rgb_to_hsv_int ()</h3>
458
458
<pre class="programlisting">void                gimp_rgb_to_hsv_int                 (<a
459
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
459
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
460
460
>gint</a> *red,
461
461
                                                         <a
462
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
462
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
463
463
>gint</a> *green,
464
464
                                                         <a
465
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
465
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
466
466
>gint</a> *blue);</pre>
467
467
<p>
468
468
The arguments are pointers to int representing channel values in
501
501
<div class="refsect2" lang="en">
502
502
<a name="gimp-hsv-to-rgb-int"></a><h3>gimp_hsv_to_rgb_int ()</h3>
503
503
<pre class="programlisting">void                gimp_hsv_to_rgb_int                 (<a
504
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
504
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
505
505
>gint</a> *hue,
506
506
                                                         <a
507
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
507
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
508
508
>gint</a> *saturation,
509
509
                                                         <a
510
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
510
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
511
511
>gint</a> *value);</pre>
512
512
<p>
513
513
The arguments are pointers to int, with the values pointed to in the
544
544
<div class="refsect2" lang="en">
545
545
<a name="gimp-rgb-to-hsl-int"></a><h3>gimp_rgb_to_hsl_int ()</h3>
546
546
<pre class="programlisting">void                gimp_rgb_to_hsl_int                 (<a
547
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
547
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
548
548
>gint</a> *red,
549
549
                                                         <a
550
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
550
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
551
551
>gint</a> *green,
552
552
                                                         <a
553
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
553
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
554
554
>gint</a> *blue);</pre>
555
555
<p>
556
556
The arguments are pointers to int representing channel values in the
588
588
<div class="refsect2" lang="en">
589
589
<a name="gimp-rgb-to-cmyk-int"></a><h3>gimp_rgb_to_cmyk_int ()</h3>
590
590
<pre class="programlisting">void                gimp_rgb_to_cmyk_int                (<a
591
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
591
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
592
592
>gint</a> *red,
593
593
                                                         <a
594
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
594
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
595
595
>gint</a> *green,
596
596
                                                         <a
597
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
597
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
598
598
>gint</a> *blue,
599
599
                                                         <a
600
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
600
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
601
601
>gint</a> *pullout);</pre>
602
602
<p>
603
603
Does a naive conversion from RGB to CMYK colorspace. A simple
639
639
<div class="refsect2" lang="en">
640
640
<a name="gimp-cmyk-to-rgb-int"></a><h3>gimp_cmyk_to_rgb_int ()</h3>
641
641
<pre class="programlisting">void                gimp_cmyk_to_rgb_int                (<a
642
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
642
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
643
643
>gint</a> *cyan,
644
644
                                                         <a
645
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
645
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
646
646
>gint</a> *magenta,
647
647
                                                         <a
648
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
648
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
649
649
>gint</a> *yellow,
650
650
                                                         <a
651
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
651
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
652
652
>gint</a> *black);</pre>
653
653
<p>
654
654
Does a naive conversion from CMYK to RGB colorspace. A simple
686
686
<div class="refsect2" lang="en">
687
687
<a name="gimp-rgb-to-l-int"></a><h3>gimp_rgb_to_l_int ()</h3>
688
688
<pre class="programlisting"><a
689
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
689
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
690
690
>gint</a>                gimp_rgb_to_l_int                   (<a
691
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
691
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
692
692
>gint</a> red,
693
693
                                                         <a
694
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
694
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
695
695
>gint</a> green,
696
696
                                                         <a
697
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
697
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
698
698
>gint</a> blue);</pre>
699
699
<p>
700
700
Calculates the lightness value of an RGB triplet with the formula
732
732
<div class="refsect2" lang="en">
733
733
<a name="gimp-hsl-to-rgb-int"></a><h3>gimp_hsl_to_rgb_int ()</h3>
734
734
<pre class="programlisting">void                gimp_hsl_to_rgb_int                 (<a
735
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
735
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
736
736
>gint</a> *hue,
737
737
                                                         <a
738
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
738
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
739
739
>gint</a> *saturation,
740
740
                                                         <a
741
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
741
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
742
742
>gint</a> *lightness);</pre>
743
743
<p>
744
744
The arguments are pointers to int, with the values pointed to in the
775
775
<div class="refsect2" lang="en">
776
776
<a name="gimp-rgb-to-hsv4"></a><h3>gimp_rgb_to_hsv4 ()</h3>
777
777
<pre class="programlisting">void                gimp_rgb_to_hsv4                    (const <a
778
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
 
778
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
779
779
>guchar</a> *rgb,
780
780
                                                         <a
781
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
781
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
782
782
>gdouble</a> *hue,
783
783
                                                         <a
784
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
784
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
785
785
>gdouble</a> *saturation,
786
786
                                                         <a
787
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
787
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
788
788
>gdouble</a> *value);</pre>
789
789
<p>
790
790
</p>
822
822
<div class="refsect2" lang="en">
823
823
<a name="gimp-hsv-to-rgb4"></a><h3>gimp_hsv_to_rgb4 ()</h3>
824
824
<pre class="programlisting">void                gimp_hsv_to_rgb4                    (<a
825
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
 
825
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
826
826
>guchar</a> *rgb,
827
827
                                                         <a
828
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
828
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
829
829
>gdouble</a> hue,
830
830
                                                         <a
831
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
831
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
832
832
>gdouble</a> saturation,
833
833
                                                         <a
834
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
 
834
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
835
835
>gdouble</a> value);</pre>
836
836
<p>
837
837
</p>