mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LibGfx: Add pure virtual fallible clone() for Fonts
This commit is contained in:
parent
d9fb838cf6
commit
1be830e3c6
3 changed files with 4 additions and 2 deletions
|
@ -112,6 +112,7 @@ public:
|
|||
};
|
||||
|
||||
virtual NonnullRefPtr<Font> clone() const = 0;
|
||||
virtual ErrorOr<NonnullRefPtr<Font>> try_clone() const = 0;
|
||||
virtual ~Font() {};
|
||||
|
||||
virtual FontPixelMetrics pixel_metrics() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue