diff options
author | Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com> | 2023-02-09 11:55:05 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-11 20:59:13 +0000 |
commit | 1cc8895e4bca13f7b65cb7d290b2138b49b6bcfe (patch) | |
tree | 8ff12d32ebfe954af35172ec0753aeca8c41f6e2 /Userland/Libraries/LibGfx/Font/Font.h | |
parent | d910dd345e090012db3dcc1f02ab140432c334b8 (diff) | |
download | serenity-1cc8895e4bca13f7b65cb7d290b2138b49b6bcfe.zip |
LibGfx: Introduce with_size method for Font
Diffstat (limited to 'Userland/Libraries/LibGfx/Font/Font.h')
-rw-r--r-- | Userland/Libraries/LibGfx/Font/Font.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/Font/Font.h b/Userland/Libraries/LibGfx/Font/Font.h index f26a432d7c..5e18cfd53b 100644 --- a/Userland/Libraries/LibGfx/Font/Font.h +++ b/Userland/Libraries/LibGfx/Font/Font.h @@ -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: |