mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
PixelPaint: Add action to invert selection
This commit is contained in:
parent
295fcd639f
commit
d3353ee0e7
6 changed files with 16 additions and 0 deletions
|
@ -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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue