mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +00:00
LibGfx: Make Font::pixel_size() return a float
Here's yet another place where we were chopping of decimals.
This commit is contained in:
parent
09a125bcab
commit
bfa7381852
4 changed files with 6 additions and 6 deletions
|
@ -118,7 +118,7 @@ public:
|
|||
virtual FontPixelMetrics pixel_metrics() const = 0;
|
||||
|
||||
virtual u8 presentation_size() const = 0;
|
||||
virtual int pixel_size() const = 0;
|
||||
virtual float pixel_size() const = 0;
|
||||
virtual float point_size() const = 0;
|
||||
virtual u8 slope() const = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue