mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
LibGfx: Expose BitmapFont glyph data as Spans instead of raw pointers
This commit is contained in:
parent
80e756daef
commit
18dfc61280
3 changed files with 19 additions and 19 deletions
|
@ -38,8 +38,8 @@ public:
|
|||
|
||||
~BitmapFont();
|
||||
|
||||
u8* rows() { return m_rows.data(); }
|
||||
u8* widths() { return m_glyph_widths.data(); }
|
||||
Bytes rows() { return m_rows; }
|
||||
Span<u8> widths() { return m_glyph_widths; }
|
||||
|
||||
virtual float point_size() const override { return m_presentation_size; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue