mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
LibPDF: Resize fonts when the text and line matrices change
This commit is contained in:
parent
9a0e1dde42
commit
5f8fd47214
8 changed files with 26 additions and 0 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
|
||||
virtual ~PDFFont() = default;
|
||||
|
||||
virtual void set_font_size(float font_size) = 0;
|
||||
virtual PDFErrorOr<Gfx::FloatPoint> draw_string(Gfx::Painter&, Gfx::FloatPoint, DeprecatedString const&, Color const&, float font_size, float character_spacing, float horizontal_scaling) = 0;
|
||||
|
||||
virtual Type type() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue