1
#ifndef GRASS_BITMAPDEFS_H
2
#define GRASS_BITMAPDEFS_H
5
struct BM *BM_create(int, int);
6
int BM_destroy(struct BM *);
7
int BM_set_mode(int, int);
8
int BM_set(struct BM *, int, int, int);
9
int BM_get(struct BM *, int, int);
10
size_t BM_get_map_size(struct BM *);
11
int BM_file_write(FILE *, struct BM *);
12
struct BM *BM_file_read(FILE *);
15
struct BM *BM_create_sparse(int, int);
16
int BM_destroy_sparse(struct BM *);
17
int BM_set_sparse(struct BM *, int, int, int);
18
int BM_get_sparse(struct BM *, int, int);
19
size_t BM_get_map_size_sparse(struct BM *);
20
int BM_dump_map_sparse(struct BM *);
21
int BM_dump_map_row_sparse(struct BM *, int);
22
int BM_file_write_sparse(FILE *, struct BM *);
24
#endif /* GRASS_BITMAPDEFS_H */