#include <lazy_glyph_atlas.h>
Public Member Functions | |
| LazyGlyphAtlas (std::shared_ptr< TypographerContext > typographer_context) | |
| ~LazyGlyphAtlas () | |
| void | AddTextFrame (const TextFrame &frame, Scalar scale) |
| void | ResetTextFrames () |
| std::shared_ptr< GlyphAtlas > | CreateOrGetGlyphAtlas (Context &context, GlyphAtlas::Type type) const |
Definition at line 17 of file lazy_glyph_atlas.h.
|
explicit |
Definition at line 14 of file lazy_glyph_atlas.cc.
|
default |
Definition at line 26 of file lazy_glyph_atlas.cc.
References impeller::TextFrame::CollectUniqueFontGlyphPairs(), impeller::TextFrame::GetAtlasType(), and impeller::GlyphAtlas::kAlphaBitmap.
Referenced by impeller::testing::TEST_P().
| std::shared_ptr< GlyphAtlas > impeller::LazyGlyphAtlas::CreateOrGetGlyphAtlas | ( | Context & | context, |
| GlyphAtlas::Type | type | ||
| ) | const |
Definition at line 41 of file lazy_glyph_atlas.cc.
References impeller::GlyphAtlas::kAlphaBitmap, and VALIDATION_LOG.
Referenced by impeller::testing::TEST_P().
| void impeller::LazyGlyphAtlas::ResetTextFrames | ( | ) |
Definition at line 35 of file lazy_glyph_atlas.cc.