The glyph index in the typeface. More...
#include <glyph.h>
Public Types | |
enum | Type : uint8_t { Type::kPath, Type::kBitmap } |
Public Member Functions | |
Glyph (uint16_t p_index, Type p_type, Rect p_bounds) | |
Public Attributes | |
uint16_t | index = 0 |
Type | type = Type::kPath |
Whether the glyph is a path or a bitmap. More... | |
Rect | bounds |
Visibility coverage of the glyph in text run space (relative to the baseline, no scaling applied). More... | |
|
strong |
Rect impeller::Glyph::bounds |
Visibility coverage of the glyph in text run space (relative to the baseline, no scaling applied).
Definition at line 37 of file glyph.h.
Referenced by impeller::CanAppendToExistingAtlas(), and impeller::DrawGlyph().
uint16_t impeller::Glyph::index = 0 |
Definition at line 26 of file glyph.h.
Referenced by impeller::CanAppendToExistingAtlas(), impeller::DrawGlyph(), std::hash< impeller::Glyph >::operator()(), std::equal_to< impeller::Glyph >::operator()(), std::less< impeller::Glyph >::operator()(), and impeller::testing::TEST_P().
Type impeller::Glyph::type = Type::kPath |
Whether the glyph is a path or a bitmap.
Definition at line 31 of file glyph.h.
Referenced by std::hash< impeller::Glyph >::operator()(), and std::equal_to< impeller::Glyph >::operator()().