mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
PixelPaint: Add a GradientTool
This patch adds a new gradient tool to pixelpaint that allows us to fill the canvas with a smooth color gradient outline at the edge of the filled area.
This commit is contained in:
parent
e7ceaf8a6d
commit
452285a3f8
6 changed files with 419 additions and 4 deletions
|
@ -11,6 +11,7 @@
|
|||
#include "Tools/CloneTool.h"
|
||||
#include "Tools/EllipseTool.h"
|
||||
#include "Tools/EraseTool.h"
|
||||
#include "Tools/GradientTool.h"
|
||||
#include "Tools/GuideTool.h"
|
||||
#include "Tools/LassoSelectTool.h"
|
||||
#include "Tools/LineTool.h"
|
||||
|
@ -96,6 +97,7 @@ void ToolboxWidget::setup_tools()
|
|||
add_tool("lasso-select"sv, { 0, Key_L }, make<LassoSelectTool>());
|
||||
add_tool("guides"sv, { 0, Key_G }, make<GuideTool>());
|
||||
add_tool("clone"sv, { 0, Key_C }, make<CloneTool>());
|
||||
add_tool("gradients"sv, { Mod_Ctrl, Key_G }, make<GradientTool>());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue