summaryrefslogtreecommitdiffstats
path: root/libdimension/color.c
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/color.c
parenta7cd3703ea1ff4686d49888f014c746b56411fdf (diff)
downloaddimension-1208ac55766e410f7cac3ad9d6cf588e7846ca64.tar.xz
Take into account color intensity for filtered transparency in canvas export.
Diffstat (limited to 'libdimension/color.c')
-rw-r--r--libdimension/color.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/color.c b/libdimension/color.c
index 0b74adf..0af063f 100644
--- a/libdimension/color.c
+++ b/libdimension/color.c
@@ -326,8 +326,8 @@ dmnsn_Luv_from_color(dmnsn_color color, dmnsn_CIE_XYZ white)
return ret;
}
-/** Greyscale color intensity. */
-static double
+/* Greyscale color intensity */
+double
dmnsn_color_intensity(dmnsn_color color)
{
dmnsn_sRGB sRGB = dmnsn_sRGB_from_color(color);