Function init

Wraps TTF_Init which initializes SDL2_ttf

void init() @trusted;

Throws

dsdl2.SDLException if failed to initialize

Example

dsdl2.ttf.init();