summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/Mask.h
AgeCommit message (Collapse)Author
2021-06-22PixelPaint: Add a Mask classDavipb
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.