djvulibre: ddjvu_page_render() may render pages with some delay
[fbpdf.git] / doc.h
blobfcc50cfb902b0a4711e2ee8edd0062a1944dee09
1 /* framebuffer depth */
2 typedef unsigned int fbval_t;
4 /* optimized version of fb_val() */
5 #define FB_VAL(r, g, b) fb_val((r), (g), (b))
7 struct doc *doc_open(char *path);
8 int doc_pages(struct doc *doc);
9 int doc_draw(struct doc *doc, fbval_t *bitmap, int page, int rows, int cols, int zoom, int rotate);
10 void doc_close(struct doc *doc);