Hi, "SINGODIWIRJO Hermantino" <[EMAIL PROTECTED]> writes:
> I've got a surface on which I've drawn a gray filled rectangle. > > If I do a Getsurface on it and then render a transparent PNG on it, > the transparent part of the PNG erases the gray color. > > So if the PNG is perfectly rectangular there is no problem, but if > it isn't how can I do to keep my color under the transparent PNG ? You create an ARGB surface the size of the image, render to it, then blit the surface using DSBLIT_BLEND_ALPHACHANNEL. Sven -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
