Merge branch 'horizontals'
[swftools.git] / lib / gfxpoly / renderpoly.h
index 9172787..1c8d183 100644 (file)
@@ -13,6 +13,12 @@ typedef struct {
     int height;
 } intbbox_t;
 
-unsigned char* render_polygon(gfxpoly_t*polygon, intbbox_t*bbox, double zoom, windrule_t*rule);
+unsigned char* render_polygon(gfxpoly_t*polygon, intbbox_t*bbox, double zoom, windrule_t*rule, windcontext_t*context);
+
+intbbox_t intbbox_new(int x1, int y1, int x2, int y2);
+intbbox_t intbbox_from_polygon(gfxpoly_t*polygon, double zoom);
+
+int bitmap_ok(intbbox_t*bbox, unsigned char*data);
+int compare_bitmaps(intbbox_t*bbox, unsigned char*data1, unsigned char*data2);
 
 #endif