Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBFontGlyph holds glyph metrics and bitmap fragment. More...
#include <tb_font_renderer.h>
Public Member Functions | |
TBFontGlyph (const TBID &hash_id, UCS4 cp) | |
Public Member Functions inherited from tb::TBLinkOf< TBFontGlyph > | |
TBFontGlyph * | GetPrev () const |
TBFontGlyph * | GetNext () const |
Public Member Functions inherited from tb::TBLink | |
bool | IsInList () const |
Return true if the link is currently added to a list. More... | |
Public Attributes | |
TBID | hash_id |
UCS4 | cp |
TBGlyphMetrics | metrics |
The glyph metrics. | |
TBBitmapFragment * | frag |
The bitmap fragment, or nullptr if missing. | |
bool | has_rgb |
if true, drawing should ignore text color. | |
Public Attributes inherited from tb::TBLink | |
TBLink * | prev |
TBLink * | next |
TBLinkList * | linklist |
TBFontGlyph holds glyph metrics and bitmap fragment.
There's one of these for all rendered (both successful and missing) glyphs in TBFontFace.