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

LibGfx: Add Bitmap::invert()

Helper function to invert a bitmap in-place
This commit is contained in:
MacDue 2022-05-09 00:00:13 +01:00 committed by Linus Groh
parent 59598ded15
commit 48d3db3c3d
2 changed files with 10 additions and 0 deletions

View file

@ -121,6 +121,8 @@ public:
[[nodiscard]] ShareableBitmap to_shareable_bitmap() const;
void invert();
~Bitmap();
[[nodiscard]] u8* scanline_u8(int physical_y);