summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-04-22 12:23:25 -0400
committerTavian Barnes <tavianator@gmail.com>2011-04-22 12:23:25 -0400
commit1208ac55766e410f7cac3ad9d6cf588e7846ca64 (patch)
tree3ab0da80e8724fc51c8294f90b34ab8afc3d528e /libdimension/dimension
parenta7cd3703ea1ff4686d49888f014c746b56411fdf (diff)
downloaddimension-1208ac55766e410f7cac3ad9d6cf588e7846ca64.tar.xz
Take into account color intensity for filtered transparency in canvas export.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/color.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/dimension/color.h b/libdimension/dimension/color.h
index c9d777b..887c2c7 100644
--- a/libdimension/dimension/color.h
+++ b/libdimension/dimension/color.h
@@ -121,6 +121,8 @@ dmnsn_CIE_Luv dmnsn_Luv_from_color(dmnsn_color color, dmnsn_CIE_XYZ white);
/* Perceptual color manipulation */
+/** Greyscale color intensity. */
+double dmnsn_color_intensity(dmnsn_color color);
/** Add two colors together. */
dmnsn_color dmnsn_color_add(dmnsn_color color1, dmnsn_color color2);
/** Multiply a color's intensity by \p n. */