Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBFontGlyph Class Reference

TBFontGlyph holds glyph metrics and bitmap fragment. More...

#include <tb_font_renderer.h>

Inheritance diagram for tb::TBFontGlyph:
tb::TBLinkOf< TBFontGlyph > tb::TBLink

Public Member Functions

 TBFontGlyph (const TBID &hash_id, UCS4 cp)
 

Public Attributes

TBID hash_id
 
UCS4 cp
 
TBGlyphMetrics metrics
 The glyph metrics.
 
TBBitmapFragmentfrag
 The bitmap fragment, or nullptr if missing.
 
bool has_rgb
 if true, drawing should ignore text color.
 

Detailed Description

TBFontGlyph holds glyph metrics and bitmap fragment.

There's one of these for all rendered (both successful and missing) glyphs in TBFontFace.


The documentation for this class was generated from the following files: