The Battle for Wesnoth  1.17.0-dev
Classes | Namespaces | Functions
text.hpp File Reference
#include "font/font_options.hpp"
#include "color.hpp"
#include "sdl/surface.hpp"
#include "serialization/string_utils.hpp"
#include <pango/pango.h>
#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
 Collection of helper functions relating to Pango formatting.
 

Functions

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...