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

PixelPaint: Add action to invert selection

This commit is contained in:
snooze6214 2022-10-18 20:24:00 +05:30 committed by Linus Groh
parent 295fcd639f
commit d3353ee0e7
6 changed files with 16 additions and 0 deletions

View file

@ -38,6 +38,7 @@ public:
bool is_empty() const { return m_mask.is_null(); }
void clear();
void invert();
void merge(Mask const&, MergeMode);
void merge(Gfx::IntRect const& rect, MergeMode mode) { merge(Mask::full(rect), mode); }
Gfx::IntRect bounding_rect() const { return m_mask.bounding_rect(); }