Draw LATIN1 text in shaded mode.
This function returns the new surface, or NULL if there was an error.
Shaded
Slow and Nice, but with a Solid Box
Create an 8-bit palettized surface and render the given text at high quality with the given font and colors. The 0 pixel value is background, while other pixels have varying degrees of the foreground color from the background color. This results in a box of the background color around the text in the foreground color. The text is antialiased. This will render slower than Solid, but in about the same time as Blended mode. The resulting surface should blit as fast as Solid, once it is made. Use this when you need nice text, and can live with a box...
Binds to C-function in SDL_ttf.h
SDL_Surface * TTF_RenderText_Shaded(TTF_Font *font, const char *text, SDL_Color fg, SDL_Color bg)
SdlTtf Class | Tao.Sdl Namespace | TTF_SizeText | TTF_RenderText_Solid | TTF_RenderUTF8_Shaded | TTF_RenderUNICODE_Shaded | TTF_RenderGlyph_Shaded | TTF_RenderText_Blended