mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 13:32:23 +00:00
LibGfx: Add comparison operators to CMYK
This commit is contained in:
parent
ba8f4e73bf
commit
c431cf4907
Notes:
sideshowbarker
2024-07-17 10:08:28 +09:00
Author: https://github.com/nico
Commit: c431cf4907
Pull-request: https://github.com/SerenityOS/serenity/pull/22935
Reviewed-by: https://github.com/LucasChollet ✅
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ struct CMYK {
|
||||||
u8 m;
|
u8 m;
|
||||||
u8 y;
|
u8 y;
|
||||||
u8 k;
|
u8 k;
|
||||||
|
|
||||||
|
int operator<=>(CMYK const&) const = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CMYKBitmap : public RefCounted<CMYKBitmap> {
|
class CMYKBitmap : public RefCounted<CMYKBitmap> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue