#include <text.h>
Collaboration diagram for hoa_video::FontProperties:

Public Attributes | |
| int32 | ascent |
| The height above baseline of font. | |
| int32 | descent |
| The height below baseline of font. | |
| std::map< uint16, FontGlyph * > * | glyph_cache |
| A pointer to a cache which holds all of the glyphs used in this font. | |
| int32 | height |
| The maximum height of all of the glyphs for this font. | |
| int32 | line_skip |
| SDL_ttf's recommended amount of spacing between lines. | |
| TEXT_SHADOW_STYLE | shadow_style |
| The style of the text shadow. | |
| int32 | shadow_x |
| The x offset of the text shadow. | |
| int32 | shadow_y |
| The y offset of the text shadow. | |
| TTF_Font * | ttf_font |
| A pointer to SDL_TTF's font structure. | |
****************************************************************************
Definition at line 78 of file text.h.
The height above baseline of font.
Definition at line 85 of file text.h.
Referenced by hoa_video::GameVideo::_CacheGlyphs().
The height below baseline of font.
Definition at line 87 of file text.h.
Referenced by hoa_video::TextBox::_DrawTextLines().
| std::map<uint16, FontGlyph*>* hoa_video::FontProperties::glyph_cache |
A pointer to a cache which holds all of the glyphs used in this font.
Definition at line 97 of file text.h.
Referenced by hoa_video::GameVideo::_CacheGlyphs(), hoa_video::GameVideo::_DrawTextHelper(), and hoa_video::GameVideo::_GenTexLine().
The maximum height of all of the glyphs for this font.
Definition at line 81 of file text.h.
Referenced by hoa_video::TextBox::_CalculateTextHeight(), and hoa_video::TextBox::_DrawTextLines().
SDL_ttf's recommended amount of spacing between lines.
Definition at line 83 of file text.h.
Referenced by hoa_video::TextBox::_CalculateTextHeight(), hoa_video::TextBox::_DrawTextLines(), hoa_video::GameVideo::DrawText(), and hoa_video::GameVideo::RenderText().
The style of the text shadow.
Definition at line 93 of file text.h.
Referenced by hoa_video::GameVideo::_GetTextShadowColor(), hoa_video::GameVideo::DrawText(), hoa_video::GameVideo::RenderText(), and hoa_video::GameVideo::SetFontShadowStyle().
The x offset of the text shadow.
Definition at line 89 of file text.h.
Referenced by hoa_video::GameVideo::DrawText(), hoa_video::GameVideo::RenderText(), and hoa_video::GameVideo::SetFontShadowXOffset().
The y offset of the text shadow.
Definition at line 91 of file text.h.
Referenced by hoa_video::GameVideo::DrawText(), hoa_video::GameVideo::RenderText(), and hoa_video::GameVideo::SetFontShadowYOffset().
A pointer to SDL_TTF's font structure.
Definition at line 95 of file text.h.
Referenced by hoa_video::GameVideo::_CacheGlyphs(), hoa_video::GameVideo::_DrawTextHelper(), hoa_video::GameVideo::_GenTexLine(), hoa_video::GameVideo::DrawText(), and hoa_video::GameVideo::RenderText().
1.5.1