mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
PixelPaint: Add a Mask class
The Mask class represents an opacity mask over a rectangular section of an image, linking every pixel to an alpha value ranging from 0 (not selected) to 255 (fully selected). "Partially selected" pixels can be used to simulate anti-aliased curves. This class will be used as the basis for the new non-rectangular selection feature.
This commit is contained in:
parent
bd5b1d1413
commit
0828c75e57
3 changed files with 224 additions and 0 deletions
|
@ -28,6 +28,7 @@ set(SOURCES
|
|||
PixelPaintWindowGML.h
|
||||
RectangleTool.cpp
|
||||
RectangleSelectTool.cpp
|
||||
Mask.cpp
|
||||
Selection.cpp
|
||||
SprayTool.cpp
|
||||
ToolboxWidget.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue