Quoting Ben Lamb ([EMAIL PROTECTED]):
> Is it possible to draw translucent text in DirectFB?
> 
>         surface->SetDrawingFlags(DSDRAW_BLEND);
>         surface->SetColor(0, 0xd0, 0, 0xa0);
>         surface->FillRectangle(500, 500, 100, 100);
>         surface->DrawString("Hello", -1, 10, 100, DSTF_LEFT );
> 
> When I run the above on a window with alpha blending capabilities and an image 
> drawn onto it I see a translucent green rectangle as desired but opaque green 
> text.

The current implementation ignores the alpha value,
but the implementation should be changed to the behaviour
you expected.

-- 
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-users" as subject.

Reply via email to