GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
display.h
Go to the documentation of this file.
1 #ifndef GRASS_DISPLAY_H
2 #define GRASS_DISPLAY_H
3 
4 #include <grass/gis.h>
5 #include <grass/raster.h>
6 #include <grass/symbol.h>
7 
8 struct color_rgba
9 {
10  unsigned char r, g, b, a; /* red, green, blue, and alpha */
11 };
12 
13 typedef struct color_rgba RGBA_Color;
14 
15 /* RGBA color alpha presets */
16 #define RGBA_COLOR_OPAQUE 255
17 #define RGBA_COLOR_TRANSPARENT 0
18 #define RGBA_COLOR_NONE 0
19 
21 {
25 };
26 
27 #include <grass/defs/display.h>
28 
29 #endif /* GRASS_DISPLAY_H */
unsigned char r
Definition: display.h:10
Definition: display.h:23
unsigned char a
Definition: display.h:10
unsigned char b
Definition: display.h:10
Definition: display.h:22
clip_mode
Definition: display.h:20
Definition: display.h:24
unsigned char g
Definition: display.h:10