mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Add getter for font glyph data (#6355)
This commit is contained in:
parent
4bbde8357a
commit
b0a192d6a5
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ class Glyph {
|
||||||
|
|
||||||
void scan_area(int *x1, int *y1, int *width, int *height) const;
|
void scan_area(int *x1, int *y1, int *width, int *height) const;
|
||||||
|
|
||||||
|
const GlyphData *get_glyph_data() const { return this->glyph_data_; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend Font;
|
friend Font;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue