mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 16:46:08 +00:00
LibGfx: Add Core::File
variant of BitmapFont::write_to_file
This commit is contained in:
parent
0d2ca125b3
commit
c43295b668
Notes:
sideshowbarker
2024-07-17 10:08:28 +09:00
Author: https://github.com/caoimhebyrne
Commit: c43295b668
Pull-request: https://github.com/SerenityOS/serenity/pull/18029
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/LucasChollet
Reviewed-by: https://github.com/thankyouverycool
2 changed files with 14 additions and 5 deletions
|
@ -33,7 +33,9 @@ public:
|
|||
static RefPtr<BitmapFont> load_from_file(DeprecatedString const& path);
|
||||
static ErrorOr<NonnullRefPtr<BitmapFont>> try_load_from_file(DeprecatedString const& path);
|
||||
static ErrorOr<NonnullRefPtr<BitmapFont>> try_load_from_mapped_file(RefPtr<Core::MappedFile> const&);
|
||||
|
||||
ErrorOr<void> write_to_file(DeprecatedString const& path);
|
||||
ErrorOr<void> write_to_file(NonnullOwnPtr<Core::File> file);
|
||||
|
||||
~BitmapFont();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue