GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
bitmap.h
Go to the documentation of this file.
1
#ifndef GRASS_BITMAP_H
2
#define GRASS_BITMAP_H
3
4
#define BM_MAGIC 2
5
6
#define BM_TEXT "BITMAP"
7
#define BM_TEXT_LEN 6
8
9
#define BM_FLAT 0
10
#define BM_NOTSPARSE 0
11
#define BM_SPARSE 1
12
13
#ifndef GRASS_LINKM_H
14
#include <
grass/linkm.h
>
15
#endif
16
17
struct
BM
18
{
19
int
rows
;
20
int
cols
;
21
size_t
bytes
;
22
unsigned
char
*
data
;
23
int
sparse
;
24
/* char *token; */
25
struct
link_head
*
token
;
26
};
27
28
29
struct
BMlink
30
{
31
short
count
;
32
char
val
;
33
struct
BMlink
*
next
;
34
};
35
36
#include <stdio.h>
37
38
#include <
grass/defs/bitmap.h
>
39
40
#endif
/* GRASS_BITMAP_H */
BMlink::count
short count
Definition:
bitmap.h:31
link_head
Definition:
linkm.h:12
BM
Definition:
bitmap.h:17
BM::rows
int rows
Definition:
bitmap.h:19
BM::data
unsigned char * data
Definition:
bitmap.h:22
BM::sparse
int sparse
Definition:
bitmap.h:23
linkm.h
BM::bytes
size_t bytes
Definition:
bitmap.h:21
BM::cols
int cols
Definition:
bitmap.h:20
BM::token
struct link_head * token
Definition:
bitmap.h:25
BMlink::val
char val
Definition:
bitmap.h:32
BMlink
Definition:
bitmap.h:29
bitmap.h
BMlink::next
struct BMlink * next
Definition:
bitmap.h:33
include
grass
bitmap.h
Generated on Mon May 31 2021 05:21:27 for GRASS GIS 7 Programmer's Manual by
1.8.13