From ce330147acca10cd66c370847bdc3e824a83a0c6 Mon Sep 17 00:00:00 2001 From: Leo Howell Date: Thu, 8 Oct 2009 16:41:56 +0900 Subject: add qrgen sample app --- lpg/libqr/qr-bitmap.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 lpg/libqr/qr-bitmap.h (limited to 'lpg/libqr/qr-bitmap.h') diff --git a/lpg/libqr/qr-bitmap.h b/lpg/libqr/qr-bitmap.h deleted file mode 100644 index 936b23d..0000000 --- a/lpg/libqr/qr-bitmap.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef QR_BITMAP_H -#define QR_BITMAP_H - -struct qr_bitmap { - unsigned char * bits; - unsigned char * mask; - size_t stride; - size_t width, height; -}; - -struct qr_bitmap * qr_bitmap_create(int width, int height, int masked); -void qr_bitmap_destroy(struct qr_bitmap *); - -struct qr_bitmap * qr_bitmap_clone(const struct qr_bitmap *); - -void qr_bitmap_merge(struct qr_bitmap * dest, const struct qr_bitmap * src); - -void qr_bitmap_render(const struct qr_bitmap * bmp, - void * buffer, - size_t mod_bits, - size_t line_stride, - size_t line_repeat, - unsigned long mark, - unsigned long space); - -int qr_bitmap_write_pbm(const char * path, - const char * comment, - const struct qr_bitmap * bmp); - -#endif - -- cgit v1.2.3-70-g09d2