Unfortunately, there is no support for text drawing on RGBA surfaces. The only way to handle this is to create your own font renderer and locking surfaces.
Thanks for your prompt reply. Just for curiosity's sake: why isn't this feature included in edgelib? I mean, if it's already implemented for RGB surfaces, isn't it the same algorithm for RGBA ones?
The main difference in blitting RGBA to RGBA would be the included alpha channel. To handle this, two options would be necessary:
- Blitting straight onto the RGBA surface, including the alpha channel (a simple memory copy)
- Read the alpha channel and 'blend them' somehow onto the destination surface
Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum