1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:47:44 +00:00

LibGfx: Replace Bitmap::invert() with Bitmap::inverted()

The new function return a new bitmap instead of mutating the current
one in place.
This commit is contained in:
Andreas Kling 2023-02-19 22:43:49 +01:00
parent 1f907a834f
commit 4b3e229157
3 changed files with 9 additions and 10 deletions

View file

@ -126,7 +126,7 @@ public:
[[nodiscard]] ShareableBitmap to_shareable_bitmap() const;
void invert();
ErrorOr<NonnullRefPtr<Gfx::Bitmap>> inverted() const;
~Bitmap();