The Battle for Wesnoth  1.19.7+dev
Classes | Namespaces | Functions
text.hpp File Reference
#include "font/font_options.hpp"
#include "color.hpp"
#include "sdl/surface.hpp"
#include "sdl/texture.hpp"
#include "serialization/string_utils.hpp"
#include <pango/pangocairo.h>
#include <functional>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for text.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  font::pango_text
 Text class. More...
 

Namespaces

 font
 Graphical text output.
 

Functions

void font::flush_texture_cache ()
 Flush the rendered text cache. More...
 
pango_text & font::get_text_renderer ()
 Returns a reference to a static pango_text object. More...
 
int font::get_max_height (unsigned size, font::family_class fclass=font::FONT_SANS_SERIF, pango_text::FONT_STYLE style=pango_text::STYLE_NORMAL)
 Returns the maximum glyph height of a font, in pixels. More...
 
constexpr float font::get_line_spacing_factor ()