> > 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?
Anyone else experiencing a similar problem? Seems to work
fine for me here.. the text 'shadow color setting' that is.
Recall that all colors that you give to evas as inputs should
be "alpha premultiplied" (meaning that: a >= r,g,b). Use the above
mentioned function if you want the 'standard' way of converting a
non-premul color to one which is.. but beware not to premul twice,
or your colors could get darker and more transparent if they have
alpha.
A bit back I actually sent Brian (aka. rephorm) a small quick
patch to add just such an alpha component to e17's color picker.
If etk's is similar to e17's, then you may want to check with him
about it (he wrote e17's) and see if it might help with doing the
same for etk's. I could also send you that e17 patch (if I can find
it) if you think that it might help.
jose.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel