Quoting Ville Syrj�l� ([EMAIL PROTECTED]):
> On Sat, Apr 05, 2003 at 09:58:13PM +0200, Denis Oliver Kropp wrote:
> > 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.
>
> Maybe I misunderstood what you just said... You want to honour the color
> alpha with DSDRAW_NOFX?
>
> Or were you talking about the source alpha? I don't see a problem with
> source alpha but then again I'm not very familiar with that code.
> To me it looks lile for DSDRAW_NOFX we should use
> DSBLIT_BLEND_ALPHACHANNEL just like before.
> For DSDRAW_BLEND both DSBLIT_BLEND_ALPHACHANNEL and
> DSBLIT_BLEND_COLORALPHA should be set. AFAICS this
> should make the code use Dacc_modulate_alpha().
The DSDRAW_BLEND case should be added to the code
but I'm not sure about the other flags.
--
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.