mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
LibGfx: Remove unused Font::point_size()
This commit is contained in:
parent
2a61d66b0a
commit
cddcf531b1
3 changed files with 0 additions and 3 deletions
|
@ -43,7 +43,6 @@ public:
|
|||
void set_presentation_size(u8 size) { m_presentation_size = size; }
|
||||
|
||||
virtual float pixel_size() const override { return m_glyph_height; }
|
||||
virtual float point_size() const override { return static_cast<float>(m_glyph_height) * 0.75f; }
|
||||
|
||||
u16 weight() const override { return m_weight; }
|
||||
void set_weight(u16 weight) { m_weight = weight; }
|
||||
|
|
|
@ -142,7 +142,6 @@ public:
|
|||
|
||||
virtual u8 presentation_size() const = 0;
|
||||
virtual float pixel_size() const = 0;
|
||||
virtual float point_size() const = 0;
|
||||
virtual u8 slope() const = 0;
|
||||
|
||||
virtual u16 weight() const = 0;
|
||||
|
|
|
@ -44,7 +44,6 @@ public:
|
|||
virtual ErrorOr<NonnullRefPtr<Font>> try_clone() const override { return *this; }
|
||||
virtual u8 presentation_size() const override { return m_point_height; }
|
||||
virtual float pixel_size() const override { return m_point_height * 1.33333333f; }
|
||||
virtual float point_size() const override { return m_point_height; }
|
||||
virtual Gfx::FontPixelMetrics pixel_metrics() const override;
|
||||
virtual u8 slope() const override { return m_font->slope(); }
|
||||
virtual u16 weight() const override { return m_font->weight(); }
|
||||
|
|
Loading…
Add table
Reference in a new issue