Nathan Ingersoll ha scritto: > On 1/17/07, DaveMDS <[EMAIL PROTECTED]> wrote: >> >> evas_object_color_set() don't draw the alpha in the right way: >> if the color is black the alpha are good, >> if the color is white the alpha never change until 0 is reached(and then >> disappear) >> >> Seems that evas always make the transparency on a white background. > > Sounds like you're not using pre-multiplied colors. Use > evas_color_argb_premul to convert your non-premul color to premul > before passing it to evas. > > It works well with evas_object_color_set but with evas_object_text_shadow_color_set ? It make the same error (in the shadow) also 'premuling' the color value. Have idea why?
thanks dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel