diff options
Diffstat (limited to 'Build/source/libs/potrace/potrace-1.12/src/bitmap_io.h')
-rw-r--r-- | Build/source/libs/potrace/potrace-1.12/src/bitmap_io.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/libs/potrace/potrace-1.12/src/bitmap_io.h b/Build/source/libs/potrace/potrace-1.12/src/bitmap_io.h new file mode 100644 index 00000000000..04b1c9ca1d2 --- /dev/null +++ b/Build/source/libs/potrace/potrace-1.12/src/bitmap_io.h @@ -0,0 +1,23 @@ +/* Copyright (C) 2001-2015 Peter Selinger. + This file is part of Potrace. It is free software and it is covered + by the GNU General Public License. See the file COPYING for details. */ + +/* bitmap input/output functions */ + +#ifndef BITMAP_IO_H +#define BITMAP_IO_H + +#include <stdio.h> +#include "bitmap.h" + +/* Note that bitmaps are stored bottom to top, i.e., the first + scanline is the bottom-most one */ + +extern char *bm_read_error; + +int bm_read(FILE *f, double blacklevel, potrace_bitmap_t **bmp); +void bm_writepbm(FILE *f, potrace_bitmap_t *bm); +int bm_print(FILE *f, potrace_bitmap_t *bm); + +#endif /* BITMAP_IO_H */ + |