Graphviz  2.41.20171026.1811
Functions | Variables
colorutil.c File Reference
#include "general.h"
#include "colorutil.h"
Include dependency graph for colorutil.c:

Go to the source code of this file.

Functions

void rgb2hex (float r, float g, float b, char *cstring, char *opacity)
 
real Hue2RGB (real v1, real v2, real H)
 
char * hue2rgb (real hue, char *color)
 
void hue2rgb_real (real hue, real *color)
 

Variables

char * hex [16] ={"0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"}
 

Function Documentation

real Hue2RGB ( real  v1,
real  v2,
real  H 
)

Definition at line 42 of file colorutil.c.

Referenced by hue2rgb(), and hue2rgb_real().

char* hue2rgb ( real  hue,
char *  color 
)

Definition at line 53 of file colorutil.c.

References Hue2RGB(), int, and real.

Referenced by assign_random_edge_color(), and makeDotGraph().

void hue2rgb_real ( real  hue,
real color 
)

Definition at line 79 of file colorutil.c.

References Hue2RGB(), int, and real.

void rgb2hex ( float  r,
float  g,
float  b,
char *  cstring,
char *  opacity 
)

Definition at line 27 of file colorutil.c.

Referenced by Dot_SetClusterColor().

Variable Documentation

char* hex[16] ={"0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"}

Definition at line 51 of file colorutil.c.