LibGfx: Remove Font::pixel_size_rounded_up()

The remaining callsites were removed in the previous commit.
This commit is contained in:
Jelle Raaijmakers 2025-07-15 13:42:19 +02:00 committed by Sam Atkins
commit 144eac44fb
Notes: github-actions[bot] 2025-07-15 18:06:46 +00:00
2 changed files with 0 additions and 8 deletions

View file

@ -30,7 +30,6 @@ Font::Font(NonnullRefPtr<Typeface const> typeface, float point_width, float poin
m_y_scale = (point_height * dpi_y) / (POINTS_PER_INCH * units_per_em);
m_pixel_size = m_point_height * (DEFAULT_DPI / POINTS_PER_INCH);
m_pixel_size_rounded_up = static_cast<int>(ceilf(m_pixel_size));
auto const* sk_typeface = as<TypefaceSkia>(*m_typeface).sk_typeface();
SkFont const font { sk_ref_sp(sk_typeface), m_pixel_size };
@ -88,11 +87,6 @@ float Font::pixel_size() const
return m_pixel_size;
}
int Font::pixel_size_rounded_up() const
{
return m_pixel_size_rounded_up;
}
float Font::point_size() const
{
return m_point_height;