14 static std::shared_ptr<TypographerContext>
Make();
29 const std::shared_ptr<GlyphAtlasContext>& atlas_context,
30 const std::vector<std::shared_ptr<TextFrame>>& text_frames)
34 static std::pair<std::vector<FontGlyphPair>, std::vector<Rect>>
35 CollectNewGlyphs(
const std::shared_ptr<GlyphAtlas>& atlas,
36 const std::vector<std::shared_ptr<TextFrame>>& text_frames);
To do anything rendering related with Impeller, you need a context.
The graphics context necessary to render text.
std::shared_ptr< GlyphAtlas > CreateGlyphAtlas(Context &context, GlyphAtlas::Type type, HostBuffer &host_buffer, const std::shared_ptr< GlyphAtlasContext > &atlas_context, const std::vector< std::shared_ptr< TextFrame > > &text_frames) const override
~TypographerContextSkia() override
std::shared_ptr< GlyphAtlasContext > CreateGlyphAtlasContext(GlyphAtlas::Type type) const override
static std::shared_ptr< TypographerContext > Make()