1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

LibGfx: Let's make it Font::width(Utf32View)

This commit is contained in:
Andreas Kling 2020-05-17 20:02:31 +02:00
parent 00b5614ce2
commit bc6f469544
2 changed files with 7 additions and 6 deletions

View file

@ -95,7 +95,7 @@ public:
int width(const StringView&) const;
int width(const Utf8View&) const;
int width(const u32* codepoints, size_t) const;
int width(const Utf32View&) const;
String name() const { return m_name; }
void set_name(const StringView& name) { m_name = name; }