SDL_ttf library wrapper.
Loads the SDL_ttf library.
SDL_ttf loaded font wrapper.
Loads a font from a file.
SDLTTF sdlttf | library object. |
string filename | path of the font file. |
int ptSize | font size in 72 dpi ("This basically translates to pixel height" says the doc). |
Set font style.
Set font hinting.
Set font outline.
Enables/Disables font kerning.
Create a 32-bit ARGB surface and render the given character at high quality,
using alpha blending to dither the font with the given color.
Create a 32-bit ARGB surface and render the given text at high quality,
using alpha blending to dither the font with the given color.
Create an 8-bit palettized surface and render the given text at fast
quality with the given font and color.
Create an 8-bit palettized surface and render the given text at high
quality with the given font and colors.
Create a 32-bit ARGB surface and render the given text at high quality,
using alpha blending to dither the font with the given color.
Uses multi-line text wrapping.