GG
Classes | Namespaces | Functions
Font.h File Reference
#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>

Go to the source code of this file.

Classes

class  GG::Font
 
class  GG::Font::Substring
 
struct  GG::Font::TextElement
 
struct  GG::Font::FormattingTag
 
struct  GG::Font::LineData
 
struct  GG::Font::LineData::CharData
 
struct  GG::Font::RenderState
 
class  GG::FontManager
 

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)
 

Detailed Description

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.