Gorgon Game Engine
Font.h File Reference
Include dependency graph for Font.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BasicFont
 This is the basic font, performing the minimal amount of operations necessary to render text on the screen. More...
 
class  GlyphRange
 This class represents a range of glyphs. Both start and end is included. More...
 
class  GlyphRenderer
 Should be implemented by the systems aimed to render fonts on the screen. More...
 
class  StyledRenderer
 This text renderer can style text according to the set parameters. More...
 
class  TextRenderer
 This class allows printing text on the screen. More...
 
class  TextShadow
 Describes how a text shadow should be. More...
 

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Graphics
 Contains generic 2D graphics related data structures and functions.
 
 Gorgon::Graphics::internal
 Functions inside this namespace is designed for internal use, however, they might be used externally and will not have any impact on inner workings of the system.
 

Typedefs

using Glyph = Gorgon::Char
 Glyph is a symbol for a character. In Gorgon, glyphs are UTF32 chars. More...
 

Functions

int ceildiv (int v, float f)
 
Glyph decode (std::string::const_iterator &it, std::string::const_iterator end)
 Decodes a utf-8 character from the given iterator. More...
 
bool isadjustablespace (Glyph g)
 
bool isbreaking (Glyph g)
 
bool isnewline (Glyph g)
 
bool isspace (Glyph g)
 
bool isspaced (Glyph g)
 
int rounddiv (int v, float f)