added a GIMP_RGB prefix to the INTENSITY macros.

2003-11-17  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.[ch]: added a GIMP_RGB prefix to the
	INTENSITY macros.

	* libgimp/gimpcompat.h: document this change here.

	* app/base/colorize.c
	* app/base/temp-buf.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage.c
	* plug-ins/common/aa.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/colorify.c
	* plug-ins/common/displace.c
	* plug-ins/common/engrave.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/oilify.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/pagecurl/pagecurl.c: changed accordingly.

	* libgimpcolor/gimpcolor.h: removed trailing whitespace.

	* app/paint-funcs/paint-funcs.c: fixed indentation.
This commit is contained in:
Sven Neumann
2003-11-17 14:58:31 +00:00
committed by Sven Neumann
parent dab006d51d
commit e4c5b6b0ca
25 changed files with 159 additions and 103 deletions

View File

@ -69,10 +69,10 @@ gimp_rgba_add
gimp_rgba_subtract
gimp_rgba_multiply
gimp_rgba_distance
INTENSITY_RED
INTENSITY_GREEN
INTENSITY_BLUE
INTENSITY
GIMP_RGB_INTENSITY
GIMP_RGB_INTENSITY_RED
GIMP_RGB_INTENSITY_GREEN
GIMP_RGB_INTENSITY_BLUE
</SECTION>
<SECTION>

View File

@ -248,34 +248,35 @@ GimpRGB
@Returns:
<!-- ##### MACRO INTENSITY_RED ##### -->
<!-- ##### MACRO GIMP_RGB_INTENSITY_RED ##### -->
<para>
</para>
<!-- ##### MACRO INTENSITY_GREEN ##### -->
<!-- ##### MACRO GIMP_RGB_INTENSITY_GREEN ##### -->
<para>
</para>
<!-- ##### MACRO INTENSITY_BLUE ##### -->
<!-- ##### MACRO GIMP_RGB_INTENSITY_BLUE ##### -->
<para>
</para>
<!-- ##### MACRO INTENSITY ##### -->
<!-- ##### MACRO GIMP_RGB_INTENSITY ##### -->
<para>
This macro calculates the intensity of an RGB value based on
coefficients taken from the NTSC analog television standard.
</para>
@r:
@g:
@b:
@r: red
@g: green
@b: blue