libwtk-sdl2  0.0.1
Public Member Functions | List of all members
font_word_cache Struct Reference

Public Member Functions

 font_word_cache (SDL_Renderer *renderer, font f)
 
 font_word_cache (font_word_cache const &)=delete
 
 font_word_cache (font_word_cache &&other)
 
std::tuple< vec, std::vector< copy_command > > text (std::string t, int max_line_width=-1)
 
vec text_size (std::string t, int max_line_width=-1)
 
int text_minimum_width (std::string t)
 
unsigned int font_height () const
 
int font_line_skip () const
 
void clear ()
 

The documentation for this struct was generated from the following file: