Graphviz
2.41.20171026.1811
|
#include <color.h>
Go to the source code of this file.
Functions | |
int | colorxlate (char *str, gvcolor_t *color, color_type_t target_type) |
void | rgb2hex (float r, float g, float b, char *cstring, char *opacity) |
char * | hue2rgb (real hue, char *color) |
void | hue2rgb_real (real hue, real *color) |
int colorxlate | ( | char * | str, |
gvcolor_t * | color, | ||
color_type_t | target_type | ||
) |
Definition at line 254 of file colxlate.c.
References hsvrgbacolor_t::a, hsvrgbacolor_t::b, C, color_s::cmyk, CMYK_BYTE, COLOR_INDEX, COLOR_MALLOC_FAIL, COLOR_OK, COLOR_STRING, COLOR_UNKNOWN, hsvrgbacolor_t::g, grealloc(), hsvrgbacolor_t::h, color_s::HSVA, HSVA_DOUBLE, int, MAX, MIN, hsvrgbacolor_t::name, NULL, hsvrgbacolor_t::r, color_s::RGBA, color_s::rgba, RGBA_BYTE, RGBA_DOUBLE, RGBA_WORD, color_s::rrggbbaa, hsvrgbacolor_t::s, color_s::type, color_s::u, and hsvrgbacolor_t::v.
char* hue2rgb | ( | real | hue, |
char * | color | ||
) |
Definition at line 53 of file colorutil.c.
Definition at line 79 of file colorutil.c.
void rgb2hex | ( | float | r, |
float | g, | ||
float | b, | ||
char * | cstring, | ||
char * | opacity | ||
) |
Definition at line 27 of file colorutil.c.
Referenced by Dot_SetClusterColor().