Add getter for font glyph data (#6355)

This commit is contained in:
Clyde Stubbs 2024-03-12 15:26:31 +11:00 committed by GitHub
parent 4bbde8357a
commit b0a192d6a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;