Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
color_palette.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 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 <stdio.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19enum {MAX_COLOR = 1001};
20
21enum {npalettes = 265};
22extern int knownColorScheme(const char*);
23extern char *color_palettes[npalettes][2];
24 /* return a list of rgb in hex form: "#ff0000,#00ff00,..." */
25extern char *color_palettes_get(char *color_palette_name);
26extern int color_palettes_Q(const char *color_palette_name);
27
28extern float palette_pastel[1001][3];
29extern float palette_blue_to_yellow[1001][3];
30extern float palette_grey_to_red[1001][3];
31extern float palette_white_to_red[1001][3];
32extern float palette_grey[1001][3];
33extern float palette_primary[1001][3];
34extern float palette_sequential_singlehue_red[1001][3];
36extern float palette_adam_blend[1001][3];
37extern float palette_adam[11][3];
38
39#ifdef __cplusplus
40}
41#endif
float palette_pastel[1001][3]
int knownColorScheme(const char *)
@ MAX_COLOR
int color_palettes_Q(const char *color_palette_name)
float palette_blue_to_yellow[1001][3]
char * color_palettes[npalettes][2]
char * color_palettes_get(char *color_palette_name)
float palette_adam_blend[1001][3]
float palette_grey[1001][3]
float palette_sequential_singlehue_red_lighter[1001][3]
float palette_sequential_singlehue_red[1001][3]
float palette_primary[1001][3]
float palette_white_to_red[1001][3]
float palette_grey_to_red[1001][3]
@ npalettes
float palette_adam[11][3]