Flutter Engine
The Flutter Engine
|
The graphics context necessary to render text. More...
#include <typographer_context.h>
Public Member Functions | |
virtual | ~TypographerContext () |
virtual bool | IsValid () const |
virtual std::shared_ptr< GlyphAtlasContext > | CreateGlyphAtlasContext (GlyphAtlas::Type type) const =0 |
virtual std::shared_ptr< GlyphAtlas > | CreateGlyphAtlas (Context &context, GlyphAtlas::Type type, HostBuffer &host_buffer, const std::shared_ptr< GlyphAtlasContext > &atlas_context, const FontGlyphMap &font_glyph_map) const =0 |
Protected Member Functions | |
TypographerContext () | |
Create a new context to render text that talks to an underlying graphics context. More... | |
The graphics context necessary to render text.
This is necessary to create and reference resources related to rendering text on the GPU.
Definition at line 22 of file typographer_context.h.
|
virtualdefault |
|
protected |
Create a new context to render text that talks to an underlying graphics context.
Definition at line 11 of file typographer_context.cc.
|
pure virtual |
Implemented in impeller::TypographerContextSkia, and impeller::TypographerContextSTB.
|
pure virtual |
Implemented in impeller::TypographerContextSkia, and impeller::TypographerContextSTB.
|
virtual |
Definition at line 17 of file typographer_context.cc.