GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-7413740dd8
colors.h File Reference
Include dependency graph for colors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  color_rgb
 
struct  color_name
 

Macros

#define BLACK   1
 
#define RED   2
 
#define GREEN   3
 
#define BLUE   4
 
#define YELLOW   5
 
#define CYAN   6
 
#define MAGENTA   7
 
#define WHITE   8
 
#define GRAY   9
 
#define ORANGE   10
 
#define AQUA   11
 
#define INDIGO   12
 
#define VIOLET   13
 
#define BROWN   14
 
#define GREY   GRAY
 
#define PURPLE   VIOLET
 
#define D_COLOR_LIST
 
#define MAX_COLOR_LEN   32
 

Macro Definition Documentation

◆ AQUA

#define AQUA   11

Definition at line 20 of file colors.h.

◆ BLACK

#define BLACK   1

Definition at line 10 of file colors.h.

◆ BLUE

#define BLUE   4

Definition at line 13 of file colors.h.

◆ BROWN

#define BROWN   14

Definition at line 23 of file colors.h.

◆ CYAN

#define CYAN   6

Definition at line 15 of file colors.h.

◆ D_COLOR_LIST

#define D_COLOR_LIST
Value:
"red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown," \
"magenta,aqua,grey,cyan,purple"

Definition at line 30 of file colors.h.

◆ GRAY

#define GRAY   9

Definition at line 18 of file colors.h.

◆ GREEN

#define GREEN   3

Definition at line 12 of file colors.h.

◆ GREY

#define GREY   GRAY

Definition at line 25 of file colors.h.

◆ INDIGO

#define INDIGO   12

Definition at line 21 of file colors.h.

◆ MAGENTA

#define MAGENTA   7

Definition at line 16 of file colors.h.

◆ MAX_COLOR_LEN

#define MAX_COLOR_LEN   32

Definition at line 35 of file colors.h.

◆ ORANGE

#define ORANGE   10

Definition at line 19 of file colors.h.

◆ PURPLE

#define PURPLE   VIOLET

Definition at line 26 of file colors.h.

◆ RED

#define RED   2

Definition at line 11 of file colors.h.

◆ VIOLET

#define VIOLET   13

Definition at line 22 of file colors.h.

◆ WHITE

#define WHITE   8

Definition at line 17 of file colors.h.

◆ YELLOW

#define YELLOW   5

Definition at line 14 of file colors.h.