| Flutter Impeller |

Public Member Functions | List of all members
impeller::GlyphAtlasContextSTB Class Reference

`#include <glyph_atlas_context_stb.h>`

Inheritance diagram for impeller::GlyphAtlasContextSTB:

## Public Member Functions
| GlyphAtlasContextSTB ()
| ~GlyphAtlasContextSTB () override
std::shared_ptr< BitmapSTB > | GetBitmap () const
| Retrieve the previous (if any) BitmapSTB instance. More...
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. More...
const ISize & | GetAtlasSize () const
| Retrieve the size of the current glyph atlas. More...
std::shared_ptr< RectanglePacker > | GetRectPacker () const
| Retrieve the previous (if any) rect packer. More...
void | UpdateGlyphAtlas (std::shared_ptr< GlyphAtlas > atlas, ISize size)
| Update the context with a newly constructed glyph atlas. More...
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 ()

## Detailed Description

Definition at line 39 of file glyph_atlas_context_stb.h.

## Constructor & Destructor Documentation

## ◆ GlyphAtlasContextSTB()

impeller::GlyphAtlasContextSTB::GlyphAtlasContextSTB | ( |  | ) |
| default

## ◆ ~GlyphAtlasContextSTB()

impeller::GlyphAtlasContextSTB::~GlyphAtlasContextSTB | ( |  | ) |
| override default

## Member Function Documentation

## ◆ GetBitmap()

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.

50 {
51 return bitmap_;
52 }

## ◆ UpdateBitmap()

void impeller::GlyphAtlasContextSTB::UpdateBitmap | ( | std::shared_ptr< BitmapSTB > | bitmap | ) |

Definition at line 54 of file glyph_atlas_context_stb.cc.

54 {
55 bitmap_ = std::move(bitmap);
56 }

The documentation for this class was generated from the following files:

- impeller/typographer/backends/stb/glyph_atlas_context_stb.h
- impeller/typographer/backends/stb/glyph_atlas_context_stb.cc