1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

PixelPaint: Add luminosity masking for editing masks

This adds a function where editing masks can be refined by selecting
a luminosity range that is applied to the content image and mapped to
the editing mask. This function allows the editing of image regions
that match only certain luminosity values.
This commit is contained in:
Torstennator 2023-06-13 15:49:29 +02:00 committed by Jelle Raaijmakers
parent 660d6f171c
commit dbbf54df2c
6 changed files with 317 additions and 0 deletions

View file

@ -118,6 +118,7 @@ private:
RefPtr<GUI::Action> m_invert_mask_action;
RefPtr<GUI::Action> m_clear_mask_action;
RefPtr<GUI::Action> m_toggle_mask_visibility_action;
RefPtr<GUI::Action> m_open_luminosity_masking_action;
Gfx::IntPoint m_last_image_editor_mouse_position;
};