Graphviz 13.0.0~dev.20250121.0651
|
#include <sparse/colorutil.h>
#include <sparse/general.h>
#include <stdio.h>
#include <util/agxbuf.h>
Go to the source code of this file.
Functions | |
static int | r2i (float r) |
void | rgb2hex (float r, float g, float b, agxbuf *cstring, const char *opacity) |
|
static |
Definition at line 16 of file colorutil.c.
Referenced by rgb2hex().
void rgb2hex | ( | float | r, |
float | g, | ||
float | b, | ||
agxbuf * | cstring, | ||
const char * | opacity | ||
) |
Definition at line 21 of file colorutil.c.
References agxbprint(), agxbput_n(), and r2i().
Referenced by Dot_SetClusterColor(), and plot_dot_polygons().