![]() |
Blamite Game Engine - Blam (Core)
|
Structure to contain data for a Font Glyph. More...
#include <fonts.h>
Public Attributes | |
int | data_offset |
The file offset of the glyph's raw image data. Only used in the case of a font package. More... | |
int | data_length |
The length of the glyph's image data. Only used in the case of a font package. More... | |
char | character |
The character that the glyph represents. More... | |
short | width |
The width of the glyph image, in pixels. More... | |
short | height |
The height of the glyph image, in pixels. More... | |
FontGlyphFormat | format |
The format of the glyph image data. See FontGlyphFormat for more details. More... | |
std::string | path |
The path of the glyph's image file, relative to fontinfo.xml 's location. Only used in the case of an unpackaged font. More... | |
std::string | file_path |
The path of the glyph's image file. Only used in the case of an unpackaged font. More... | |
IWICBitmap * | bitmap |
The WIC bitmap for this glyph. More... | |
void * | bitmap_data |
The raw image data loaded from a font package. This must be available for the lifetime of the font, otherwise the WIC bitmap will fail to draw. More... | |
Structure to contain data for a Font Glyph.
IWICBitmap* Blam::Content::Fonts::FontGlyph::bitmap |
The WIC bitmap for this glyph.
void* Blam::Content::Fonts::FontGlyph::bitmap_data |
The raw image data loaded from a font package. This must be available for the lifetime of the font, otherwise the WIC bitmap will fail to draw.
char Blam::Content::Fonts::FontGlyph::character |
The character that the glyph represents.
int Blam::Content::Fonts::FontGlyph::data_length |
The length of the glyph's image data. Only used in the case of a font package.
int Blam::Content::Fonts::FontGlyph::data_offset |
The file offset of the glyph's raw image data. Only used in the case of a font package.
std::string Blam::Content::Fonts::FontGlyph::file_path |
The path of the glyph's image file. Only used in the case of an unpackaged font.
FontGlyphFormat Blam::Content::Fonts::FontGlyph::format |
The format of the glyph image data. See FontGlyphFormat for more details.
short Blam::Content::Fonts::FontGlyph::height |
The height of the glyph image, in pixels.
std::string Blam::Content::Fonts::FontGlyph::path |
The path of the glyph's image file, relative to fontinfo.xml
's location. Only used in the case of an unpackaged font.
short Blam::Content::Fonts::FontGlyph::width |
The width of the glyph image, in pixels.