Graphviz 13.0.0~dev.20241220.2304
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 <stdbool.h>
14#include <stdio.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20enum {MAX_COLOR = 1001};
21
22extern bool knownColorScheme(const char *);
23 /* return a list of rgb in hex form: "#ff0000,#00ff00,..." */
24const char *color_palettes_get(const char *color_palette_name);
25
26extern const float palette_pastel[1001][3];
27extern const float palette_blue_to_yellow[1001][3];
28extern const float palette_grey_to_red[1001][3];
29extern const float palette_white_to_red[1001][3];
30extern const float palette_grey[1001][3];
31extern const float palette_primary[1001][3];
32extern const float palette_sequential_singlehue_red[1001][3];
33extern const float palette_sequential_singlehue_red_lighter[1001][3];
34extern const float palette_adam_blend[1001][3];
35extern const float palette_adam[11][3];
36
37#ifdef __cplusplus
38}
39#endif
const float palette_sequential_singlehue_red[1001][3]
const float palette_grey[1001][3]
@ MAX_COLOR
const float palette_sequential_singlehue_red_lighter[1001][3]
const float palette_blue_to_yellow[1001][3]
const float palette_grey_to_red[1001][3]
const float palette_adam[11][3]
const float palette_white_to_red[1001][3]
const float palette_adam_blend[1001][3]
bool knownColorScheme(const char *)
const char * color_palettes_get(const char *color_palette_name)
const float palette_pastel[1001][3]
const float palette_primary[1001][3]