diff options
author | MacDue <macdue@dueutil.tech> | 2022-05-09 00:01:21 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-26 00:07:24 +0100 |
commit | 8e441d402ba0e81798ccca49f8c48ba036dc5825 (patch) | |
tree | 6dde8d9de00931f4ef6841916644cfee42013dd0 /Userland/Libraries/LibC/errno_codes.h | |
parent | 48d3db3c3d63736d829a255cc5a0dbce9e62bc30 (diff) | |
download | serenity-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/errno_codes.h')
0 files changed, 0 insertions, 0 deletions