Flutter Engine
The Flutter Engine
|
#include <glyph_atlas_context_stb.h>
Public Member Functions | |
GlyphAtlasContextSTB () | |
~GlyphAtlasContextSTB () override | |
std::shared_ptr< BitmapSTB > | GetBitmap () const |
Retrieve the previous (if any) BitmapSTB instance. | |
void | UpdateBitmap (std::shared_ptr< BitmapSTB > bitmap) |
Public Member Functions inherited from impeller::GlyphAtlasContext | |
virtual | ~GlyphAtlasContext () |
std::shared_ptr< GlyphAtlas > | GetGlyphAtlas () const |
Retrieve the current glyph atlas. | |
const ISize & | GetAtlasSize () const |
Retrieve the size of the current glyph atlas. | |
std::shared_ptr< RectanglePacker > | GetRectPacker () const |
Retrieve the previous (if any) rect packer. | |
void | UpdateGlyphAtlas (std::shared_ptr< GlyphAtlas > atlas, ISize size) |
Update the context with a newly constructed glyph atlas. | |
void | UpdateRectPacker (std::shared_ptr< RectanglePacker > rect_packer) |
Additional Inherited Members | |
Static Public Member Functions inherited from impeller::BackendCast< GlyphAtlasContextSTB, GlyphAtlasContext > | |
static GlyphAtlasContextSTB & | Cast (GlyphAtlasContext &base) |
static const GlyphAtlasContextSTB & | Cast (const GlyphAtlasContext &base) |
static GlyphAtlasContextSTB * | Cast (GlyphAtlasContext *base) |
static const GlyphAtlasContextSTB * | Cast (const GlyphAtlasContext *base) |
Protected Member Functions inherited from impeller::GlyphAtlasContext | |
GlyphAtlasContext () | |
Definition at line 40 of file glyph_atlas_context_stb.h.
|
default |
|
overridedefault |
std::shared_ptr< BitmapSTB > impeller::GlyphAtlasContextSTB::GetBitmap | ( | ) | const |
Retrieve the previous (if any) BitmapSTB instance.
Definition at line 50 of file glyph_atlas_context_stb.cc.
void impeller::GlyphAtlasContextSTB::UpdateBitmap | ( | std::shared_ptr< BitmapSTB > | bitmap | ) |
Definition at line 54 of file glyph_atlas_context_stb.cc.