GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-f8115df121
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  unsigned char r, g, b, a; /* red, green, blue, and alpha */
10 };
11 
12 typedef struct color_rgba RGBA_Color;
13 
14 /* RGBA color alpha presets */
15 #define RGBA_COLOR_OPAQUE 255
16 #define RGBA_COLOR_TRANSPARENT 0
17 #define RGBA_COLOR_NONE 0
18 
19 enum clip_mode {
23 };
24 
25 #include <grass/defs/display.h>
26 
27 #endif /* GRASS_DISPLAY_H */
clip_mode
Definition: display.h:19
@ M_CULL
Definition: display.h:21
@ M_CLIP
Definition: display.h:22
@ M_NONE
Definition: display.h:20
unsigned char a
Definition: display.h:9
unsigned char g
Definition: display.h:9
unsigned char b
Definition: display.h:9
unsigned char r
Definition: display.h:9