GG
|
Contains the Font class, a class that encapsulates the rendering of a single FreeType-compatible font in italics, with underlining, left-, right-, or center- justified, etc., and the FontManager class which provides application-wide management of Font objects. More...
#include <GG/AlignmentFlags.h>
#include <GG/FontFwd.h>
#include <GG/Texture.h>
#include <GG/UnicodeCharsets.h>
#include <set>
#include <stack>
#include <boost/unordered_map.hpp>
#include <boost/serialization/access.hpp>
Go to the source code of this file.
Classes | |
class | GG::Font |
A bitmapped font rendering class. More... | |
class | GG::Font::Substring |
A range of iterators into a std::string that defines a substring found in a string being rendered by Font. More... | |
struct | GG::Font::TextElement |
Used to encapsulate a token-like piece of text to be rendered using GG::Font. More... | |
struct | GG::Font::FormattingTag |
The type of TextElement that represents a text formatting tag. More... | |
struct | GG::Font::LineData |
Holds the essential data on each line that a string occupies when rendered with given format flags. More... | |
struct | GG::Font::LineData::CharData |
Contains the extent, the index into the original string, and the text formatting tags that should be applied before rendering of a visible glyph. More... | |
struct | GG::Font::RenderState |
Holds the state of tags during rendering of text. More... | |
class | GG::FontManager |
A singleton that loads and stores fonts for use by GG. More... | |
Namespaces | |
namespace | GG |
Functions | |
GG_API std::string | GG::RgbaTag (const Clr &c) |
GG_API std::ostream & | GG::operator<< (std::ostream &os, const Font::Substring &substr) |
GG_API CPSize | GG::CodePointIndexOf (std::size_t line, CPSize index, const std::vector< Font::LineData > &line_data) |
GG_API StrSize | GG::StringIndexOf (std::size_t line, CPSize index, const std::vector< Font::LineData > &line_data) |
GG_API std::pair< std::size_t, CPSize > | GG::LinePositionOf (CPSize index, const std::vector< Font::LineData > &line_data) |
GG_API FontManager & | GG::GetFontManager () |
GG::GG_EXCEPTION (FailedFTLibraryInit) |
Contains the Font class, a class that encapsulates the rendering of a single FreeType-compatible font in italics, with underlining, left-, right-, or center- justified, etc., and the FontManager class which provides application-wide management of Font objects.
Definition in file Font.h.