![]() |
Blamite Game Engine - Blam (Core)
|
Structure to contain data for a Font. More...
#include <fonts.h>
Public Attributes | |
short | package_version |
The version of the font package. More... | |
std::string | package_engine_version |
The minimum engine version to support the font package version specified. More... | |
bool | is_font_package |
Whether or not the data originates from a font package. More... | |
int | ttf_offset |
The offset of the embedded TrueType font data within the font package. More... | |
int | ttf_length |
The length of the embedded TrueType font data. More... | |
std::string | id |
The unique ID of the font. More... | |
short | size |
The size of the font. More... | |
short | charspacing |
The amount of space, in pixels, between each character. More... | |
bool | monospaced |
Whether or not to treat the font as a monospace font. More... | |
short | mono_width |
The width for each character to be. Extra space will be left as needed if the glyph width is too small, and larger widths will be cut off. More... | |
short | space_width |
The amount of space, in pixels, to use for the space character. More... | |
short | line_height |
The amount of space, in pixels, between each line. More... | |
bool | is_truetype |
Whether or not the font is a TrueType based font. More... | |
std::string | ttf_path |
The path to the TrueType font file. More... | |
std::string | ttf_name |
The display name of the TrueType font file. TODO: Make this shit automated. More... | |
std::string | path |
The path of the font package, excluding the file extension. More... | |
std::string | file_path |
The path to either the font package or the fontinfo.xml file for this font. More... | |
std::map< char, FontGlyph > | glyph_list |
The list of glyphs for this font. More... | |
Structure to contain data for a Font.
short Blam::Content::Fonts::Font::charspacing |
The amount of space, in pixels, between each character.
std::string Blam::Content::Fonts::Font::file_path |
The path to either the font package or the fontinfo.xml
file for this font.
std::map<char, FontGlyph> Blam::Content::Fonts::Font::glyph_list |
The list of glyphs for this font.
The key is the character of the glyph. The value is the FontGlyph data for the specified character.
std::string Blam::Content::Fonts::Font::id |
The unique ID of the font.
bool Blam::Content::Fonts::Font::is_font_package |
Whether or not the data originates from a font package.
bool Blam::Content::Fonts::Font::is_truetype |
Whether or not the font is a TrueType based font.
short Blam::Content::Fonts::Font::line_height |
The amount of space, in pixels, between each line.
short Blam::Content::Fonts::Font::mono_width |
The width for each character to be. Extra space will be left as needed if the glyph width is too small, and larger widths will be cut off.
bool Blam::Content::Fonts::Font::monospaced |
Whether or not to treat the font as a monospace font.
std::string Blam::Content::Fonts::Font::package_engine_version |
The minimum engine version to support the font package version specified.
short Blam::Content::Fonts::Font::package_version |
The version of the font package.
std::string Blam::Content::Fonts::Font::path |
The path of the font package, excluding the file extension.
short Blam::Content::Fonts::Font::size |
The size of the font.
short Blam::Content::Fonts::Font::space_width |
The amount of space, in pixels, to use for the space character.
int Blam::Content::Fonts::Font::ttf_length |
The length of the embedded TrueType font data.
std::string Blam::Content::Fonts::Font::ttf_name |
The display name of the TrueType font file. TODO: Make this shit automated.
int Blam::Content::Fonts::Font::ttf_offset |
The offset of the embedded TrueType font data within the font package.
std::string Blam::Content::Fonts::Font::ttf_path |
The path to the TrueType font file.