Quoting Ville Syrj�l� ([EMAIL PROTECTED]):
> On Sat, Apr 05, 2003 at 09:05:01PM +0200, Denis Oliver Kropp wrote:
> > Quoting Ben Lamb ([EMAIL PROTECTED]):
> > > Is it possible to draw translucent text in DirectFB?
> >
> > The current implementation ignores the alpha value,
> > but the implementation should be changed to the behaviour
> > you expected.
>
> What did you have in mind? Check the DSDRAW_BLEND flag in
> dfb_gfxcard_draw{string,glyph}() functions and add the
> DSBLIT_BLEND_COLORALPHA flag to the font state?
That should also be possible, but more important is honoring
the alpha value with DSDRAW_NOFX. RGB values should be modified
like before but the written alpha value should be influenced.
> What about the other DSDRAW_ flags? Judging from the descriptions in the
> header all but DSDRAW_XOR have a direct mapping to DSBLIT_ flags.
I'm not sure if the results always make sense and the code
that does the translation of all flags seems to be an overhead.
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
Convergence GmbH
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.