Graphviz  2.41.20170921.2350
color_palette.h
Go to the documentation of this file.
1 /* $Id$Revision: */
2 /* vim:set shiftwidth=4 ts=8: */
3 
4 /*************************************************************************
5  * Copyright (c) 2011 AT&T Intellectual Property
6  * All rights reserved. This program and the accompanying materials
7  * are made available under the terms of the Eclipse Public License v1.0
8  * which accompanies this distribution, and is available at
9  * http://www.eclipse.org/legal/epl-v10.html
10  *
11  * Contributors: See CVS logs. Details at http://www.graphviz.org/
12  *************************************************************************/
13 
14 #ifndef COLOR_PALLETE_H
15 #define COLOR_PALLETE_H
16 #include "stdio.h"
17 enum {MAX_COLOR = 1001};
18 
19 enum {npalettes = 265};
20 extern int knownColorScheme (char*);
21 extern char *color_palettes[npalettes][2];
22  /* return a list of rgb in hex form: "#ff0000,#00ff00,..." */
23 extern char *color_palettes_get(char *color_palette_name);
24 extern void color_palettes_name_print(FILE *fp);
25 extern int color_palettes_Q(char *color_palette_name);
26 
27 extern float palette_pastel[1001][3];
28 extern float palette_blue_to_yellow[1001][3];
29 extern float palette_grey_to_red[1001][3];
30 extern float palette_grey_to_red[1001][3];
31 extern float palette_white_to_red[1001][3];
32 extern float palette_grey[1001][3];
33 extern float palette_primary[1001][3];
34 extern float palette_sequential_singlehue_red[1001][3];
35 extern float palette_sequential_singlehue_red_lighter[1001][3];
36 extern float palette_adam_blend[1001][3];
37 extern float palette_adam[11][3];
38 
39 #endif
40 
41 
char * color_palettes_get(char *color_palette_name)
Definition: color_palette.c:27
float palette_grey[1001][3]
int color_palettes_Q(char *color_palette_name)
Definition: color_palette.c:46
float palette_pastel[1001][3]
float palette_adam[11][3]
char * color_palettes[npalettes][2]
Definition: color_palette.c:57
void color_palettes_name_print(FILE *fp)
Definition: color_palette.c:37
float palette_white_to_red[1001][3]
float palette_sequential_singlehue_red[1001][3]
float palette_adam_blend[1001][3]
float palette_grey_to_red[1001][3]
float palette_blue_to_yellow[1001][3]
float palette_sequential_singlehue_red_lighter[1001][3]
float palette_primary[1001][3]
int knownColorScheme(char *name)
Definition: color_palette.c:16