[SDL] Transparent Font Rendering
skinncode at centras.lt
Thu Mar 22 03:39:00 PST 2001
On Thursday 22 March 2001 18:15, you wrote:
> > Hello everybody,
> > I have a simple question. I'm using SDL_ttf to render ttf fonts. It works
> > fine, except that i must set a bg color when rendering but i it to be
> > transparent. How to do so? If that is possible, of course.
> Set a color and then use that color to set a colorkey on the surface.
> I think there's an example of that in the showfont program included
> with the library.
> See ya,
I know, but what if i want to blit it on some background image, not a solid
And i have one more question I don't know if it's a right place to ask, but
does SDL_image support transparent .png? I get a black background instead
when i blit it ...
More information about the SDL