mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
PixelPaint: Add method to flatten image layers
This adds Image::flatten_all_layers() that allows the user to flatten all the visible layers into one.
This commit is contained in:
parent
76a18e1172
commit
9be08e33ea
Notes:
sideshowbarker
2024-07-18 10:03:29 +09:00
Author: https://github.com/metmo
Commit: 9be08e33ea
Pull-request: https://github.com/SerenityOS/serenity/pull/8503
Reviewed-by: https://github.com/awesomekling
4 changed files with 30 additions and 0 deletions
|
@ -68,6 +68,7 @@ public:
|
|||
void change_layer_index(size_t old_index, size_t new_index);
|
||||
void remove_layer(Layer&);
|
||||
void select_layer(Layer*);
|
||||
void flatten_all_layers();
|
||||
|
||||
void add_client(ImageClient&);
|
||||
void remove_client(ImageClient&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue