Finished gtk-docs. The docs for these could perhaps include formulae, but

2003-11-08  Dave Neary  <bolsh@gimp.org>

	* libgimpcolor/gimpcolorspace.c: Finished gtk-docs. The docs for
	these could perhaps include formulae, but for most of the
	colorspaces that would be the same thing as copying the code
	into a comment, which seems pointless.
This commit is contained in:
Dave Neary 2003-11-08 21:26:21 +00:00 committed by David Neary
parent b56c5c0c77
commit d38d969e90
2 changed files with 24 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2003-11-08 Dave Neary <bolsh@gimp.org>
* libgimpcolor/gimpcolorspace.c: Finished gtk-docs. The docs for
these could perhaps include formulae, but for most of the
colorspaces that would be the same thing as copying the code
into a comment, which seems pointless.
2003-11-08 Sven Neumann <sven@gimp.org>
* app/widgets/gimptemplateeditor.c: don't show a radio button for

View file

@ -933,6 +933,14 @@ gimp_cmyk_to_rgb_int (gint *cyan,
*yellow = 255 - y;
}
/**
* gimp_rgb_to_hsv4:
* @rgb: RGB triplet, rgb[0] is red channel, rgb[1] is green,
* rgb[2] is blue (0..255)
* @hue: Pointer to hue channel (0..1)
* @saturation: Pointer to saturation channel (0..1)
* @value: Pointer to value channel (0..1)
**/
void
gimp_rgb_to_hsv4 (guchar *rgb,
@ -998,6 +1006,15 @@ gimp_rgb_to_hsv4 (guchar *rgb,
*value = v;
}
/**
* gimp_hsv_to_rgb4:
* @rgb: RGB triplet, rgb[0] is red channel, rgb[1] is green,
* rgb[2] is blue (0..255)
* @hue: Hue channel (0..1)
* @saturation: Saturation channel (0..1)
* @value: Value channel (0..1)
**/
void
gimp_hsv_to_rgb4 (guchar *rgb,
gdouble hue,