#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 () |
const std::shared_ptr< GlyphAtlas > & | CreateOrGetGlyphAtlas (Context &context, GlyphAtlas::Type type) const |
Definition at line 18 of file lazy_glyph_atlas.h.
|
explicit |
Definition at line 19 of file lazy_glyph_atlas.cc.
|
default |
Definition at line 31 of file lazy_glyph_atlas.cc.
References impeller::TextFrame::CollectUniqueFontGlyphPairs(), impeller::TextFrame::GetAtlasType(), impeller::GlyphAtlas::kAlphaBitmap, and scale.
Referenced by impeller::testing::TEST_P().
const std::shared_ptr< GlyphAtlas > & impeller::LazyGlyphAtlas::CreateOrGetGlyphAtlas | ( | Context & | context, |
GlyphAtlas::Type | type | ||
) | const |
Definition at line 47 of file lazy_glyph_atlas.cc.
References impeller::GlyphAtlas::kAlphaBitmap, impeller::GlyphAtlas::kColorBitmap, impeller::kNullGlyphAtlas, and VALIDATION_LOG.
Referenced by impeller::testing::TEST_P().
void impeller::LazyGlyphAtlas::ResetTextFrames | ( | ) |
Definition at line 40 of file lazy_glyph_atlas.cc.