finished implementing new bounding box logic
[swftools.git] / lib / pdf / bbox.h
1 #ifndef __bbox_h__
2 #define __bbox_h__
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 typedef struct _ibbox {
9     int xmin,ymin,xmax,ymax;
10     struct _ibbox*next;
11 } ibbox_t;
12
13 ibbox_t* ibbox_new(int x1, int y1, int x2, int y2);
14 void ibbox_destroy(ibbox_t*b);
15 ibbox_t*get_bitmap_bboxes(unsigned char*alpha, int width, int height);
16
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif //__bbox_h__