mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
LibGfx: Make Font::width() return a float
This commit is contained in:
parent
b9d2b8f7b2
commit
3407ab0fd1
Notes:
sideshowbarker
2024-07-17 02:15:20 +09:00
Author: https://github.com/awesomekling
Commit: 3407ab0fd1
25 changed files with 40 additions and 40 deletions
|
@ -88,9 +88,9 @@ public:
|
|||
update_x_height();
|
||||
}
|
||||
|
||||
int width(StringView) const override;
|
||||
int width(Utf8View const&) const override;
|
||||
int width(Utf32View const&) const override;
|
||||
virtual float width(StringView) const override;
|
||||
virtual float width(Utf8View const&) const override;
|
||||
virtual float width(Utf32View const&) const override;
|
||||
|
||||
DeprecatedString name() const override { return m_name; }
|
||||
void set_name(DeprecatedString name) { m_name = move(name); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue