GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-5c00b4e944
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
20
enum
clip_mode
21
{
22
M_NONE
,
23
M_CULL
,
24
M_CLIP
,
25
};
26
27
#include <
grass/defs/display.h
>
28
29
#endif
/* GRASS_DISPLAY_H */
display.h
clip_mode
clip_mode
Definition:
display.h:21
M_CULL
@ M_CULL
Definition:
display.h:23
M_CLIP
@ M_CLIP
Definition:
display.h:24
M_NONE
@ M_NONE
Definition:
display.h:22
gis.h
raster.h
color_rgba
Definition:
display.h:9
color_rgba::a
unsigned char a
Definition:
display.h:10
color_rgba::g
unsigned char g
Definition:
display.h:10
color_rgba::b
unsigned char b
Definition:
display.h:10
color_rgba::r
unsigned char r
Definition:
display.h:10
symbol.h
include
grass
display.h
Generated on Mon May 29 2023 05:57:10 for GRASS GIS 8 Programmer's Manual by
1.9.1