25
25
<th width="100%" align="center">GIMP Color Library Reference Manual</th>
26
26
<td><a accesskey="n" href="libgimpcolor-GimpHSV.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2601320" class="shortcut">Top</a>
30
<a href="#id2619886" class="shortcut">Description</a></nobr></td></tr>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#libgimpcolor-GimpRGB.synopsis" class="shortcut">Top</a>
30
<a href="#libgimpcolor-GimpRGB.description" class="shortcut">Description</a></nobr></td></tr>
32
32
<div class="refentry" lang="en">
33
33
<a name="libgimpcolor-GimpRGB"></a><div class="titlepage"></div>
34
34
<div class="refnamediv"><table width="100%"><tr>
37
<a name="id2601320"></a><span class="refentrytitle">GimpRGB</span>
39
<p>GimpRGB — Definitions and Functions relating to RGB colors.</p>
36
<h2><span class="refentrytitle"><a name="libgimpcolor-GimpRGB.top_of_page"></a>GimpRGB</span></h2>
37
<p>GimpRGB — Definitions and Functions relating to RGB colors.</p>
41
39
<td valign="top" align="right"></td>
42
40
</tr></table></div>
43
41
<div class="refsynopsisdiv">
42
<a name="libgimpcolor-GimpRGB.synopsis"></a><h2>Synopsis</h2>
45
43
<pre class="synopsis">
49
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a>;
50
enum <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode">GimpRGBCompositeMode</a>;
51
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set">gimp_rgb_set</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
53
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
56
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
59
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
61
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-alpha">gimp_rgb_set_alpha</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
63
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
65
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-uchar">gimp_rgb_set_uchar</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
70
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
73
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
75
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-get-uchar">gimp_rgb_get_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
80
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
86
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
87
>gboolean</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name">gimp_rgb_parse_name</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
92
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
95
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
96
>gboolean</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-hex">gimp_rgb_parse_hex</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
98
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
101
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
104
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
105
>gboolean</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-css">gimp_rgb_parse_css</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
107
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
110
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
113
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
114
>gint</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-list-names">gimp_rgb_list_names</a> (const <a
115
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
117
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> **colors);
118
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-add">gimp_rgb_add</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
119
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb2);
120
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-subtract">gimp_rgb_subtract</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
121
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb2);
122
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-multiply">gimp_rgb_multiply</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
124
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
125
>gdouble</a> factor);
127
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
128
>gdouble</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-distance">gimp_rgb_distance</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
129
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb2);
131
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
132
>gdouble</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-max">gimp_rgb_max</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
134
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
135
>gdouble</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-min">gimp_rgb_min</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
136
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-clamp">gimp_rgb_clamp</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
137
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-gamma">gimp_rgb_gamma</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
139
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
142
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
143
>gdouble</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance">gimp_rgb_luminance</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
145
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
146
>guchar</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance-uchar">gimp_rgb_luminance_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
148
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
149
>gdouble</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity">gimp_rgb_intensity</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
151
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
152
>guchar</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity-uchar">gimp_rgb_intensity_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
153
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-composite">gimp_rgb_composite</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color1,
154
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color2,
155
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode">GimpRGBCompositeMode</a> mode);
156
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set">gimp_rgba_set</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba,
158
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
161
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
164
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
167
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
169
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set-uchar">gimp_rgba_set_uchar</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba,
171
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
174
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
177
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
180
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
182
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-get-uchar">gimp_rgba_get_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba,
184
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
187
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
190
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
193
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
196
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
197
>gboolean</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-parse-css">gimp_rgba_parse_css</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba,
199
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
202
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
204
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-add">gimp_rgba_add</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba1,
205
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba2);
206
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-subtract">gimp_rgba_subtract</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba1,
207
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba2);
208
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-multiply">gimp_rgba_multiply</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba,
210
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
211
>gdouble</a> factor);
213
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
214
>gdouble</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-distance">gimp_rgba_distance</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba1,
215
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba2);
216
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE:CAPS">GIMP_RGB_LUMINANCE</a> (r,g,b)
217
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-RED:CAPS">GIMP_RGB_LUMINANCE_RED</a>
218
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-GREEN:CAPS">GIMP_RGB_LUMINANCE_GREEN</a>
219
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-BLUE:CAPS">GIMP_RGB_LUMINANCE_BLUE</a>
220
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY:CAPS">GIMP_RGB_INTENSITY</a> (r,g,b)
221
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-RED:CAPS">GIMP_RGB_INTENSITY_RED</a>
222
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-GREEN:CAPS">GIMP_RGB_INTENSITY_GREEN</a>
223
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-BLUE:CAPS">GIMP_RGB_INTENSITY_BLUE</a>
224
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-RGB:CAPS">GIMP_TYPE_RGB</a>
225
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-PARAM-RGB:CAPS">GIMP_TYPE_PARAM_RGB</a>
227
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
228
>GParamSpec</a>* <a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb">gimp_param_spec_rgb</a> (const <a
229
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
232
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
235
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
238
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
239
>gboolean</a> has_alpha,
240
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *default_value,
242
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
243
>GParamFlags</a> flags);
245
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
246
>gboolean</a> <a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-has-alpha">gimp_param_spec_rgb_has_alpha</a> (<a
247
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
248
>GParamSpec</a> *pspec);
249
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-VALUE-HOLDS-RGB:CAPS">GIMP_VALUE_HOLDS_RGB</a> (value)
250
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-get-rgb">gimp_value_get_rgb</a> (const <a
251
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
253
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
254
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-set-rgb">gimp_value_set_rgb</a> (<a
255
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
257
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);
44
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a>;
45
enum <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode" title="enum GimpRGBCompositeMode">GimpRGBCompositeMode</a>;
46
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set" title="gimp_rgb_set ()">gimp_rgb_set</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
50
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-alpha" title="gimp_rgb_set_alpha ()">gimp_rgb_set_alpha</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
52
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-uchar" title="gimp_rgb_set_uchar ()">gimp_rgb_set_uchar</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
56
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-get-uchar" title="gimp_rgb_get_uchar ()">gimp_rgb_get_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
60
gboolean <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name" title="gimp_rgb_parse_name ()">gimp_rgb_parse_name</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
63
gboolean <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-hex" title="gimp_rgb_parse_hex ()">gimp_rgb_parse_hex</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
66
gboolean <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-css" title="gimp_rgb_parse_css ()">gimp_rgb_parse_css</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
69
gint <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-list-names" title="gimp_rgb_list_names ()">gimp_rgb_list_names</a> (const gchar ***names,
70
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> **colors);
71
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-add" title="gimp_rgb_add ()">gimp_rgb_add</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
72
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb2);
73
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-subtract" title="gimp_rgb_subtract ()">gimp_rgb_subtract</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
74
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb2);
75
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-multiply" title="gimp_rgb_multiply ()">gimp_rgb_multiply</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
77
gdouble <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-distance" title="gimp_rgb_distance ()">gimp_rgb_distance</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
78
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb2);
79
gdouble <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-max" title="gimp_rgb_max ()">gimp_rgb_max</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
80
gdouble <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-min" title="gimp_rgb_min ()">gimp_rgb_min</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
81
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-clamp" title="gimp_rgb_clamp ()">gimp_rgb_clamp</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
82
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-gamma" title="gimp_rgb_gamma ()">gimp_rgb_gamma</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb,
84
gdouble <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance" title="gimp_rgb_luminance ()">gimp_rgb_luminance</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
85
guchar <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance-uchar" title="gimp_rgb_luminance_uchar ()">gimp_rgb_luminance_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
86
gdouble <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity" title="gimp_rgb_intensity ()">gimp_rgb_intensity</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
87
guchar <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity-uchar" title="gimp_rgb_intensity_uchar ()">gimp_rgb_intensity_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
88
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-composite" title="gimp_rgb_composite ()">gimp_rgb_composite</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *color1,
89
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *color2,
90
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode" title="enum GimpRGBCompositeMode">GimpRGBCompositeMode</a> mode);
91
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set" title="gimp_rgba_set ()">gimp_rgba_set</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba,
96
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set-uchar" title="gimp_rgba_set_uchar ()">gimp_rgba_set_uchar</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba,
101
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-get-uchar" title="gimp_rgba_get_uchar ()">gimp_rgba_get_uchar</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba,
106
gboolean <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-parse-css" title="gimp_rgba_parse_css ()">gimp_rgba_parse_css</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba,
109
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-add" title="gimp_rgba_add ()">gimp_rgba_add</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba1,
110
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba2);
111
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-subtract" title="gimp_rgba_subtract ()">gimp_rgba_subtract</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba1,
112
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba2);
113
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-multiply" title="gimp_rgba_multiply ()">gimp_rgba_multiply</a> (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba,
115
gdouble <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-distance" title="gimp_rgba_distance ()">gimp_rgba_distance</a> (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba1,
116
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba2);
117
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE:CAPS" title="GIMP_RGB_LUMINANCE()">GIMP_RGB_LUMINANCE</a> (r,g,b)
118
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-RED:CAPS" title="GIMP_RGB_LUMINANCE_RED">GIMP_RGB_LUMINANCE_RED</a>
119
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-GREEN:CAPS" title="GIMP_RGB_LUMINANCE_GREEN">GIMP_RGB_LUMINANCE_GREEN</a>
120
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-BLUE:CAPS" title="GIMP_RGB_LUMINANCE_BLUE">GIMP_RGB_LUMINANCE_BLUE</a>
121
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY:CAPS" title="GIMP_RGB_INTENSITY()">GIMP_RGB_INTENSITY</a> (r,g,b)
122
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-RED:CAPS" title="GIMP_RGB_INTENSITY_RED">GIMP_RGB_INTENSITY_RED</a>
123
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-GREEN:CAPS" title="GIMP_RGB_INTENSITY_GREEN">GIMP_RGB_INTENSITY_GREEN</a>
124
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-BLUE:CAPS" title="GIMP_RGB_INTENSITY_BLUE">GIMP_RGB_INTENSITY_BLUE</a>
125
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-RGB:CAPS" title="GIMP_TYPE_RGB">GIMP_TYPE_RGB</a>
126
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-PARAM-RGB:CAPS" title="GIMP_TYPE_PARAM_RGB">GIMP_TYPE_PARAM_RGB</a>
127
GParamSpec* <a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb" title="gimp_param_spec_rgb ()">gimp_param_spec_rgb</a> (const gchar *name,
131
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *default_value,
133
gboolean <a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-has-alpha" title="gimp_param_spec_rgb_has_alpha ()">gimp_param_spec_rgb_has_alpha</a> (GParamSpec *pspec);
134
#define <a class="link" href="libgimpcolor-GimpRGB.html#GIMP-VALUE-HOLDS-RGB:CAPS" title="GIMP_VALUE_HOLDS_RGB()">GIMP_VALUE_HOLDS_RGB</a> (value)
135
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-get-rgb" title="gimp_value_get_rgb ()">gimp_value_get_rgb</a> (const GValue *value,
136
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
137
void <a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-set-rgb" title="gimp_value_set_rgb ()">gimp_value_set_rgb</a> (GValue *value,
138
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);
261
141
<div class="refsect1" lang="en">
262
<a name="id2619886"></a><h2>Description</h2>
142
<a name="libgimpcolor-GimpRGB.description"></a><h2>Description</h2>
264
144
Definitions and Functions relating to RGB colors.
267
147
<div class="refsect1" lang="en">
268
<a name="id2619900"></a><h2>Details</h2>
148
<a name="libgimpcolor-GimpRGB.details"></a><h2>Details</h2>
269
149
<div class="refsect2" lang="en">
270
<a name="id2619909"></a><h3>
271
<a name="GimpRGB"></a>GimpRGB</h3>
272
<a class="indexterm" name="id2619920"></a><pre class="programlisting">typedef struct {
150
<a name="GimpRGB"></a><h3>GimpRGB</h3>
151
<pre class="programlisting">typedef struct {
273
152
gdouble r, g, b, a;
683
497
<div class="refsect2" lang="en">
684
<a name="id2621085"></a><h3>
685
<a name="gimp-rgb-add"></a>gimp_rgb_add ()</h3>
686
<a class="indexterm" name="id2621096"></a><pre class="programlisting">void gimp_rgb_add (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
687
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb2);</pre>
691
<div class="variablelist"><table border="0">
692
<col align="left" valign="top">
695
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
700
<td><p><span class="term"><em class="parameter"><code>rgb2</code></em> :</span></p></td>
710
<div class="refsect2" lang="en">
711
<a name="id2621156"></a><h3>
712
<a name="gimp-rgb-subtract"></a>gimp_rgb_subtract ()</h3>
713
<a class="indexterm" name="id2621166"></a><pre class="programlisting">void gimp_rgb_subtract (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
714
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb2);</pre>
718
<div class="variablelist"><table border="0">
719
<col align="left" valign="top">
722
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
727
<td><p><span class="term"><em class="parameter"><code>rgb2</code></em> :</span></p></td>
737
<div class="refsect2" lang="en">
738
<a name="id2621226"></a><h3>
739
<a name="gimp-rgb-multiply"></a>gimp_rgb_multiply ()</h3>
740
<a class="indexterm" name="id2621237"></a><pre class="programlisting">void gimp_rgb_multiply (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
742
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
743
>gdouble</a> factor);</pre>
747
<div class="variablelist"><table border="0">
748
<col align="left" valign="top">
751
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
756
<td><p><span class="term"><em class="parameter"><code>factor</code></em> :</span></p></td>
766
<div class="refsect2" lang="en">
767
<a name="id2621296"></a><h3>
768
<a name="gimp-rgb-distance"></a>gimp_rgb_distance ()</h3>
769
<a class="indexterm" name="id2621307"></a><pre class="programlisting"><a
770
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
771
>gdouble</a> gimp_rgb_distance (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb1,
772
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb2);</pre>
776
<div class="variablelist"><table border="0">
777
<col align="left" valign="top">
780
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
785
<td><p><span class="term"><em class="parameter"><code>rgb2</code></em> :</span></p></td>
790
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
800
<div class="refsect2" lang="en">
801
<a name="id2621376"></a><h3>
802
<a name="gimp-rgb-max"></a>gimp_rgb_max ()</h3>
803
<a class="indexterm" name="id2621387"></a><pre class="programlisting"><a
804
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
805
>gdouble</a> gimp_rgb_max (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);</pre>
809
<div class="variablelist"><table border="0">
810
<col align="left" valign="top">
813
<td><p><span class="term"><em class="parameter"><code>rgb</code></em> :</span></p></td>
818
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
828
<div class="refsect2" lang="en">
829
<a name="id2621437"></a><h3>
830
<a name="gimp-rgb-min"></a>gimp_rgb_min ()</h3>
831
<a class="indexterm" name="id2621448"></a><pre class="programlisting"><a
832
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
833
>gdouble</a> gimp_rgb_min (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);</pre>
837
<div class="variablelist"><table border="0">
838
<col align="left" valign="top">
841
<td><p><span class="term"><em class="parameter"><code>rgb</code></em> :</span></p></td>
846
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
856
<div class="refsect2" lang="en">
857
<a name="id2621498"></a><h3>
858
<a name="gimp-rgb-clamp"></a>gimp_rgb_clamp ()</h3>
859
<a class="indexterm" name="id2621508"></a><pre class="programlisting">void gimp_rgb_clamp (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);</pre>
498
<a name="gimp-rgb-add"></a><h3>gimp_rgb_add ()</h3>
499
<pre class="programlisting">void gimp_rgb_add (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
500
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb2);</pre>
504
<div class="variablelist"><table border="0">
505
<col align="left" valign="top">
508
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
513
<td><p><span class="term"><em class="parameter"><code>rgb2</code></em> :</span></p></td>
523
<div class="refsect2" lang="en">
524
<a name="gimp-rgb-subtract"></a><h3>gimp_rgb_subtract ()</h3>
525
<pre class="programlisting">void gimp_rgb_subtract (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
526
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb2);</pre>
530
<div class="variablelist"><table border="0">
531
<col align="left" valign="top">
534
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
539
<td><p><span class="term"><em class="parameter"><code>rgb2</code></em> :</span></p></td>
549
<div class="refsect2" lang="en">
550
<a name="gimp-rgb-multiply"></a><h3>gimp_rgb_multiply ()</h3>
551
<pre class="programlisting">void gimp_rgb_multiply (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
552
gdouble factor);</pre>
556
<div class="variablelist"><table border="0">
557
<col align="left" valign="top">
560
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
565
<td><p><span class="term"><em class="parameter"><code>factor</code></em> :</span></p></td>
575
<div class="refsect2" lang="en">
576
<a name="gimp-rgb-distance"></a><h3>gimp_rgb_distance ()</h3>
577
<pre class="programlisting">gdouble gimp_rgb_distance (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb1,
578
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb2);</pre>
582
<div class="variablelist"><table border="0">
583
<col align="left" valign="top">
586
<td><p><span class="term"><em class="parameter"><code>rgb1</code></em> :</span></p></td>
591
<td><p><span class="term"><em class="parameter"><code>rgb2</code></em> :</span></p></td>
596
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
606
<div class="refsect2" lang="en">
607
<a name="gimp-rgb-max"></a><h3>gimp_rgb_max ()</h3>
608
<pre class="programlisting">gdouble gimp_rgb_max (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);</pre>
612
<div class="variablelist"><table border="0">
613
<col align="left" valign="top">
616
<td><p><span class="term"><em class="parameter"><code>rgb</code></em> :</span></p></td>
621
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
631
<div class="refsect2" lang="en">
632
<a name="gimp-rgb-min"></a><h3>gimp_rgb_min ()</h3>
633
<pre class="programlisting">gdouble gimp_rgb_min (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);</pre>
637
<div class="variablelist"><table border="0">
638
<col align="left" valign="top">
641
<td><p><span class="term"><em class="parameter"><code>rgb</code></em> :</span></p></td>
646
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
656
<div class="refsect2" lang="en">
657
<a name="gimp-rgb-clamp"></a><h3>gimp_rgb_clamp ()</h3>
658
<pre class="programlisting">void gimp_rgb_clamp (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgb);</pre>
863
662
<div class="variablelist"><table border="0">
864
663
<col align="left" valign="top">
866
<td><p><span class="term"><em class="parameter"><code>rgb</code></em> :</span></p></td>
665
<td><p><span class="term"><em class="parameter"><code>rgb</code></em> :</span></p></td>
1283
1028
<div class="refsect2" lang="en">
1284
<a name="id2622639"></a><h3>
1285
<a name="gimp-rgba-add"></a>gimp_rgba_add ()</h3>
1286
<a class="indexterm" name="id2622652"></a><pre class="programlisting">void gimp_rgba_add (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba1,
1287
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba2);</pre>
1291
<div class="variablelist"><table border="0">
1292
<col align="left" valign="top">
1295
<td><p><span class="term"><em class="parameter"><code>rgba1</code></em> :</span></p></td>
1300
<td><p><span class="term"><em class="parameter"><code>rgba2</code></em> :</span></p></td>
1310
<div class="refsect2" lang="en">
1311
<a name="id2622719"></a><h3>
1312
<a name="gimp-rgba-subtract"></a>gimp_rgba_subtract ()</h3>
1313
<a class="indexterm" name="id2622733"></a><pre class="programlisting">void gimp_rgba_subtract (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba1,
1314
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba2);</pre>
1318
<div class="variablelist"><table border="0">
1319
<col align="left" valign="top">
1322
<td><p><span class="term"><em class="parameter"><code>rgba1</code></em> :</span></p></td>
1327
<td><p><span class="term"><em class="parameter"><code>rgba2</code></em> :</span></p></td>
1337
<div class="refsect2" lang="en">
1338
<a name="id2622800"></a><h3>
1339
<a name="gimp-rgba-multiply"></a>gimp_rgba_multiply ()</h3>
1340
<a class="indexterm" name="id2622813"></a><pre class="programlisting">void gimp_rgba_multiply (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba,
1342
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1343
>gdouble</a> factor);</pre>
1347
<div class="variablelist"><table border="0">
1348
<col align="left" valign="top">
1351
<td><p><span class="term"><em class="parameter"><code>rgba</code></em> :</span></p></td>
1356
<td><p><span class="term"><em class="parameter"><code>factor</code></em> :</span></p></td>
1366
<div class="refsect2" lang="en">
1367
<a name="id2622880"></a><h3>
1368
<a name="gimp-rgba-distance"></a>gimp_rgba_distance ()</h3>
1369
<a class="indexterm" name="id2622894"></a><pre class="programlisting"><a
1370
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1371
>gdouble</a> gimp_rgba_distance (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba1,
1372
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgba2);</pre>
1376
<div class="variablelist"><table border="0">
1377
<col align="left" valign="top">
1380
<td><p><span class="term"><em class="parameter"><code>rgba1</code></em> :</span></p></td>
1385
<td><p><span class="term"><em class="parameter"><code>rgba2</code></em> :</span></p></td>
1390
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1400
<div class="refsect2" lang="en">
1401
<a name="id2622971"></a><h3>
1402
<a name="GIMP-RGB-LUMINANCE:CAPS"></a>GIMP_RGB_LUMINANCE()</h3>
1403
<a class="indexterm" name="id2622985"></a><pre class="programlisting">#define GIMP_RGB_LUMINANCE(r,g,b)</pre>
1407
<div class="variablelist"><table border="0">
1408
<col align="left" valign="top">
1411
<td><p><span class="term"><em class="parameter"><code>r</code></em> :</span></p></td>
1416
<td><p><span class="term"><em class="parameter"><code>g</code></em> :</span></p></td>
1421
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
1431
<div class="refsect2" lang="en">
1432
<a name="id2623049"></a><h3>
1433
<a name="GIMP-RGB-LUMINANCE-RED:CAPS"></a>GIMP_RGB_LUMINANCE_RED</h3>
1434
<a class="indexterm" name="id2623062"></a><pre class="programlisting">#define GIMP_RGB_LUMINANCE_RED (0.2126)
1441
<div class="refsect2" lang="en">
1442
<a name="id2623078"></a><h3>
1443
<a name="GIMP-RGB-LUMINANCE-GREEN:CAPS"></a>GIMP_RGB_LUMINANCE_GREEN</h3>
1444
<a class="indexterm" name="id2623093"></a><pre class="programlisting">#define GIMP_RGB_LUMINANCE_GREEN (0.7152)
1451
<div class="refsect2" lang="en">
1452
<a name="id2623109"></a><h3>
1453
<a name="GIMP-RGB-LUMINANCE-BLUE:CAPS"></a>GIMP_RGB_LUMINANCE_BLUE</h3>
1454
<a class="indexterm" name="id2623123"></a><pre class="programlisting">#define GIMP_RGB_LUMINANCE_BLUE (0.0722)
1461
<div class="refsect2" lang="en">
1462
<a name="id2623139"></a><h3>
1463
<a name="GIMP-RGB-INTENSITY:CAPS"></a>GIMP_RGB_INTENSITY()</h3>
1464
<a class="indexterm" name="id2623155"></a><pre class="programlisting">#define GIMP_RGB_INTENSITY(r,g,b)</pre>
1029
<a name="gimp-rgba-add"></a><h3>gimp_rgba_add ()</h3>
1030
<pre class="programlisting">void gimp_rgba_add (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba1,
1031
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba2);</pre>
1035
<div class="variablelist"><table border="0">
1036
<col align="left" valign="top">
1039
<td><p><span class="term"><em class="parameter"><code>rgba1</code></em> :</span></p></td>
1044
<td><p><span class="term"><em class="parameter"><code>rgba2</code></em> :</span></p></td>
1054
<div class="refsect2" lang="en">
1055
<a name="gimp-rgba-subtract"></a><h3>gimp_rgba_subtract ()</h3>
1056
<pre class="programlisting">void gimp_rgba_subtract (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba1,
1057
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba2);</pre>
1061
<div class="variablelist"><table border="0">
1062
<col align="left" valign="top">
1065
<td><p><span class="term"><em class="parameter"><code>rgba1</code></em> :</span></p></td>
1070
<td><p><span class="term"><em class="parameter"><code>rgba2</code></em> :</span></p></td>
1080
<div class="refsect2" lang="en">
1081
<a name="gimp-rgba-multiply"></a><h3>gimp_rgba_multiply ()</h3>
1082
<pre class="programlisting">void gimp_rgba_multiply (<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba,
1083
gdouble factor);</pre>
1087
<div class="variablelist"><table border="0">
1088
<col align="left" valign="top">
1091
<td><p><span class="term"><em class="parameter"><code>rgba</code></em> :</span></p></td>
1096
<td><p><span class="term"><em class="parameter"><code>factor</code></em> :</span></p></td>
1106
<div class="refsect2" lang="en">
1107
<a name="gimp-rgba-distance"></a><h3>gimp_rgba_distance ()</h3>
1108
<pre class="programlisting">gdouble gimp_rgba_distance (const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba1,
1109
const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="GimpRGB">GimpRGB</a> *rgba2);</pre>
1113
<div class="variablelist"><table border="0">
1114
<col align="left" valign="top">
1117
<td><p><span class="term"><em class="parameter"><code>rgba1</code></em> :</span></p></td>
1122
<td><p><span class="term"><em class="parameter"><code>rgba2</code></em> :</span></p></td>
1127
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1137
<div class="refsect2" lang="en">
1138
<a name="GIMP-RGB-LUMINANCE:CAPS"></a><h3>GIMP_RGB_LUMINANCE()</h3>
1139
<pre class="programlisting">#define GIMP_RGB_LUMINANCE(r,g,b)</pre>
1143
<div class="variablelist"><table border="0">
1144
<col align="left" valign="top">
1147
<td><p><span class="term"><em class="parameter"><code>r</code></em> :</span></p></td>
1152
<td><p><span class="term"><em class="parameter"><code>g</code></em> :</span></p></td>
1157
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
1167
<div class="refsect2" lang="en">
1168
<a name="GIMP-RGB-LUMINANCE-RED:CAPS"></a><h3>GIMP_RGB_LUMINANCE_RED</h3>
1169
<pre class="programlisting">#define GIMP_RGB_LUMINANCE_RED (0.2126)
1176
<div class="refsect2" lang="en">
1177
<a name="GIMP-RGB-LUMINANCE-GREEN:CAPS"></a><h3>GIMP_RGB_LUMINANCE_GREEN</h3>
1178
<pre class="programlisting">#define GIMP_RGB_LUMINANCE_GREEN (0.7152)
1185
<div class="refsect2" lang="en">
1186
<a name="GIMP-RGB-LUMINANCE-BLUE:CAPS"></a><h3>GIMP_RGB_LUMINANCE_BLUE</h3>
1187
<pre class="programlisting">#define GIMP_RGB_LUMINANCE_BLUE (0.0722)
1194
<div class="refsect2" lang="en">
1195
<a name="GIMP-RGB-INTENSITY:CAPS"></a><h3>GIMP_RGB_INTENSITY()</h3>
1196
<pre class="programlisting">#define GIMP_RGB_INTENSITY(r,g,b)</pre>
1465
1197
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1466
1198
<h3 class="title">Warning</h3>
1467
1199
<p><code class="literal">GIMP_RGB_INTENSITY</code> is deprecated and should not be used in newly-written code.</p>