From 5d4c95d975b78b1cd2173f169c5f960a3c4979a3 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 Sep 2011 06:05:33 +0000 Subject: [PATCH] fix ambiguous docs and add notes about premultiplied coloring books SVN revision: 63715 --- legacy/evas/src/lib/Evas.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/legacy/evas/src/lib/Evas.h b/legacy/evas/src/lib/Evas.h index 676c5c2..635bd08 100644 --- a/legacy/evas/src/lib/Evas.h +++ b/legacy/evas/src/lib/Evas.h @@ -3331,6 +3331,7 @@ EAPI Eina_Bool evas_object_visible_get (const Evas_Object *obj * @param a The alpha component of the given color. * * @see evas_object_color_get() (for an example) + * @note These color values are expected to be premultiplied by @p a. * * @ingroup Evas_Object_Group_Basic */ @@ -3351,8 +3352,9 @@ EAPI void evas_object_color_set (Evas_Object *obj, int * * Retrieves the “main” color's RGB component (and alpha channel) * values, which range from 0 to 255. For the alpha channel, - * which defines the object's transparency level, the former value - * means totally trasparent, while the latter means opaque. + * which defines the object's transparency level, 0 means totally + * trasparent, while 255 means opaque. These color values are + * premultiplied by the alpha value. * * Usually you’ll use this attribute for text and rectangle objects, * where the “main” color is their unique one. If set for objects -- 2.7.4