mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:37:44 +00:00
LibGfx: Move CIELAB to its own file
This commit is contained in:
parent
22202715fc
commit
adec1abf81
4 changed files with 22 additions and 7 deletions
18
Userland/Libraries/LibGfx/CIELAB.h
Normal file
18
Userland/Libraries/LibGfx/CIELAB.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Nico Weber <thakis@chromium.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
// https://en.wikipedia.org/wiki/CIELAB_color_space
|
||||
struct CIELAB {
|
||||
float L; // L*
|
||||
float a; // a*
|
||||
float b; // b*
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue