diff options
author | Timothy Slater <tslater2006@gmail.com> | 2022-09-07 07:46:16 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-11-25 22:52:45 +0100 |
commit | 3d542b0c38ee06cb4d1c1fe7b11706d0f4bd69cf (patch) | |
tree | 52f4577611c92fd5aeb0abfb8949d5d8ed5ab65a /Base | |
parent | dc5402f61e4bbfa7af70a1cdb9d4b0e75d33626b (diff) | |
download | serenity-3d542b0c38ee06cb4d1c1fe7b11706d0f4bd69cf.zip |
PixelPaint: Add lasso selection tool
Lasso selection works by allowing the user to draw an arbitrary shape
much like the pen tool and ensuring the shape is closed by connecting
the start/end points when the user is done drawing. Everything inside
the shape becomes the selection.
Selection is determined via an outer flood fill. We begin a flood fill
from a point that is guaranteed to be outside of the drawn shape, and
anything the fill doesn't touch is determined to be the selection
region.
Diffstat (limited to 'Base')
-rw-r--r-- | Base/res/icons/pixelpaint/lasso-select.png | bin | 0 -> 132 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/Base/res/icons/pixelpaint/lasso-select.png b/Base/res/icons/pixelpaint/lasso-select.png Binary files differnew file mode 100644 index 0000000000..f0eb62a188 --- /dev/null +++ b/Base/res/icons/pixelpaint/lasso-select.png |