1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:17:35 +00:00

LibGfx: add Bitmap::clone() method

This commit is contained in:
Peter Nelson 2020-09-12 12:20:34 +01:00 committed by Andreas Kling
parent f470657d57
commit 16ebbde26f
2 changed files with 21 additions and 0 deletions

View file

@ -103,6 +103,8 @@ public:
return false;
}
RefPtr<Gfx::Bitmap> clone() const;
RefPtr<Gfx::Bitmap> rotated(Gfx::RotationDirection) const;
RefPtr<Gfx::Bitmap> flipped(Gfx::Orientation) const;
RefPtr<Bitmap> to_bitmap_backed_by_shared_buffer() const;