The glyph index in the typeface. More...
#include <glyph.h>
Public Types | |
enum class | Type : uint8_t { kPath , kBitmap } |
Public Member Functions | |
Glyph (uint16_t p_index, Type p_type) | |
Public Attributes | |
uint16_t | index = 0 |
Type | type = Type::kPath |
Whether the glyph is a path or a bitmap. More... | |
|
strong |
|
inline |
uint16_t impeller::Glyph::index = 0 |
Definition at line 22 of file glyph.h.
Referenced by impeller::ComputeGlyphSize(), impeller::DrawGlyph(), std::hash< impeller::Glyph >::operator()(), std::equal_to< impeller::Glyph >::operator()(), std::less< impeller::Glyph >::operator()(), impeller::SubpixelGlyph::Equal::operator()(), and impeller::testing::TEST_P().
Type impeller::Glyph::type = Type::kPath |
Whether the glyph is a path or a bitmap.
Definition at line 27 of file glyph.h.
Referenced by std::hash< impeller::Glyph >::operator()(), std::equal_to< impeller::Glyph >::operator()(), and impeller::SubpixelGlyph::Equal::operator()().