| 1 |
/************************************************************************* |
| 2 |
* Copyright (c) 2014 AT&T Intellectual Property |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* https://www.eclipse.org/legal/epl-v10.html |
| 7 |
* |
| 8 |
* Contributors: Details at https://graphviz.org |
| 9 |
*************************************************************************/ |
| 10 |
|
| 11 |
#pragma once |
| 12 |
|
| 13 |
#include <stddef.h> |
| 14 |
|
| 15 |
#ifdef __cplusplus |
| 16 |
extern "C" { |
| 17 |
#endif |
| 18 |
|
| 19 |
/** lookup table for the visible spectrum of the CIELAB color space |
| 20 |
* |
| 21 |
* This table is entries of 4-tuples of the form (L*, a*, b* lower bound, |
| 22 |
* b* upper bound). A plain lookup table and/or the use of structs is avoided to |
| 23 |
* save memory during compilation. Without this, MSVC ~2019 exhausts memory in |
| 24 |
* CI. |
| 25 |
* |
| 26 |
* More information about CIELAB: |
| 27 |
* https://en.wikipedia.org/wiki/CIELAB_color_space |
| 28 |
*/ |
| 29 |
extern const signed char lab_gamut_data[]; |
| 30 |
extern const size_t lab_gamut_data_size; |
| 31 |
|
| 32 |
#ifdef __cplusplus |
| 33 |
} |
| 34 |
#endif |