mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +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:
parent
1f907a834f
commit
4b3e229157
3 changed files with 9 additions and 10 deletions
|
@ -126,7 +126,7 @@ public:
|
|||
|
||||
[[nodiscard]] ShareableBitmap to_shareable_bitmap() const;
|
||||
|
||||
void invert();
|
||||
ErrorOr<NonnullRefPtr<Gfx::Bitmap>> inverted() const;
|
||||
|
||||
~Bitmap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue