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.
I'm using DirectFB 0.9.17, DFB++ 0.9.15 and a VESA Framebuffer.
Thanks,
Ben Lamb.
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.