mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibGfx: Introduce with_size method for Font
This commit is contained in:
parent
d910dd345e
commit
1cc8895e4b
Notes:
sideshowbarker
2024-07-17 00:30:43 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 1cc8895e4b
Pull-request: https://github.com/SerenityOS/serenity/pull/17382
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/linusg ✅
5 changed files with 16 additions and 0 deletions
|
@ -197,6 +197,8 @@ public:
|
|||
virtual DeprecatedString qualified_name() const = 0;
|
||||
virtual DeprecatedString human_readable_name() const = 0;
|
||||
|
||||
virtual RefPtr<Font> with_size(float point_size) const = 0;
|
||||
|
||||
Font const& bold_variant() const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue