Graphviz  2.41.20171026.1811
Functions | Variables
color_palette.c File Reference
#include "color_palette.h"
#include "string.h"
#include "macros.h"
Include dependency graph for color_palette.c:

Go to the source code of this file.

Functions

int knownColorScheme (char *name)
 
char * color_palettes_get (char *color_palette_name)
 
void color_palettes_name_print (FILE *fp)
 
int color_palettes_Q (char *color_palette_name)
 

Variables

char * color_palettes [npalettes][2]
 
float palette_pastel [1001][3]
 
float palette_blue_to_yellow [1001][3]
 
float palette_grey_to_red [1001][3]
 
float palette_white_to_red [1001][3]
 
float palette_grey [1001][3]
 
float palette_primary [1001][3]
 
float palette_sequential_singlehue_red [1001][3]
 
float palette_sequential_singlehue_red_lighter [1001][3]
 
float palette_adam_blend [1001][3]
 
float palette_adam [11][3]
 

Function Documentation

char* color_palettes_get ( char *  color_palette_name)

Definition at line 27 of file color_palette.c.

References color_palettes, npalettes, and NULL.

void color_palettes_name_print ( FILE *  fp)

Definition at line 37 of file color_palette.c.

References color_palettes, and npalettes.

int color_palettes_Q ( char *  color_palette_name)

Definition at line 46 of file color_palette.c.

References color_palettes, and npalettes.

Referenced by knownColorScheme().

int knownColorScheme ( char *  name)

Definition at line 16 of file color_palette.c.

References color_palettes_Q(), and streq.

Variable Documentation

char* color_palettes[npalettes][2]

Definition at line 57 of file color_palette.c.

Referenced by color_palettes_get(), color_palettes_name_print(), and color_palettes_Q().

float palette_adam[11][3]
Initial value:
={{1.f, 0.44705882352941173f, 0.f},
{0.9607843137254902f, 0.4666666666666667f, 0.09019607843137255f},
{0.2549019607843137f, 0.7019607843137254f, 0.8627450980392157f},
{0.9254901960784314f, 0.f, 0.5490196078431373f},
{0.023529411764705882f, 0.4784313725490196f, 0.7058823529411764f},
{0.047058823529411764f, 0.14509803921568626f, 0.4666666666666667f},
{0.5058823529411764f, 0.00392156862745098f, 0.10196078431372549f},
{0.7764705882352941f, 0.8313725490196078f, 0.2392156862745098f},
{0.43137254901960786f, 0.7333333333333333f, 0.12156862745098039f},
{0.7019607843137254f, 0.0392156862745098f, 0.23529411764705882f},
{0.5019607843137255f, 0.5019607843137255f, 0.5019607843137255f}}

Definition at line 7535 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_adam_blend[1001][3]

Definition at line 6533 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_blue_to_yellow[1001][3]

Definition at line 1327 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_grey[1001][3]

Definition at line 3232 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_grey_to_red

Definition at line 1825 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_pastel[1001][3]

Definition at line 325 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_primary[1001][3]

Definition at line 3507 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_sequential_singlehue_red[1001][3]

Definition at line 4515 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_sequential_singlehue_red_lighter[1001][3]

Definition at line 5522 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().

float palette_white_to_red[1001][3]

Definition at line 2530 of file color_palette.c.

Referenced by Import_coord_clusters_from_dot().