Graphviz  2.41.20170921.2350
colorutil.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 COLORUTIL_H
15 #define COLORUTIL_H
16 
17 #include <color.h>
18 
19 extern int colorxlate(char *str, gvcolor_t * color, color_type_t target_type);
20 
21 void rgb2hex(float r, float g, float b, char *cstring, char* opacity);/* dimension of cstring must be >=7 */
22 char* hue2rgb(real hue, char *color);
23 void hue2rgb_real(real hue, real *color);
24 
25 #endif
void rgb2hex(float r, float g, float b, char *cstring, char *opacity)
Definition: colorutil.c:27
Definition: color.h:34
char * hue2rgb(real hue, char *color)
Definition: colorutil.c:53
color_type_t
Definition: color.h:30
int colorxlate(char *str, gvcolor_t *color, color_type_t target_type)
Definition: colxlate.c:254
void hue2rgb_real(real hue, real *color)
Definition: colorutil.c:79
agxbuf * str
Definition: htmlparse.c:85
#define real
Definition: general.h:34