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"
17enum {MAX_COLOR = 1001};
18
19enum {npalettes = 265};
20extern int knownColorScheme (char*);
21extern char *color_palettes[npalettes][2];
22 /* return a list of rgb in hex form: "#ff0000,#00ff00,..." */
23extern char *color_palettes_get(char *color_palette_name);
24extern void color_palettes_name_print(FILE *fp);
25extern int color_palettes_Q(char *color_palette_name);
26
27extern float palette_pastel[1001][3];
28extern float palette_blue_to_yellow[1001][3];
29extern float palette_grey_to_red[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];
35extern float palette_sequential_singlehue_red_lighter[1001][3];
36extern float palette_adam_blend[1001][3];
37extern float palette_adam[11][3];
38
39#endif
40
41
42