summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/shadow.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-05-09 00:01:21 +0100
committerLinus Groh <mail@linusgroh.de>2022-05-26 00:07:24 +0100
commit8e441d402ba0e81798ccca49f8c48ba036dc5825 (patch)
tree6dde8d9de00931f4ef6841916644cfee42013dd0 /Userland/Libraries/LibC/shadow.cpp
parent48d3db3c3d63736d829a255cc5a0dbce9e62bc30 (diff)
downloadserenity-8e441d402ba0e81798ccca49f8c48ba036dc5825.zip
LibGfx: Add Bitmap::solid_color()
This function returns an Optional<Color> and is given an alpha_threshold. If all pixels above that alpha threshold are the same color, it returns the color, otherwise it returns an empty optional.
Diffstat (limited to 'Userland/Libraries/LibC/shadow.cpp')
0 files changed, 0 insertions, 0 deletions