| 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 | |
| 42 | |