Teek::SDL2::Font Class
TrueType font for GPU-accelerated text rendering via SDL2_ttf.
Fonts are loaded through Renderer#load_font and render text into
Texture objects that can be drawn with Renderer#copy.
C-defined methods
These are defined in the C extension (sdl2text.c):
#render_text— render a string to a new Texture#measure— measure text dimensions without rendering#destroy— close the font#destroyed?— check if the font has been closed
Inherits: Object