mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-24 00:34:47 +00:00
5c0656d97f
Part of the cleanup in #3637
23 lines
650 B
C
23 lines
650 B
C
/* Copyright (C) 2001-2017 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 "bitmap.h"
|
|
#include <stdio.h>
|
|
|
|
/* Note that bitmaps are stored bottom to top, i.e., the first
|
|
* scanline is the bottom-most one */
|
|
|
|
extern const 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 */
|