Hi,

I followed the guidelines for alpha blending in the DirectFB wiki and I
can successfully render a transparent rectangle on top of my primary
surface.

No I've been banging my head in the wall conserning the case where I 
load an image using the ImageProvider and then I need to render this 
image on top of stuff already displaying on the primary surface.

Currently I have three surfaces. One onto which I render my image using
the provider. On temporary surface where I build up things I want to
display on the screen and the primary surface.

So when I use FillRectangle on the temporary surface using a transparent
color and then blit this to the primary surface I get nice alpha
blending but when I blit the surface onto which I rendered the image
onto the temp. surface and then the tmp. surface to the main surface I
get no alpha blending.

I've tried looking for information regarding this but I don't seem to
find anything useful. Does anyone have any good resources I can check
out or any clues what I might be doing wrong?

br, Kim

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to