mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:27:45 +00:00
PixelPaint: Add "Apply Mask" action
This commit adds a "Apply Mask" action which merges the active layer mask with the layer bitmap. The option is only displayed if the active layer is masked.
This commit is contained in:
parent
062c9efa88
commit
799d570afc
4 changed files with 20 additions and 0 deletions
|
@ -47,6 +47,8 @@ public:
|
|||
|
||||
ErrorOr<void> create_mask();
|
||||
void delete_mask();
|
||||
void apply_mask();
|
||||
|
||||
Gfx::Bitmap& get_scratch_edited_bitmap();
|
||||
|
||||
Gfx::IntSize size() const { return content_bitmap().size(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue