aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-09-16 22:25:13 +0300
committerEli Zaretskii2017-09-16 22:25:13 +0300
commit96aaeaaffac8a93d9c8126ba77ad217a3f323fce (patch)
treebd9d440486491db404f7ee6e9d9ce13c006bdade
parentc3df816585c6b8953fd4075cff894ec2d9ce0596 (diff)
downloademacs-96aaeaaffac8a93d9c8126ba77ad217a3f323fce.tar.gz
emacs-96aaeaaffac8a93d9c8126ba77ad217a3f323fce.zip
; * src/lcms.c: Minor stylistic changes in comments.
-rw-r--r--src/lcms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lcms.c b/src/lcms.c
index cdfbc0ecf99..f543a030399 100644
--- a/src/lcms.c
+++ b/src/lcms.c
@@ -102,7 +102,7 @@ DEFUN ("lcms-cie-de2000", Flcms_cie_de2000, Slcms_cie_de2000, 2, 5, 0,
102Each color is a list of L*a*b* coordinates, where the L* channel ranges from 102Each color is a list of L*a*b* coordinates, where the L* channel ranges from
1030 to 100, and the a* and b* channels range from -128 to 128. 1030 to 100, and the a* and b* channels range from -128 to 128.
104Optional arguments KL, KC, KH are weighting parameters for lightness, 104Optional arguments KL, KC, KH are weighting parameters for lightness,
105chroma, and hue, respectively. The parameters each default to 1. */) 105chroma, and hue, respectively. The parameters each default to 1. */)
106 (Lisp_Object color1, Lisp_Object color2, 106 (Lisp_Object color1, Lisp_Object color2,
107 Lisp_Object kL, Lisp_Object kC, Lisp_Object kH) 107 Lisp_Object kL, Lisp_Object kC, Lisp_Object kH)
108{ 108{
@@ -163,7 +163,7 @@ parse_xyz_list (Lisp_Object xyz_list, cmsCIEXYZ *color)
163DEFUN ("lcms-cam02-ucs", Flcms_cam02_ucs, Slcms_cam02_ucs, 2, 3, 0, 163DEFUN ("lcms-cam02-ucs", Flcms_cam02_ucs, Slcms_cam02_ucs, 2, 3, 0,
164 doc: /* Compute CAM02-UCS metric distance between COLOR1 and COLOR2. 164 doc: /* Compute CAM02-UCS metric distance between COLOR1 and COLOR2.
165Each color is a list of XYZ coordinates, with Y scaled about unity. 165Each color is a list of XYZ coordinates, with Y scaled about unity.
166Optional argument is the XYZ white point, which defaults to illuminant D65. */) 166Optional argument is the XYZ white point, which defaults to illuminant D65. */)
167 (Lisp_Object color1, Lisp_Object color2, Lisp_Object whitepoint) 167 (Lisp_Object color1, Lisp_Object color2, Lisp_Object whitepoint)
168{ 168{
169 cmsViewingConditions vc; 169 cmsViewingConditions vc;
@@ -239,7 +239,7 @@ Optional argument is the XYZ white point, which defaults to illuminant D65. */)
239 239
240DEFUN ("lcms-temp->white-point", Flcms_temp_to_white_point, Slcms_temp_to_white_point, 1, 1, 0, 240DEFUN ("lcms-temp->white-point", Flcms_temp_to_white_point, Slcms_temp_to_white_point, 1, 1, 0,
241 doc: /* Return XYZ black body chromaticity from TEMPERATURE given in K. 241 doc: /* Return XYZ black body chromaticity from TEMPERATURE given in K.
242Valid range of TEMPERATURE is from 4000K to 25000K. */) 242Valid range of TEMPERATURE is from 4000K to 25000K. */)
243 (Lisp_Object temperature) 243 (Lisp_Object temperature)
244{ 244{
245 cmsFloat64Number tempK; 245 cmsFloat64Number tempK;
@@ -292,7 +292,7 @@ void
292syms_of_lcms2 (void) 292syms_of_lcms2 (void)
293{ 293{
294 DEFVAR_LISP ("lcms-d65-xyz", Vlcms_d65_xyz, 294 DEFVAR_LISP ("lcms-d65-xyz", Vlcms_d65_xyz,
295 doc: /* D65 illuminant as a CIE XYZ triple. */); 295 doc: /* D65 illuminant as a CIE XYZ triple. */);
296 Vlcms_d65_xyz = list3 (make_float (0.950455), 296 Vlcms_d65_xyz = list3 (make_float (0.950455),
297 make_float (1.0), 297 make_float (1.0),
298 make_float (1.088753)); 298 make_float (1.088753));