diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-04-22 12:23:25 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-04-22 12:23:25 -0400 |
commit | 1208ac55766e410f7cac3ad9d6cf588e7846ca64 (patch) | |
tree | 3ab0da80e8724fc51c8294f90b34ab8afc3d528e /libdimension/dimension/color.h | |
parent | a7cd3703ea1ff4686d49888f014c746b56411fdf (diff) | |
download | dimension-1208ac55766e410f7cac3ad9d6cf588e7846ca64.tar.xz |
Take into account color intensity for filtered transparency in canvas export.
Diffstat (limited to 'libdimension/dimension/color.h')
-rw-r--r-- | libdimension/dimension/color.h | 2 |
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. */ |