diff options
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 be5dc3d..98d1530 100644 --- a/libdimension/dimension/color.h +++ b/libdimension/dimension/color.h @@ -91,5 +91,7 @@ dmnsn_color dmnsn_filter_light(dmnsn_color light, dmnsn_color filter); dmnsn_color dmnsn_apply_translucency(dmnsn_color filtered, dmnsn_color filter); /** Add the background contribution of \p color to \p filter. */ dmnsn_color dmnsn_apply_filter(dmnsn_color color, dmnsn_color filter); +/** Convert the color into a close equivalent with only transmittance. */ +dmnsn_color dmnsn_remove_filter(dmnsn_color color); /** Illuminate \p color with \p light. */ dmnsn_color dmnsn_color_illuminate(dmnsn_color light, dmnsn_color color); |