diff options
Diffstat (limited to 'dependence/include/bitmap.h')
| -rw-r--r-- | dependence/include/bitmap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dependence/include/bitmap.h b/dependence/include/bitmap.h new file mode 100644 index 0000000..d690cb7 --- /dev/null +++ b/dependence/include/bitmap.h @@ -0,0 +1,7 @@ +struct bitmap; +struct bitmap * bitmap_new(int width, int height, int value); +int bitmap_set(struct bitmap *bmp, int x, int y, int value); +int bitmap_get(struct bitmap *bmp, int x, int y); +void bitmap_free(struct bitmap *bmp); + +int bitmap_is_all_zero(struct bitmap *bmp, int x, int y, int length);
\ No newline at end of file |
