#include <lazy_glyph_atlas.h>
Public Member Functions | |
| LazyGlyphAtlas (std::shared_ptr< TypographerContext > typographer_context) | |
| ~LazyGlyphAtlas () | |
| void | AddTextFrame (const std::shared_ptr< TextFrame > &frame, Point position, const Matrix &transform, const std::optional< GlyphProperties > &properties) |
| void | ResetTextFrames () |
| const std::shared_ptr< GlyphAtlas > & | CreateOrGetGlyphAtlas (Context &context, HostBuffer &host_buffer, GlyphAtlas::Type type) |
Definition at line 16 of file lazy_glyph_atlas.h.
|
explicit |
Definition at line 20 of file lazy_glyph_atlas.cc.
|
default |
| void impeller::LazyGlyphAtlas::AddTextFrame | ( | const std::shared_ptr< TextFrame > & | frame, |
| Point | position, | ||
| const Matrix & | transform, | ||
| const std::optional< GlyphProperties > & | properties | ||
| ) |
Definition at line 34 of file lazy_glyph_atlas.cc.
References impeller::Matrix::MakeTranslation(), and transform.
Referenced by impeller::testing::TEST_P().
| const std::shared_ptr< GlyphAtlas > & impeller::LazyGlyphAtlas::CreateOrGetGlyphAtlas | ( | Context & | context, |
| HostBuffer & | host_buffer, | ||
| GlyphAtlas::Type | type | ||
| ) |
Definition at line 50 of file lazy_glyph_atlas.cc.
References impeller::kNullGlyphAtlas, and VALIDATION_LOG.
Referenced by impeller::testing::TEST_P().
| void impeller::LazyGlyphAtlas::ResetTextFrames | ( | ) |
Definition at line 45 of file lazy_glyph_atlas.cc.